* {
    margin: 0; padding: 0;
}


html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Noto Sans JP", sans-serif, "Sawarabi Gothic", "Zen Kaku Gothic Antique";
}


ul {
    list-style: none; /* メニューの黒丸を消す */
    
}


a {
    color: inherit;         /* リンクの青色を消して親の文字色を引き継ぐ */
    text-decoration: none;  /* 下線を消す */
}

.site-header {
    font-family: 'Arimo', "Noto Sans JP", sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    box-sizing: border-box;
    z-index: 1000;
    color: #fff;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 60px;
    letter-spacing: -0.04em;
}

.logo {
    min-width: 0;
    flex: 1 1 auto;
}

.logo img {
    display: block;
    width: auto;
    height: auto;
    max-height: 40px;
    max-width: 100%;
    object-fit: contain;
}

.nav {
    min-width: 0;
    flex: 0 1 auto;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* 画面を埋める。余った部分は切る */
    object-position: top center; /* 上中央を残して切る */
    display: block;
}

.top-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center; /* 文字の位置。上寄せなら flex-start + padding */
}

.top-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.top-mask {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-color: #000;
    opacity: 0.3;           /* 濃さは 0.25〜0.4 で調整 */
}

.top-text {
    position: relative; 
    z-index: 3;
    color: #fff;
    text-align: center;
    font-size: clamp(24px, 4.4vw, 60px);
    font-weight: 500;
    /* フォントサイズなどはお好みで */
}

.menu-button {
    display: none;
    position: absolute;
    z-index: 1001;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
}
.menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0;
    background: #fff;
    transform-origin: center;
    transition: transform 0.3s, opacity 0.3s;
}
.site-header.is-open .menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.site-header.is-open .menu-button span:nth-child(2) {
    opacity: 0;
}
.site-header.is-open .menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


@media (max-width: 760px) {
    .top-text {
        font-size: clamp(20px, 5vw, 32px);
    }
}

@media (max-width: 1100px) {
    .site-header {
        padding-right: 60px;
    }

    .menu-button {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        position: absolute;
        top: 10px;
        right: 20px;
        z-index: 1002;
    }

    .nav {
        position: fixed;
        inset: 0;
        width: auto;
        height: auto;
        background: rgba(0, 0, 0, 0.82);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s, visibility 0.3s;
    }

    .site-header.is-open .nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-header.is-open .logo {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .nav-list {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 28px;
        padding-top: 80px;
        font-size: 18px;
    }
}

.about-section {
    max-width: 1000px;      /* 本文エリアの最大幅。好みで調整 */
    margin-left: auto;     /* 左右の余白を均等に */
    margin-right: auto;
    margin-top: 100px;
    margin-bottom: 100px;
    padding-left: 60px;    /* 狭い画面でも端に張り付かないように */
    padding-right: 60px;

    background-image: url("../images/とわいらいとロゴ.webp");
    background-repeat: no-repeat;
    background-position: 90% center;
    background-size: auto 80%;
    padding-top: 100px;
    padding-bottom: 100px;
}



.about-title-main {
    font-family: 'Arimo';
    font-size: 70px;
    font-weight: 600;
    transform: scaleX(0.75); 
    transform-origin: left center; 
    margin: 0px;
    background: linear-gradient(to right, #ffb9da 0%, #99d6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}



.about-title-text {
    font-family: 'Noto Sans JP';
    font-size: 17px;
    font-weight: 500;
    transform-origin: left center; 
    margin-top: -10px;
}

.about-text {
    font-family: 'Zen Kaku Gothic Antique';
    font-size: 20px;
    font-weight: 700;
    margin-top: 50px;
    letter-spacing: 0.2em;
    line-height: 3;
    color: #583f2f;
}

@media (max-width: 760px) {

    .about-title-main {
        font-size: 48px;
    }

    .about-section {
        background-size: 70vw auto;
        background-position: left 60%; /* 必要なら位置も変更 */
    }

    .about-text {
        line-height: 1.5;
    }
}



.product-section {
    /* max-width: 1000px; */
    margin: 0 auto;
    padding: 200px 40px 200px 40px;
    background-color: #f2f8ff;
    min-height: 80vh;
    display: flex;   
    align-items: center;
}

.product-title-main {
    font-family: 'Arimo';
    font-size: 70px;
    font-weight: 600;
    transform: scaleX(0.75);
    transform-origin: left center;
    margin: 0;
    background: linear-gradient(to right, #ffb9da 0%, #99d6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.product-title-text {
    font-family: 'Noto Sans JP';
    font-size: 17px;
    font-weight: 500;
    margin-top: -10px;
}

.product-slideshow {
    width: 100%;          /* 横幅を維持 */
    margin-top: 0;
}

.product-body {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.product-media {
    width: 60%;
    flex-shrink: 0;
    align-self: center;

}

.product-slideshow-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #fff;
}

.product-slides {
    position: absolute;
    inset: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
}

.product-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.product-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-fade {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.product-fade.is-on {
    opacity: 1;
}

.product-pager {
    position: absolute;
    right: 14px;
    bottom: 12px;
    z-index: 4;
    margin: 0;
    font-family: 'Arimo', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.product-pager-sep {
    margin: 0 3px;
    opacity: 0.7;
}

.product-hit {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 5;
    width: 30%;
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.product-hit-prev {
    left: 0;
}

.product-hit-next {
    right: 0;
}

.product-progress {
    width: 100%;
    height: 2px;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.product-progress-bar {
    width: 100%;
    height: 100%;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: left center;
}

.product-progress-bar.is-running {
    animation: product-progress-grow var(--product-hold-ms, 4000ms) linear forwards;
}

.product-progress-bar.is-paused {
    animation-play-state: paused;
}

@keyframes product-progress-grow {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.product-detail {
    flex: 1;
    min-width: 0;
    padding-left: 60px;
    padding-top: 100px;
    padding-bottom: 100px;
    padding-right: 60px;
}

.product-detail-text {
    font-family: 'Zen Kaku Gothic Antique';
    font-size: 20px;
    font-weight: 700;
    margin-top: 50px;
    letter-spacing: 0.06em;
    letter-spacing: 0.2em;
    line-height: 1.9;
    color: #583f2f;
}

.button-product {
    margin-top: 24px; /* 好みで 16px〜40px */
}

.button-product a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    width: 200px;
    max-width: 240px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    background: #eee;
    overflow:hidden;
}
.button-product a:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 500%;
    content: "";
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-transform: translateX(-98%) translateY(-25%) rotate(45deg);
    transform: translateX(-98%) translateY(-25%) rotate(45deg);
    background: #82c7ff;
    opacity: 0.2;
}
.button-product a:hover:before {
    -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
    transform: translateX(-9%) translateY(-25%) rotate(45deg);
}



@media (max-width: 760px), (orientation: portrait) {

    .product-title-main {
        font-size: 48px;
    }
    
    .product-body {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 24px;
        padding-left: 0;
        
    }

    .product-media {
        width: 100%;
        padding-right: 0px;
        padding-left: 0px;
    }

    .product-section {
        min-height: auto;  
        padding: 60px 0px 100px;        

    }


    .product-detail {
        max-width: 1000px;      /* ABOUT と同じ箱 */
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 60px;     /* ABOUT と同じ */
        padding-right: 60px;
        padding-bottom: 50px;
        padding-top: 50px;
        box-sizing: border-box;
    }
}

.members-section {
    background-color: #ffffff;
}



.members-body {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px 100px;
}


.members-title {
    text-align: center;
}

.members-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    margin-right: 120px;
    margin-left: 120px;
    
    padding-right: 120px;
    padding-left: 120px;

    padding-top: 50px;
    padding-bottom: 100px;
    background: linear-gradient(0deg, #fde5b5 0%, #F4CEC8 45% , #b7e2ff 100%);

    border: 10px solid hsl(36, 100%, 95%);
    border-radius: 24px;
    box-sizing: border-box;
}

.members-title-main {
    font-family: 'Arimo';
    font-size: 70px;
    font-weight: 600;
    transform: scaleX(0.75);
    transform-origin: center;
    margin: 0;
    background: linear-gradient(to right, #ffb9da 0%, #99d6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}



.members-title-text {
    font-family: 'Noto Sans JP';
    font-size: 17px;
    font-weight: 500;
    transform-origin: left center; 
    margin-top: -10px;
    
}

.members-content-item-text {
    margin-top: 50px;
    font-family: 'Zen Kaku Gothic Antique';
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.9;
    color: #583f2f;
}

.members-content-item {
    display: inline-block;
    text-align: center;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.members-content-item-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 100%;
}

.nekoko-icon,
.nekoko-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.nekoko-icon {
    max-height: 150px;
}

.nekoko-logo {
    max-height: 100px;
}

@media (max-width: 1100px) {
    .members-content {
        margin-left: 24px;
        margin-right: 24px;
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 760px) {
    .members-body {
        padding: 60px 16px 80px;
    }

    .members-content {
        margin-left: 0;
        margin-right: 0;
        padding: 32px 20px 48px;
    }

    .members-content-item {
        display: block;
        width: 100%;
    }

    .members-content-item-text {
        font-size: 16px;
        letter-spacing: 0.08em;
        line-height: 1.8;
    }

    .members-title-main {
        font-size: 48px;
    }
}


/* ==================== Q&A ==================== */
.qa-body{
    display: flex;
    flex-direction: column;
    align-items: center; 
    padding-top: 100px;
    padding-bottom: 170px;
    background-color: #fdeafc;
    padding-left: 20vw;
    padding-right: 20vw;
}

.qa-title {
    text-align: center;
}

.qa-title-main {
    font-family: 'Arimo';
    font-size: 70px;
    font-weight: 600;
    transform: scaleX(0.85);
    transform-origin: center;
    margin: 0;
    background: linear-gradient(to right, #ffb9da 30%, #99d6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.qa-title-text {
    font-family: 'Noto Sans JP';
    font-size: 17px;
    font-weight: 500;
    transform-origin: center center; 
    margin-top: -10px;
    
}

.qa-content {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 700px;
    width: 100%;
    gap: 20px;
}

.qa-item {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin-bottom: 5px;
    border-bottom: 2px solid #d6dde3;
    font-family: 'Zen Kaku Gothic Antique';
}

.qa-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #583f2f;
    font-weight: 600;
    cursor: pointer;
}

.qa-item summary::before,
.qa-item p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa-item summary::before {
    color: #99ccff;
    content: "Q";
}

.qa-item summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}

.qa-item[open] summary::after {
    transform: rotate(225deg);
}

.qa-item p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #583f2f;
    transition: transform .5s, opacity .5s;
    font-weight: 550;
    overflow-wrap: anywhere;
}

.qa-item[open] p {
    transform: none;
    opacity: 1;
}

.qa-item p::before {
    color: #ffa9ea;
    line-height: 1.2;
    content: "A";
}

@media (max-width: 760px) {
    .qa-body {
        padding-left: 20px;
        padding-right: 20px;
    }
}
/* ==================== NEWS ==================== */

.news-section {
    background-color: #ddeafc;
    padding-top: 100px;
    padding-bottom: 100px;

}

.news-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 60px;    /* 狭い画面でも端に張り付かないように */
    padding-right: 60px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1000px;
}

.news-title {
    align-self: stretch; /* または flex-start */
    text-align: left;
}

.news-title-main {
    font-family: 'Arimo';
    font-size: 70px;
    font-weight: 600;
    transform: scaleX(0.75); 
    transform-origin: left center; 
    margin: 0px;
    background: linear-gradient(to right, #ffb9da 0%, #99d6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}



.news-title-text {
    font-family: 'Noto Sans JP';
    font-size: 17px;
    font-weight: 500;
    transform-origin: left center; 
    margin-top: -10px;
}

.news-content {
    align-self: stretch;
    width: 100%;
    margin-top: 50px;
}
.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;              /* milpr に近い横間隔 */
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-card {
    
    
    display: flex;
    flex-direction: column;
    color: #583f2f;
}



.news-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;   /* milpr のサムネ比率 */
    overflow: hidden;
    background: #eee;
}


.news-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.news-card:hover .news-card-image::after {
    opacity: 1;
}


.news-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card-date {
    margin-top: 20px;
    font-family: 'Arimo', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #8a7a6d;
}
.news-card-title {
    margin-top: 8px;
    font-family: 'Zen Kaku Gothic Antique';
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
}
.news-more {
    margin-top: 32px;
    text-align: right;
}

@media (max-width: 760px) {
    .about-section,
    .news-body {
        padding-left: 24px;
        padding-right: 24px;
    }

    .news-list {
        grid-template-columns: 1fr; /* 3件を縦に積む */
        gap: 24px;
    }
    .news-card {
        display: grid;
        grid-template-columns: 38% 1fr; /* 左:画像 右:文字 */
        grid-template-areas:
            "image title"
            "image date";
        column-gap: 16px;
        row-gap: 4px;
        align-items: start;
    }
    .news-card-image {
        grid-area: image;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    .news-card-title {
        grid-area: title;
        margin-top: 0;
        font-size: 15px;
    }
    .news-card-date {
        grid-area: date;
        margin-top: 0;
    }
}


/* ==================== footer ==================== */
.site-footer {
    background: linear-gradient(to right, #ffb9da 20%, #99d6ff 100%);
    color: #fff;
    padding: 48px 20px 32px;
}
.footer-inner {
    max-width: 1000px; /* about と揃えると統一感が出る */
    margin: 0 auto;
    text-align: center;
}
.footer-logo img {
    height: 36px;
    width: auto;
    display: inline-block;
}
.footer-nav-list,
.footer-sns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.footer-nav-list a {
    font-family: 'Arimo';
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
    &:hover {
        opacity: 0.7;
    }
}

.footer-sns a {
    position: relative; /* ::after の基準にする（必須） */
    display: inline-block;
    /* 既存の色・フォント指定はそのままでOK */
}

.footer-sns a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: #fff; /* フッターが明るいグラデなので白が無難。#333 だと目立たないことも */
    transform: scaleX(0);
    transform-origin: left top;
    transition: transform 0.3s;
}

.footer-sns a:hover::after {
    transform: scaleX(1);
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    font-family: 'Arimo', "Noto Sans JP", sans-serif;
    font-size: 14px;
    letter-spacing: -0.04em;
}
.footer-copy {
    margin: 32px 0 8px;
    font-size: 12px;
    opacity: 0.7;
}
.footer-links {
    margin: 0;
    font-size: 12px;
    opacity: 0.7;
}