@charset "UTF-8";
@import "photo.css";
@import "/print/wp/wp-content/themes/BatonPrint/css/elements.css";

/* ============================================
   1. 変数定義 & リセット
   ============================================ */
:root {
    --color-text-main: #333333;
    --color-text-light: #666666;
    --color-mist: #F2F4F6;      /* 霧（ミスト） */
    --color-ray: #DCCB96;       /* 木漏れ日 */
    --color-green: #00552E;     /* 森の深緑 */
    --color-deepgreen: #253221; /* 屋久杉の土気のある深緑 */
    --color-accent: #45301d;    /* 屋久杉の赤褐色 */
    --color-lightgreen: #eef0e7;/* 薄い緑 */
    --color-bg: #f9f8f6;        /* 和紙のような生成り色 */
    --color-white: #ffffff;
    --font-mincho: 'Noto Serif JP', serif;
    --font-gothic: 'Noto Sans JP', sans-serif;
    --font-serif: 'Caveat', cursive;
    --spacing-section: 180px;
    --spacing-section-mini: 80px;
}

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

body {
    font-family: var(--font-mincho);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.8;
    letter-spacing: 0.05em;
}

h1, h2, h3 {
    font-family: var(--font-mincho);
    line-height: 1.4;
}

img {
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

/* ============================================
   2. ユーティリティ（共通クラス）
   ============================================ */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.container--narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-text-main);
    position: relative;
    display: inline-block;
    font-weight: 100;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-green);
    margin-bottom: .5rem;
    display: block;
    font-family: var(--font-serif);
}

.summary-text {
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 1.5rem;
}

/* スクロールアニメーション (Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 屋久杉ペーパーの背景パターン */
.yakusugi-bg {
    background-color: #fff;
    background-image: url(/yakusugi/img/paper.webp);
    background-repeat: repeat;
}

/* ============================================
   3. ヘッダー
   ============================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(37, 50, 33, 0.95);
    padding: 15px 0;
    z-index: 1000; /* ヘッダー全体の基準 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #fff;
}

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

.logo {
    font-family: var(--font-mincho);
    font-weight: bold;
    font-size: 1.25rem;
	z-index: 1001;
}

/* Header logo */
header .logo {
    display: block;
    flex-shrink: 0;
    line-height: 0;
}

header .logo img {
    display: block;
    width: 150px;
    height: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    font-size: 0.9rem;
}

nav ul li {
	padding-top: 3px;
	padding-bottom: 3px;
}

nav ul li.lineup {
	color: #273f3c;
	background-color: #fff;
	padding: 3px 18px;
	border-radius: 4px;
}

/* ハンバーガーボタン（PCでは非表示） */
.hamburger-btn {
    display: none;
    position: relative;
    z-index: 1001;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 8px;
    transition: all 0.3s ease;
}

.hamburger-btn span:nth-child(1) { top: 12px; }
.hamburger-btn span:nth-child(2) { top: 19px; }
.hamburger-btn span:nth-child(3) { top: 26px; }


/* ============================================
   4. ヒーローセクション / 共通ボタン
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--color-white);
    text-align: center;
    background-color: #333;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero::after {
    content: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 0;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    font-weight: 100;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ボタン類 */
.btn-primary {
    display: inline-block;
    background-color: var(--color-green);
    color: var(--color-white);
    padding: 15px 20px;
    border-radius: 2px;
    font-weight: 400;
}

.btn-primary span {
    display: block;
    font-size: 0.75rem;
    font-weight: normal;
    margin-top: 4px;
    opacity: 0.9;
}

.btn-primary:hover {
    background-color: var(--color-deepgreen);
}

.btn-line {
    display: inline-block;
    color: var(--color-green);
    padding: 15px 40px;
    border-radius: 2px;
    font-weight: 400;
    border: 1px solid green;
}

.btn-line span {
    display: block;
    font-size: 0.75rem;
    font-weight: normal;
    margin-top: 4px;
    opacity: 0.9;
}

.btn-line:hover {
    background-color: var(--color-green);
    color: var(--color-white);
}

/* ============================================
   5. Aboutセクション (トップ & 下層共通)
   ============================================ */
.about {
    padding: var(--spacing-section) 0;
    background-color: var(--color-lightgreen);
    overflow: hidden;
}

/* --- トップページ用レイアウト --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    text-align: left;
}

.section-header-left {
    margin-bottom: 2rem;
    text-align: left;
}

.section-header-left .section-title::after {
    margin: 10px 0 0 0;
}

.about-text-left p {
    margin-bottom: 2rem;
    line-height: 2.5;
    text-align: justify;
}

.about-images {
    position: relative;
    width: 100%;
    height: 680px;
}

.video-wrap {
    position: absolute;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.video-wrap video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-main {
    width: 320px;
    height: 480px;
    top: 0;
    left: 0;
    z-index: 1;
}

.video-sub {
    width: 240px;
    height: 320px;
    bottom: 0;
    left: 250px;
    z-index: 2;
}

/* --- 下層ページ（About）用レイアウト --- */
.page-header {
    position: relative;
    padding: 180px 0 100px;
    background-position: center;
    background-size: cover;
    color: #fff;
    overflow: hidden;
}
.page-header_mini {
    position: relative;
    padding: 130px 0 50px;
    background-position: center;
    background-size: cover;
    color: #fff;
    overflow: hidden;
}

.page-header__video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-header__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}


.page-header__image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-header__image .paperbk{
	background: url(/yakusugi/img/yakusugipaper.webp) repeat;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header .section-title,
.page-header .section-subtitle {
    color: #fff;
}

.narrative-section {
    padding: 100px 0;
}

.bg-mist {
    background-color: var(--color-mist);
}

.mb-5 {
    margin-bottom: 3rem;
}

/* 左右分割レイアウト（ジグザグ） */
.split-layout {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 60px;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.text-block {
    flex: 6;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-block h2,
.text-block h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 100;
    color: var(--color-text-main);
    line-height: 1.6;
}

.text-block p {
    margin-bottom: 2.5rem;
    text-align: justify;
    line-height: 2.2;
    letter-spacing: 0.08em;
}

.text-block ul.feature-list {
	
}

.text-block ul.feature-list li {
	padding-bottom: 1rem;
	margin-left: 1rem;
}

.media-block {
    flex: 4;
    display: flex;
    justify-content: center;
    position: relative;
	overflow: hidden;
}

/* 下層ページのメディア設定 */
.video-frame,
.media-block img {
    width: 80% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
}
.video-frame video {
    height: 100% ;
}

.video-full-width {	
	width: 100%;
	height: 320px;
    border-radius: 1rem;
	margin-bottom: 1.5rem;
	overflow: hidden;
}

.video-full-width video {
	width: 100%;
}

/* ============================================
   動画を右側画面いっぱいに広げる設定
   (layout-full-right クラス用)
   ============================================ */

/* ============================================
   containerの枠を無視して右端まで広げる設定
   ============================================ */

@media (min-width: 769px) {

    /* 1. セクション自体を「基準点」として確定させる */
    .narrative-section.layout-full-right {
        position: relative !important;
        overflow: hidden;
    }

    /* 2. containerの制限を「このセクションの時だけ」解除する
       flexレイアウトを維持しつつ、中身を自由に配置できるようにします */
    .narrative-section.layout-full-right .container.split-layout {
        max-width: 100%; /* テキストの位置は1000pxの枠内に維持 */
        margin: 0 auto;
        position: static; /* 基準点をセクション側に譲る */
        display: flex;
		width: 100%;
	}

    /* 3. 左側のテキストはそのまま */
    .narrative-section.layout-full-right .text-block {
        z-index: 2;
		padding-left: 10px;
		padding-right: 35%;
		max-width: max-content;
		margin-left: auto;
	}

    /* 4. 右側のメディアブロック自体の幅をなくし、動画を画面全体基準で配置 */
    .narrative-section.layout-full-right .media-block {
        flex: 0 0 0; 
        position: static;
    }

    /* 5. 動画枠：画面右端（0）から、画面中央（50%）まで広げる */
    .narrative-section.layout-full-right .video-frame {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 35vw !important; /* 画面の右半分を完全に占有 */
        height: 100% !important;
        margin: 0 !important;
		padding: 80px 0;
        border-radius: 0 !important;
        box-shadow: none !important;
        z-index: 1;
    }

    .narrative-section.layout-full-right .video-frame video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
		border-radius: 1.5rem 0 0 1.5rem;
    }
}
/* ============================================
   動画を右側画面いっぱいに広げる設定
   (layout-full-left クラス用)
   ============================================ */

@media (min-width: 769px) {

    /* 1. セクション自体を「基準点」として確定させる */
    .narrative-section.layout-full-left {
        position: relative !important;
        overflow: hidden;
    }

    /* 2. containerの制限を「このセクションの時だけ」解除する
       flexレイアウトを維持しつつ、中身を自由に配置できるようにします */
    .narrative-section.layout-full-left .container.split-layout {
        max-width: 100%; /* テキストの位置は1000pxの枠内に維持 */
        margin: 0 auto;
        position: static; /* 基準点をセクション側に譲る */
        display: flex;
		width: 100%;
	}

    /* 3. 左側のテキストはそのまま */
    .narrative-section.layout-full-left .text-block {
        flex: 0 0 60%; /* 左半分を確保 */
        z-index: 2;
        padding-right: 25%;
		padding-left: 5%;;
	}

    /* 4. 右側のメディアブロック自体の幅をなくし、動画を画面全体基準で配置 */
    .narrative-section.layout-full-left .media-block {
        flex: 0 0 0; 
        position: static;
    }

    /* 5. 動画枠：画面右端（0）から、画面中央（50%）まで広げる */
    .narrative-section.layout-full-left .video-frame {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 35vw !important; /* 画面の右半分を完全に占有 */
        height: 100% !important;
        margin: 0 !important;
		padding: 80px 0;
        border-radius: 0 !important;
        box-shadow: none !important;
        z-index: 1;
    }

    .narrative-section.layout-full-left .video-frame video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
		border-radius:0 1.5rem 1.5rem 0;
    }
}


/* ============================================
   6. 製造工程ページ（Process）専用スタイル
   ============================================ */

/* 導入テキスト */
.intro-section {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.intro-text {
    margin-bottom: 2rem;
    line-height: 2.2;
    text-align: justify;
    text-align-last: center;
}

/* 工程タイムライン (Step 01-03, 05) */
.process-timeline {
    padding-bottom: 100px;
    background-color: var(--color-bg);
}

.process-step {
    padding: 80px 0;
}

.process-step__inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.process-step--reverse .process-step__inner {
    flex-direction: row-reverse;
}

.process-step__image {
    flex: 1;
    min-width: 0;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    min-height: 300px; /* Swiper用 */
}

.process-step__text {
    flex: 1;
}

.step-number {
    display: block;
    font-family: var(--font-mincho);
    font-size: .85rem;
    color: var(--color-green);
    line-height: 1;
    margin-bottom: 10px;
    font-weight: bold;
	position: relative;
	padding-left: 2rem;
}

span.step-number:before {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background-color: black;
  left: 0;
}
  

.step-title {
    font-size: 2.4rem;
    margin-bottom: 2.5rem;
    color: var(--color-green);
	left: 0;
}

.process-step__text p {
    margin-bottom: 1.5rem;
    line-height: 2.2;
    text-align: justify;
}
/* --- 各工程内の画像スライダー用 --- */

/* スライダー全体の余白調整 */
.process-step__image .imageSwiper {
    width: 100%;
    height: 100%;
    padding-bottom: 0; /* 余計な余白を消す */
}

/* 画像の高さを揃える（念のため） */
.process-step__image .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*aspect-ratio: 4/3;*/ /* 横長で統一（画像の比率に合わせて調整可） */
}

/* 画像の高さを揃える（念のため） */
.process-step__image video {
	display: block;
    width: 100%;
    height: auto;
}

/* プログレスバーのスタイル設定 */
.process-step__image .swiper-pagination-progressbar {
    background: rgba(255, 255, 255, 0.4); /* バーの背景（半透明の白） */
    height: 4px !important;
}
/* プログレスバーを強制的に下に配置 */
.swiper-horizontal>.swiper-pagination-progressbar, .swiper-pagination-progressbar.swiper-pagination-horizontal, .swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite, .swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite {
    bottom: 0 !important;
    top: auto !important; /* デフォルトのtopを打ち消し */	
}


/* 伸びていくバーの色 */
.process-step__image .swiper-pagination-progressbar-fill {
    background: var(--color-ray, #DCCB96) !important;
}

/* 工程内Swiper設定 */
.imageSwiper {
    width: 100%;
    height: 100%;
}

.imageSwiper .swiper-slide img {
    width: 100%;
    height: 100%; /* 画像高さ統一 */
    object-fit: cover;
}

/* 製造工程スライダー (Step 04) */
.manufacturing-slider-section {
    padding: 100px 0;
    background-color: #333;
    color: #fff;
    overflow: hidden;
}

.manufacturing-header {
    text-align: center;
    margin-bottom: 50px;
}

.manufacturing-header .step-number {
    color: rgba(255, 255, 255, 0.2);
}

.manufacturing-header .step-title {
    color: #fff;
}

.slide-content {
    display: flex;
    background: #fff;
    color: var(--color-text-main);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.slide-text {
    flex: 1;
    padding: 40px 60px 40px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-text h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-green);
}

.slide-image {
    flex: 1;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-video {
    flex: 1;
}

.slide-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 注意書きボックス */
.attention-box {
    background-color: #fff;
    border: 1px solid #ddd;
    border-left: 4px solid var(--color-accent);
    padding: 25px;
    margin: 30px 0;
    border-radius: 4px;
}

.attention-box h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-accent);
}

.attention-box ul {
    padding-left: 20px;
    list-style: disc;
}

.attention-box li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* ギャラリーセクション */
.gallery-section {
    padding: 120px 0;
    background-color: #fff;
    text-align: center;
}

.gallery-lead {
    margin-bottom: 60px;
    font-size: 1.1rem;
}

.cta-area {
    margin-top: 60px;
}

.gallerySwiper .swiper-slide {
    height: 300px;
    transition: transform 0.3s;
}

.gallerySwiper .swiper-slide-active {
    transform: scale(1.05);
    z-index: 2;
}

.gallerySwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Swiperの共通設定上書き */
.swiper-pagination-bullet-active {
    background-color: var(--color-accent) !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
	padding-right: 25px;
	padding-left: 25px;
}

.swiper-horizontal>.swiper-pagination-progressbar, .swiper-pagination-progressbar.swiper-pagination-horizontal, .swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite, .swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite {
	bottom: 0 !important;
}


/* ============================================
   7. その他セクション（SDGs, 料金, お客様の声）
   ============================================ */
/* 製造工程概要 (トップページ) */
.process {
    padding: var(--spacing-section) 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1 1 200px;
    text-align: center;
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
}

.step .step-num {
    font-size: 1.5rem !important;
    display: block;
    font-family: var(--font-mincho);
    color: var(--color-green);
    margin-bottom: 10px;
}

.step h3 {
    font-size: 1.1rem;
}

.step p {
    font-size: 0.85rem;
    text-align: left;
}

/* SDGs */
.sdgs {
    padding: var(--spacing-section) 0;
    background-color: var(--color-green);
    color: #fff;
}

.sdgs .section-title {
    color: #fff;
}

.sdgs .section-title::after {
    background-color: #fff;
}

.sdgs .section-subtitle {
    color: #ccc;
}

.sdgs-content {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 4rem auto 0;
}

.sdg-item {
    display: block;
    width: calc(50% - 20px);
    max-width: 480px;
    text-align: left;
}

.sdg-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #fff;
    width: 100%;
    font-weight: 400;
}

.sdg-body {
    display: flex;
    align-items: flex-start;
}

.sdg-icon {
    flex: 0 0 100px;
    margin-right: 20px;
    text-align: center;
}

.sdg-icon img {
    width: 100%;
    height: auto;
}

.sdg-text-desc {
    flex: 1;
}

.sdg-text-desc p {
    font-size: 0.85rem;
    line-height: 1.8;
    margin: 0;
}

/* ストーリー (トップページ) */
.story {
    padding: 0;
    background-color: #fff;
    width: 100%;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 600px;
}

.story-img-area {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #ddd;
    overflow: hidden;
}

.story-img-area .story-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content-area {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 8%;
    line-height: 2em;
}

.story-text-inner {
    width: 100%;
    max-width: 480px;
}

.story-text-inner h2 {
    font-size: 1.8em;
    padding-bottom: 1.5em;
    font-weight: 100;
}

/* 料金・プラン */
.pricing {
    padding: var(--spacing-section) 0;
    background-color: #fff;
}

.price-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.price-card {
    flex: 1 1 300px;
    max-width: 350px;
    border: 1px solid #ddd;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.plan-name {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.price {
    font-size: 1.5rem;
    color: var(--color-accent);
    font-family: var(--font-mincho);
    margin-bottom: 20px;
}

.price span {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.price-detail {
    text-align: left;
    font-size: 0.9rem;
    margin-bottom: 20px;
    list-style: none;
}

.price-detail li {
    margin-bottom: 5px;
    padding-left: 1rem;
    text-indent: -1rem;
}

.price-detail li::before {
    content: "•";
    color: var(--color-accent);
    margin-right: 5px;
}

/* お客様の声 */
.voice {
    padding: var(--spacing-section) 0;
}

.voice-card {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-left: 5px solid var(--color-green);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.voice-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
/* PC向けベーススタイル */
section.UserVoice-card {
	display: flex;
	flex-wrap: wrap; /* 要素が折り返すように追加 */
	gap: 60px 40px; /* 行間　列間 */
	max-width: 1100px;
	margin: 4rem auto 3rem;
	padding: 0 4%; /* スマホ・タブレットで画面端に余白を作るため追加 */
	box-sizing: border-box;
}
section.UserVoice-card > article {
	flex-basis: calc(50% - 20px);
	background-color: #fff;
	border-radius: 6px;
	padding: 1.5rem;
	box-sizing: border-box; /* paddingを幅に含めるため追加 */
}
section.UserVoice-card > article > a {
	width: 100%;
	display: block; /* aタグをブロック要素にしてクリック範囲を安定させる */
	text-decoration: none; /* 必要に応じてリンクの下線を消す */
	color: inherit;
}
section.UserVoice-card > article > a > div {
	width: 100%;
	display: flex;
	gap: 40px 20px; /* 行間　列間 */
	padding-top: 1rem;
}
section.UserVoice-card > article > a > div img {
	width: 20%;
	height: auto;
	object-fit: contain; /* 画像の比率崩れ防止 */
}
section.UserVoice-card > article > a > div dl {
	flex-basis: calc(80% - 20px);
	flex-wrap: wrap;
	display: flex;
	font-size: .95rem;
	margin: 0;
}
section.UserVoice-card > article > a > div dl dt {
	width: 6em;
}
section.UserVoice-card > article > a > div dl dd {
	flex-basis: calc(100% - 6em);
	margin-left: 0;
}
.UserVoiceh2 {
	font-size: 2rem;
}

/* スマホ向けレスポンシブ（768px以下） */
@media (max-width: 768px) {
	/* 既存のカード自体の縦並び設定（前回分） */
	section.UserVoice-card {
		flex-direction: column;
		gap: 30px;
	}
	section.UserVoice-card > article {
		flex-basis: auto;
		width: 100%;
	}

	/* ▼ ここから追加：div内を縦並びに調整 ▼ */
	section.UserVoice-card > article > a > div {
		flex-direction: column;
		gap: 15px; /* スマホ用に余白を縮小 */
		align-items: flex-start; /* 左寄せ（中央寄せにしたい場合は center に変更） */
	}
	
	/* 画像をパーセントではなく、見やすい固定サイズに変更 */
	section.UserVoice-card > article > a > div img {
		width: 80px; 
	}
	
	/* dl（テキスト部分）の幅を100%に広げる */
	section.UserVoice-card > article > a > div dl {
		flex-basis: auto;
		width: 100%;
	}
	
	/* dt（見出し）とdd（説明）もスマホでは縦並びにするとさらに読みやすいです */
	section.UserVoice-card > article > a > div dl dt {
		margin-bottom: 4px;
		font-weight: bold; /* 見出しを強調 */
	}
	section.UserVoice-card > article > a > div dl dd {
		width: 100%;
		margin-bottom: 12px; /* 項目間の余白 */
	}
	.UserVoiceh2 {
		font-size: 1.25rem;
		text-align: left;
		line-height: 1.8;
		padding-bottom: 0;
		margin-bottom: 0;
	}
	.voice-mini div.voice-index {
		flex-direction: column; 
	}
	section#voice > div.container--narrow > div.voice-index img {
		width: 100px;
	}
	#voice img.SampleImage {
		width: 100%;
	}
}


.company-name {
    font-weight: bold;
}

.voice-quote {
    font-family: var(--font-mincho);
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 15px;
}

/* お客様の声 詳細ページ */

.voice-mini {
    padding: var(--spacing-section-mini) 0;
}
.voice-mini div.voice-index {
	width: 100%;
	display: flex;
	gap: 40px 40px; /* 行間　列間 */
	padding-top: 1rem;
}
.voice-mini div.voice-index img{
	width: 12%;
}
.voice-mini div.voice-index dl{
	flex-basis: calc(88% - 40px);
	flex-wrap: wrap;
	display: flex;
	font-size: .95rem;
}
.voice-mini div.voice-index dl dt{
	width: 6em;
}
.voice-mini div.voice-index dl dd{
	flex-basis: calc(100% - 6em);
}
.voice-mini h2{
	line-height: 1.5;
	padding-top: 3rem;
	padding-bottom: 1.5rem;
}



/* フッター */
footer {
    background-color: #333;
    color: #ccc;
    padding: 40px 0;
    text-align: center;
}

footer p {
    font-size: 0.8rem;
}


/* ============================================
   8. レスポンシブ対応 (全ページ共通)
   ============================================ */
@media (max-width: 768px) {

    /* --- ハンバーガーメニューの動作 --- */
    .hamburger-btn {
        display: block;
    }

    nav {
        display: block;
        position: fixed;
        top: 0;
		right: 0;
		width: 100%;
        height: 420px;
        background-color: rgba(37, 50, 33, 0.95);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        display: flex;
        align-items: center;
		padding-top: 60px;
		padding-left: 20px;
	}

    nav.active {
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        gap: 5px;
        text-align: left;
    }

    nav ul li a {
        font-size: 1.1rem;
        display: block;
        padding: 5px;
    }
	
	nav ul li.lineup {
		text-align: center;
		margin-top: 20px;
		padding-top: 5px;
		padding-bottom: 5px;
	}

    .hamburger-btn.active span:nth-child(1) {
        top: 19px;
        transform: rotate(45deg);
    }

    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-btn.active span:nth-child(3) {
        top: 19px;
        transform: rotate(-45deg);
    }

    /* --- 共通要素 --- */
	.page-header img {
		max-width: auto !important;
	}
    .hero-content h1 {
        font-size: 1.8rem;
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.6rem;
    }

/* --- About / 左右分割レイアウト（ここから差し替え） --- */
    
    /* 1. セクション全体の余白をスマホ向けに縮小 */
    .about {
        padding: 60px 0;
    }

    /* 2. PCの横並び(Grid)を解除し、縦並び(Flex)に変更 */
    .about-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 0 5%; /* 画面端に余白を設ける */
    }

    /* 3. テキスト周りの調整 */
    .section-header-left {
        text-align: center; /* スマホではタイトルを中央揃えにするとまとまります */
        margin-bottom: 30px;
    }
    
    .section-header-left .section-title::after {
        margin: 10px auto 0;
    }

    .about-content,
    .about-text-left {
        width: 100%;
        text-align: left;
    }

/* 4. 動画（画像）エリアのレスポンシブ対応（重ね合わせレイアウト） */
    .about-images {
        position: relative;
        width: 100%;
        /* サブ動画が下にはみ出す分のスペースを確保 */
        margin-bottom: 15%; 
    }

    .video-wrap {
        border-radius: 8px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .video-wrap video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* メイン動画：幅80%で配置（これがコンテナの高さの基準になります） */
    .video-main {
        position: relative;
        width: 80%;
        aspect-ratio: 1 / 1;
        z-index: 1;
        top: auto;
        left: auto;
    }

    /* サブ動画：幅50%で右下に重ねる */
    .video-sub {
        position: absolute;
        width: 50%;
        aspect-ratio: 3 / 4;
        right: 0;
        bottom: 15%; /* メイン動画より下に少しはみ出させる */
        z-index: 2;
        left: auto;
    }

    /* 5. 下層ページ用のスプリットレイアウトも同様に縦並びに整理 */
    .split-layout,
    .split-layout.reverse {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .text-block,
    .media-block {
        flex: auto;
        width: 100%;
        padding: 0;
    }

    .video-frame,
    .media-block img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9; /* 動画の比率に合わせて調整 */
        border-radius: 8px;
    }
    
    /* --- About / 左右分割レイアウト（ここまで） --- */

    /* --- 製造工程（Process）ページ --- */
    .intro-text {
        text-align: left;
        text-align-last: left;
    }

    .process-step__inner,
    .process-step--reverse .process-step__inner {
        flex-direction: column;
        gap: 30px;
    }

    .process-step__image {
        width: 100%;
        margin-bottom: 20px;
    }

    .imageSwiper .swiper-slide img {
        height: 250px;
    }

    /* Step 4 製造スライダー */
    .slide-content {
        flex-direction: column-reverse;
    }

    .slide-image {
        height: 250px;
    }

    .slide-text {
        padding: 25px;
    }

    .slide-text h3 {
        font-size: 1.2rem;
    }

    /* --- その他セクション --- */
    .story-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .story-img-area {
        height: 300px;
    }

    .story-content-area {
        justify-content: center;
        padding: 60px 20px;
    }

    .sdgs-content {
        flex-direction: column;
        align-items: center;
    }

    .sdg-item {
        width: 100%;
        margin-bottom: 30px;
    }

    .sdg-icon {
        flex: 0 0 80px;
    }
}


/* ============================================
   プランセクション用スタイル
   ============================================ */

.storySwiper


/* --- 前半：3カラムカード --- */
.card-plan-section {
    padding: 80px 0;
    background-color: #fff;
}

.card-plan-section .storySwiper {
	height: 500px;
}

.price-grid-3col {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 60px;
	margin-bottom: 120px;
}

.price-grid-3col .price-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: #fff;
    border: 1px solid #eee;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
}

.price-grid-3col .price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--color-ray);
}

/* 推奨プランの強調 */
.price-grid-3col .price-card.recommended {
    border: 2px solid var(--color-green);
    position: relative;
    background-color: #fafbf9; /* ほんのり色をつける */
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-green);
    color: #fff;
    padding: 5px 20px;
    font-size: 0.8rem;
    border-radius: 20px;
    letter-spacing: 0.1em;
}

.target-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
    height: 3em; /* 高さを揃える */
}


/* --- 後半：ジグザグ配置（販促ツール） --- */
.promo-plan-section {
    padding: 80px 0 120px;
    background-color: var(--color-bg); /* 背景色を変えて区切りを明確に */
}

.promo-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    background: #fff;
    padding: 0; /* 画像を端まで見せるならpaddingなし、枠に入れるならあり */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.promo-item:last-child {
    margin-bottom: 0;
}

/* 画像エリア */
.promo-img {
    flex: 1;
    height: 400px; /* 高さを統一 */
    overflow: hidden;
}

.promo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.promo-item:hover .promo-img img {
    transform: scale(1.05);
}

/* テキストエリア */
.promo-content {
    flex: 1;
    padding: 40px 50px;
}

.plan-summary {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
    font-weight: bold;
}

.price-large {
    font-size: 1.8rem;
    color: var(--color-accent);
    font-family: var(--font-mincho);
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.price-large span {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-left: 10px;
}

/* 逆配置（リバース）用クラス */
.promo-item.reverse {
    flex-direction: row-reverse;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    /* 前半 */
    .price-grid-3col {
        flex-direction: column;
        align-items: center;
    }
    .price-grid-3col .price-card {
        width: 100%;
        max-width: 100%;
    }

    /* 後半 */
    .promo-item, 
    .promo-item.reverse {
        flex-direction: column;
        height: auto;
    }
    
    .promo-img {
        width: 100%;
        height: 250px;
    }
    
    .promo-content {
        padding: 30px 20px;
    }
}
/* TOP: pricing order button */
#price .price-order-button {
    display: block;
    box-sizing: border-box;
    width: 400px;
    max-width: 100%;
    margin: 48px auto 0;
    padding: 22px 28px;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.6;
}
#price .price-order-button span {
    font-size: .85rem;
    margin-top: 6px;
}


.cta-area .price-order-button {
    display: block;
    box-sizing: border-box;
    width: 400px;
    max-width: 100%;
    margin: 48px auto 0;
    padding: 22px 28px;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.6;
}
.cta-area .price-order-button span {
    font-size: .85rem;
    margin-top: 6px;
}



@media (max-width: 768px) {
    #price .price-order-button {
        margin-top: 32px;
        padding: 20px 16px;
        font-size: 1.05rem;
    }

        .cta-area .price-order-button {
        margin-top: 32px;
        padding: 20px 16px;
        font-size: 1.05rem;
    }
}
}
