@charset "UTF-8";

.container {
    position: relative;
    z-index: 0;
}

.container::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url(../images/waterdrops-sp.webp);
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* ========================================
   Header (For PC Top site)
   ======================================== */
@media screen and (min-width: 1025px) {
    .container::before {
        background-image: url(../images/waterdrops-pc.webp);
    }

    .header {
        background: linear-gradient(180deg,
                rgba(34, 38, 49, 1) 0%,
                rgba(34, 38, 49, 0.90) 50%,
                rgba(34, 38, 49, 0.80) 65%,
                rgba(34, 38, 49, 0.70) 75%,
                rgba(34, 38, 49, 0.00) 100%);
        box-shadow: none;
    }

    .header__logo {
        display: none;
    }

    .header__logo--pctop {
        display: block;
        height: 50px;
        width: auto;
        cursor: pointer;
    }

    .nav__item {
        color: #ffffff;
    }
}

/* pc 1025opx */

/* ========================================z
   Main Visual
   ======================================== */
.main {
    margin-top: 60px;
}

.main__header {
    width: 100%;
    background-color: #ffffff;
}

.mainVisual .swiper-wrapper {
    transition-timing-function: ease-in-out;
}

.mainVisual__item {
    width: 100%;
    height: calc(97vw / 375 * 468);
    max-height: 710px;
    flex-shrink: 0;
    overflow: clip;
    position: relative;
}

.mainVisual__sp {
    display: block;
    width: 100%;
    position: absolute;
    object-fit: cover;
}

.mainVisual__pc {
    display: none;
}

.mainVisual__item a {
    display: flex;
    width: 160px;
    height: 30px;
    padding: 3px 10px;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    background-color: rgba(51, 51, 72, 0.8);
    position: absolute;
    right: 20px;
    bottom: 15px;
    z-index: 10;
}

/* ページネーション全体のスタイル・位置 */
.sliderPage {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 30px;
    gap: 24px;
    margin: 5px 0;
    /* Swiperデフォルトの絶対配置を解除 */
    position: static;
}

.sliderPage__dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(51, 51, 72, 0.8);
    background-color: transparent;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.sliderPage__dot.is_active {
    background-color: #333348;
    opacity: 0.8;
    transform: scale(1.2);
}

.cartbtn__area {
    width: 100%;
    height: 106px;
    background-color: var(--primary-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cartbtn {
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary-brown);
    color: #ffffff;
    font-size: 1.6rem;
    padding: 10px 0;
    text-decoration: none;
    width: 89.3%;
    height: 46px;
    max-width: 528px;
    opacity: 1;
}

.cartbtn img {
    width: 26px;
}

.cartbtn:hover {
    opacity: 0.8;
}

/************************************/
/* @media 600px:                    */
/************************************/
@media screen and (min-width: 600px) {
    .mainVisual__item {
        width: 100%;
        height: calc(100vw / 1440 * 960);
        max-height: calc(100vh - 40px);
        flex-shrink: 0;
        overflow: clip;
        position: relative;
    }

    .mainVisual__sp {
        display: none;
    }

    .mainVisual__pc {
        display: block;
        width: 100%;
        height: calc(100vw / 1440 * 960);
        max-height: calc(100vh - 40px);
        position: absolute;
        object-fit: cover;
    }

    .mainVisual__item a {
        position: absolute;
        right: 20px;
        bottom: 20px;
        z-index: 10;
    }
}

/* 600px */

/************************************/
/* @media 1025px:                   */
/************************************/
@media screen and (min-width: 1025px) {
    .main {
        margin-top: 0;
    }

    .cartbtn__area {
        display: none;
    }
}

/* pc 1025px */

/* ======================================== 
   Concept Section
   ======================================== */
.section--concept {
    padding-top: 90px;
    text-align: center;
}

.concept__copy {
    margin: 30px auto 0;
    font-size: 1.8rem;
    color: var(--primary-darkred);
}

.mainCaption {
    margin: 30px auto 0;
    padding: 0 20px;
    width: 100%;
    /* width: 89.3%; */
    max-width: 528px;
}

.mainCaption__txt {
    margin-top: 30px;
    text-align: left;
    line-height: 2;
}

.concept--pc {
    display: none;
}

.mainPicture {
    margin: 50px auto 0;
    padding: 0 20px;
    width: 100%;
}

.mainPicture__top {
    width: 100%;
}

.mainPicture__bottom {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.mainPicture__sub1,
.mainPicture__sub2 {
    flex: 1;
}

.mainPicture__top img,
.mainPicture__sub1 img,
.mainPicture__sub2 img {
    object-fit: cover;
}

.guide {
    margin: 30px auto 0;
    text-align: center;
    width: 100%;
    max-width: 528px;
}

.guide--sp {
    display: block;
}

.guide--pc {
    display: none;
}

.guide__txt--highlight {
    color: var(--primary-darkred);
    font-size: 1.6rem;
    font-weight: 500;
}

/************************************/
/* @media 1025px: Concept           */
/************************************/
@media screen and (min-width: 1025px) {
    .mainCaption {
        margin: 0 auto;
        padding: 0;
        width: 33.3%;
        /* width: calc(100vw * 0.333); */
    }

    .concept__copy {
        margin-top: 60px;
        font-size: 2.4rem;
    }

    .brSp {
        display: none;
    }

    .concept__items {
        margin-top: 60px;
        padding: 0 8.33%;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: start;
        gap: 5%;
        /* gap: calc(100vw * 0.05); */
    }

    .mainCaption__txt {
        margin: 60px 0px;
        font-size: 1.6rem;
        max-width: 480px;
    }

    .guide--sp {
        display: none;
    }

    .guide--pc {
        display: block;
    }

    .mainPicture {
        margin: 60px auto 0;
        padding: 0;
        width: 40%;
        /* width: calc(100vw * 0.4); */
    }

    .guide {
        margin: 60px auto 30px;
        font-size: 1.6rem;
        text-align: center;
        width: 100%;
        max-width: 480px;
    }

    .link__btn--concept {
        margin-top: 75px;
    }
}

/* ======================================== 
   Mariage Section
   ======================================== */
.headPicture {
    margin-top: 60px;
}

.headPicture__img img {
    display: block;
    width: 100%;
    aspect-ratio: 1618 / 1000;
    object-fit: cover;
}

.mainCaption--mariage {
    margin-top: 50px;
    padding: 0 20px;
    text-align: center;
}

.link__btn--mariage {
    width: 89.3%;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto 0;
}

/************************************/
/* @media 600px: Concept & Mariage  */
/************************************/
@media screen and (min-width: 600px) {

    .mainCaption__txt,
    .guide__txt {
        font-size: 1.6rem;
        line-height: 2;
    }
}

/************************************/
/* @media 1025px: Mariage           */
/************************************/
@media screen and (min-width: 1025px) {
    .headPicture {
        margin-top: 60px;
    }

    .headPicture__img img {
        display: block;
        width: 100%;
        aspect-ratio: 1618 / 1000;
        max-height: 640px;
        object-fit: cover;
    }

    .mainCaption--mariage {
        margin-top: 80px;
        width: 600px;
    }

    .link__btn--mariage {
        margin-top: 75px;
    }
}

/* ======================================== 
   Products Section
   ======================================== */
.section--products {
    background-color: #ffffff;
    padding: 90px 0;
}

.category__name {
    margin: 30px auto 0;
    padding: 0 0 15px;
    width: 89.3%;
    height: 50px;
    text-align: center;
    border-bottom: solid 2px transparent;
    border-image: linear-gradient(to right,
            rgba(139, 121, 80, 0) 20%,
            rgba(139, 121, 80, 0.4) 50%,
            rgba(139, 121, 80, 0) 80%) 1;
}

.category__name img {
    height: 22px;
}

.category__group {
    margin-top: 30px;
    padding: 0 20px;
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: repeat(2, minmax(0, 176px));
    gap: 30px 30px;
    justify-content: center;
}

.is_singleRowGrid {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: repeat(2, minmax(0, 176px));
    gap: 30px;
    justify-content: center;
}

.category__item {
    display: block;
    padding-bottom: 20px;
    text-align: center;
    max-width: 176px;
}

.product__modalLink {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    cursor: pointer;
}

.product__modalLink:hover {
    background-color: var(--primary-gray);
}

.product__bottle {
    width: 74px;
    height: 242px;
    margin: 13px 0;
    object-fit: contain;
    text-align: center;
}

.product__name {
    color: var(--primary-black);
    font-family: var(--font-serif);
    font-size: 1.4rem;
    padding: 6px 2px;
    width: 140px;
    height: auto;
    /* height: 80px; */
    text-align: center;
    vertical-align: top;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/*  これはダミーの擬似要素図形です。
    ボトル写真と商品名を縦方向に揃えるために
    白い＞を商品名の左側に配置しています。*/
.product__name::before {
    content: url(../images/arrow_btn.svg);
    display: inline-block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    visibility: hidden;
}

/* 矢印アニメーションの定義 */
@keyframes arrowBounce {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}

/* .product__name::after の初期化 */
.product__name::after {
    content: url(../images/arrow-bk.svg);
    display: inline-block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    /* ホバー外した際にもスムーズに位置が戻るように設定 */
    transition: transform 0.3s ease;
}

/* .product__modalLink にホバーした時、.product__name::after にアニメーションを適用 */
.product__modalLink:hover .product__name::after {
    animation: arrowBounce 1s ease-in-out infinite;
}

/* モーダルウィンドウ (dialog) */
dialog {
    border: none;
    padding: 40px 40px;
    min-width: 375px;
    max-width: 528px;
    width: 100%;
    position: fixed;
    top: 30%;
    left: 0;
    opacity: 0;
    transform: scale(0.95);
    transition:
        transform 0.4s ease,
        overlay 0.4s ease allow-discrete,
        display 0.4s ease allow-discrete;
    box-shadow: 0 5px 10px rgba(37, 37, 37, 0.25);
    background-color: #ffffff;
    z-index: 1000;
}

dialog[open] {
    opacity: 1;
    transform: translate(0, -15%) scale(1);
}

@starting-style {
    dialog[open] {
        opacity: 0;
        transform: scale(0.95);
    }
}

dialog::backdrop {
    background-color: rgba(37, 37, 37, 0);
    transition:
        background-color 0.4s ease,
        overlay 0.4s ease allow-discrete,
        display 0.4s ease allow-discrete;
}

dialog[open]::backdrop {
    background-color: rgba(37, 37, 37, 0.5);
}

dialog button {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent;
}

dialog button .modal__btn {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.modal__name {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 500;
    margin-top: 15px;
    text-align: left;
}

.modal__bottle {
    display: block;
    width: auto;
    /* width: 135px; */
    height: 486px;
    margin: 40px auto;
    object-fit: cover;
}

.modal__spec {
    font-size: 1.4rem;
    line-height: 1.8;
    text-align: left;
}

.modal__spec--property {
    font-weight: 500;
    margin-top: 16px;
}

.modal__spec--value {
    padding-bottom: 16px;
    /* 横4px（1px描画 + 3px幅）、縦1px（線幅） */
    background-image: linear-gradient(to right, rgba(139, 121, 80, 0.5) 1px, transparent 1px);
    background-size: 4px 1px;
    background-position: bottom;
    background-repeat: repeat-x;
}

.modal__cartbtn {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary-brown);
    color: #ffffff;
    font-size: 1.4rem;
    text-decoration: none;
    height: 56px;
    opacity: 1;
}

.modal__cartbtn img {
    width: 26px;
    height: 26px;
    color: #ffffff;
}

.modal__cartbtn:hover {
    opacity: 0.8;
}

.seasonal__product {
    text-align: center;
}

.seasonal__product.on-sale {
    display: none;
}

/* 味わいマップ */
.flavormap {
    margin-top: 70px;
}

.flavormap__title {
    margin: 0 auto;
}

.flavormap__title img {
    display: block;
    height: 22px;
    margin: 6px auto;
}

.flavormap__plot--sp {
    margin-top: 40px;
    padding: 0 20px;
}

.flavormap__plot--sp img {
    display: block;
    width: 100%;
    max-width: 528px;
    margin: 0 auto;
}

.flavormap__plot--pc {
    display: none;
}

.flavormap__btn {
    margin: 60px auto 0;
}

.btn__notice {
    margin-top: 15px;
    font-size: 1.1rem;
    text-align: center;
}

/************************************/
/* @media 1025px: Product           */
/************************************/
@media screen and (min-width: 1025px) {
    .category__name {
        margin: 60px auto 0;
        padding: 0 0 20px;
    }

    .category__name img {
        height: 32px;
    }

    .category__group {
        margin-top: 60px;
        padding: 0 8.33%;
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: repeat(4, minmax(0, 176px));
        gap: 30px;
        justify-content: center;
    }

    .is_threeColumns {
        margin-top: 60px;
        padding: 0 8.33%;
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: repeat(3, minmax(0, 176px));
        gap: 30px;
        justify-content: center;
    }

    .is_singleRowGrid {
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: repeat(2, minmax(0, 176px));
        gap: 30px;
        justify-content: center;
    }

    .category__item {
        display: block;
        padding-bottom: 0;
        text-align: center;
        max-width: 176px;
    }

    .product__modalLink {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
        cursor: pointer;
    }

    .product__bottle {
        width: 74px;
        height: 242px;
        margin: 13px 0;
        object-fit: contain;
        text-align: center;
    }

    .product__name {
        color: var(--primary-black);
        font-family: var(--font-serif);
        font-size: 1.4rem;
        padding: 6px 2px;
        width: 140px;
        height: auto;
        /* height: 80px; */
        text-align: center;
        vertical-align: top;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    /*  これはダミーの擬似要素図形です。
        ボトル写真と商品名を縦方向に揃えるために
        白い＞を商品名の左側に配置しています。*/
    .product__name::before {
        content: url(../images/arrow_btn.svg);
        display: inline-block;
        width: 24px;
        height: 24px;
        object-fit: contain;
        visibility: hidden;
    }

    .product__name::after {
        content: url(../images/arrow-bk.svg);
        display: inline-block;
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

    /* モーダルウィンドウ (dialog) */
    dialog {
        border: none;
        padding: 40px 60px;
        min-width: 600px;
        max-width: 750px;
        width: 100%;
        position: fixed;
        top: 30%;
        left: 0;
        opacity: 0;
        transform: scale(0.95);
        transition:
            /* opacity 0.4s ease, */
            transform 0.4s ease,
            overlay 0.4s ease allow-discrete,
            display 0.4s ease allow-discrete;
        box-shadow: 0 5px 10px rgba(37, 37, 37, 0.25);
        background-color: #ffffff;
        z-index: 1000;
    }

    dialog[open] {
        opacity: 1;
        transform: translate(0, -15%) scale(1);
    }

    @starting-style {
        dialog[open] {
            opacity: 0;
            transform: scale(0.95);
        }
    }

    dialog::backdrop {
        background-color: rgba(37, 37, 37, 0);
        transition:
            background-color 0.4s ease,
            overlay 0.4s ease allow-discrete,
            display 0.4s ease allow-discrete;
    }

    dialog[open]::backdrop {
        background-color: rgba(37, 37, 37, 0.5);
    }

    dialog button {
        position: absolute;
        top: 50px;
        right: 50px;
        width: 30px;
        height: 30px;
        cursor: pointer;
        /* buttonタグのデフォルト枠線を削除 */
        border: none;
        outline: none;
        background: transparent;
    }

    dialog button .modal__btn {
        width: 30px;
        height: 30px;
        object-fit: cover;
    }

    .modal__name {
        font-family: var(--font-serif);
        font-size: 2.8rem;
        font-weight: 500;
        margin: 20px 20px;
        text-align: left;
    }

    .modal__contents {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    .modal__bottle {
        display: block;
        width: auto;
        /* width: 135px; */
        height: 486px;
        margin: 40px auto;
        object-fit: cover;
    }

    .modal__spec {
        font-size: 1.6rem;
        line-height: 1.8;
        text-align: left;
        width: 350px;
    }

    .modal__spec--property {
        font-weight: 500;
        margin-top: 16px;
    }

    .modal__spec--value {
        padding-bottom: 16px;
        /* 横4px（1px描画 + 3px幅）、縦1px（線幅） */
        background-image: linear-gradient(to right, rgba(139, 121, 80, 0.5) 1px, transparent 1px);
        background-size: 4px 1px;
        background-position: bottom;
        background-repeat: repeat-x;
    }

    .modal__cartbtn {
        margin-top: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background-color: var(--primary-brown);
        color: #ffffff;
        font-size: 1.6rem;
        text-decoration: none;
        height: 56px;
        opacity: 1;
    }

    .modal__cartbtn img {
        width: 26px;
        height: 26px;
        color: #ffffff;
    }

    .modal__cartbtn:hover {
        opacity: 0.8;
    }

    /* 味わいマップ */
    .flavormap {
        margin-top: 100px;
    }

    .flavormap__title {
        margin: 0 auto;
    }

    .flavormap__title img {
        display: block;
        height: 32px;
        margin: 10px auto;
    }

    .flavormap__plot--sp {
        display: none;
    }

    .flavormap__plot--pc {
        display: block;
        margin-top: 50px;
        padding: 0 8.33%;
    }

    .flavormap__plot--pc img {
        display: block;
        width: 100%;
        max-width: 938px;
        margin: 0 auto;
    }

    .flavormap__btn {
        margin: 75px auto 0;
    }

    .btn__notice {
        margin-top: 15px;
        font-size: 1.4rem;
        text-align: center;
    }

}

/* ======================================== 
   Find Our Sake Section
======================================== */
.section--findoursake {
    background-color: var(--primary-gray);
    padding: 90px 20px;
}

.findoursake {
    background-color: var(--primary-brown);
    padding: 20px 16px 24px;
    margin: 30px auto 0;
    color: #ffffff;
    max-width: 528px;
    opacity: 1;
    position: relative;
}

.findoursake.is-mouseover {
    opacity: 0.8;
}

.findoursake__inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.findoursake__cardtitle {
    font-size: 1.8rem;
    font-weight: 500;
}

.findoursake__mapbtn {
    background-color: var(--primary-darkred);
    text-align: center;
    width: 43px;
    height: 28px;
    padding: 3px 0;
}

.findoursake__cardtxt {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    font-size: 1.4rem;
    cursor: pointer;
}

.findoursake__cardtxt img {
    width: 12px;
}

a.findoursake__cardtxt::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.findoursake__category {
    background-color: var(--primary-brown);
    padding: 20px 16px 24px;
    margin: 30px auto 0;
    color: #ffffff;
    max-width: 528px;
    opacity: 1;
}

.findoursake__category:hover {
    opacity: 0.8;
}

.modal__name--findoursake {
    margin-top: 35px;
    font-size: 2rem;
    text-align: center;
}

.findoursake__img {
    margin: 20px auto;
    object-fit: cover;
    text-align: center;
}

.findoursake__hotellist {
    margin: 10 auto;
}

.findoursake__item {
    margin-top: 30px;
}

.findoursake__name {
    font-size: 1.6rem;
    line-height: 1.8;
    font-weight: 500;
}

.findoursake__addr {
    line-height: 1.8;
}

/************************************/
/* @media 600px: Find Our Sake      */
/************************************/
@media screen and (min-width: 600px) {
    .findoursake__mapbtn {
        font-size: 1.5rem;
        height: 30px;
        padding: 0;
    }
}

/************************************/
/* @media 1025px: Find Our Sake     */
/************************************/
@media screen and (min-width: 1025px) {
    .findoursake__items {
        margin-top: 60px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 40px;
        padding: 0 auto;
        /* padding: 0 8.33%; */
    }

    .findoursake {
        margin: 0;
        width: 40%;
        max-width: 528px;
    }

    .findoursake__cardtitle {
        font-size: 2.4rem;
    }

    .findoursake__cardtxt {
        font-size: 1.6rem;
    }

    .findoursake__cardtxt img {
        width: 18px;
    }

    .findoursake__category {
        margin: 0;
        width: 40%;
        max-width: 528px;
    }
}

/* ======================================== 
   Otakimachi Section
   ======================================== */
.otakimachi {
    max-width: 528px;
    margin: 0 auto;
    padding: 0 20px;
}

.otakimachi__copy {
    font-size: 1.6rem;
    color: var(--primary-darkred);
    text-align: center;
    margin-top: 30px;
}

.otakimachi__txt {
    line-height: 2;
    margin: 30px auto 0;
}

.otakimachi__img {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 50px;
}

/************************************/
/* @media 600px: Otakimachi.        */
/************************************/
@media screen and (min-width: 600px) {
    .otakimachi__txt {
        font-size: 1.6rem;
        line-height: 2;
    }

    .otakimachi__copy {
        font-size: 1.8rem;
    }
}

/************************************/
/* @media 1025px: Otakimachi        */
/************************************/
@media screen and (min-width: 1025px) {
    .otakimachi {
        max-width: 1200px;
    }

    .otakimachi__copy {
        font-size: 2.4rem;
    }

    .otakimachi__txt {
        width: 528px;
        font-size: 1.6rem;
    }

    .otakimachi__img {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        margin-top: 60px;
    }

    .link__btn--otakimachi {
        margin-top: 75px;
    }
}

/* ======================================== 
   News Section
   ======================================== */
.news__area {
    margin-top: 30px;
    padding: 0 20px;
    background-color: rgba(254, 254, 254, 0.8);
}

.news__list {
    margin: 0 auto;
    max-width: 528px;
}

.news__item {
    margin-top: 40px;
    /* 横4px（1px描画 + 3px幅）、縦1px（線幅） */
    background-image: linear-gradient(to right, var(--primary-brown) 1px, transparent 1px);
    background-size: 4px 1px;
    background-position: bottom;
    background-repeat: repeat-x;
    padding: 0 0 14px;
}

.news__item:first-of-type {
    margin-top: 0;
}

.news__date {
    display: block;
}

.news__title {
    font-size: 1.8rem;
}

.news__accordion {
    transition: transform 0.4s ease;
}

.news__summary {
    display: block;
    cursor: pointer;
}

.readmore {
    display: flex;
    justify-content: end;
    align-items: center;
    font-size: 1.2rem;
    text-align: right;
    flex-shrink: 0;
    cursor: pointer;
}

.readmore img {
    width: 18px;
    height: 18px;
    transform-origin: center center;
    transform: rotate(90deg);
    transition: transform 0.4s ease;
}

/* 矢印の回転アニメーション */
details[open] .readmore img {
    transform: rotate(-90deg);
}

/* .news__content {
    margin-top: 10px;
} */

/* 開閉の挙動を設定するメイン処理 */
.news__content {
    display: grid;
    grid-template-rows: 0fr;
    /* 閉じている時は高さ0 */
    transition: grid-template-rows 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
}

/* detailsが開いている（[open]属性がある）時のスタイル */
details[open] .news__content {
    grid-template-rows: 1fr;
    /* 開いた時はコンテンツに応じた高さ */
    margin-top: 10px;
}

/* 内側の要素でoverflow: hiddenを指定し、アニメーション中に食み出さないようにする */
.news__content>* {
    overflow: hidden;
}

.link__btn--news {
    margin-top: 60px;
}

.news__sitelink {
    margin-top: 20px;
}

.news__sitelink a {
    font-size: 1.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 180px;
    padding: 4px 16px;
    color: #ffffff;
    background-color: var(--primary-brown);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.news__sitelink a:hover {
    opacity: 0.7;
}

.news__sitelink img {
    width: 16px;
    height: 16px;
}

.news__image {
    margin: 20px auto 0;
}

.news__image img {
    display: block;
    width: 100%;
    height: auto;
}

.news__sitelink.no-url {
    display: none;
}

/************************************/
/* @media 600px: News               */
/************************************/
@media screen and (min-width: 600px) {
    .news__content p {
        font-size: 1.6rem;
    }

    .link__btn--news {
        margin-top: 75px;
    }
}

/************************************/
/* @media 1025px: News              */
/************************************/
@media screen and (min-width: 1025px) {
    .news__item {
        padding: 0 0 20px;
    }

    .news__image img {
        max-width: 528px;
    }
}