@import url('https://fonts.cdnfonts.com/css/adobe-garamond-pro');

/* topだけはmainがヘッダー下にもぐりこむデザイン */
main{
    margin: 0 !important;
}

header{
    background: transparent !important;
}

/* ヒーローセクション */
.hero {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
    margin-top: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #888;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-caption {
    position: absolute;
    top: 22rem;
    left: 11rem;
    font-size: 4.8rem;
    line-height: 1.5;
    letter-spacing: 2rem;
    color: #000;
    text-align: center;
    z-index: 1;
}

/* メインビジュアルセクション */
.main-visual {
    position: relative;
    background-color: #F4F2ED;
    width: 100%;
    padding: 37px 0 60px;
}

.main-content {
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.subtitle {
    font-family: 'A-OTF A1 Mincho Std', serif;
    font-size: 18px;
    line-height: 1.43;
    letter-spacing: 0.17em;
    margin-bottom: 6px;
    color: #151515;
}

.main-title {
    font-family: 'A-OTF A1 Mincho Std', serif;
    font-size: 32px;
    line-height: 1.43;
    letter-spacing: 0.0625em;
    color: #151515;
    margin-bottom: 36px;
}

/* アクセス情報 */
.access-wrapper {
    position: relative;
    width: 110rem;
    margin: 0 auto 40px;
    display: flex;
}

.route-count {
    display: flex;
    align-items: flex-end;
    width: 18%;
    font-family: 'A-OTF A1 Mincho Std', serif;
    font-size: 20.61px;
    color: #151515;
}

.route-number {
    font-family: 'AdobeGaramondPro', serif;
    font-size: 75.38px;
    color: #151515;
    line-height: .6;
}

.train-line-info{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35%;
    align-items: flex-end;
    position: relative;
}
.train-line-info:before,
.train-line-info:after{
    content: '';
    display: block;
    position: absolute;
    height: 4rem;
    width: 1px;
    background: #000;
}
.train-line-info:before{
    left: 0;
}
.train-line-info:after{
    right: 0;
}

.train-line {
    font-family: 'A-OTF A1 Mincho Std', serif;
    font-size: 16.5px;
    color: #151515;
    text-align: left;
    white-space: pre-line;
}

.station-badge {
    font-size: 50.35px;
    font-family: 'A-OTF A1 Mincho Std', serif;
    margin-left: 1rem;
    display: inline-block;
}

.access-info {
    display: flex;
    flex-direction: column;
    padding-left: 3rem;
    width: calc(100% - 18% - 35%);
}

.access-bottom{
    width: 100%;
    display: flex;
    flex-direction: row;
    line-height: .6;
}

.access-station {
    font-family: 'Shippori Mincho', serif;
    font-size: 19.16px;
    color: #151515;
}
.access-number {
    font-family: 'AdobeGaramondPro', serif;
    font-size: 49.55px;
    color: #151515;
}

.access-min {
    font-family: 'A-OTF A1 Mincho Std', serif;
    font-size: 14.16px;
    line-height: 1.43;
    color: #151515;
}

.all{
    background: #fff;
    font-size: 3.6rem;
    padding: 4rem 0;
    letter-spacing: 1rem;
}

/* インフォメーションセクション */
.info-section {
    text-align: center;
    padding: 4.8rem 0;
    max-width: 81rem;
    margin: 0 auto;
}

.info-label {
    font-family: 'Adobe Garamond Pro', serif;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.23em;
    color: #151515;
    margin-bottom: 16px;
}

.info-text {
    font-family: 'A-OTF A1 Mincho Std', serif;
    font-size: 3.2rem;
    line-height: 1.4;
    letter-spacing: 0.0625em;
    color: #151515;
    margin-bottom: 48px;
    white-space: pre-line;
}
/* コンセプトセクション */
.concept {
    position: relative;
    width: 100%;
    height: 167rem;
    background: url('../images/top/concept.jpg') top center / cover no-repeat;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.concept:before{
    content: "";
    position: absolute;
    inset: 0; /* top, right, bottom, left = 0 */
    background: linear-gradient(180deg, rgba(252, 252, 252, 0) -32.82%, #FCFCFC 82.05%);
    z-index: 1;
}

.concept-content {
    position: absolute;
    top: 25rem;
    left: 50%;
    /*transform: translateX(-50%);*/
    translate: -50% 0;
    text-align: center;
    z-index: 2;
}
.concept-inner{
    position: relative;
}
.concept-top{
    letter-spacing: 1rem;
}
.concept-title{
    font-size: 6.4rem;
    line-height: 1.5;
    letter-spacing: 2rem;
    color: #000;
    text-align: center;
    margin: 3rem 0 7rem 0;
}

.concept-logo {
    position: absolute;
    top: 274px;
    left: 530px;
    width: 388px;
    height: 154.75px;
}

.concept-text {
    font-family: 'A-OTF A1 Mincho Std', serif;
    font-size: 16px;
    line-height: 2.2;
    letter-spacing: 0.1875em;
    color: #171717;
    white-space: pre-line;
}

.concept-image{
    position: absolute;
    z-index: 2;
}
.concept-image img {
    object-fit: cover;
}
@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up-animation {
  opacity: 0;
}
.fade-up-animation.show {
  animation: fadeUpIn 5s ease-out forwards;
}

.left-top{
    top: 55.3rem;
    left: -46.3rem;
}
/* 仮画像のためサイズあわせ用 */
.left-top img{
    width: 204px;
    height: 204px;
}
.left-bottom{
    top: 89rem;
    left: -29rem;
}
/* 仮画像のためサイズあわせ用 */
.left-bottom img{
    width: 281px;
    height: 360px;
}
.right-top{
    top: 49rem;
    left: 58rem;
    z-index: 3;
}
/* 仮画像のためサイズあわせ用 */
.right-top img{
    width: 13.5rem;
    height: 13.5rem;
}
.right-middle{
    top: 59rem;
    left: 64rem;
}
/* 仮画像のためサイズあわせ用 */
.right-middle img{
    width: 269px;
    height: 269px;
}
.right-bottom{
    top: 108rem;
    left: 50rem;
}
/* 仮画像のためサイズあわせ用 */
.right-bottom img{
    width: 204px;
    height: 254px;
}
.middle{
    top: 98rem;
    left: 16rem;
}
/* 仮画像のためサイズあわせ用 */
.middle img{
    width: 128px;
    height: 128px;
}

/* カードセクション */
.card-section {
    background: #FCFCFC;
    margin: 0 auto;
}

.card-container {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 3200px;
}

.feature-card {
    position: relative;
    height: 800px;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: rgba(0,0,0,0.3);
}

.feature-card:hover {
    transform: scale(1.02);
}

.card-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
@keyframes smoothZoomEffect {
  0% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
/*
.card-image.card-image01 {
    background-image: linear-gradient(rgba(0,0,0,0.3),rgba(0,0,0,0.3)), url('../images/top/card_image_back01_1.jpg');
    background-size: cover;
    background-position: center;
}
.card-image.card-image02 {
    background-image: linear-gradient(rgba(0,0,0,0.3),rgba(0,0,0,0.3)), url('../images/top/card_image_back02_1.jpg');
    background-size: cover;
    background-position: center;
}
.card-image.card-image03 {
    background-image: linear-gradient(rgba(0,0,0,0.3),rgba(0,0,0,0.3)), url('../images/top/card_image_back03_1.jpg');
    background-size: cover;
    background-position: center;
}
.card-image.card-image04 {
    background-image: linear-gradient(rgba(0,0,0,0.3),rgba(0,0,0,0.3)), url('../images/top/card_image_back04_1.jpg');
    background-size: cover;
    background-position: center;
}
*/

.card-circle {
    position: absolute;
    width: 550px;
    height: 550px;
    border: 1px solid #fff;
    border-radius: 50%;
    /*top: 125px;
    left: 435px;*/
}

.card-content {
    position: absolute;
    top: 230px;
    /*left: 511px;*/
    width: 398px;
    text-align: center;
    color: #fff;
    z-index: 1;
}

.card-subtitle {
    font-family: 'A-OTF A1 Mincho Std', serif;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.167em;
}

.card-title {
    font-family: 'Adobe Garamond Pro', serif;
    font-size: 64px;
    line-height: 1.43;
    letter-spacing: 0.047em;
    margin-bottom: 32px;
}

.card-description {
    font-family: 'A-OTF A1 Mincho Std', serif;
    font-size: 18px;
    line-height: 1.9;
    letter-spacing: 0.111em;
    margin-bottom: 40px;
    white-space: pre-line;
}

.card-caption {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 10px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    z-index: 2;
}

.card-button {
    position: absolute;
    bottom: 253px;
    /*right: 584px;*/
    background: linear-gradient(90deg, #E5E5E5 0%, #FFFFFF 100%);
    color: #807420;
}
.card-section span.button-arrow {
    position: absolute;
    left: 21px;
    width: 6px;
    height: 6px;
    background: #807420;
    border-radius: 50%;
}

/* モバイル対応 */
@media (max-width: 750px) {
    .site-title {
        display: none;
    }

    .hero {
        height: 50vh;
    }
    .hero-caption{
        top: 14rem;
        left: 3rem;
        font-size: 3.5rem;
    }

    .main-visual {
        padding: 20px 0 40px;
    }

    .main-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .subtitle {
        font-size: 14px;
    }

    .access-wrapper {
        padding: 0;
        margin: 0;
        margin-bottom: 60px;
        flex-direction: column;
        width: 100%;
    }
    .route-count,
    .train-line-info,
    .access-info{
        width: 100%;
    }
    .route-count{
        justify-content: center;
    }
    .route-number {
        font-size: 48px;
    }

    .train-line-info{
        padding: 5rem 0;
        margin: 5rem 0;
    }
    .train-line-info::before,
    .train-line-info::after{
        height: 1px;
        width: calc(100% - 2rem);
    }
    .train-line-info::before{
        left: 1rem;
        top: 0;
    }
    .train-line-info::after{
        right: unset;
        left: 1rem;
        bottom: 0;
    }
    .access-bottom{
        flex-direction: column;
        line-height: 1;
    }

    .card-container {
        width: 100%;
    }

    .feature-card {
        height: 600px;
    }

    .card-circle {
        width: 350px;
        height: 350px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .card-content {
        position: static;
        width: 100%;
        padding: 0 20px;
    }

    .card-title {
        font-size: 48px;
    }

    .card-description {
        font-size: 16px;
    }

    .card-button {
        margin: 0 auto;
        bottom: 150px;
        width: 165px;
        padding: 12.75px 22px 12.75px 30px;
    }

    .concept {
        height: auto;
        min-height: 100vh;
        padding: 60px 20px;
        background: url(../images/top/concept.png) top center / cover no-repeat;
    }

    .concept-content {
        transform: none;
        width: 100%;
        max-width: 500px;
        top: 10rem;
    }
    .concept-title {
        font-size: 4rem;
        line-height: 1.2;
        margin: 2rem 0 3rem;
    }

    .concept-image{
        display: none;
    }

    .concept-logo {
        position: static;
        width: 250px;
        height: 100px;
        margin: 0 auto 30px;
    }

    .concept-text {
        font-size: 14px;
        line-height: 2;
        padding: 0 2rem;
    }

    .concept-label {
        position: static;
        margin-top: 30px;
    }

    .crevia-logo {
        position: static;
        margin: 20px auto;
        left: auto;
        top: auto;
        width: 200px;
        height: 80px;
    }

    .footer-nav {
        gap: 20px;
    }

    .contact-section {
        padding:0 0 3rem;
    }

    .contact-box {
        width: 100%;
        max-width: 450px;
    }

    .phone-number {
        font-size: 28px;
    }
}
