@charset "UTF-8";

@import url(../chart/normalize.css);

/* さつき源代明朝フォント読み込み */
@font-face {
  font-family: 'SatsukiGendaiMincho-M';
  src: url('../../font/SatsukiGendaiMincho-M.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: sicgothicduex-hdl-e, sans-serif;
    font-style: normal;
    font-weight: 400;
}

html {
    /* scroll-behavior: smooth; */
    overflow-x: hidden;
}

body {
    width: 100%;
    background-color: #EDE8E8;
    font-size: 100%;
    line-height: 1;
    text-align: center;
    overflow-x: hidden;
}

.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
}

nav {
    unicode-bidi: isolate;
}

/* ヘッダー */

/*sp*/
@media screen and (max-width:767px) {

    header {
        position: fixed;
        width: 100%;
        height: 7%;
        padding: 0 5%;

        overflow: hidden;
        z-index: 3;

        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #091E35;
    }

    header .left {
        display: flex;
        width: 100%;
        height: 100%;
        justify-content: left;
        align-items: center;
    }

    .left a{
        font-size: 24px;
        color: #fff;
    }

    /* ハンバーガーメニュー */
    .hamburger-menu {
        width: 40px;
        height: 40px;
        border: none;
        background: transparent;
        appearance: none;
        padding: 0;
        cursor: pointer;
        z-index: 9999;
        position: relative; 

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hamburger-menu__bar {
        display: inline-block;
        width: 25px;
        height: 1px;
        background: #EDE8E8;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        transition: 0.5s;
        background-color: #EDE8E8;
    }

    .hamburger-menu__bar:first-child {
        top: 35%;
    }

    .hamburger-menu__bar:nth-child(2) {
        top: 50%;
    }

    .hamburger-menu__bar:last-child {
        top: 65%;
    }

    .hamburger-menu--open .hamburger-menu__bar {
        top: 50%;
    }

    .hamburger-menu--open .hamburger-menu__bar:first-child {
        transform: translateX(-50%) translateY(-50%) rotate(45deg);
    }

    .hamburger-menu--open .hamburger-menu__bar:last-child {
        transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    }

    .hamburger-menu--open .hamburger-menu__bar:nth-child(2) {
        display: none;
    }

    /* ハンバーガーのナビゲーション↓*/
    .navigation {
        width: 100%;
        height: 100vh;
        background: #091E35;
        position: fixed;
        top: 7%;

        z-index: 9998;
        margin-left: -5vw;

        display: none;
    }

    .navigation_frame {
        padding: 70px 10px 0px 10px;
        display: flex;
        justify-content: center;
        text-align: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .navigation_list {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 15%;
        padding-top: 15px;

        text-align: center;
    }

    .navigation a {
        color: #EDE8E8;

        margin: 0;
        display: inline-block;
        font-size: 30px;
        margin-bottom: 50px;
    }

    .navigation_ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    /* snsアイコン */
    .navigation-img {
        width: 100%;
        display: flex;
        justify-content: center;
        text-align: center;
        gap: 80px;
    }

    .navigation-img img {
        height: 2rem;
    }

    .logo-to-summary{
        position: relative;
        height: 1200px;
    }

    .main-logo {
        height: 700px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        overflow: hidden;
        background: url(../img/main-logo-back.png) no-repeat center top;
        background-size: 100% 100%;
        z-index: 10;
    }

    .logo-video{
        width: 90%;
        position: absolute;
        top: 90px;
        object-fit: cover;
    }

    #load {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        transition: opacity 1s ease;
    }

    /* Summary */
    .summary {
        position: absolute;
        width: 100%;
        height: 1200px;
        top: 0px;
        background: #6EC6CD;
        z-index:-10;

        display: flex;
        justify-content: center;
    }

    .summary-contents{
        position: absolute;
        top: 600px;

        width: 100%;
        height: 600px;

        display: flex;
        justify-content: space-evenly;
        align-items: end;
        flex-direction: row;
    }

    .summary-sentence {
        text-align: right;
        padding-bottom: 30%;

        opacity: 0;
        transform: translateY(20px); /* 下に少しずらすと自然な動きになる */
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .summary-sentence.fadeInDown {
        opacity: 1;
        transform: translateY(0);
    }

    .summary-title{
        color: #F4F8E9;
        text-align: right;
        font-family: SicGothicDuex-HDL-E;
        font-size: 100px;
        font-style: normal;
        font-weight: 400;

        writing-mode: sideways-lr;
        text-orientation: mixed;
        padding-bottom: 10%;
    }

    .summary-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }


    .about-rect{
        background-color:  #F4F8E9;
        width: 80px;
        height: 10px;
    }

    .about-line{
        background-color:  #F4F8E9;
        width: 1px;
        height: 150%;
        margin-bottom: 20%;
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s ease-in;
    }

    .about-line.easeIn {
        opacity: 1;
        transform: translateY(0);
    }


    .top {
        font-family: "SatsukiGendaiMincho-M", sans-serif;
        font-weight: 300;
        font-style: normal;
        font-size: 17px;
        letter-spacing: 0;
        line-height: 220%;
        color: #F4F8E9;
    }

    /* Content */
    .contents {
        height: 500px;
        background: url(../img/movie-back.png) no-repeat center top;
        background-size: 100% 100%;
    }

    .movie-container {
        width: 100%;
        height: 50%;
        padding: 5%;
    }

    .ISM {
        width: 100%;
        height: 650px;

        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;

        position: relative;
        background-color: #091E35;
    }

    .ism-text{
        text-align: left;

        letter-spacing: 0.1rem;
        line-height: 250%;
    }

    .h2,
    .h3 {
        font-weight: 500;
        color: #F4F8E9;
        font-family: "SatsukiGendaiMincho-M", sans-serif;
        font-style: normal;
        font-size: 17px;
    }

    .h2 {
        font-size: 24px;
    }

    .h3 {
        font-size: 15px;
    }

    .ism-star{
        position: absolute;
        width: 60%;
        opacity: 0.2;
    }

    .l-line{
        position: absolute;
        top: 395px;
        right: 36%;
        background-color:  #F4F8E9;
        width: 64%;
        height: 1px;
    }

    .r-line{
        position: absolute;
        top: 515px;
        left: 13%;
        background-color:  #F4F8E9;
        width: 87%;
        height: 1px;
    }

    .introduce {
        width: 100%;
        height: 1280px;
        background: url(../img/busyotyo-back.png) no-repeat center top;
        background-size: 100% 100%;

        color: #091E35;

        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .intro{
        width: 100%;
        margin: 45px 0px;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    .intro-title{
        width: 100%;
        height: 30px;
    }


    /* カードフリップコンテナ */
    .card-flip-container {
        width: 35%;
        aspect-ratio: 2.8 / 5.1; /* 長方形を維持（横:縦 = 4:3） */
        position: relative;
        perspective: 1000px; /* 3D効果の距離感 */
        margin: 0 auto;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    /* カードの共通スタイル */
    .card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        text-align: center;
        transition: transform 0.8s;
        transform-style: preserve-3d;
    }

    /* フリップ時のアニメーション */
    .card-flip-container.flipped .card-inner {
        transform: rotateY(180deg) scaleX(2.5) scaleY(1.2);
    }

    .card-flip-container.flipped .card-back img {
        transform: scaleX(0.792) scaleY(1.65); /* カードの横方向変形を相殺 (1/2.5 = 0.4) */
    }

    /* カードの表面・裏面共通スタイル */
    .card-front,
    .card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        border-radius: 12px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* カードの表面（ロゴ側） */
    .card-front {
        background: (255,255,255,0);
    }

    /* カードの裏面（写真側） */
    .card-back {
        background: rgba(255, 255, 255, 0);
        transform: rotateY(180deg);
    }

    /* カード内の画像スタイル */
    .card-front img,
    .card-back img {
        width: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
        border-radius: 8px;
    }

    /* 裏面の写真はカードの形に合わせて調整 */
    .card-back img {
        object-fit: cover;
        border-radius: 8px; /* 長方形に合わせて角丸に変更 */
        width: 100%;
        display: block;
    }

    .flip-hint{
        font-size: 11px;
        font-family: "SatsukiGendaiMincho-M", sans-serif;
        font-weight: 300;
        font-style: normal;
    }



    .intro-main {
        width: 100%;

        margin-top: 30px;
        margin-bottom: 25px;

        position: relative;

        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .intro-text {
        display: flex;
        text-align: left;
        justify-content: flex-end;
        flex-direction: column;
    }

    #head-logo {
        max-width: auto;
        max-height: 45px;
    }

    #head {
        font-size: 25px;
    }

    #ex {
        font-size: 14px;
        margin-top: 1em;
        font-family: "SatsukiGendaiMincho-M", sans-serif;
        font-weight: 300;
        font-style: normal;
    }

    #geiko-name {
        font-size: 14px;
    }

    #picture {
        max-width: 100%;
        max-height: 65%;
        object-fit: contain;
    }

    .introduce p {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .btn-container span {
        font-size: 11px;
        font-family: "SatsukiGendaiMincho-M", sans-serif;
        font-weight: 300;
        font-style: normal;

        white-space: nowrap;
        margin-top:0.4rem;
    }

    .mini-card-btn{
        width: 18%;
        display: flex;
        flex-direction: column;
    }

    .btn_trigger img {
        width: 50px;
    }

    .btn-container {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .bar-card{
        justify-content: flex-start;
        margin-left: 14%;
    }

    .busyotyo{
        width: 100%;
    }

    .busyotyo span{
        color: #091E35;
    }

    .chart{
        width: 100%;
        height: 110px;
        background-color: #E6217F;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    .chart a{
        background-color: #091E35;
        color: #F4F8E9;
        font-family: "SatsukiGendaiMincho-M", sans-serif;
        font-weight: 300;
        font-style: normal;
        font-size: 10vw;
    }

    .chart a,.chart a:hover,.chart a:visited{
        color: #F4F8E9;
    }

    .chart-l-line{
        background-color:  #091E35;
        width: 13%;
        height: 1px;
        margin-right: 2%;
    }

    .chart-r-line{
        background-color:  #091E35;
        width: 13%;
        height: 1px;

        margin-left: 2%;
    }

    .sns{
        background-color: #091E35;
        width: 100%;
        height: 110px;

        display: flex;
        justify-content: center;
        align-items: center;

        margin-bottom: 20px;
    }

    .sns-icon-container {
        width: 100%;

        display: flex;
        text-align: center;
        justify-content: center;

        gap: 80px;
    }

    .sns-icon-container img {
        height: 35px;
    }

    /* フッター */
    footer {
        position: relative;
        width: 100%;

        background-color: #091E35;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;

        z-index: 2;
    }

    footer .bottom {
        position: absolute;
        width: 100%;
        height: 20px;
        bottom: 0;

        background: #091E35;

        font-weight: 500;
        font-style: normal;
        color: #F4F8E9;
    }

    /* summaryのアニメーション */

    .fadeInDown {
        -webkit-animation-fill-mode: both;
        -ms-animation-fill-mode: both;
        animation-fill-mode: both;
        -webkit-animation-duration: 1.5s;
        -ms-animation-duration: 1.5s;
        animation-duration: 1.5s;
        -webkit-animation-name: fadeInDown;
        animation-name: fadeInDown;
        visibility: visible !important;
    }

    @-webkit-keyframes fadeInDown {
        0% {
            opacity: 0;
            -webkit-transform: translateY(80px);
        }

        100% {
            opacity: 1;
            -webkit-transform: translateY(0);
        }
    }

    @keyframes fadeInDown {
        0% {
            opacity: 0;
            -webkit-transform: translateY(80px);
            -ms-transform: translateY(80px);
            transform: translateY(80px);
        }

        100% {
            opacity: 1;
            -webkit-transform: translateY(0);
            -ms-transform: translateY(0);
            transform: translateY(0);
        }
    }

    .pc {
        display: none;
    }

}

/* PC,tablet */
@media screen and (min-width:768px) {
    body {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    header,
    main,
    footer {
        display: none;
    }

    .pc {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;

        width: 100%;
        height: 100%;
        background-color: #091E35;
    }

    .pc img {
        width: 600px;
        opacity: 0.3;
    }

    .pc span {
        font-weight: 300;
        font-style: normal;
        font-size: 50px;
        color: #F4F8E9;

        position: absolute;
    }
}