/*
top-billboard
*/

.top-billboard__img {
    aspect-ratio: 1740 / 711;
    background: linear-gradient(to bottom, transparent 38%, #FFF29F 38%);
    padding: 0 calc(max(30px, (100% - 1800px) / 2));
    width: 100%;
}

.top-billboard__img>img {
    display: block;
    border-radius: 25px;
    height: 100%;
    width: 100%;
}

.top-billboard__text {
    display: flex;
    align-items: end;

    aspect-ratio: 180 / 67;
    background: url(../images/top/billboard_text_bg.svg) no-repeat center center / cover;

    position: relative;

    margin-top: -200px;
    padding-bottom: 120px;
}

.top-billboard__text__phrase {
    color: white;
    font-size: 23px;
    font-weight: bold;
    line-height: 2.5;
}

.top-billboard__decoration-1 {
    aspect-ratio: 460 / 200;
    background: url(../images/top/billboard_deco_1.svg) no-repeat center center / contain;

    position: absolute;
    top: 40px;
    left: 140px;

    width: 460px;
}

.top-billboard__decoration-2 {
    aspect-ratio: 707 / 515;
    background: url(../images/top/billboard_deco_2.svg) no-repeat center center / contain;

    position: absolute;
    top: 100px;
    left: calc(50% + 40px);

    width: 707px;
}

/*
top-info
*/

.top-info-notice {
    display: grid;
    grid-template-columns: auto 1fr;

    background-color: white;
    border: 1px solid #C8C8C8;
    border-radius: 20px;

    overflow: hidden;

    width: 100%;
}

.top-info-notice__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    background-color: #F9CA1C;

    color: white;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;

    padding: 40px 40px 40px 27px;
}

.top-info-notice__list {
    display: grid;
    align-items: center;
    grid-template-columns: auto 1fr auto;
    column-gap: 40px;

    padding: 20px 0;
}

.top-info-notice__list>li {
    display: contents;
}

.top-info-notice__list>li>a {
    display: grid;
    align-items: center;
    grid-column: span 3;
    grid-template-columns: subgrid;

    color: currentColor;
    font-size: 18px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;

    padding: 16px 30px 16px 45px;

    transition: all 0.1s;
}

.top-info-notice__list>li>a::after {
    display: block;
    content: "";

    aspect-ratio: 20 / 19;
    background: url(../images/common/icon_yellow_arrow_right.svg) no-repeat center center / contain;

    width: 20px;
}

.top-info-notice__title::before {
    display: block;
    content: "";

    aspect-ratio: 1 / 1;
    background: url(../images/common/icon_caution.svg) no-repeat center center / contain;

    width: 36px;
}

.top-info-search {
    width: 100%;
}

.top-info-search-button {
    --shadow-x: 6px;
    --shadow-y: 4px;
    --shadow-color: #D5AA00;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    background-color: #F9CA1C;
    box-shadow: var(--shadow-x) var(--shadow-y) 0 0 var(--shadow-color);
    border-radius: 20px;

    color: white;
    font-size: 58px;
    font-weight: bold;
    text-decoration: none;

    overflow: hidden;
    position: relative;

    height: 170px;
    width: calc(100% - var(--shadow-x));

    transition: all 0.1s;
}

.top-info-search-button::before {
    display: block;
    content: "";

    aspect-ratio: 172 / 134;
    background: url(../images/top/info_search.svg) no-repeat center center / contain;

    width: 172px;
}

.top-info-search-button::after {
    display: block;
    content: "";

    aspect-ratio: 50 / 47;
    background: url(../images/common/icon_arrow_right.svg) no-repeat center center / contain;

    position: absolute;
    top: 50%;
    right: 45px;

    width: 50px;

    transform: translateY(-50%);
    transform-origin: center;
}

.top-info-search-button:hover {
    box-shadow: 0 0 0 0 var(--shadow-color);
    transform: translate(var(--shadow-x), var(--shadow-y));
}

.top-info-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--spacing) * 8);
}

.top-info-link-button {
    display: inline flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;

    background-color: white;
    border: 1px solid #C8C8C8;
    border-radius: 20px;

    color: var(--default-color);
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    text-decoration: none;

    overflow: hidden;
    position: relative;

    padding: 20px 100px;

    transition: all 0.1s;
}

.top-info-link-button::before {
    display: block;
    content: "";

    height: 110px;
    width: 100%;
}

.top-info-link-button--about::before {
    background: url(../images/top/info_link_about.svg) no-repeat center center / contain;
}

.top-info-link-button--support::before {
    background: url(../images/top/info_link_support.svg) no-repeat center center / contain;
}

.top-info-link-button--faq::before {
    background: url(../images/top/info_link_faq.svg) no-repeat center center / contain;
}

.top-info-link-button::after {
    display: block;
    content: "";

    aspect-ratio: 1 / 1;
    background: url(../images/common/icon_arrow_right.svg) no-repeat center center / 15px auto, #FCA518;
    border-radius: 20px 0 0;

    position: absolute;
    bottom: 0;
    right: 0;

    width: 40px;

    transition: all 0.1s;
}

.top-info-link-button:hover {
    background-color: #efefef;
}

.top-info-link-button:hover::after {
    width: 60px;
}

/*
top-search
*/

.top-search {
    background-color: #F9CA1C;
    border-image-source: url(../images/top/search_bg.svg);
    border-image-slice: 340 300 110 350;
    border-image-width: 340px 300px 110px 350px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: stretch stretch;

    padding-top: 90px;
    padding-bottom: 110px;
}

.top-search-windows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;

    width: 100%;
}

.top-search-window {
    background-color: white;
    border-radius: 10px;

    padding: 40px 30px 48px;
}

.top-search-window__title {
    border-bottom: 1px solid #FCA518;

    font-size: 26px;
    font-weight: bold;
    line-height: 1;

    padding-bottom: 8px;
    margin-bottom: 12px;
}

.top-search-window__description {
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1;

    margin-bottom: 30px;
}

.top-search-window__form__button {
    --align: left;
    --width: 120px;
    --padding: 0 32px;
    --arrow-width: 8px;
    --arrow-right: 14px;
}

.top-search-window__form-area {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
}

.top-search-window__form-keyword {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

/*
top-about
*/

.top-about {
    padding-top: 90px;
    padding-bottom: 130px;
}

.top-about-box {
    --border-radius: 34px;

    filter: drop-shadow(7px 7px #CCBC86);

    position: relative;

    margin-left: auto;
    margin-right: auto;

    max-width: 1335px;
}

.top-about-box__header {
    overflow: hidden;
    position: relative;
}

.top-about-box__header::after {
    display: block;
    content: "";

    background-color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;

    position: absolute;
    bottom: 0;
    left: 0;

    height: 60%;
    width: 100%;

    z-index: 0;
}

.top-about-box__header__heading {
    background-color: white;
    border-radius: 25px 25px 0 0;

    position: relative;
    z-index: 1;

    margin: 0 auto;
    padding-top: calc(var(--spacing) * 5);
    padding-bottom: calc(var(--spacing) * 4);

    width: fit-content;
    min-width: 440px;
}

.top-about-box__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    column-gap: 40px;
    row-gap: 22px;

    background-color: white;
    border-radius: 0 0 var(--border-radius) var(--border-radius);

    padding-bottom: 34px;
}

.top-about-box__inner__image {
    grid-row: 1 / 4;

    aspect-ratio: 58 / 40;
    border-radius: 25px;

    overflow: hidden;

    width: 100%;
}

.top-about-box--flip .top-about-box__inner__image {
    grid-column: 2;
}

.top-about-box__inner__image>img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.top-about-box__inner__phrase {
    color: #FCA518;
    font-size: 25px;
    font-weight: bold;
    line-height: 1.6;
    margin-top: 20px;
}

.top-about-box__inner__text {
    font-size: 16px;
    line-height: 1.75;
}

.top-about-box__inner__button {
    --width: 300px;
}

.top-about-box__decoration-1 {
    display: block;

    aspect-ratio: 162 / 146;
    background: url(../images/top/about_deco_1.svg) no-repeat center center / contain;

    position: absolute;
    top: 24px;
    right: 16px;

    width: 162px;

    z-index: 0;
}

.top-about-box__decoration-2 {
    display: block;

    aspect-ratio: 182 / 109;
    background: url(../images/top/about_deco_2.svg) no-repeat center center / contain;

    position: absolute;
    top: 24px;
    left: 16px;

    width: 182px;

    z-index: 0;
}

/*
top-faq
*/

.top-faq {
    overflow: visible;
    position: relative;
}

.top-faq-bg {
    background: url(../images/top/faq_bg.svg) repeat center center / 148% auto, #fff;
    background-attachment: fixed;
}

.top-faq__mask {
    --height: 30px;

    mask-image: url(../images/top/faq_mask.svg);
    mask-size: 1800px var(--height);
    mask-repeat: repeat round, no-repeat;
    mask-position: center top;

    margin-top: calc(var(--height) * -1);

    height: var(--height);
    width: 100%;
}

.top-faq__inner {
    padding-top: 68px;
    padding-bottom: 220px;

    z-index: 1;
}

.top-faq__decoration-1 {
    display: block;

    aspect-ratio: 207 / 171;
    background: url(../images/top/faq_deco_1.svg) no-repeat center center / contain;

    position: absolute;
    bottom: 80px;
    left: 160px;

    width: 207px;

    z-index: 0;
}

.top-faq__decoration-2 {
    display: block;

    aspect-ratio: 206 / 173;
    background: url(../images/top/faq_deco_2.svg) no-repeat center center / contain;

    position: absolute;
    bottom: 80px;
    right: 160px;

    width: 206px;

    z-index: 0;
}

.top-faq-items {
    display: grid;
    gap: 20px;
}

.top-faq-items__item {
    background-color: #FCE798;
    border-radius: 16px;
}

.top-faq-items__item>dt,
.top-faq-items__item>dd {
    display: grid;
    align-items: center;
    grid-template-columns: auto 1fr;
    gap: 16px;
}

.top-faq-items__item>dt {
    cursor: pointer;
    user-select: none;

    font-size: 22px;
    font-weight: bold;
    line-height: 1.2;

    position: relative;

    padding: 21px 30px;
}

.top-faq-items__item>dt::before,
.top-faq-items__item>dt::after {
    display: block;
    content: "";

    aspect-ratio: 16 / 2;
    background-color: #F9831D;

    position: absolute;
    top: 50%;
    right: 24px;

    height: auto;
    width: 16px;

    transition: all 0.1s;
}

.top-faq-items__item>dt::before {
    transform: translate(0%, -50%);
}

.top-faq-items__item>dt::after {
    transform-origin: 50% 50%;
    transform: translate(0%, -50%) rotate(90deg);
}

.top-faq-items__item--open>dt::after {
    transform: translate(0%, -50%) rotate(0);
}

.top-faq-items__item>dd {
    font-size: 16px;
    line-height: 1.75;

    padding: 0 30px 21px;
}

.top-faq-items__item_q {
    display: block;
    content: "";

    aspect-ratio: 1 / 1;
    background: url(../images/top/faq_q.svg) no-repeat center center / contain;

    height: auto;
    width: 38px;
}

.top-faq-items__item_a {
    display: block;
    content: "";

    aspect-ratio: 1 / 1;
    background: url(../images/top/faq_a.svg) no-repeat center center / contain;

    height: auto;
    width: 38px;
}