/* =========================================================
   トップページ
   共通ヘッダー・フッターは job-list.css を使用
   ========================================================= */

.home-page {
    background: #ffffff;
    color: #20242b;
}

.home-page main {
    overflow: hidden;
}

.home-page main h1,
.home-page main h2,
.home-page main h3,
.home-page main p {
    margin-top: 0;
}

.home-pc-only {
    display: inline;
}

/* =========================================================
   メインビジュアル
   ========================================================= */

.home-hero {
    position: relative;
    display: flex;
    min-height: 650px;
    align-items: center;
    overflow: hidden;
    background-color: #eaf3f7;
    background-image: url("/src/img/top/top3.png");
    background-repeat: no-repeat;
    background-position: center 44%;
    background-size: cover;
}

.home-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.99) 0%,
            rgba(255, 255, 255, 0.96) 31%,
            rgba(255, 250, 242, 0.69) 47%,
            rgba(255, 255, 255, 0.08) 69%,
            rgba(255, 255, 255, 0.18) 100%
        ),
        linear-gradient(
            0deg,
            rgba(255, 244, 229, 0.16),
            rgba(255, 255, 255, 0)
        );
}

.home-hero__decoration {
    position: absolute;
    z-index: 1;
    top: -155px;
    left: 45%;
    width: 310px;
    height: 760px;
    border: 1px solid rgba(244, 139, 62, 0.35);
    border-radius: 50%;
    pointer-events: none;
    transform: rotate(24deg);
}

.home-hero__decoration::before,
.home-hero__decoration::after {
    position: absolute;
    border: 1px solid rgba(244, 139, 62, 0.24);
    border-radius: 50%;
    content: "";
}

.home-hero__decoration::before {
    inset: 28px -42px;
}

.home-hero__decoration::after {
    inset: 60px -82px;
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(1220px, calc(100% - 48px));
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.home-hero__copy {
    width: min(560px, 50%);
    padding: 130px 0 72px;
}

.home-hero h1 {
    margin-bottom: 4px;
    color: #171b22;
    font-family: "Klee One", "Noto Sans JP", sans-serif;
    font-size: clamp(39px, 4.15vw, 62px);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.55;
}

.home-hero h1 span {
    display: block;
    white-space: nowrap;
}

.home-hero__english {
    position: relative;
    display: inline-block;
    margin: -1px 0 21px 225px;
    color: #e68a45;
    font-family: "Caveat", cursive;
    font-size: clamp(27px, 2.7vw, 39px);
    font-weight: 500;
    line-height: 1;
    transform: rotate(-5deg);
}

.home-hero__english::after {
    position: absolute;
    right: -10px;
    bottom: -5px;
    left: -18px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        #ef7a2a,
        rgba(239, 122, 42, 0)
    );
    content: "";
    transform: rotate(-3deg);
}

.home-hero__lead {
    margin-bottom: 27px;
    color: #3d444e;
    font-size: 15px;
    font-weight: 500;
    line-height: 2;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.home-button {
    display: grid;
    min-width: 210px;
    min-height: 58px;
    padding: 12px 20px;
    grid-template-columns: 22px minmax(0, 1fr) 12px;
    align-items: center;
    gap: 10px;
    border: 1px solid #f37025;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    transition:
        box-shadow 0.25s ease,
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.home-button .fa-chevron-right {
    font-size: 11px;
}

.home-button--primary {
    background: linear-gradient(110deg, #ff8919, #f04f0d);
    box-shadow: 0 12px 27px rgba(226, 82, 14, 0.22);
    color: #fff;
}

.home-button--outline {
    background: rgba(255, 255, 255, 0.91);
    color: #e75c17;
}

.home-button:hover {
    box-shadow: 0 15px 29px rgba(226, 82, 14, 0.25);
    transform: translateY(-2px);
}

.home-button--outline:hover {
    background: #f46b1d;
    color: #fff;
}

.home-button:focus-visible,
.home-search__submit:focus-visible,
.home-service-card__link:focus-visible,
.home-contact-button:focus-visible,
.home-faq-item summary:focus-visible {
    outline: 3px solid rgba(242, 111, 33, 0.3);
    outline-offset: 4px;
}

/* 人物と重ならない左上へ配置 */
.home-hero__catch {
    position: absolute;
    top: 26px;
    left: 0;
    margin: 0;
    padding: 0 14px 10px 0;
    background: transparent;
    color: #2a2e35;
    font-family: "Klee One", "Noto Sans JP", sans-serif;
    font-size: clamp(15px, 1.25vw, 18px);
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.65;
    white-space: nowrap;
    transform: rotate(-4deg);
}

.home-hero__catch::after {
    display: block;
    width: 110%;
    height: 3px;
    margin-top: 4px;
    margin-left: -3px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        #ff7622 0 78%,
        transparent
    );
    content: "";
    transform: rotate(-3deg);
}

.home-hero__scroll {
    position: absolute;
    z-index: 3;
    bottom: 24px;
    left: 50%;
    display: flex;
    width: 66px;
    height: 66px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(41, 49, 57, 0.09);
    color: #4a5058;
    font-size: 9px;
    font-weight: 700;
    transform: translateX(-50%);
}

.home-hero__scroll i {
    color: #ed681f;
    font-size: 11px;
    animation: home-scroll-arrow 1.7s ease-in-out infinite;
}

@keyframes home-scroll-arrow {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

/* =========================================================
   仕事検索
   ========================================================= */

.home-search {
    position: relative;
    z-index: 10;
    padding: 0 24px;
    background: #fff;
}

.home-search__form {
    display: grid;
    width: min(1260px, 100%);
    min-height: 136px;
    margin: -50px auto 0;
    padding: 25px 27px;
    grid-template-columns:
        255px
        minmax(165px, 1fr)
        minmax(165px, 1fr)
        minmax(205px, 1.25fr)
        150px;
    align-items: end;
    gap: 17px;
    border: 1px solid rgba(230, 221, 212, 0.9);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 45px rgba(76, 54, 35, 0.14);
}

.home-search__heading {
    display: flex;
    min-width: 0;
    padding-bottom: 7px;
    align-items: center;
    gap: 14px;
}

.home-search__icon {
    display: flex;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff851c, #ef4b0c);
    box-shadow: 0 9px 20px rgba(232, 79, 13, 0.2);
    color: #fff;
    font-size: 20px;
}

.home-search__heading h2 {
    margin-bottom: 2px;
    color: #20242b;
    font-size: 17px;
    font-weight: 800;
    white-space: nowrap;
}

.home-search__heading p {
    margin-bottom: 0;
    color: #7b8088;
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
}

.home-search__field {
    display: grid;
    min-width: 0;
    gap: 8px;
    color: #30353c;
    font-size: 12px;
    font-weight: 700;
}

.home-search__control {
    position: relative;
    display: block;
    min-width: 0;
}

.home-search__control > i {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 15px;
    color: #bf7a40;
    font-size: 14px;
    pointer-events: none;
    transform: translateY(-50%);
}

.home-search select,
.home-search input {
    display: block;
    width: 100%;
    height: 51px;
    min-width: 0;
    padding: 9px 38px 9px 42px;
    border: 1px solid #ddd6cf;
    border-radius: 9px;
    outline: 0;
    background: #fff;
    color: #3c424b;
    font-size: 14px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.home-search select {
    cursor: pointer;
}

.home-search input::placeholder {
    color: #a1a3a7;
}

.home-search select:focus,
.home-search input:focus {
    border-color: #ef7a32;
    box-shadow: 0 0 0 3px rgba(242, 111, 33, 0.12);
}

.home-search__submit {
    display: grid;
    width: 100%;
    height: 51px;
    padding: 10px 17px;
    grid-template-columns: minmax(0, 1fr) 10px;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(110deg, #ff861b, #ef4e0c);
    box-shadow: 0 10px 23px rgba(224, 75, 10, 0.22);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition:
        box-shadow 0.22s ease,
        filter 0.22s ease,
        transform 0.22s ease;
}

.home-search__submit i {
    font-size: 10px;
}

.home-search__submit:hover {
    box-shadow: 0 13px 27px rgba(224, 75, 10, 0.29);
    filter: brightness(1.04);
    transform: translateY(-2px);
}

/* =========================================================
   私たちについて
   ========================================================= */

.home-about {
    position: relative;
    display: flex;
    min-height: 410px;
    padding: 105px 24px 78px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 16% 8%,
            rgba(255, 203, 146, 0.18),
            transparent 190px
        ),
        radial-gradient(
            circle at 84% 86%,
            rgba(255, 218, 177, 0.18),
            transparent 210px
        ),
        #fff;
}

.home-about__inner {
    position: relative;
    z-index: 2;
    width: min(650px, 55%);
    margin: 0 auto;
    text-align: center;
}

.home-about__script {
    position: absolute;
    top: -48px;
    left: -110px;
    margin-bottom: 0;
    color: rgba(235, 142, 74, 0.55);
    font-family: "Caveat", cursive;
    font-size: 38px;
    line-height: 0.9;
    transform: rotate(-10deg);
}

.home-about h2 {
    margin-bottom: 11px;
    color: #20242b;
    font-size: clamp(28px, 2.8vw, 39px);
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.45;
}

.home-about__line {
    display: block;
    width: 38px;
    height: 3px;
    margin: 0 auto 23px;
    border-radius: 999px;
    background: #ef681f;
}

.home-about__inner > p:last-child {
    margin-bottom: 0;
    color: #525963;
    font-size: 14px;
    font-weight: 500;
    line-height: 2.05;
}

.home-about__visual {
    position: absolute;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 16px 42px rgba(55, 62, 67, 0.11);
}

.home-about__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-about__visual--left {
    bottom: -33px;
    left: -91px;
    width: 360px;
    height: 235px;
}

.home-about__visual--left img {
    object-position: 64% center;
}

.home-about__visual--right {
    right: -85px;
    bottom: 10px;
    width: 330px;
    height: 245px;
}

.home-about__visual--right img {
    object-position: 78% center;
}

.home-about__visual--right span {
    position: absolute;
    right: 92px;
    bottom: 27px;
    padding: 7px 10px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.8);
    color: #40454c;
    font-family: "Klee One", "Noto Sans JP", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
    transform: rotate(-7deg);
}

/* =========================================================
   共通セクション見出し
   ========================================================= */

.home-section-heading {
    margin-bottom: 35px;
    text-align: center;
}

.home-section-heading > p {
    margin-bottom: 2px;
    color: #ef681f;
    font-family: "Caveat", cursive;
    font-size: 21px;
    font-weight: 600;
}

.home-section-heading h2 {
    margin-bottom: 7px;
    color: #1f2d45;
    font-size: clamp(28px, 3vw, 41px);
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1.45;
}

.home-section-heading > span {
    display: block;
    color: #5d646d;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
}

/* =========================================================
   サービス
   ========================================================= */

.home-services {
    padding: 66px 24px 82px;
    background: #fff;
}

.home-services__grid {
    display: grid;
    width: min(1200px, 100%);
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.home-service-card {
    display: grid;
    min-width: 0;
    overflow: hidden;
    grid-template-columns: minmax(0, 43%) minmax(0, 57%);
    border: 1px solid #eae1d8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(69, 49, 33, 0.08);
    transition:
        box-shadow 0.28s ease,
        transform 0.28s ease;
}

.home-service-card:hover {
    box-shadow: 0 21px 47px rgba(69, 49, 33, 0.13);
    transform: translateY(-4px);
}

.home-service-card__image {
    min-height: 325px;
    overflow: hidden;
    background: #f1f1f1;
}

.home-service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.home-service-card:first-child .home-service-card__image img {
    object-position: 48% center;
}

.home-service-card:last-child .home-service-card__image img {
    object-position: 62% center;
}

.home-service-card:hover .home-service-card__image img {
    transform: scale(1.035);
}

.home-service-card__body {
    display: flex;
    min-width: 0;
    padding: 30px 29px 28px;
    flex-direction: column;
    justify-content: center;
}

.home-service-card__label {
    display: flex;
    margin-bottom: 18px;
    align-items: center;
    gap: 12px;
}

.home-service-card__label span {
    display: flex;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff851c, #ef4b0c);
    box-shadow: 0 8px 19px rgba(232, 79, 13, 0.17);
    color: #fff;
    font-size: 18px;
}

.home-service-card__label em {
    color: #eb6d25;
    font-family: "Caveat", cursive;
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
}

.home-service-card h3 {
    margin-bottom: 13px;
    color: #243764;
    font-size: clamp(21px, 1.8vw, 26px);
    font-weight: 800;
    line-height: 1.5;
}

.home-service-card__body > p {
    margin-bottom: 22px;
    color: #59616a;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.9;
}

.home-service-card__link {
    display: inline-flex;
    width: min(210px, 100%);
    min-height: 48px;
    margin-top: auto;
    padding: 10px 20px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 1px solid #ef681f;
    border-radius: 999px;
    color: #e65b15;
    font-size: 13px;
    font-weight: 800;
    transition:
        background 0.22s ease,
        color 0.22s ease,
        transform 0.22s ease;
}

.home-service-card__link i {
    font-size: 10px;
}

.home-service-card__link:hover {
    background: #ef681f;
    color: #fff;
    transform: translateY(-2px);
}

/* =========================================================
   LINKの強み
   ========================================================= */

.home-strengths {
    padding: 68px 24px 79px;
    background:
        radial-gradient(
            circle at 2% 4%,
            rgba(255, 203, 149, 0.23),
            transparent 250px
        ),
        radial-gradient(
            circle at 96% 90%,
            rgba(255, 215, 170, 0.24),
            transparent 270px
        ),
        #fff8ef;
}

.home-strengths__grid {
    display: grid;
    width: min(1160px, 100%);
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-strength-card {
    min-height: 225px;
    padding: 34px 28px 30px;
    border: 1px solid #eee5dc;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 35px rgba(77, 56, 37, 0.08);
    text-align: center;
    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.home-strength-card:hover {
    box-shadow: 0 18px 40px rgba(77, 56, 37, 0.13);
    transform: translateY(-4px);
}

.home-strength-card__icon {
    display: flex;
    width: 61px;
    height: 61px;
    margin: 0 auto 18px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff2e6;
    color: #f26719;
    font-size: 28px;
}

.home-strength-card h3 {
    margin-bottom: 10px;
    color: #212d42;
    font-size: 20px;
    font-weight: 800;
}

.home-strength-card p {
    margin-bottom: 0;
    color: #60666f;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.85;
}

/* =========================================================
   お問い合わせ
   ========================================================= */

.home-contact {
    position: relative;
    min-height: 315px;
    overflow: hidden;
    padding: 56px 24px 58px;
    background-color: #f8a457;
    background-image: url("/src/img/flow/flow-top.png");
    background-repeat: no-repeat;
    background-position: right 40%;
    background-size: cover;
}

.home-contact__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 171, 84, 0.96) 0%,
        rgba(255, 195, 126, 0.93) 42%,
        rgba(255, 221, 178, 0.8) 67%,
        rgba(255, 245, 226, 0.62) 100%
    );
}

.home-contact__inner {
    position: relative;
    z-index: 2;
    width: min(850px, 74%);
    margin: 0 auto;
}

.home-section-heading--contact {
    margin-bottom: 28px;
}

.home-section-heading--contact h2 {
    color: #1d2736;
}

.home-section-heading--contact > span {
    color: #4b4d4e;
}

.home-contact__buttons {
    display: grid;
    width: min(650px, 100%);
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.home-contact-button {
    display: grid;
    min-height: 76px;
    padding: 12px 21px;
    grid-template-columns: 28px minmax(0, 1fr) 12px;
    align-items: center;
    gap: 13px;
    border: 1px solid #f05d14;
    border-radius: 14px;
    box-shadow: 0 12px 27px rgba(157, 79, 24, 0.13);
    transition:
        box-shadow 0.23s ease,
        transform 0.23s ease;
}

.home-contact-button > i:first-child {
    font-size: 23px;
}

.home-contact-button > i:last-child {
    font-size: 11px;
}

.home-contact-button span {
    display: grid;
    gap: 1px;
}

.home-contact-button strong {
    font-size: 16px;
    line-height: 1.4;
}

.home-contact-button small {
    font-size: 10px;
    font-weight: 600;
}

.home-contact-button--primary {
    background: linear-gradient(110deg, #ff851b, #ef4e0c);
    color: #fff;
}

.home-contact-button--outline {
    background: rgba(255, 255, 255, 0.91);
    color: #e65d18;
}

.home-contact-button:hover {
    box-shadow: 0 16px 33px rgba(157, 79, 24, 0.21);
    transform: translateY(-3px);
}

.home-contact__script {
    position: absolute;
    z-index: 2;
    top: 61px;
    left: max(28px, calc((100% - 1200px) / 2));
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
    font-family: "Caveat", cursive;
    font-size: 36px;
    line-height: 0.95;
    transform: rotate(-8deg);
}

.home-contact__catch {
    position: absolute;
    z-index: 2;
    top: 78px;
    right: max(35px, calc((100% - 1240px) / 2));
    margin-bottom: 0;
    padding: 10px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.63);
    color: #383d43;
    font-family: "Klee One", "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.85;
    transform: rotate(-6deg);
}

.home-contact__catch::after {
    display: block;
    width: 105%;
    height: 2px;
    margin-top: 2px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        #f26a1d,
        transparent
    );
    content: "";
}

/* =========================================================
   よくある質問
   ========================================================= */

.home-faq {
    padding: 65px 24px 82px;
    background: #fff;
}

.home-faq__list {
    width: min(930px, 100%);
    margin: 0 auto;
    border-top: 1px solid #dddfe3;
}

.home-faq-item {
    border-right: 1px solid #dddfe3;
    border-bottom: 1px solid #dddfe3;
    border-left: 1px solid #dddfe3;
    background: #fff;
}

.home-faq-item summary {
    position: relative;
    display: flex;
    min-height: 58px;
    padding: 14px 62px 14px 21px;
    align-items: center;
    color: #303640;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
    list-style: none;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.home-faq-item summary::-webkit-details-marker {
    display: none;
}

.home-faq-item summary::before,
.home-faq-item summary::after {
    position: absolute;
    top: 50%;
    right: 24px;
    width: 15px;
    height: 2px;
    border-radius: 999px;
    background: #38404a;
    content: "";
    transition:
        background 0.2s ease,
        transform 0.25s ease;
}

.home-faq-item summary::after {
    transform: rotate(90deg);
}

.home-faq-item summary:hover {
    background: #fffaf5;
    color: #e85f1b;
}

.home-faq-item[open] summary {
    background: #fff8f1;
    color: #e85f1b;
}

.home-faq-item[open] summary::before,
.home-faq-item[open] summary::after {
    background: #e85f1b;
}

.home-faq-item[open] summary::after {
    transform: rotate(0deg);
}

.home-faq-item__answer {
    padding: 0 58px 20px 21px;
}

.home-faq-item__answer p {
    margin-bottom: 0;
    color: #5e6570;
    font-size: 14px;
    line-height: 1.9;
}

/* =========================================================
   表示アニメーション
   ========================================================= */

.home-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.home-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   小さめのデスクトップ
   ========================================================= */

@media (max-width: 1250px) {
    .home-search__form {
        grid-template-columns:
            220px
            repeat(2, minmax(150px, 1fr))
            minmax(190px, 1.15fr)
            135px;
        gap: 12px;
    }

    .home-search__heading {
        gap: 10px;
    }

    .home-search__heading h2 {
        font-size: 15px;
    }

    .home-about__visual--left {
        left: -150px;
    }

    .home-about__visual--right {
        right: -145px;
    }

    .home-contact__script,
    .home-contact__catch {
        display: none;
    }

    .home-contact__inner {
        width: min(850px, 100%);
    }
}

/* =========================================================
   タブレット横向き
   ========================================================= */

@media (max-width: 1050px) {
    .home-hero {
        min-height: 570px;
        background-position: 58% center;
    }

    .home-hero__copy {
        width: 57%;
        padding: 55px 0 72px;
    }

    .home-hero h1 {
        font-size: clamp(37px, 5vw, 52px);
    }

    .home-hero__english {
        margin-left: 150px;
    }

    /* 装飾文は人物や見出しとの重なり防止のため非表示 */
    .home-hero__catch {
        display: none;
    }

    .home-search__form {
        padding: 23px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: end;
    }

    .home-search__heading {
        grid-column: 1 / -1;
    }

    .home-search__field--keyword {
        grid-column: 1 / 2;
    }

    .home-search__submit {
        grid-column: 2 / 3;
    }

    .home-about__inner {
        width: min(620px, 68%);
    }

    .home-about__visual {
        opacity: 0.72;
    }

    .home-about__visual--left {
        left: -220px;
    }

    .home-about__visual--right {
        right: -215px;
    }

    .home-service-card {
        grid-template-columns: 1fr;
    }

    .home-service-card__image {
        min-height: 240px;
        max-height: 240px;
    }
}

/* =========================================================
   タブレット・スマートフォン
   ========================================================= */

@media (max-width: 768px) {
    .home-pc-only {
        display: none;
    }

    .home-hero {
        min-height: 610px;
        align-items: flex-end;
        background-position: 67% center;
    }

    .home-hero__shade {
        background:
            linear-gradient(
                0deg,
                rgba(255, 255, 255, 0.99) 0%,
                rgba(255, 255, 255, 0.95) 43%,
                rgba(255, 255, 255, 0.15) 75%,
                rgba(255, 255, 255, 0.05) 100%
            ),
            linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.62),
                rgba(255, 255, 255, 0.02)
            );
    }

    .home-hero__decoration {
        top: -120px;
        left: 76%;
        opacity: 0.7;
    }

    .home-hero__inner {
        display: block;
        width: min(100% - 34px, 620px);
    }

    .home-hero__copy {
        width: 100%;
        padding: 255px 0 80px;
    }

    .home-hero h1 {
        margin-bottom: 4px;
        font-size: clamp(31px, 9.2vw, 42px);
        letter-spacing: 0.035em;
        line-height: 1.5;
    }

    .home-hero h1 span {
        white-space: normal;
    }

    .home-hero__english {
        margin: 0 0 18px 74px;
        font-size: 29px;
    }

    .home-hero__lead {
        margin-bottom: 21px;
        font-size: 13px;
        line-height: 1.85;
    }

    .home-hero__actions {
        gap: 10px;
    }

    .home-button {
        min-width: 0;
        min-height: 52px;
        flex: 1 1 calc(50% - 5px);
        padding: 10px 14px;
        font-size: 13px;
    }

    .home-hero__scroll {
        display: none;
    }

    .home-search {
        padding: 0 14px;
    }

    .home-search__form {
        width: min(100%, 620px);
        margin-top: -31px;
        padding: 21px 17px 18px;
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
        border-radius: 17px;
    }

    .home-search__heading,
    .home-search__field--keyword,
    .home-search__submit {
        grid-column: 1;
    }

    .home-search__heading {
        margin-bottom: 3px;
        padding-bottom: 0;
    }

    .home-search__icon {
        width: 43px;
        height: 43px;
        font-size: 17px;
    }

    .home-search__heading h2 {
        font-size: 16px;
    }

    .home-search__heading p {
        font-size: 10px;
    }

    .home-search__field {
        font-size: 13px;
    }

    .home-search select,
    .home-search input,
    .home-search__submit {
        height: 54px;
        font-size: 16px;
    }

    .home-search__submit {
        margin-top: 3px;
    }

    .home-about {
        min-height: 0;
        padding: 68px 20px 62px;
    }

    .home-about__inner {
        width: min(100%, 600px);
    }

    .home-about__script {
        position: static;
        margin-bottom: 14px;
        font-size: 32px;
        transform: rotate(-6deg);
    }

    .home-about h2 {
        font-size: 27px;
        letter-spacing: 0.045em;
    }

    .home-about__inner > p:last-child {
        font-size: 14px;
        line-height: 1.95;
        text-align: left;
    }

    .home-about__visual {
        display: none;
    }

    .home-section-heading {
        margin-bottom: 27px;
    }

    .home-section-heading > p {
        font-size: 19px;
    }

    .home-section-heading h2 {
        font-size: 29px;
    }

    .home-section-heading > span {
        font-size: 13px;
    }

    .home-services {
        padding: 54px 16px 62px;
    }

    .home-services__grid {
        width: min(100%, 620px);
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .home-service-card {
        border-radius: 15px;
    }

    .home-service-card__image {
        min-height: 220px;
        max-height: 220px;
    }

    .home-service-card__body {
        padding: 24px 21px 25px;
    }

    .home-service-card__label {
        margin-bottom: 14px;
    }

    .home-service-card__label span {
        width: 43px;
        height: 43px;
        font-size: 16px;
    }

    .home-service-card h3 {
        font-size: 22px;
    }

    .home-service-card__body > p {
        font-size: 14px;
    }

    .home-service-card__link {
        width: 100%;
    }

    .home-strengths {
        padding: 54px 16px 62px;
    }

    .home-strengths__grid {
        width: min(100%, 620px);
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .home-strength-card {
        min-height: 0;
        padding: 27px 22px 25px;
    }

    .home-strength-card__icon {
        width: 55px;
        height: 55px;
        margin-bottom: 13px;
        font-size: 24px;
    }

    .home-strength-card h3 {
        font-size: 19px;
    }

    .home-strength-card p {
        font-size: 14px;
    }

    .home-contact {
        min-height: 0;
        padding: 52px 16px 57px;
        background-position: 72% center;
    }

    .home-contact__shade {
        background: rgba(255, 189, 117, 0.91);
    }

    .home-contact__inner {
        width: min(100%, 620px);
    }

    .home-contact__buttons {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .home-contact-button {
        min-height: 72px;
    }

    .home-contact-button strong {
        font-size: 15px;
    }

    .home-faq {
        padding: 54px 15px 65px;
    }

    .home-faq__list {
        width: min(100%, 650px);
    }

    .home-faq-item summary {
        min-height: 61px;
        padding: 13px 53px 13px 16px;
        font-size: 14px;
    }

    .home-faq-item summary::before,
    .home-faq-item summary::after {
        right: 19px;
    }

    .home-faq-item__answer {
        padding: 0 18px 19px 16px;
    }

    .home-faq-item__answer p {
        font-size: 14px;
    }
}

/* =========================================================
   小さいスマートフォン
   ========================================================= */

@media (max-width: 430px) {
    .home-hero {
        min-height: 625px;
        background-position: 64% 28%;
    }

    .home-hero__copy {
        padding-top: 277px;
    }

    .home-hero h1 {
        font-size: clamp(28px, 8.3vw, 36px);
    }

    .home-hero__english {
        margin-left: 43px;
        font-size: 27px;
    }

    .home-hero__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .home-button {
        width: 100%;
    }

    .home-search__heading p {
        white-space: normal;
    }

    .home-about h2 {
        font-size: 25px;
    }

    .home-section-heading h2 {
        font-size: 27px;
    }
}

/* =========================================================
   動きを減らす設定
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .home-page *,
    .home-page *::before,
    .home-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .home-reveal {
        opacity: 1;
        transform: none;
    }
}