/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base */
html {
    font-size: 62.5%;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    line-height: 1.7;
    color: #000000;
    background-color: #f5f5f5;
}

.wrapper {
    max-width: 1512px;
    margin: 0 auto;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    width: 100%;
    background-color: #ffffff;
    padding: 16px 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: background-color 0.3s, backdrop-filter 0.3s;
}

@media screen and (max-width: 768px) {
    .header {
        padding: 0;
    }
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header__inner {
    max-width: 1512px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.header__logo {
    width: 452px;
    height: 62px;
    display: flex;
    align-items: center;
}

.header__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header__menu {
    width: 53px;
    height: 53px;
    position: relative;
    cursor: pointer;
    background: linear-gradient(90deg, #F0919E 66%, #D07E8A 100%);
    border: none;
    padding: 0;
    border-radius: 0;
}

.header__menu-line {
    display: block;
    width: 22px;
    height: 3px;
    background-color: #ffffff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__menu-line:nth-child(1) {
    top: 18px;
}

.header__menu-line:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.header__menu-line:nth-child(3) {
    bottom: 18px;
}

.header__menu.is-active .header__menu-line:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.header__menu.is-active .header__menu-line:nth-child(2) {
    opacity: 0;
}

.header__menu.is-active .header__menu-line:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.header__nav {
    position: fixed;
    top: 94px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(240, 145, 158, 0.95);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.header__nav.is-active {
    height: calc(100vh - 94px);
    padding: 30px 20px;
}

.header__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 1076px;
    margin: 0 auto;
}

.header__nav-item {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.header__nav.is-active .header__nav-item {
    opacity: 1;
    transform: translateY(0);
}

.header__nav-item:last-child {
    margin-bottom: 0;
}

.header__nav-link {
    display: block;
    width: 100%;
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s;
    padding: 10px 0;
    line-height: 1.4;
    text-align: center;
}

.header__nav-link:hover {
    opacity: 0.7;
}

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

    .header__inner {
        padding: 0;
    }

    .header__logo {
        width: 100%;
    }

    .header__logo img {
        max-width: 230px;
    }

    .header__nav {
        top: 73px;
    }

    .header__nav.is-active {
        height: calc(100vh - 73px);
        padding: 30px 20px;
    }

    .header__nav-item {
        margin-bottom: 30px;
        text-align: center;
    }

    .header__nav-link {
        font-size: clamp(1.4rem, 3.2vw, 1.8rem);
        width: 100%;
        display: block;
        padding: 5px 0;
        white-space: nowrap;
        text-align: center;
    }

    .header__menu-line:nth-child(1) {
        top: 22px;
    }

    .header__menu-line:nth-child(2) {
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .header__menu-line:nth-child(3) {
        bottom: 22px;
    }

    .header__menu-line {
        width: 20px;
        height: 2px;
    }

    .header__menu.is-active .header__menu-line:nth-child(1) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .header__menu.is-active .header__menu-line:nth-child(3) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
    }
}

/* Hero */
.hero {
    position: relative;
    margin-top: 94px;
}

.hero__kv {
    width: 100%;
}

.hero__kv img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

.hero__kv-sp {
    display: none;
}

@media screen and (max-width: 768px) {
    .hero {
        margin-top: 73px;
    }

    .hero__kv-pc {
        display: none;
    }

    .hero__kv-sp {
        display: block;
    }
}

/* About */
.about {
    background-color: #ffffff;
    background-image: url('images/about-bg1.png'), url('images/about-bg2.png');
    background-repeat: no-repeat;
    background-position: left top, right bottom;
    padding: 100px 0;
}

.about__inner {
    max-width: 1076px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.about__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.about__title {
    text-align: center;
}

.about__title-main {
    display: block;
    font-size: 3.7rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 20px;
}

.about__title-sub {
    display: block;
    font-family: "Arimo", sans-serif;
    font-size: 2.3rem;
    line-height: 1.15;
    color: #F0919E;
}

.about__content:nth-child(2) .about__title-sub {
    color: #5FC1C9;
}

.about__text {
    background-color: #ffffff;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    padding: 70px 50px;
    font-size: 2rem;
    font-weight: 500;
    line-height: 2.25;
    position: relative;
}

.about__text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 68px;
    height: 6px;
}

.about__content:nth-child(1) .about__text::after {
    background-color: #F0919E;
}

.about__content:nth-child(2) .about__text::after {
    background-color: #69C4CB;
}

/* Support */
.support {
    width: 100%;
    padding: 100px 0;
    background-color: #fafafa;
}

.support__inner {
    max-width: 1076px;
    margin: 0 auto;
    padding: 0 20px;
}

@media screen and (max-width: 768px) {
    .support {
        padding: 50px 0;
    }
    
    .support__inner {
        padding: 0 20px;
    }
}

.support__title {
    text-align: center;
    font-size: 3.7rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 50px;
}

.support__grid,
.services__grid {
    width: 100%;
    max-width: 1076px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px;
}

.services {
    background-color: #fafafa;
    padding: 0 0 100px;
}

.services__inner {
    max-width: 1076px;
    margin: 0 auto;
    padding: 0 20px;
}

.services__title {
    text-align: center;
    font-size: 3.7rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 50px;
}

@media screen and (max-width: 1000px) {
    .support__grid,
    .services__grid {
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .support__grid,
    .services__grid {
        grid-template-columns: 1fr;
    }

    .support__card {
        padding: 30px;
    }

    .support__card-title {
        font-size: 2.1rem;
    }
}

.support__card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 19px;
    padding: 30px;
    position: relative;
    background-color: #ffffff;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.support__card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 68px;
    height: 6px;
    background-color: #69C4CB;
}

.support__card-icon {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.support__card-title {
    font-size: 2.1rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.73;
}

.support__card-title small {
    display: block;
    font-size: 0.85em;
    margin-top: 5px;
    color: #000000;
}

.support__card-button,
.services__card-button {
    width: 213px;
    height: 43px;
    margin-top: auto;
    border: 3px solid #000000;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #000000;
    position: relative;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(1);
    padding: 0 25px;
}

.support__card-button {
    background-color: #69C4CB;
}

.services__card-button {
    background-color: #F0919E;
}

.support__card-button:hover {
    color: #000000;
    transform: scale(1.05);
    background-color: #8FD3D8;
    box-shadow: 0 10px 20px rgba(105, 196, 203, 0.2);
}

.services__card-button:hover {
    color: #000000;
    transform: scale(1.05);
    background-color: #F5ACB6;
    box-shadow: 0 10px 20px rgba(240, 145, 158, 0.2);
}

.support__card-button::after,
.services__card-button::after {
    content: '';
    width: 9px;
    height: 13px;
    margin-left: 10px;
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='13' viewBox='0 0 9 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1L7.5 6.5L1.5 12' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Services */
.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.services__card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 19px;
    padding: 30px;
    position: relative;
    background-color: #ffffff;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.services__card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 68px;
    height: 6px;
    background-color: #F0919E;
}

.services__card-icon {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.services__card-title {
    font-size: 2.1rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.73;
}



/* YouTube */
.youtube {
    background-color: #ffffff;
    padding: 100px 0;
}

.youtube__inner {
    max-width: 1076px;
    margin: 0 auto;
    padding: 0 20px;
}

.youtube__title {
    text-align: center;
    font-size: 3.7rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 50px;
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    .youtube__title {
        font-size: 2.4rem;
        margin-bottom: 30px;
        white-space: normal;
        line-height: 1.67;
    }
}

.youtube__grid {
    display: flex;
    gap: 50px;
}

.youtube__card {
    width: 100%;
}

.youtube__thumbnail {
    width: 100%;
    display: block;
    position: relative;
    box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.2);
    border: 5px solid #FFFFFF;
}

.youtube__thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.youtube__thumbnail:hover::after {
    background-color: rgba(0, 0, 0, 0);
}

.youtube__thumbnail img:not(.youtube__play-button) {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.youtube__play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.youtube__thumbnail:hover .youtube__play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.pc-only {
    display: inline;
}

.sp-only {
    display: none;
}

@media screen and (max-width: 768px) {
    .pc-only {
        display: none;
    }
    
    .sp-only {
        display: inline;
    }
}

/* スマホ非表示クラス */
@media screen and (max-width: 768px) {
    .sp_none {
        display: none !important;
    }
}

.youtube__card-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.94;
    text-align: center;
    margin-top: 10px;
    display: block;
    color: #000000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.youtube__card-title:hover {
    opacity: 0.7;
}

@media screen and (max-width: 768px) {
    .youtube__card-title {
        font-size: 1.4rem;
        line-height: 1.94;
    }
}

/* Footer */
.footer {
    background-color: #494A4B;
    padding: 80px 30px;
    color: #ffffff;
}

.footer__inner {
    max-width: 1076px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.footer__phone {
    width: 360.81px;
    height: 24.65px;
    object-fit: contain;
}

.footer__phone-group {
    display: flex;
    justify-content: center;
    gap: 45px;
    margin-top: 16.67px;
    width: 100%;
}

.footer__tel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__tel-number {
    width: 396.46px;
    height: 61.01px;
    object-fit: contain;
}

.footer__tel a {
    display: block;
    transition: opacity 0.3s ease;
}

.footer__tel a:hover {
    opacity: 0.8;
}

@media screen and (max-width: 768px) {
    .footer__phone-group {
        flex-direction: column;
        align-items: center;
        gap: 16.67px;
    }

    .footer__tel {
        align-items: center;
    }

    .footer__tel-number {
        width: 300px;
        height: 46.47px;
    }
}

.footer__tel-hours {
    color: #69C4CB;
    font-size: 16px;
    font-weight: bold;
}

.footer__tel-hours::after {
    content: "時間";
    font-size: 12px;
    margin-left: 2px;
}

.footer__tel-days {
    color: #F0919E;
    font-size: 16px;
    font-weight: bold;
}

.footer__tel-days::after {
    content: "日";
    font-size: 12px;
    margin-left: 2px;
}

.footer__info {
    text-align: center;
}

.footer__target {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.94;
    margin-bottom: 18px;
}

.footer__text {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2;
}

.footer__copyright {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.19;
    padding: 65px 0;
    text-align: center;
    background-color: #ffffff;
    color: #000000;
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 50px 20px;
    }

    .footer__phone {
        width: 290px;
        height: 19.81px;
    }

    .footer__target {
        font-size: 1.4rem;
    }

    .footer__text {
        font-size: 1.4rem;
    }

    .footer__copyright {
        padding: 30px 0;
    }
}

/* Responsive */
@media screen and (max-width: 767px) {
    .header__inner {
        padding: 10px 20px;
    }

    .header__menu {
        width: 32.71px;
        height: 32.71px;
    }

    .header__menu span {
        width: 13.56px;
    }

    .hero__logo {
        width: 218.21px;
        margin: -43.07px auto 0;
    }

    .hero__illustration {
        width: 607px;
        margin: 265px 0 0 -148px;
    }

    .hero__text {
        width: 283px;
        margin: 153px 0 0 0;
    }

    .about {
        padding: 50px 0;
    }

    .about__inner {
        gap: 50px;
    }

    .about__title-main {
        font-size: 2.4rem;
    }

    .about__title-sub {
        font-size: 1.2rem;
    }

    .about__text {
        padding: 20px;
        font-size: 1.6rem;
    }

    .support,
    .services,
    .youtube {
        padding: 50px 0;
    }

    .support__title,
    .services__title,
    .youtube__title {
        font-size: 2.4rem;
        margin-bottom: 30px;
    }

    .support__grid,
    .youtube__grid {
        flex-direction: column;
        gap: 20px;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .support__card,
    .services__card {
        padding: 30px;
    }

    .support__card-title,
    .services__card-title {
        font-size: 2.2rem;
    }

    .footer {
        padding: 50px 20px;
    }

    .footer__target {
        font-size: 1.4rem;
    }

    .footer__text {
        font-size: 1.4rem;
    }

    .footer__copyright {
        padding: 30px 0;
    }
} 

/* Dummy Images */
.dummy-image {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.6rem;
    text-align: center;
    line-height: 1.5;
}

.dummy-image.dummy-icon {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: linear-gradient(135deg, #F0919E, #69C4CB);
}

.dummy-image.dummy-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F0919E 0%, #69C4CB 100%);
}

.dummy-image.dummy-youtube {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: linear-gradient(135deg, #F0919E 0%, #69C4CB 100%);
}

.dummy-image.dummy-youtube span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 20px;
} 

.icon-box {
    width: 156px;
    height: 124px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
}

.icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
} 

@media screen and (max-width: 768px) {
    .support__card-button,
    .services__card-button {
        width: 100%;
        max-width: calc(100% - 40px);
    }
} 

.services__card-grid {
    width: 100%;
    max-width: 1076px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
}

@media screen and (max-width: 1000px) {
    .support__grid,
    .services__card-grid {
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .support__grid,
    .services__card-grid {
        grid-template-columns: 1fr;
    }
} 

@media screen and (max-width: 768px) {
    .header__menu-line:nth-child(1) {
        top: 22px;
    }

    .header__menu-line:nth-child(2) {
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .header__menu-line:nth-child(3) {
        bottom: 22px;
    }

    .header__menu-line {
        width: 20px;
        height: 2px;
    }

    .header__menu.is-active .header__menu-line:nth-child(1) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .header__menu.is-active .header__menu-line:nth-child(3) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
    }
} 

.youtube-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.youtube-modal.is-active {
    display: flex;
}

.youtube-modal__inner {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
}

.youtube-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.youtube-modal__close::before,
.youtube-modal__close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
}

.youtube-modal__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.youtube-modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.youtube-modal__iframe {
    width: 100%;
    height: 100%;
    border: none;
} 