  /* --------------------------------------------------
     基本設定・変数定義
  -------------------------------------------------- */
  :root {
    --e21r-green: #2cc14a;
    --e21r-ink: #111827;
    --e21r-line: #b7efc6;
    --e21r-max: 1200px;
    --e21r-max-header: 1440px;
    --e21r-gutter: clamp(16px, 4vw, 40px);
    /* 和モダン・格式用カラー */
    --font-sans: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    --jp-brown: #593a25;
    --jp-red: #c9171e;
    --jp-gold: #d4af37;
    --bg-light: #f8f7f5;
    --e21-red: #cc0000;
    --e21-gold: #d4af37;
    --e21-gray: #f9f9f9;
  }

  body {
    font-family: 'Hiragino Sans', 'Yu Gothic', sans-serif;
  }

  img {
    width: 100%;
  }

  /* --------------------------------------------------
     ヘッダー・ナビゲーション・メニュー
  -------------------------------------------------- */
  .e21r-header {
    background: #fff;
    position: relative;
    z-index: 10;
  }

  .e21r-header__inner {
    max-width: var(--e21r-max-header);
    margin-inline: auto;
    padding-inline: var(--e21r-gutter);
    padding-block: 14px;
    display: grid;
    grid-template-columns: 180px minmax(0,1fr) auto;
    gap: 18px;
    align-items: end;
  }

  .e21r-header__line {
    height: 4px;
    background: var(--e21r-line);
  }

  .e21r-logo {
    color: var(--e21r-green);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .06em;
  }

  .e21r-nav ul {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
  }

  .e21r-nav a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 700;
  }

  .e21r-nav a:hover {
    color: #111;
  }

  .e21r-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .e21r-btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
  }

  .e21r-btn--pill {
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--e21r-green);
    color: #fff;
  }

  .e21r-search input {
    width: 180px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    border: 2px solid #d1d5db;
    font-size: 14px;
    outline: 0;
  }

  .e21r-search input::placeholder {
    color: #9ca3af;
  }

  /* ハンバーガーボタン */
  .e21r-burger {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    background: var(--e21r-green);
    position: relative;
    transition: background-color 0.3s ease;
  }

  .e21r-burger:hover {
    background: #25a73d;
  }

  .e21r-burger span,
  .e21r-burger span::before,
  .e21r-burger span::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .e21r-burger span {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .e21r-burger span::before { top: -7px; }
  .e21r-burger span::after { top: 7px; }

  /* ハンバーガーが開いた状態 */
  .e21r-burger.is-active span { background: transparent; }
  .e21r-burger.is-active span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
  .e21r-burger.is-active span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

  /* オーバーレイメニュー */
  .e21r-menu {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .e21r-menu.is-open {
    opacity: 1;
    visibility: visible;
  }

  body.e21r-no-scroll {
    overflow: hidden;
  }

  .e21r-menu__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px var(--e21r-gutter) 36px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
  }

  .e21r-menu.is-open .e21r-menu__inner {
    transform: translateY(0);
  }

  .e21r-menu__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
  }

  .e21r-menu__logo img {
    height: 26px;
    width: auto;
    display: block;
  }

  .e21r-menu__close {
    background: #2cc14a;
    color: #fff;
    border: 0;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .e21r-menu__close:hover {
    background: #25a73d;
  }

  .e21r-menu__grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
    overflow: auto;
    padding-bottom: 24px;
  }

  .e21r-menu__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .e21r-mcard {
    display: block;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease;
  }

  .e21r-mcard:hover {
    transform: translateY(-4px);
  }

  .e21r-mcard figure {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
  }

  .e21r-mcard img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    filter: saturate(1.05);
    transition: filter 0.3s ease;
  }

  .e21r-mcard:hover img {
    filter: saturate(1.2);
  }

  .e21r-mcard__eyebrow {
    position: absolute;
    left: 12px;
    top: 12px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 12px;
    letter-spacing: .1em;
    opacity: .9;
    z-index: 2;
  }

  .e21r-mcard__title {
    position: absolute;
    left: 20px;
    bottom: 16px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: .06em;
    z-index: 2;
  }

  .e21r-mcard figure::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 -120px 120px rgba(0,0,0,.35);
    z-index: 1;
    pointer-events: none;
  }

  .e21r-menu__links h3 {
    margin: 0 0 8px;
    font-size: 14px;
    color: #6b7280;
    font-weight: 700;
    letter-spacing: .08em;
  }

  .e21r-menu__list,
  .e21r-menu__misc {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .e21r-menu__list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    color: #111827;
    text-decoration: none;
    font-weight: 800;
    transition: color 0.2s ease;
  }

  .e21r-menu__list > li > a:hover {
    color: #2cc14a;
  }

  .e21r-menu__list > li + li > a {
    border-top: 1px solid #e5e7eb;
  }

  .e21r-menu__list > li > a::after {
    content: '＞';
    color: #9ca3af;
    font-weight: 700;
    margin-left: 8px;
    transition: transform 0.2s ease;
  }

  .e21r-menu__list > li > a:hover::after {
    transform: translateX(4px);
  }

  .e21r-menu__sub {
    list-style: none;
    margin: 6px 0 12px 0;
    padding-left: 1em;
  }

  .e21r-menu__sub li + li {
    margin-top: 6px;
  }

  .e21r-menu__sub a {
    display: block;
    color: #6b7280;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
  }

  .e21r-menu__sub a:hover {
    color: #2cc14a;
  }

  .e21r-menu__sub a::before {
    content: '＞ ';
    color: #c0c4cc;
    font-weight: 700;
  }

  .e21r-menu__misc {
    margin-top: 18px;
  }

  .e21r-menu__misc li {
    border-bottom: 1px solid #e5e7eb;
  }

  .e21r-menu__misc a {
    display: block;
    padding: 10px 0;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .e21r-menu__misc a:hover {
    color: #2cc14a;
  }

  .e21r-quick {
    display: none;
    margin: 6px 0 16px;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
  }

  .e21r-pill {
    display: grid;
    place-items: center;
    padding: 12px 10px;
    border-radius: 12px;
    background: #edf2f7;
    color: #1f2937;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 0 0 1px #e5e7eb inset;
    transition: all 0.2s ease;
  }

  .e21r-pill:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
  }

  /* PCナビのサブメニュー */
  .e21r-nav .has-sub {
    position: relative;
  }

  .e21r-nav .e21r-nav__sub {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 160px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 20;
    box-shadow: 0 6px 24px rgba(0,0,0,.06);
  }

  .e21r-nav .e21r-nav__sub a {
    display: block;
    padding: 8px 12px;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s ease;
  }

  .e21r-nav .e21r-nav__sub a:hover {
    background: #f3f4f6;
  }

  .e21r-nav .has-sub:focus-within > .e21r-nav__sub,
  .e21r-nav .has-sub:hover > .e21r-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* --------------------------------------------------
     ヒーローセクション（トップ画像）
  -------------------------------------------------- */
  .e21r-hero {
    background: #f5f7f8;
  }

  .e21r-hero__inner {
    max-width: calc(var(--e21r-max) + 160px);
    margin: 0 auto;
    padding: 48px 24px 64px;
    display: grid;
    grid-template-columns: 1fr 540px;
    gap: 48px;
    align-items: center;
  }

  .e21r-hero__left {
    position: relative;
    padding: 0px 0 125px;
  }

  .e21r-hero__title {
    margin: 0;
    color: #000;
    font-weight: 900;
    font-size: clamp(28px, 3.6vw, 52px);
    line-height: 1.2;
    letter-spacing: .02em;
  }

  .e21r-silhouette-img {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -92px;
    width: 100%;
    height: 168px;
    object-fit: cover;
    object-position: bottom;
    opacity: .85;
    filter: grayscale(1) brightness(1.08);
    pointer-events: none;
    user-select: none;
  }

  .e21r-bubbles {
    position: absolute;
    right: 8%;
    top: 12%;
    width: 160px;
    height: 160px;
  }

  .e21r-bubbles .b {
    position: absolute;
    display: block;
    border-radius: 50%;
    opacity: .88;
  }

  .e21r-bubbles .b--green {
    width: 60%;
    height: 60%;
    left: 82%;
    top: -6%;
    background: #bfe8a4;
  }

  .e21r-bubbles .b--green2 {
    width: 60%;
    height: 60%;
    left: -360%;
    top: 85%;
    background: #bfe8a4;
  }

  .e21r-bubbles .b--yellow {
    width: 38%;
    height: 38%;
    left: -300%;
    top: 75%;
    background: #f3ecac;
  }

  .e21r-bubbles .b--pink {
    width: 34%;
    height: 34%;
    left: 60%;
    top: -18%;
    background: #f2c0d8;
  }

  .e21r-card {
    margin: 0;
  }

  .e21r-card__img {
    display: block;
    width: 100%;
    border-radius: 12px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }

  .event_kikaku_top {
    background: url(pic/kikosiki01_pc.jpg);
    background-repeat: repeat;
    background-size: auto;
    height: 0px;
    padding-bottom: 44%;
    object-fit: cover;
    background-size: 100% auto;
    text-align: center;
    background-repeat: no-repeat;
  }

  /* --------------------------------------------------
     コンテンツ共通・パンくずリスト
  -------------------------------------------------- */
  h1 { font-size: 2.5rem; }
  #breadcrumbs ol { display: block; text-align: right; padding: 0.8em 0; }
  #breadcrumbs li { display: inline; }
  #breadcrumbs li a { display: inline; }
  #breadcrumbs li:after { content: " \f105 "; display: inline; font-family: FontAwesome; }

  .message_box1 { text-align: center; }
  .message_box1 h2 { font-size: 2rem; font-weight: 600; padding: 0; margin: 5% 0 0; }
  .message_box1 h3 { font-size: 2rem; line-height: 3.5rem; padding: 1rem; }
  .message_box1 p { margin: 5% 0 3%; }

  .btnset-sikiten { display: flex; justify-content: center; flex-wrap: wrap; gap: 120px; margin: 30px 0; }
  .btn-sikiten {
    background-color: #d0ffd0;
    color: #008c26 !important;
    padding: 14px 28px;
    outline: 3px dashed #008c26;
    outline-offset: -8px;
    border-radius: 18px;
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;
    font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic Pro', sans-serif;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
  }

  .okomaribox { font-family: BIZ UDPGothic; width: 65%; text-align: center; margin: 0 auto 1em auto; font-size: 2rem; line-height: 3.5rem; padding: 1rem !important; }
  .okomaribox ul li { font-size: 20px; margin: 10px 50px; border-bottom: dashed 4px #ccc; line-height: 2em; text-align: left; padding: 0 0 0 20%; }
  .okomaribox ul li:before { font-size: 20px; font-family: Fontawesome; margin-right: 0.1em; color: #f00; position: relative; top: 3px; }
  .fa-solid { color: #f00; }

  /* --------------------------------------------------
     スライドショー・実績ギャラリー
  -------------------------------------------------- */
  .slideshow-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    min-height: 400px;
  }

  .slide-group {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.0s ease-in-out;
    pointer-events: none;
    z-index: 0;
  }

  .slide-group.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
  }

  .slide-item {
    width: 32%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.3s;
  }

  .slide-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    margin-bottom: 10px;
    cursor: zoom-in;
    transition: opacity 0.3s;
  }

  .slide-item img:hover {
    opacity: 0.8;
  }

  .project-title {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
  }

  .project-date {
    display: block;
    font-size: 0.9rem;
    color: #888;
  }

  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -60px;
    color: #333;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 3px;
    user-select: none;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.7);
  }

  .next { right: 0; }
  .prev { left: 0; }
  .prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
  }

  .dot-container {
    text-align: center;
    margin-top: 20px;
  }

  .dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }

  .dot.active, .dot:hover { background-color: #333; }

  .btn-area {
    text-align: center;
    margin-top: 40px;
  }

  .jump-btn {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 12px 40px;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 2px;
    transition: background 0.3s;
    letter-spacing: 0.1em;
  }

  .jump-btn:hover { background-color: #555; }

  /* --------------------------------------------------
     モーダル（拡大画像用）
  -------------------------------------------------- */
  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
  }

  .modal.is-open {
    display: flex;
    animation: fadeIn 0.3s ease;
  }

  .modal-content, .modal__content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 95vh; /* 調整 */
    object-fit: contain;
    border: 2px solid #fff;
    animation-name: zoom;
    animation-duration: 0.4s;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
  }

  @keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .close, .modal__close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    z-index: 10000;
  }

  .close:hover, .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }

  /* --------------------------------------------------
     テントサイズ比較（3Dビューワー風）
  -------------------------------------------------- */
  .tent-viewer * {
    box-sizing: border-box;
  }

  .tent-viewer {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 30px auto;
    font-family: sans-serif;
    align-items: flex-start;
  }

  .tent-viewer__main-col {
    flex: 1 1 55%;
    min-width: 320px;
    position: sticky;
    top: 20px;
  }

  .tent-viewer__figure {
    margin: 0;
    position: relative;
    cursor: zoom-in;
  }

  .tent-viewer__figure::after {
    content: "クリックで拡大";
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
  }

  .tent-viewer__main-img {
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    display: block;
    background-color: #f0f0f0;
    transition: opacity 0.2s ease;
  }

  .tent-viewer__caption {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: #555;
    background: #eee;
    padding: 8px;
    border-radius: 4px;
    line-height: 1.5;
    min-height: 1.5em;
  }

  .tent-viewer__info-area {
    margin-top: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
  }

  .tent-viewer__specs {
    display: block;
    color: #d00;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
  }

  .tent-viewer__list-col {
    flex: 1 1 35%;
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .tent-viewer__heading {
    font-size: 16px;
    margin: 0 0 10px 0;
    padding-left: 10px;
    border-left: 5px solid #d00;
    font-weight: bold;
  }

  .tent-viewer__thumbnails {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .tent-viewer__thumbnails li { width: 100%; }

  .tent-viewer__btn {
    width: 100%;
    padding: 0;
    border: 2px solid #ddd;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    display: block;
    line-height: 0;
  }

  .tent-viewer__btn img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4 / 3;
  }

  .tent-viewer__btn:hover,
  .tent-viewer__btn.is-active {
    border-color: #d00;
    opacity: 0.8;
  }

  /* --------------------------------------------------
     儀式ガイド（カード形式）
  -------------------------------------------------- */
  .ceremony-guide {
    background-color: #fff;
    padding: 60px 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
  }

  .ceremony-guide__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .ceremony-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    justify-content: center;
  }

  .guide-card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s;
  }

  .guide-card:hover {
    border-color: #6b4e3d;
  }

  .guide-card__visual {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #f0f0f0;
  }

  .guide-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
  }

  .guide-card__label {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(107, 78, 61, 0.9);
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 4px 0 4px 0;
  }

  .guide-card__body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .guide-card__name {
    font-size: 20px;
    margin: 0 0 15px 0;
    color: #333;
    border-bottom: 2px solid #6b4e3d;
    padding-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
  }

  .guide-card__en {
    font-size: 14px;
    color: #888;
    font-weight: normal;
    margin-left: 8px;
  }

  .guide-card__info {
    margin: 0 0 20px 0;
    font-size: 14px;
  }

  .guide-card__row {
    display: flex;
    margin-bottom: 8px;
    line-height: 1.5;
  }

  .guide-card__row dt {
    flex-shrink: 0;
    width: 100px;
    font-weight: bold;
    color: #6b4e3d;
  }

  .guide-card__row dt i {
    margin-right: 5px;
    color: #a67c52;
  }

  .guide-card__row dd {
    margin: 0;
    color: #333;
  }

  .guide-card__advice {
    background: #fdf8f5;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 15px;
  }

  .guide-card__advice h4 {
    font-size: 14px;
    color: #d35400;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .guide-card__advice p {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    color: #555;
  }

  .guide-card__support {
    margin-top: auto;
    border-top: 1px dashed #ddd;
    padding-top: 15px;
  }

  .guide-card__support h4 {
    font-size: 14px;
    color: #333;
    margin: 0 0 10px 0;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .guide-card__support h4 i {
    color: #6b4e3d;
  }

  .guide-card__plan-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
  }

  .guide-card__plan-list li {
    margin-bottom: 10px;
    padding-left: 0;
  }

  .guide-card__plan-list strong {
    display: block;
    color: #6b4e3d;
    margin-bottom: 2px;
  }

  /* --------------------------------------------------
     診断チャート・その他セクション
  -------------------------------------------------- */
  .e21-section { padding: 60px 0; }
  .e21-container { max-width: 1000px; margin: 0 auto; padding: 0 15px; }
  .bg-gray { background-color: var(--e21-gray); }
  
  .e21-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    border-bottom: 3px solid var(--e21-red);
    display: inline-block;
    padding-bottom: 10px;
    position: relative; left: 50%; transform: translateX(-50%);
  }

  .e21-diagnosis-section { background: #fff; border-bottom: 1px solid #eee; }
  .e21-diagnosis-grid {
    display: flex; gap: 30px; justify-content: center; align-items: stretch;
  }
  .e21-diagnosis-card {
    flex: 1; max-width: 480px; border: 1px solid #ddd; border-radius: 10px;
    padding: 30px; text-align: center; position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); background: #fff; box-sizing: border-box;
  }
  .e21-target-main { border: 2px solid #cc0000; background: #fffafa; }
  .e21-target-sub { border-top: 4px solid #666; }
  
  .e21-diagnosis-badge {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: #cc0000; color: white;
    padding: 5px 20px; border-radius: 20px;
    font-weight: bold; font-size: 14px; white-space: nowrap;
  }
  .e21-diagnosis-badge.e21-gray { background: #666; }
  .e21-diagnosis-card h3 { font-size: 24px; margin: 15px 0; color: #333; }
  .e21-diagnosis-desc { font-size: 14px; color: #666; text-align: left; margin-bottom: 20px; line-height: 1.6; }
  
  .e21-diagnosis-action {
    background: white; border: 1px solid #ffcccc; padding: 15px; border-radius: 8px;
  }
  .e21-icon-check { font-size: 20px; display: block; margin-bottom: 5px; }
  .e21-small-text { font-size: 12px; color: #999; margin: 0; }

  /* 診断チャート内のバナーリンク */
  .bunnerlink { display:block; margin:10px 0 35px; }
  .bunnerlink li {
    display:inline-block; text-align:center; background:url(pic/program_safety_bunner.jpg);
    width:325px; height:109px; transition: 0.1s ease-in-out; position:relative;
  }
  .bunnerlink li:hover { transform: scale(1.1,1.1); box-shadow:0 0 15px #3399FF; }
  .bunnerlink li i { position:absolute; right:6px; line-height:25px; }
  .bunnerlink li img { display:block; }
  .bunnerlink li a { color:#000; text-decoration:none; font-size:16px; }
  .bunnerlink div {
    z-index:2; text-align:center; width:325px; padding:10px 0; display:block;
    background:rgba(255,255,255,0.9); margin-top:-75px; position:relative; font-family:NotoSansCJKjp-Regular;
  }
  .bunnerlink div:hover { color:orangered; }
  .bunnerlink div a { color:#000; display:block; text-decoration:none; font-size:18px; font-family:NotoSansCJKjp-Regular; padding:auto; text-shadow:0 0 5px #fff; }
  .bunnerlink div a:hover { color:orangered; background:rgba(255,255,255,0.8); }

  /* --------------------------------------------------
     商品一覧・グリッド
  -------------------------------------------------- */
  .autumn-imagebody {
    font-family: 'Hiragino Sans', 'Yu Gothic', sans-serif;
    margin: 0;
    background-color: #fff;
    transition: overflow 0.3s;
  }

  .product-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
  }

  .product-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .product-card:hover {
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .product-image {
    width: 100%;
    height: 159px;
    overflow: hidden;
    margin-bottom: 30px;
  }

  .product-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #333;
  }

  .product-code {
    font-size: 12px;
    color: #666;
    margin: 0 0 12px 0;
  }

  .product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0 0 16px 0;
  }

  .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
  }

  .product-price {
    font-size: 14px;
    color: #333;
  }

  .details-button {
    background-color: #72290c;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
  }

  .details-button:hover {
    background-color: #631f04;
  }

  /* セクションヘッダー */
  .header {
    width: 85%;
    margin: 100px auto;
    background: #692e02;
    color: white;
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
  }

  /* --------------------------------------------------
     秋のオススメ・アイコンナビ
  -------------------------------------------------- */
  .autumn-section {
    background: white;
    border: none;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
  }

  .autumn-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
  }

  .autumn-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
  }

  .autumn-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
  }

  .autumn-item:hover {
    transform: translateY(-3px);
  }

  .autumn-item a {
    text-decoration: none;
    color: inherit;
  }

  .autumn-image {
    width: 100%;
    aspect-ratio: 1;
    background: white;
    border: 2px solid #ddd;
    border-radius: 5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #999;
  }

  .autumn-label {
    font-size: 13px;
    color: #4a90e2;
    text-decoration: underline;
  }

  .recommend-badge {
    background: #4a90e2;
    color: white;
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 5px;
  }

  .rental-link {
    margin-top: 10px;
    color: #4a90e2;
    text-decoration: underline;
    font-size: 13px;
    display: inline-block;
  }

  /* --------------------------------------------------
     タイムライン・式典の流れ
  -------------------------------------------------- */
  .e21-timeline-item { display: flex; margin-bottom: 30px; }
  .e21-time-label {
    background: var(--e21-red); color: white; padding: 15px; width: 120px;
    text-align: center; font-weight: bold; margin-right: 20px; border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
  }
  .e21-time-content { background: white; padding: 20px; flex: 1; border: 1px solid #ddd; border-radius: 4px; }
  .e21-time-content h3 { margin: 0 0 10px 0; color: var(--e21-red); border-bottom: 1px dotted #ccc; padding-bottom: 5px; }
  .e21-time-content h3 span { font-size: 0.7em; color: #666; font-weight: normal; }
  .pro-tip { background: #fffff0; border: 1px dashed var(--e21-gold); padding: 10px; font-size: 0.9em; margin-top: 10px; }

  /* 3分でわかる流れ詳細 */
  .e21-ceremony-wrapper {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333; line-height: 1.6; max-width: 960px; margin: 0 auto; padding: 20px 0;
  }
  .e21-section-title {
    font-size: 24px; font-weight: bold; text-align: center; margin-bottom: 40px;
    color: #cc0000; border-bottom: 2px solid #cc0000; padding-bottom: 10px; position: relative;
  }
  .e21-section-title::after {
    content: "当日やることは「3つ」だけ。難しいことはプロにお任せください";
    display: block; font-size: 14px; color: #666; margin-top: 8px; font-weight: normal;
  }
  .e21-flow-container { position: relative; margin-bottom: 60px; }
  .e21-flow-step {
    background: #fff; border: 1px solid #ddd; border-radius: 8px; padding: 25px;
    margin-bottom: 30px; position: relative; box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }
  .e21-flow-step.yamaba { border: 2px solid #d4af37; background: #fffcf0; }
  .e21-yamaba-badge {
    position: absolute; top: -15px; right: 20px; background: #d4af37; color: #fff;
    padding: 5px 15px; font-weight: bold; border-radius: 20px; font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  .e21-step-header {
    display: flex; align-items: center; margin-bottom: 15px;
    border-bottom: 1px dashed #ccc; padding-bottom: 10px;
  }
  .e21-step-num {
    background: #333; color: #fff; width: 30px; height: 30px; line-height: 30px;
    text-align: center; border-radius: 50%; margin-right: 10px; font-weight: bold;
  }
  .e21-step-title { font-size: 20px; font-weight: bold; }
  .e21-tag {
    font-size: 12px; padding: 3px 8px; border-radius: 4px; margin-left: auto; font-weight: bold;background: #e0e0e0; color: #555;
  }
  .e21-step-content dt { font-weight: bold; color: #cc0000; margin-top: 15px; font-size: 15px; }
  .e21-step-content dd { margin: 5px 0 0 0; font-size: 14px; }
  .e21-what-is {
    background: #f9f9f9; padding: 10px 15px; border-left: 4px solid #666;
    font-weight: bold; color: #333; margin-bottom: 10px;
  }

  /* --------------------------------------------------
     プロの仕事・チェックリスト（和モダン）
  -------------------------------------------------- */
  .pro-section {
    background-color: var(--bg-light); padding: 60px 0;
    font-family: var(--font-sans); color: #333;
  }
  .pro-section.bg-white { background-color: #fff; border-top: 1px solid #eee; }
  .pro-container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
  .pro-title {
    text-align: center; font-size: 28px; margin-bottom: 40px;
    color: var(--jp-brown); font-family: var(--font-serif); font-weight: bold;
  }
  .sub-title {
    display: block; font-size: 14px; color: #666; margin-bottom: 10px;
    font-family: var(--font-sans); font-weight: normal;
  }
  .pro-description {
    text-align: center; max-width: 700px; margin: 0 auto 50px; line-height: 1.8;
  }
  .compare-wrapper { display: flex; gap: 30px; align-items: stretch; }
  .task-card {
    flex: 1; background: #fff; border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); overflow: hidden;
    display: flex; flex-direction: column; border: 1px solid #e0e0e0;
  }
  .task-card.pro-side { border-top: 4px solid var(--jp-brown); }
  .card-header { padding: 25px; text-align: center; border-bottom: 1px solid #eee; }
  .pro-side .card-header { background: var(--jp-brown); color: #fff; }
  .client-side .card-header { background: #fff; color: #333; border-bottom: 3px solid #ccc; }
  .card-header h3 {
    margin: 10px 0 5px; font-size: 22px; letter-spacing: 0.05em; font-family: var(--font-serif);
  }
  .label-badge {
    display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: bold;
  }
  .pro-side .label-badge { background: #fff; color: var(--jp-brown); }
  .label-badge.gray { background: #666; color: #fff; }
  .trust-data {
    display: flex; background: #fcf8f5; padding: 15px; border-bottom: 1px solid #eee;
  }
  .data-item { flex: 1; text-align: center; border-right: 1px solid #eee; }
  .data-item:last-child { border-right: none; }
  .data-num, .data-text {
    font-size: 18px; font-weight: bold; color: var(--jp-brown); font-family: var(--font-serif);
  }
  .data-label { display: block; font-size: 10px; color: #666; margin-bottom: 2px; }
  .unit { font-size: 12px; }
  .task-list { padding: 0; margin: 0; list-style: none; }
  .task-list li {
    padding: 20px; border-bottom: 1px solid #f0f0f0; display: flex; align-items: flex-start;
  }
  .task-list li:last-child { border-bottom: none; }
  .check-icon {
    flex-shrink: 0; width: 24px; height: 24px; background: var(--jp-red);
    color: #fff; border-radius: 50%; text-align: center; line-height: 24px;
    font-size: 14px; margin-right: 15px; margin-top: 2px;
  }
  .check-icon.edit { background: #fff; color: #333; border: 1px solid #ccc; }
  .text-content strong {
    display: block; font-size: 16px; margin-bottom: 5px; color: #222; font-family: var(--font-serif);
  }
  .text-content p { font-size: 13px; color: #666; margin: 0; line-height: 1.5; }
  .choice-area { padding: 0 20px 20px; background: #fff; }
  .choice-area li { padding-left: 0; padding-right: 0; border-bottom: none; }
  .option-box {
    border: 1px solid #ddd; border-radius: 6px; padding: 12px;
    margin-top: 10px; background: #fcfcfc;
  }
  .option-box.recommend {
    border: 2px solid var(--jp-gold); background: #fffdf5; position: relative;
  }
  .tag {
    display: inline-block; font-size: 10px; background: #ddd; padding: 2px 6px;
    border-radius: 4px; margin-bottom: 5px;
  }
  .tag.gold { background: var(--jp-gold); color: #fff; font-weight: bold; }
  .gift { color: var(--jp-gold); font-weight: bold; display: block; margin-top: 4px; font-size: 12px;}
  .stamp-finish {
    position: absolute; bottom: 20px; right: 20px;
    border: 3px double var(--jp-red); color: var(--jp-red);
    font-weight: bold; padding: 5px 15px; transform: rotate(-10deg);
    opacity: 0.8; font-size: 18px; pointer-events: none;
    font-family: var(--font-serif); background: rgba(255,255,255,0.9); border-radius: 4px;
  }
  .pro-side { position: relative; }

  /* 現場力（こだわり）カード */
  .strength-grid { display: flex; gap: 30px; margin-top: 40px; }
  .strength-card {
    flex: 1; border: 1px solid #e0e0e0; border-radius: 8px;
    overflow: hidden; transition: transform 0.3s ease;
    display: flex; flex-direction: column; background: #fff;
  }
  @media (hover: hover) {
    .strength-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
  }
  .img-area { position: relative; height: 200px; background-color: #ddd; }
  .img-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #777; font-size: 12px;
  }
  .step-badge {
    position: absolute; top: 15px; left: 15px; background: var(--jp-brown);
    color: #fff; font-size: 11px; font-weight: bold; padding: 4px 12px;
    border-radius: 2px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); font-family: var(--font-serif);
  }
  .text-area { padding: 25px; flex: 1; display: flex; flex-direction: column; }
  .text-area h3 {
    font-size: 20px; color: #333; margin: 0 0 15px 0;
    border-bottom: 2px solid #f0f0f0; padding-bottom: 10px; font-family: var(--font-serif);
  }
  .text-area .catch {
    font-size: 14px; font-weight: bold; color: var(--jp-red); margin: 0 0 10px 0; font-family: var(--font-serif);
  }
  .text-area .desc { font-size: 13px; color: #666; line-height: 1.7; margin: 0; }

 /* --------------------------------------------------
    【決定版】問い合わせ・吹き出しアクション CSS
    ※これをコピペして上書きしてください
 -------------------------------------------------- */

/* ▼ 全体の枠（左寄せ防止・中央配置） */
.contact-assist-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 40px auto; /* 上下40px、左右自動で中央寄せ */
    text-align: center;
    display: block;
    clear: both;
    position: relative;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

/* ▼ 1. メインのお問い合わせボタン（朱色） */
.contact-btn-area {
    margin-bottom: 30px;
}
.contact-lead {
    font-size: 14px;
    color: #593a25; /* 濃い茶色 */
    font-weight: bold;
    margin-bottom: 10px;
}
.btn-main-contact {
    display: block;
    background-color: #c9171e; /* 朱色 */
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding: 18px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(201, 23, 30, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.btn-main-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 23, 30, 0.4);
    opacity: 1;
}
.icon-mail { margin-right: 10px; font-size: 1.2em; }
.arrow { position: absolute; right: 20px; font-family: sans-serif; }


/* ▼ 2. 吹き出し型アコーディオンボタン（ここが新デザイン！） */

/* ボタンとしてのリセットと配置 */
.speech-bubble-btn {
    appearance: none; border: none; background: none;
    cursor: pointer;
    display: block;
    width: 100%;
    max-width: 500px; /* メインボタンより少し狭くして強弱をつける */
    margin: 0 auto;   /* 中央寄せ */
    padding: 0;
    position: relative;
    z-index: 10;
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
/* ホバー時にふわっと浮く */
.speech-bubble-btn:hover {
    transform: translateY(-3px);
}

/* 吹き出しの中身（黄色いエリア） */
.bubble-inner {
    background: #fffdf5; /* 薄いクリーム色 */
    border: 2px solid #d4af37; /* 和のゴールド */
    color: #555;
    padding: 15px 20px;
    border-radius: 50px;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    position: relative;
    text-align: center;
}
/* 吹き出しの三角（しっぽ） */
.bubble-inner::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #d4af37; /* 本体と同じゴールド */
}

/* 強調マーカー（蛍光ペン風） */
.marker {
    background: linear-gradient(transparent 60%, rgba(212, 175, 55, 0.3) 60%);
    font-weight: bold;
    color: #333;
}

/* 開閉操作のテキスト（▼ テンプレートを開く） */
.bubble-toggle {
    margin-top: 15px;
    font-size: 13px;
    color: #999;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}
.speech-bubble-btn:hover .bubble-toggle {
    color: #d4af37; /* ホバーでゴールドに */
}
.toggle-icon {
    display: inline-block;
    font-size: 10px;
    margin-right: 6px;
    transition: transform 0.3s;
}

/* ★開いた時のスタイル（落ち着かせる） */
.speech-bubble-btn.is-active .bubble-inner {
    background: #eee;
    border-color: #ccc;
    color: #999;
    box-shadow: none;
}
.speech-bubble-btn.is-active .bubble-inner::after {
    border-top-color: #ccc;
}
.speech-bubble-btn.is-active .marker {
    background: none; color: #999;
}
.speech-bubble-btn.is-active .toggle-icon {
    transform: rotate(180deg); /* 矢印を上向きに */
}
.speech-bubble-btn.is-active .bubble-toggle {
    color: #ccc;
}


/* ▼ 3. 隠れているテンプレート（中身） */
.template-content {
    display: none; /* 初期状態は非表示 */
    margin-top: 10px;
    text-align: left;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.template-inner {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    max-width: 500px; /* 吹き出しと同じ幅に合わせる */
    margin: 0 auto;
}
/* コンテンツの上の三角（吹き出しと繋げる演出） */
.template-inner::before {
    content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 6px solid transparent; border-right: 6px solid transparent;
    border-bottom: 6px solid #ddd;
}

.template-guide {
    font-size: 12px; margin: 0 0 10px 0; color: #666; text-align: center;
}

/* テキストエリア */
.template-text {
    width: 100%;
    height: 180px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    line-height: 1.6;
    box-sizing: border-box;
    margin-bottom: 10px;
    color: #333;
    font-family: inherit;
}

/* コピーボタン */
.btn-copy {
    display: block;
    width: 100%;
    background: #444;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-copy:hover { background: #222; }

/* コピー完了時の緑色 */
.btn-copy.is-copied {
    background: #00904a; /* イベント21グリーン */
}

/* スマホ調整 */
@media(max-width: 768px) {
    .bubble-inner { font-size: 13px; padding: 12px 15px; }
    .btn-main-contact { font-size: 18px; padding: 15px; }
}

  /* --------------------------------------------------
     現場写真セクション
  -------------------------------------------------- */
/* --------------------------------------------------
     現場写真セクション（画像周り）
  -------------------------------------------------- */
  /* 全体の枠組み */
  .genba-wrapper {
    max-width: 900px;
    margin: 30px auto;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #333;
    border-bottom: 1px dashed #ccc; /* 案件ごとの区切り線 */
    padding-bottom: 30px;
  }
  .genba-wrapper:last-child {
    border-bottom: none;
  }

  /* 上段：写真と詳細データ */
  .genbacomment {
    display: flex;
    flex-wrap: wrap; /* スマホで折り返す設定 */
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
  }

  /* メイン画像エリア */
  .genba_image {
    flex: 1 1 500px; /* PCでは幅広、スマホでは縮む */
    position: relative;
    cursor: zoom-in; /* 拡大できることを示すカーソル */
  }
  .genba_image img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: opacity 0.3s;
  }
  .genba_image img:hover {
    opacity: 0.8;
  }
  /* 画像右下の「拡大」ラベル */
  .genba_image::after {
    content: "拡大";
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    pointer-events: none;
  }

  /* サムネイル画像エリア（修正版） */
  .genbathumbnail {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
  }
  .genbathumbnail img {
    height: 220px; 
    width: auto;  /* 幅は自動調整 */
    border: 1px solid #ddd;
    cursor: zoom-in;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    transition: all 0.2s;
  }
  .genbathumbnail img:hover {
    box-shadow: 0 0 15px #0099FF;
    opacity: 0.8;
  }
  /* 詳細テキストエリア */
  .genba_detail {
    flex: 1 1 200px; /* 残りのスペースを埋める */
  }
  
  /* 見出しラベル共通設定 */
  .genba-label {
    margin: 0 0 5px 0;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    border-radius: 4px;
    display: inline-block;
  }
  .label-place { background-color: #4a90e2; } /* 青 */
  .label-use   { background-color: #ff8c00; } /* オレンジ */
  .label-item  { background-color: #7bc74d; } /* 緑 */

  .genba_detail p {
    margin: 0 0 15px 0;
    padding: 0 0 0 5px;
    font-size: 14px;
    line-height: 1.5;
  }
  .genba_detail p:last-child { margin-bottom: 0; }

  .genba_detail p a {
    color: #0066cc;
    text-decoration: underline;
  }
  .genba_detail p a:hover {
    color: #004499;
    text-decoration: none;
  }

  /* 下段：スタッフコメントエリア */
  .genbacomment_sum {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9; /* 背景色を追加 */
    border: 1px solid #eee;
    border-radius: 8px;
    align-items: flex-start;
  }
  
  .stuffface {
    flex: 0 0 100px;
    text-align: center;
  }
  .stuffface img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%; /* 丸いアイコンにする */
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .stufffacecomment {
    flex: 1;
  }
  .event_stuff {
    margin: 0 0 10px 0;
    padding: 0 0 5px 0;
    font-size: 16px;
    font-weight: bold;
    color: #7bc74d; /* 文字色を緑に */
    border-bottom: 2px solid #7bc74d; /* 下線デザインに変更 */
    display: block;
  }
  .stufffacecomment p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
  }

  /* スマホ対応用メディアクエリ */
  @media screen and (max-width: 768px) {
    .genbacomment_sum {
      flex-direction: column; /* 縦積みに */
      align-items: center;
      text-align: center;
    }
    .event_stuff {
      border-bottom: none;
      background-color: #7bc74d;
      color: #fff;
      padding: 5px 10px;
      border-radius: 15px;
      display: inline-block;
    }
    .stufffacecomment p {
      text-align: left;
    }
  }
  /* --------------------------------------------------
     フッター・連絡先
  -------------------------------------------------- */
  main { flex: 1; padding: 40px 20px; text-align: center; }
  main h1 { color: #2c2c2c; margin-bottom: 20px; }
  footer { background: #2c2c2c; color: #fff; padding: 30px 40px 20px; }
  .footer-content { max-width: 1200px; margin: 0 auto; }
  .contact-section { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid #3a3a3a; }
  .contact-box {
    display: flex; gap: 30px; justify-content: center; align-items: flex-start;
    flex-wrap: wrap; border-radius: 12px; padding: 25px; background: rgba(74, 158, 255, 0.05);
  }
  .contact-item { flex: 1; min-width: 180px; }
  .contact-item h3 { font-size: 13px; margin-bottom: 10px; color: #4a9eff; font-weight: 600; }
  .contact-item p { margin: 5px 0; line-height: 1.5; font-size: 13px; color: #e0e0e0; }
  .contact-item a { text-decoration: none; }
  .contact-item a:hover { color: #60b0ff; }
  .phone-number { font-size: 14px; font-weight: 600; color: #fff; }
  .contact-btn {
    display: inline-block; background: #4a9eff; color: #fff; padding: 7px 16px;
    border-radius: 4px; text-decoration: none; transition: background 0.3s;
    margin-top: 8px; font-size: 12px;
  }
  .contact-btn:hover { background: #3a8eef; }
  .nav-grid {
    display: flex; gap: 25px; margin-bottom: 35px; padding-bottom: 30px; border-bottom: 1px solid #3a3a3a;
  }
  .nav-column { flex: 1; }
  .nav-column h4 { font-size: 13px; font-weight: 600; color: #4a9eff; margin-bottom: 10px; }
  .nav-column ul { list-style: none; padding: 0; margin: 0; }
  .nav-column li { margin-bottom: 5px; }
  .nav-column a {
    color: #b0b0b0; text-decoration: none; font-size: 12px; transition: color 0.3s; display: block;
  }
  .nav-column a:hover { color: #4a9eff; }
  .social-language-section {
    display: flex; gap: 30px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 20px;
  }
  .sns-block, .language-block { flex: 1; min-width: 160px; }
  .sns-block h3, .language-block h3 {
    font-size: 13px; margin-bottom: 10px; color: #4a9eff; font-weight: 600;
  }
  .sns-list { display: flex; gap: 8px; flex-wrap: wrap; }
  .sns-list a {
    color: #fff; text-decoration: none; display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; background: #3a3a3a; border-radius: 50%;
    transition: all 0.3s; font-size: 15px;
  }
  .sns-list a:hover { background: #4a9eff; transform: translateY(-2px); }
  .languages { display: flex; gap: 6px; flex-wrap: wrap; }
  .lang-link {
    color: #fff; text-decoration: none; padding: 5px 10px; background: #3a3a3a;
    border-radius: 4px; transition: background 0.3s; font-size: 11px;
  }
  .lang-link:hover { background: #4a9eff; }
  .copyright {
    text-align: center; margin-top: 20px; padding-top: 15px;
    border-top: 1px solid #444; color: #999; font-size: 12px;
  }

  /* ==================================================
     ▼▼▼ レスポンシブ（メディアクエリ） ▼▼▼
  ================================================== */
  
  /* Large Screens */
  @media (max-width: 1300px) and (min-width: 1025px) {
    .product-container { grid-template-columns: repeat(4, 1fr); }
  }

  @media (max-width: 1200px) {
    .e21r-hero__inner { grid-template-columns: 1fr 520px; }
  }

  @media (max-width: 1199.98px) {
    .e21r-mcard img { height: 320px; }
  }

  @media screen and (min-width: 1201px) {
    #my_body1 {
      margin-top: 200px !important;
      overflow: hidden;
    }
  }

  /* Tablet / Small Desktop */
  @media (max-width: 1024px) {
    .e21r-header__inner { grid-template-columns: 140px 1fr auto; }
    .e21r-nav ul { gap: 14px; }
    .e21r-search { display: none; }
    .e21r-hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .e21r-silhouette-img {
      position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 168px;
      object-fit: cover; object-position: bottom; opacity: .85;
      filter: grayscale(1) brightness(1.08); pointer-events: none; user-select: none;
    }
    .e21r-menu__grid { grid-template-columns: 1fr; gap: 20px; }
    .e21r-menu__cards { grid-template-columns: 1fr 1fr; gap: 16px; }
    .e21r-quick { display: grid; }
  }

  @media (max-width: 1024px) and (min-width: 769px) {
    .product-container { grid-template-columns: repeat(3, 1fr); }
    .product-footer { flex-direction: column; align-items: stretch; gap: 8px; }
    .product-price { text-align: center; }
  }

  /* Mobile */
  @media (max-width: 768px) {
    /* Product Grid */
    .product-container { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .product-image { height: 120px; }
    .product-info { padding: 12px; }
    .product-title { font-size: 13px; margin: 0 0 6px 0; }
    .product-code { font-size: 10px; margin: 0 0 8px 0; }
    .product-description { font-size: 11px; line-height: 1.3; margin: 0 0 12px 0; }
    .product-footer { margin-top: 12px; flex-direction: column; align-items: stretch; gap: 8px; }
    .product-price { font-size: 11px; text-align: center; }
    .details-button { padding: 6px 12px; font-size: 10px; }
    
    /* Header/Nav */
    .e21r-header__inner { grid-template-columns: 1fr auto; gap: 10px; }
    .e21r-nav { display: none; }
    .e21r-menu__bar { position: sticky; top: 0; z-index: 1; padding: 8px 0; background: #fff; }
    .e21r-mcard img { height: 200px; }
    .e21r-menu__list > li > a { padding: 16px 0; }
    .e21r-menu__misc a { padding: 12px 0; }

    /* Hero */
    .e21r-hero__inner {
      display: block; padding: 28px 18px 40px; max-width: calc(var(--e21r-max) + 160px);
      margin: 0 auto; display: grid; align-items: center;
    }
    .e21r-hero__title {
      font-size: clamp(24px, 7vw, 32px); position: relative; z-index: 3;
      margin: 0; text-align: center;
    }
    .e21r-hero__left { position: relative; padding: 0; }
    .e21r-bubbles {
      right: 6%; top: -8px; transform: scale(.9); position: absolute;
      z-index: 2; right: 8%; top: 12%; pointer-events: none;
    }
    .e21r-silhouette-img {
      position: static; width: 100%; height: 168px; object-fit: cover;
      object-position: bottom; opacity: .85; filter: grayscale(1) brightness(1.08);
      position: static; display: block; height: auto; pointer-events: none; user-select: none;
    }
    .e21r-bubbles .b--green { width: 45%; height: 45%; left: 75%; top: -15%; }
    .e21r-bubbles .b--green2 { width: 60%; height: 60%; left: -112%; top: 30%; }
    .e21r-bubbles .b--yellow { width: 30%; height: 30%; left: -82%; top: 10%; }
    .e21r-bubbles .b--pink { width: 28%; height: 28%; left: 60%; top: -18%; }
    .e21r-card__img { display: block; width: 95%; }

    /* Contents */
    .grid { grid-template-columns: 1fr; }
    .autumn-grid { grid-template-columns: repeat(3, 1fr); }
    .slide-group { display: block; }
    .slide-item { width: 100%; margin-bottom: 20px; display: none; }
    .slide-item:first-child { display: block; }
    .slideshow-container { min-height: 350px; }
    .modal-content { width: 95%; }
    .tent-viewer { flex-direction: column; gap: 15px; }
    .tent-viewer__main-col { position: static; width: 100%; }
    .ceremony-cards { grid-template-columns: 1fr; gap: 30px; }
    .e21-diagnosis-grid { flex-direction: column; }
    .e21-diagnosis-card { margin: 0 auto; width: 100%; }
    .e21-timeline-item, .e21-strength-grid { flex-direction: column; }
    .e21-time-label { width: 100%; margin-bottom: 10px; }
    .e21-role-container { flex-direction: column; }
    .e21-role-header h3 { font-size: 18px; }
    .e21-desc { font-size: 12px; }
    .bubble-text { font-size: 12px; padding: 10px 15px; }
    .btn-main-contact { font-size: 18px; padding: 15px; }
    .compare-wrapper { flex-direction: column; }
    .trust-data { flex-direction: column; gap: 10px; }
    .data-item { border-right: none; border-bottom: 1px solid #dcebf7; padding-bottom: 5px; }
    .img-area { height: 180px; }
    .genbacomment { flex-direction: column; }
    .genba_image { flex: 1 1 auto; }
    .genbacomment_sum { flex-direction: column; align-items: center; text-align: center; }
    .stuffface { flex: 0 0 auto; }
    .nav-grid { flex-direction: column; gap: 20px; }
    .contact-box { flex-direction: column; gap: 20px; }
    .e21-title { font-size: 22px; width: 100%; left: 0; transform: none; display: block; }
    .e21-pro-badge { display: block; margin-bottom: 5px; }
    .e21-step-header { flex-wrap: wrap; }
    .e21-tag { margin-left: 0; margin-top: 5px; width: 100%; text-align: center;}
    .e21-yamaba-badge { position: relative; top: 0; right: 0; display: inline-block; margin-bottom: 10px; }
  }

  @media screen and (max-width:599px){
    .event_kikaku_top{background: url(pic/kikosiki_001_sp.jpg);background-size: 100% auto;padding-bottom:100%;height: 113px;}
    .ceremony-guide__title { font-size: 18px; }
  }
