@charset "UTF-8";
@import url(https://fonts.googleapis.com/icon?family=Material+Icons);

:root {
    --color-main: #5C328A;
    --color-black: #4B4B4B;
    --color-white: #FFFFFF;
    --color-blue: #1C61C9;
    --color-gray: #DFDFDF;

    --color-lightblue: #F2F6FC;
    --color-lightviolet: #F6F2FC;
    --color-lightviolet2: #EDE4F4;

    --font-size: 16px;

    --border-radius: 10px;
}



.context {
    margin-block: 40px 60px;
}

@media screen and (max-width: 768px) {
    .context {
        margin-block: 40px 60px;
    }
}


body {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    color: var(--color-black);
}

section {
    margin-bottom: 100px;
}

@media screen and (max-width: 768px) {
    section {
        margin-bottom: 50px;
    }
}

main,
footer {
    line-height: 2;
}

img {
    width: 100%;
    display: block;
}

.br-sp {
    display: none;
}

.br-pc {
    display: inline-block;
}

@media screen and (max-width: 768px) {
    .br-sp {
        display: inline-block;
    }

    .br-pc {
        display: none;
    }
}



/* container */
.container-header {
    max-width: 1700px;
    margin: 0 auto;
    padding-inline: 1rem;
    margin-bottom: 100px;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding-inline: 1rem;
}

.conteiner-sm-fluid {
    max-width: 100%;
    padding-inline: 0;
}

@media screen and (max-width: 768px) {
    .container-header {
        margin-bottom: 50px;
    }
    
}

/* headline */

h1 {
    font-size: 2.625rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

h1,
h2,
h3 {
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 1.3125rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}


.container-header h1 {
    padding-block: 100px;
    padding-inline: 16px;
    line-height: 1;
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, var(--color-main), var(--color-blue)) 1;
}

.container-header .pankuzu {
    margin-top: 1.5rem;
    font-size: 14px;
    padding-inline: 16px;

    &>span:not(:last-of-type)::after {
        content: ">";
        display: inline-block;
        margin-inline: 16px 8px;
    }
}

@media screen and (max-width: 768px) {
    .container-header h1 {
        padding-block: 50px 50px;
        padding-inline: 0;
    }

    .container-header .pankuzu {
        padding-inline: 0;
    }
}

.heading-3__text {
    display: block;
}

.heading-3__subtext {
    display: block;
    font-size: 75%;
    font-weight: 500;
}

.heading-3--line {
    position: relative;
    padding-left: 2rem;
    line-height: 1.5;
    margin-bottom: 2rem;

    &::before {
        content: "";
        display: block;
        width: 8px;
        height: 50%;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        background-color: var(--color-blue);
        position: absolute;
        top: 0;
        left: 0;
    }

    &::after {
        content: "";
        display: block;
        width: 8px;
        height: 50%;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        background-color: var(--color-main);
        position: absolute;
        bottom: 0;
        left: 0;
    }
}

.heading-3--underline {
    font-size: 2rem;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, var(--color-main), var(--color-black)) 1;
    margin-bottom: 2.5rem;
    padding-bottom: 1.2rem;
}

@media screen and (max-width: 768px) {
    .heading-3--underline {
        font-size: 1.875rem;
        line-height: 1.5;
    }
}


/* margin */
.mb-1 {
    margin-bottom: 1rem;
}

.mb-25 {
    margin-bottom: 2.5rem;
}

@media screen and (max-width: 768px) {
    .mb-25 {
        margin-bottom: 1.5rem;
    }
}

.mt-2 {
    margin-top: 2rem;
}

/* color */
.color-main {
    color: var(--color-main);
}

.color-blue {
    color: var(--color-blue);
}

.color-white {
    color: var(--color-white);
}

.color-gray {
    color: var(--color-gray);
}

/* btn */
.btn {
    position: relative;
    display: inline-block;
    background: var(--color-white);
    box-shadow: 0px 4px 0px var(--color-gray);
    border: 2px solid var(--color-gray);
    border-radius: 10px;
    opacity: 1;
    padding-block: 8px;
    padding-inline: 24px 64px;
    transition: all 0.3s ease;

    &::before,
    &::after {
        transition: all 0.3s ease;
    }
}

.btn:hover {
    color: var(--color-white);
    background-color: var(--color-main);
}

.btn.btn-link {
    &:before {
        display: block;
        content: "";
        position: absolute;
        background-color: var(--color-main);
        border-radius: 100%;
        top: 50%;
        right: 24px;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
    }

    &:after {
        display: block;
        content: "";
        position: absolute;
        border-top: 2px solid var(--color-white);
        border-right: 2px solid var(--color-white);
        top: 50%;
        right: 33px;
        transform: translateY(-50%) rotate(45deg);
        width: 8px;
        height: 8px;
    }
}

.btn.btn-link:hover {

    &:before {
        background-color: var(--color-white);
    }

    &:after {
        border-top: 2px solid var(--color-main);
        border-right: 2px solid var(--color-main);
    }
}

.btn.btn-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding-inline: 24px;

    &>span:first-of-type {
        flex-grow: 1;
    }

    &>i {
        position: relative;
        top: 1px;
        flex-shrink: 0;
    }

}

/* link */

a {
    cursor: pointer;
}

.arrow {
    position: relative;
    padding-right: 3cap;
    transition: all 0.3s ease;

    &:before,
    &:after {
        transition: all 0.3s ease;
    }

    &:before {
        display: block;
        content: "";
        position: absolute;
        background-color: var(--color-main);
        border-radius: 100%;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
    }

    &:after {
        display: block;
        content: "";
        position: absolute;
        border-top: 2px solid var(--color-white);
        border-right: 2px solid var(--color-white);
        top: 50%;
        right: 0.8cap;
        transform: translateY(-50%) rotate(45deg);
        width: 8px;
        height: 8px;
    }
}

a:hover {
    .arrow {
        color: var(--color-main);

        &:before {
            background-color: var(--color-white);
        }

        &:after {
            border-top: 2px solid var(--color-main);
            border-right: 2px solid var(--color-main);
        }
    }
}

/* icon */
.icon-hoso-white {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: var(--color-main);
    background-image: url(../images/arr_hoso_white.svg);
    background-repeat: no-repeat;
    background-position: center center;
    justify-self: end;
    transition: all 0.3s ease;
}

a:hover {
    .icon-hoso-white {
        background-color: var(--color-white);
        background-image: url(../images/arr_hoso_violet.svg);
    }
}

a:hover img {
    transition: all 0.3s ease;
}

a:hover img {
    opacity: 0.7;
}

.icon-hoso-violet {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: url(../images/arr_hoso_violet.svg) no-repeat center center / contain;
}


p:has(>.badge) {
    font-size: 14px;
}

.badge {
    color: var(--color-main);
    background-color: var(--color-lightviolet);
    width: 18px;
    height: 18px;
    border-radius: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

/* header */

.header__link-nav {
    position: relative;
    top: 16px;
    z-index: 9999;
    padding-inline: 32px;
}

@media screen and (max-width: 1200px) {
    .header__link-nav {
        display: none;
    }
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 80px;
    background-color: var(--color-white);
}

.header__inner {
    padding-inline: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header__logo {
    font-size: 1rem;
    flex-grow: 1;
}

.header__logo a {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-shrink: 0;

    &>img {
        width: 100%;
        max-width: 226px;
    }
}

/* navigation */

nav.header__nav-sp {
    display: none;
}

.header__nav-global {
    display: flex;
}

.header__nav-global .menu-item {
    border-left: 1px solid var(--color-black);

    &:last-of-type {
        border-right: 1px solid var(--color-black);
    }
}

.header__nav-global .menu-item a {
    padding-block: 8px;
    padding-inline: 32px;
    display: block;
    height: 100%
}

.header__nav-global .menu-item-has-children>a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;

    &::after {
        flex-shrink: 0;
        position: relative;
        top: 4px;
        content: "";
        display: block;
        width: 12px;
        height: 12px;
        border-bottom: 2px solid var(--color-main);
        border-right: 2px solid var(--color-main);
        transform: translateY(-50%) rotate(45deg);
        transition: all 0.3s ease;
    }
}

.header__nav-global .menu-item-has-children {
    position: relative;
}

.header__nav-global .menu-item-has-children.active>a {
    &::after {
        transform: rotate(225deg);
    }
}

.header__nav-global .menu-item-has-children .sub-menu {
    display: none;
    position: absolute;
    background-color: var(--color-white);
    width: 240px;
    border: 1px solid var(--color-black);
    border-radius: 10px;
    padding: 16px;
    opacity: 0;
    top: 100%;
    left: 38%;
    transform: translateX(-50%);
    transition: opacity 0.3s ease-out, top 0.3s ease-out, display 0.3s ease-out allow-discrete;
}

.header__nav-global .menu-item-has-children.active .sub-menu {
    display: block;
    top: 120%;
    opacity: 1;

    @starting-style {
        opacity: 0;
        top: 100%;
    }
}

.header__nav-global .menu-item-has-children .sub-menu .menu-item {
    border-left: none;
    border-right: none;
    margin-block: 8px;
    display: flex;
    align-items: center;
    gap: 8px;

    &::before {
        position: relative;
        top: 1px;
        flex-shrink: 0;
        content: "";
        display: block;
        width: 10px;
        height: 10px;
        border-radius: 100%;
        background-color: var(--color-main);
    }
}

.header__nav-global .menu-item-has-children .sub-menu .menu-item a {
    padding: 0;
}

.header__nav-header-top {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    margin-bottom: 8px;
    font-size: 14px;
}

.menu-item>a[target="_blank"] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;

    &::after {
        flex-shrink: 0;
        content: "";
        display: block;
        width: 16px;
        height: 16px;
        background-image: url(../images/arr_hoso_violet.svg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 100% 100%;
    }
}

@media screen and (max-width: 1200px) {
    nav.header__nav-sp {
        display: block;
    }

    nav.header__nav {
        display: none;
    }

    .hamburger {
        height: 60px;
        cursor: pointer;
        z-index: 20;
        padding: 6px 16px;
        background-color: var(--color-lightviolet2);
    }

    .hamburger span {
        display: block;
        height: 2px;
        width: 24px;
        background-color: #333;
        margin: 6px auto;
        transition: 0.4s;
    }

    .hamburger p {
        font-size: 80%;
        position: relative;
        top: -2px;
    }

    /* バツ印に変化するスタイル */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* メニューのスタイル */
    .menu {
        position: fixed;
        top: 80px;
        /* 初期状態でメニューを画面の外に */
        right: 0;
        width: 100%;
        height: 100vh;
        overflow-y: auto;
        background-color: var(--color-white);
        padding-block: 20px;
        box-sizing: border-box;
        z-index: 5;
        display: none;
        opacity: 0;
        transition: opacity 0.3s, display 0.3s allow-discrete;
        ;

        /* スライドアニメーション */
    }

    /* メニューが表示される時 */
    .menu.open {
        opacity: 1;
        display: block;

        /* メニューが表示される位置 */
        @starting-style {
            opacity: 0;
        }
    }

    .header__nav-sp-global {
        &>.menu-item {
            border-bottom: 1px solid var(--color-gray);

            & a {
                display: flex;
                padding-inline: 16px;
                padding-block: 32px;
                justify-content: space-between;
            }

            &>a[href="#"] {
                &::after {
                    font-family: 'Material Icons';
                    content: '\e5cf';
                    color: var(--color-main);
                    transform: scale(1.4);
                    display: block;
                    width: 16px;
                    height: 16px;
                    transition: all 0.3s ease;
                }

                &.active {
                    &::after {
                        transform: scale(1.4) rotate(180deg);
                    }
                }
            }

            &>.sub-menu {
                display: none;
                border-top: 1px solid var(--color-gray);
                padding-block: 16px;

                &>.menu-item>a {
                    padding-inline: 16px;
                    padding-block: 16px;
                    justify-content: start;
                    align-items: baseline;
                    gap: 8px;

                    &::before {
                        content: "";
                        display: block;
                        width: 10px;
                        height: 10px;
                        border-radius: 100%;
                        background-color: var(--color-main);
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 768px) {

    main {
        padding-top: 60px;
    }

    .header {
        height: 60px;
        position: fixed;

        transform: transelateZ(0);
        will-change: transform;
    }

    .header__inner {
        padding-inline: 16px 0;
        padding-bottom: 0;
    }

    .header__logo a {
        gap: 12px;

        &>img {
            width: 100%;
            height: auto;
            max-width: 140px;
        }

        &>p {
            font-size: 80%;
        }
    }

    .menu {
        top: 60px;
    }
}


/* main */

/* main {
    padding-top: 120px;
}

@media screen and (max-width: 768px) {
    main {
        padding-top: 52px;
    }
} */

/* record */
.record-item>div {
    margin-top: 16px;
}

.record-item .record-title {
    text-align: left;
    display: block;
    font-size: 1.125rem;
    color: var(--color-main);
    padding-bottom: 16px;
    border-bottom: 1px dotted var(--color-black);
    margin-bottom: 16px;
}

.record-item .record-content {
    line-height: 1.5;
}

.video-container {
    aspect-ratio: 16/9;
    width: 100%;
    height: 100%;

    iframe {
        width: 100%;
        height: 100%;
    }
}

/* footer */

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8.85vw;
    padding-bottom: 100px;
}

.footer-logo {
    max-width: 360px;

    &>p {
        margin-top: 1rem;
    }
}

.footer-address {
    margin-top: 1rem;
    line-height: 1.5;

    &>:nth-of-type(2) {
        font-weight: normal;
    }
}

.footer-cta-wrapper {
    background-color: var(--color-lightblue);
    align-self: stretch;
    flex-grow: 1;
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.footer-cta {
    display: flex;
    gap: 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.cta--title {
    font-size: 1.5rem;
}

.cta--btn {
    width: 100%;
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta--btn>a {
    width: 300px;
    text-align: center;
}

.copy {
    background-color: var(--color-main);
    text-align: center;
    padding-block: 16px;
    font-size: 14px;
    color: var(--color-gray);
}

@media screen and (max-width: 768px) {
    .footer-wrapper {
        flex-direction: column;
        gap: 50px;
        padding-bottom: 50px;
    }

    .footer-item {
        order: 2;
    }

    .footer-item.footer-cta-wrapper {
        order: 1;
    }

    .cta--title,
    .cta--text {
        text-align: center;
    }

}