@charset "utf-8";

/*
  Theme Name: あなたのテーマ名
  Author: あなたの名前
  Version: 1.0
*/

:root {
  --primary-green: #0F4200;
  --primary-cream: #FFFCF3;
  --primary-black: #000000;
  --primary-white: #FFFFFF;
  --contentWidth: 80%;
  --contentPadding: 10%;
}

body {
    font-family: "Noto Sans JP", sans-serif;
}

.container {
    background-color: var(--primary-cream);
}




/* PC用ナビ: スマホでは非表示 */
.container {
    padding-top: 150px; /* PC用ヘッダー分の高さ */
}

section[id] {
    scroll-margin-top: 150px;
}

.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 150px;
    z-index: 102;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    box-sizing: border-box;
    background-color: var(--primary-cream); /* fixedにすると下が透けるので背景必須 */
}

.header-logo img {
    width: 100px;
    margin-right: 20px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-nav-list a {
    font-weight: 600;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.header-nav-list li {
    display: flex;
    align-items: center;
}

.header-nav-cta {
    color: var(--primary-cream);
    background-color: var(--primary-green);
    border-radius: 60px;
    white-space: nowrap;
}

.header-nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.header-nav-cta a {
    display: inline-block; /* blockではなくinline-blockに変更 */
    color: var(--primary-cream);
    background-color: var(--primary-green);
    padding: 10px 30px;
    border-radius: 60px;
    white-space: nowrap;
    border: 2px solid transparent; /* 最初から同じ太さのborderを透明で用意 */
    transition: background-color 0.3s, color 0.3s;
}

.header-nav-cta a:hover {
    background-color: var(--primary-cream);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.TelInstagramPC {
    display: flex; /* PCでは表示 */
    gap: 20px;
    white-space: nowrap;
}

.tel_text {
    font-size: 16px;
    font-weight: 700;
}

.tel_number {
    font-size: 24.3px;
    font-weight: 700;
    margin-top: 3px;
}

/* ハンバーガー(MENU)ボタン */
.menu-btn {
    display: none;
    position: relative;
    z-index: 101;
    background-color: var(--primary-green); /* 通常時は緑で塗りつぶし */
    border: 2px solid var(--primary-green);
    border-radius: 30px;
    padding: 8px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.menu-btn-text {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-cream); /* 通常時はクリーム文字 */
    transition: color 0.3s;
    display: block;
    align-items: center;
}

.menu-btn.is-open {
    background-color: transparent; /* 開いている(閉じるボタンになっている)時は透明背景 */
}

.menu-btn.is-open .menu-btn-text {
    color: var(--primary-green); /* 開いている時は緑文字 */
}

/* .header-actions の基本スタイル(通常時は非表示) */
.header-actions {
    display: none;
    align-items: center;
    gap: 10px;
}

.header-tel-sp img,
.header-insta-sp img {
    width: 40px;
    height: 40px;
    display: block;
}

.sp-menu {
    display: none;
    position: fixed;
    top: 100px; /* ヘッダーの高さに合わせる */
    left: 0;
    width: 100%;
    height: calc(100dvh - 100px);
    background-color: var(--primary-cream); /* ← これが無いと透明 */
    z-index: 100;
    overflow-y: auto;
}

.sp-menu.is-open {
    display: block;
}

.sp-menu-list {
    margin: 30px 0 0 5%;
}

.sp-menu-list a {
    color: var(--primary-green);
    font-size: 20px;
    line-height: 2;
    font-weight: 600;
}

.sp-tel {
    white-space: nowrap;
}

.sp-tel_text {
    font-size: 10px;
    font-weight: 700;
}

.sp-tel_number {
    font-size: 15px;
    font-weight: 700;
    margin-top: 3px;
}

.header-tel-sp,
.header-insta-sp {
    display: none; /* 650px以下でだけ表示 */
}


/* 基本(通常時)は文字版を隠しておく */
.header-tel-text {
    display: none;
}

@media (max-width: 1060px) {
    .container {
        padding-top: 150px;
    }

    .header-logo img {
        width: clamp(80px, 15.4vw, 100px);
        margin-right: 20px;
    }

    .header-actions {
        display: flex;
        order: 2;
        margin-left: auto; /* ロゴとの間だけ自動で広げて右寄せ */
    }

    .header-nav {
        order: 3;
    }

    .header-nav-list {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .TelInstagramPC {
        margin-left: 30px;
    }

    .sp-menu {
        top: 150px;
    }
}

@media (max-width: 650px) {
    .container {
        padding-top: 100px;
    }

    .header {
        height: 100px;
    }

    .TelInstagramPC {
        display: none; /* ここで初めて消す */
    }

    .header-tel-sp,
    .header-insta-sp {
        display: flex; /* ここで初めてアイコン版を出す */
    }

    .header-tel-sp img,
    .header-insta-sp img {
        width: 28px;
        height: 28px;
    }

    .sp-menu {
        top: 100px;
    }
}



/* スライド */
.mv-inner {
    display: flex;
    align-items: center;   /* 左右の高さを揃えて中央に */
    justify-content: space-between;
    gap: 8%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 0 30px 8%;
}

.mv-copy img {
    width: clamp(280px, 30vw, 370px);
    height: auto;
}

.mv-slide {
    position: relative;
    flex-grow: 1;              /* 残りのスペースを埋めて伸びる */
    max-width: 900px;          /* 広がりすぎ防止の上限 */
    height: 400px;
    border-radius: 60px 0 0 60px;
    overflow: hidden;
}

.mv-slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.mv-slide-img.is-active {
    opacity: 1;
}

@media (max-width: 650px) {
    .mv-inner {
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-width: 100%;
    }

    .mv-slide {
        order: -1;              /* 画像を先頭に */
        width: 100%;
        max-width: 100%;
        height: 280px;
        border-radius: 0;       /* 角丸を解除 */
    }

    .mv-copy {
        padding: 50px 5% 30px;
        text-align: center;
    }

    .mv-copy img {
        width: 70%;
    }
}



/* 円のスライド */
.circle-list-wrap {
    overflow: hidden;
}

.circle-list-track {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
}

.circle-list-track li {
    flex-shrink: 0;
    width: 350px;
    height: 275px;
    margin-right: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.circle-list-track li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 900px) {
    .circle-list-track li {
        width: 200px;    /* 350pxの半分 */
        height: auto;   /* 275pxの半分(比率を保つ) */
        margin-right: 10px;
        border-radius: 8px;
    }
}



/* お知らせ */

.news {
    padding: 70px 5%;
    margin-top: 50px;
    background:
        linear-gradient(
            rgba(15, 66, 0, 0.8),
            rgba(15, 66, 0, 0.8)
        ),
        url("../img/woods.jpg") center / cover no-repeat;
}

.news-title,
.news-item-link {
    color: var(--primary-white);
}

.news-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-title {
    font-size: 25px;
    font-weight: 600;
}

.news-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;   /* お知らせ1件ごとの間隔 */
}

.news-item-link {
    display: flex;
    align-items: center;
    gap: 20px;
}

.news-item-body {
    display: flex;
    gap: 20px;
}

.newslist-link {
    font-weight: 500;
    margin-top: 30px;
    color: var(--primary-green);
    padding: 10px 40px;
    background-color: var(--primary-cream);

    transition: background-color 0.3s, color 0.3s;
}

.newslist-link:hover {
    background-color: var(--primary-green);
    color: var(--primary-cream);
}



/* こんなことはありませんか */
.cases-title-wrap {
    display: flex;
    justify-content: center;
    margin: 50px 0 50px;
}

.cases-title {
    position: relative;
    display: inline-block;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.5;
    font-weight: 800;
    color: var(--primary-green);
    text-align: center;
    background-color: var(--primary-white);
    border: 3px solid var(--primary-green);
    border-radius: 30px;
    padding: 40px 5%;
    margin: 0;
    width: 90%;
}

.cases-list {
    display: flex;
    flex-direction: column;
}

.cases-item {
    display: flex;
    align-items: center;
}

.cases-item-text {
    flex: 1;
    padding: 5%;
}

.cases-item-title {
    font-size: clamp(18px, 6vw, 25px);
    font-weight: 900;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.cases-item-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--primary-black);
}

.cases-item-img {
    flex-shrink: 0;
    width: 50%;
}

.cases-item-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.cases-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* 外側の三角(枠線の緑) */
.cases-title::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -23px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 23px solid transparent;
    border-right: 23px solid transparent;
    border-top: 23px solid var(--primary-green);
    z-index: 1;
}

/* 内側の三角(背景色で少し小さく重ねて、線だけ見せる) */
.cases-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 19px solid transparent;
    border-right: 19px solid transparent;
    border-top: 19px solid var(--primary-white);
    z-index: 2;
}

/* 2. メディアクエリは一番最後に */
@media (max-width: 650px) {
    .cases-title {
        font-size: clamp(14px, 7vw, 16px);
        padding: 20px 5%;
    }

    .cases-item {
        flex-direction: column;
        align-items: stretch;
    }

    .cases-item:nth-child(even) {
        flex-direction: column;
    }

    .cases-item-text {
        padding: 5% 5%;
    }

    .cases-item-img {
        width: 100%;
    }

    .cases-item-img img {
        height: 220px;
        margin-bottom: 70px;
    }
}



/* 選ばれる理由 */
.reasons-title {
    background-color: var(--primary-green);
    color: var(--primary-white);
    font-size: 30px;
    font-weight: 800;
    padding: 25px 0;
    text-align: center;
    margin-top: 100px;
}

.reasons-inner {
    max-width: 1020px;
    margin: 0 auto;
    padding: 100px 5% 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.reasons-item {
    display: flex;
    align-items: center;
    gap: 30px;
}

.reasons-item-icon {
    flex-shrink: 0;
    width: 220px;
    height: 220px;
}

.reasons-item-title {
    font-size: 25px;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 16px;
}

.reasons-item-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--primary-black);
    text-align: justify;
}

.reasons-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    padding: 15px 5%;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    font-weight: bold;
    background-color: transparent;
    transition: background-color 0.3s, color 0.3s;
}

.reasons-link:hover {
    background-color: var(--primary-green);
    color: var(--primary-white);
}

@media (max-width: 600px) {
    .reasons-item {
        flex-direction: column;
        text-align: center;
    }

    .reasons-item-text {
        text-align: left;
    }
}



/* 料金 */
.price-title {
    background-color: var(--primary-green);
    color: var(--primary-white);
    font-size: 30px;
    font-weight: 800;
    padding: 25px 0;
    text-align: center;
    margin-top: 100px;
}

.price-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 5%;
}

.price-note {
    font-size: 20px;
    line-height: 1.5;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    text-align: center;
    padding: 25px;
    font-weight: bold;
}

.price-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.price-item {
    border: 2px solid;
    display: flex;
    flex-direction: column;
}

.price-item-header {
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

.price-item-level {
    font-size: 20px;
    font-weight: 700;
}

.price-item-name {
    font-size: 23px;
    font-weight: 700;
    margin-top: 3px;
}

.price-item-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.price-item-desc {
    font-size: 16px;
    line-height: 1.6;
    padding: 15px 15px 0;
    flex-grow: 1;
    text-align: justify;
}

.price-item-cost {
    text-align: center;
    padding: 20px;
}

.price-item-size {
    font-size: 20px;
    font-weight: bold;
}

.price-item-price {
    font-size: 30px;
    font-weight: 900;
    margin-top: 5px;
}

.price-annotation {
    text-align: center;
    font-size: 16px;
    color: var(--primary-black);
    margin-top: 20px;
}

.en {
    font-size: 20px;
}

/* レベルごとの色分け */
.price-item--level1 {
    border-color: #5FB98A;
}
.price-item--level1 .price-item-header {
    background-color: #5FB98A;
}
.price-item--level1 .price-item-size,
.price-item--level1 .price-item-price {
    color: #5FB98A;
}

.price-item--level2 {
    border-color: var(--primary-green);
}
.price-item--level2 .price-item-header {
    background-color: var(--primary-green);
}
.price-item--level2 .price-item-size,
.price-item--level2 .price-item-price {
    color: var(--primary-green);
}

.price-item--level3 {
    border-color: #A8286B;
}
.price-item--level3 .price-item-header {
    background-color: #A8286B;
}
.price-item--level3 .price-item-size,
.price-item--level3 .price-item-price {
    color: #A8286B;
}

.price-item--level4 {
    border-color: #B92A20;
}
.price-item--level4 .price-item-header {
    background-color: #B92A20;
}
.price-item--level4 .price-item-size,
.price-item--level4 .price-item-price {
    color: #B92A20;
}

@media (max-width: 900px) {
    .price-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .price-list {
        grid-template-columns: 1fr;
    }
}


/* 対応エリア */
.area {
    position: relative;
    background-color: #6D7A4C;   /* ベースのオリーブグリーン */
    overflow: hidden;
    padding: 60px 20px;
}

.area::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 100%;
    background-image: url("../img/chiba-map.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    opacity: 0.2;   /* 背景に馴染ませるため薄くする */
}

.area-inner {
    position: relative;   /* ::before より手前に表示するため */
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--primary-white);
}

.area-label {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
}

.area-title {
    font-size: 35px;
    font-weight: 900;
    margin-bottom: 24px;
}

.area-text {
    font-size: 16px;
    line-height: 1.8;
}



/* 受注の流れ */
.flow-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary-green);
    text-align: center;
    margin: 100px 0 50px;
}

.flow-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 100px;
}

.flow-list {
    display: flex;
    flex-direction: column;
}

.flow-item {
    position: relative;
    border: 2px solid var(--primary-green);
    border-radius: 50px;
    padding: 20px;
    text-align: center;
}

.flow-item:not(:last-child) {
    margin-bottom: 50px;
}

.flow-item-text {
    font-size: clamp(14px, 4vw, 20px); /* 狭い画面では自動で縮小 */
    font-weight: bold;
    color: var(--primary-green);
}

/* カード間の下向き矢印 */
.flow-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -38px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 18px solid var(--primary-green);
}

.flow-cta {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 50px auto 0;

    background-color: var(--primary-green);
    color: var(--primary-white);

    text-align: center;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;

    padding: 50px 10px;
    border-radius: 100px;

    /* ボタン感 */
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;

    cursor: pointer;
}

.flow-cta:hover {
    transform: translateY(2px);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

.flow-cta:active {
    transform: translateY(5px);
    box-shadow: none;
}


/* マキ販売 */
.firewood {
    position: relative;
    z-index: 0;
    overflow: hidden;
    padding: 70px 10%;
}

.firewood::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/firewood-bg.jpg");
    background-size: contain;
    background-position: center;
    z-index: -2;
}

.firewood::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #7d5e2b;
    opacity: 0.8;
    z-index: -1;
}

.firewood-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5%;
}

.firewood-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-white);
    margin-bottom: 20px;
}

.firewood-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--primary-white);
    margin-bottom: 30px;
}

.firewood-cta {
    display: inline-block;
    background-color: var(--primary-white);
    border: 1px solid var(--primary-black);
    color: var(--primary-black);
    font-weight: 600;
    padding: 15px 30px;
    transition: background-color 0.3s, color 0.3s; /* なめらかに反転 */
}

.firewood-cta:hover {
    background-color: var(--primary-black);
    color: var(--primary-white);
}

.firewood-img {
    flex-shrink: 0;
    width: 400px;
}


.firewood-img img {
    width: 100%;
    display: block;
}

@media (max-width: 910px) {
    .firewood {
        padding: 100px 5% 50px;
    }

    .firewood-inner {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .firewood-img {
        width: 100%;
    }
}



/* フッター */
.footer {
    background-color: var(--primary-green);
    color: var(--primary-white);
    text-align: center;
    padding: 60px 20px 30px;
}

.footer-logo img {
    width: 100px;
}

.footer-info {
    font-size: 16px;
    line-height: 1.5;
    margin: 30px 0;
}

.footer-copyright {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.footer-tel {
    margin-top: 30px;
}

.footer-tel_text {
    font-size: 14px;
    font-weight: 600;
}

.footer-tel_number {
    font-size: 22.3px;
    font-weight: 600;
    margin-top: 3px;
}



/* 油屋園の特殊伐採 */
.about-arborist,
.about-history {
    padding: 100px 0;
}

.about-arborist-inner,
.about-history-inner {
    max-width: var(--contentWidth);
    margin: 0 auto;
}

.about-arborist-title,
.about-history-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 30px;
}

.about-arborist-img,
.about-history-img {
    margin-bottom: 30px;
}

.about-arborist-img img,
.about-history-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.about-arborist-text p,
.about-history-text p {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 24px;
}

.about-arborist-text p:last-child,
.about-history-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 650px) {
    .about-arborist-inner,
    .about-history-inner {
        max-width: 100%;
        margin: 0 5%;
    }

    .about-arborist,
    .about-history {
        padding: 50px 0;
    }

    .about-arborist-title,
    .about-history-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .about-arborist-text p,
    .about-history-text p {
        font-size: 14px;
        line-height: 1.8;
    }

    .about-arborist-img img,
    .about-history-img img {
        height: 250px;
    }
}



/* 伐採手順 */
.steps {
    padding: 100px 0;
}

.steps-inner {
    max-width: var(--contentWidth);
    margin: 0 auto;
}

.steps-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 40px;
}

.steps-title-sub {
    font-size: 20px;
    font-weight: 600;
    margin-left: 10px;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.steps-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.steps-item-img {
    flex: 0 0 300px;
}

.steps-item-img img {
    width: 100%;
    object-fit: cover;
}

.steps-item-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.steps-item-list li {
    font-size: 16px;
    line-height: 1.8;
    padding-left: 1em;
    text-indent: -1em;
}

.steps-item-list li::before {
    content: "・";
}

@media (max-width: 650px) {
    .steps {
        padding: 50px 0;
    }

    .steps-inner {
        max-width: 100%;
        margin: 0 5%;
    }

    .steps-title {
        font-size: 22px;
    }

    .steps-title-sub {
        display: block;
        margin-left: 0;
        margin-top: 10px;
    }

    .steps-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .steps-item-img {
        flex: none;
        width: 100%;
    }
}

/* =========================
   お知らせ投稿詳細
========================= */

.single-news {
    padding: 5% 5% 100px;
}

.single-news-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.single-news-date {
    display: block;
    margin-bottom: 10px;
}

.single-news-title {
    font-size: 30px;
    margin-bottom: 40px;
}

.single-news-content {
    line-height: 2;
}


/* ========================================
   お知らせ一覧
======================================== */

.news-archive {
    padding: 0 5% 100px;
}

.news-archive-inner {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}


/* 見出し
---------------------------------------- */

.news-archive-title {
    margin-bottom: 60px;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-align: center;
}


/* お知らせ一覧
---------------------------------------- */

.news-archive .news-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #d8d8d8;
}

.news-archive .news-item {
    border-bottom: 1px solid #d8d8d8;
}

.news-archive .news-item-link {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 30px 20px;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.news-archive .news-item-link:hover {
    opacity: 0.6;
}


/* 日付
---------------------------------------- */

.news-archive .news-item-date {
    flex-shrink: 0;
    width: 110px;
    font-size: 14px;
    letter-spacing: 0.05em;
}


/* タイトル
---------------------------------------- */

.news-archive .news-item-body {
    flex: 1;
    min-width: 0;
}

.news-archive .news-item-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
}


/* ページネーション
---------------------------------------- */

.news-pagination {
    margin-top: 70px;
}

.news-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.news-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #ccc;
    color: inherit;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.news-pagination .page-numbers.current {
    background: #333;
    border-color: #333;
    color: #fff;
}

.news-pagination a.page-numbers:hover {
    background: #f2f2f2;
}


/* ========================================
   SP
======================================== */

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

    .news-archive {
        padding: 0 5% 80px;
    }

    .news-archive-title {
        margin-bottom: 40px;
        font-size: 28px;
    }

    .news-archive .news-item-link {
        display: block;
        padding: 22px 5px;
    }

    .news-archive .news-item-date {
        display: block;
        width: auto;
        margin-bottom: 8px;
        font-size: 13px;
    }

    .news-archive .news-item-title {
        font-size: 15px;
        line-height: 1.7;
    }

    .news-pagination {
        margin-top: 50px;
    }

    .news-pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 9px;
        font-size: 13px;
    }
}


/* =========================
   下層ページ 共通タイトル
========================= */

.page-hero {
    width: 100%;
    color: var(--primary-cream);
    background-color: var(--primary-green);
    padding: 70px 5%;
    text-align: center;
}

.page-hero-title {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
}

