/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --color-green:      #8EC060;
  --color-green-dark: #2D845C;
  --color-green-light: #4DA16B;
  --color-brown:      #613D37;
  --color-white:      #fff;
  --color-text:       #333;
  --color-yellow:     #ECC656;
  --color-orange:     #F39945;
  --color-text-light: #666;
  --font-base:   'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --font-en:     'Segoe UI', sans-serif;
  --sidebar-width: 16rem;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  /* 1440px = 16px（通常）、それ以下は vw でスケール、最小 14px */
  font-size: clamp(14px, 1.111vw, 16px);
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.8;
  font-weight: 500;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   Side Navigation
   ============================================================ */
.side-nav {
  position: fixed;
  top: 5%;
  left: 0;
  background: var(--color-white);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 4rem 2rem 3rem;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
  border-radius: 0 3rem 3rem 0;
  transform: translateX(-110%);
  animation: sideNavReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0s forwards;
}

@keyframes sideNavReveal {
  from { transform: translateX(-110%); }
  to   { transform: translateX(0); }
}

.side-nav__logo {
  margin-bottom: 1.75rem;
}

.side-nav__logo a {
  display: block;
}

.side-nav__logo img {
  width: 7rem;
  height: auto;
  margin: 0 auto;
}

.side-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.side-nav__item {
  margin-bottom: 0.75rem;
}

.side-nav__link {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.side-nav__link::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.side-nav__link.is-active {
  color: var(--color-green-dark);
  font-weight: 700;
}

.side-nav__link.is-active::before {
  background: var(--color-orange);
  border-color: var(--color-orange);
}

.side-nav__link:hover {
  color: var(--color-green-dark);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: sticky;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100svh; /* SP: アドレスバー込みの実表示高さでズレ防止 */
  overflow: hidden;
}

.hero__inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__slide.is-active .hero__slide-img {
  animation: heroKenburns 8s linear forwards;
}

.hero__slide.is-leaving .hero__slide-img {
  transition: transform 1.5s linear;
}


@keyframes heroKenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.2); }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background: linear-gradient(to bottom, transparent, rgba(45, 132, 92, 0.45));
  pointer-events: none;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

/* タイトルSVG共通 */
.hero__title {
  height: auto;
  clip-path: inset(0 100% 0 0);
  animation: heroTitleReveal 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-play-state: paused;
}

body.is-loaded .hero__title {
  animation-play-state: running;
}

/* 「大地と共に、」 (469×143) */
.hero__title--1 {
  width: clamp(13.75rem, 32vw, 29.3125rem);
  animation-delay: 0.3s;
}

/* 「松島の未来を育む。」 (764×177) */
.hero__title--2 {
  width: clamp(21.25rem, 52vw, 47.75rem);
  margin-top: -2rem;
  animation-delay: 0.75s;
}

@keyframes heroTitleReveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

/* SCROLL インジケーター */
.hero__scroll {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-white);
  font-size: 1rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  font-family: var(--font-en);
}

.hero__scroll-line {
  width: 1px;
  height: 3rem;
  background: rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { top: -100%; }
  100% { top: 100%; }
}

/* ============================================================
   Main Content
   ============================================================ */
.main-content {
  background: white;
  position: relative;
  z-index: 2;
  padding-left: var(--sidebar-width);
}

.main-content--inner {
  padding-left: 0;
  background-color: #EEF4EA;
  background-image:
    repeating-linear-gradient(0deg,   rgba(45,132,92,0.10) 0px, rgba(45,132,92,0.07) 1px, transparent 1px, transparent 36px),
    repeating-linear-gradient(90deg,  rgba(45,132,92,0.10) 0px, rgba(45,132,92,0.07) 1px, transparent 1px, transparent 36px);
}

.main-content--inner .news .section__inner {
  background: none;
  border: none;
  border-radius: 0;
}

/* ============================================================
   Sections (hero より上に重なる共通設定)
   ============================================================ */
.section {
  position: relative;
  z-index: 2;
  background: var(--color-white);
}

/* ============================================================
   Section Common – ヘッダー・インナー共通
   ============================================================ */
.section__inner {
  max-width: 82rem;
  margin: 0 auto;
  padding: 0 3rem;
}

.section__header {
  margin-bottom: 3rem;
}

.section__label {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  color: var(--color-green);
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.section__title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  padding-bottom: 1rem;
  position: relative;
}

.section__title-logo {
  display: inline-block;
  height: 1.1em;
  width: auto;
  vertical-align: bottom;
  position: relative;
  bottom: 0.15em;
  margin-right: 0.2em;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -.5rem;
  left: 0;
  width: 6rem;
  height: 3px;
  background: var(--color-green-dark);
  border-radius: 2px;
}

/* ============================================================
   About
   ============================================================ */
.about {
  padding: 6rem 0;
}

.about .section__inner {
  display: grid;
  grid-template-columns: 1fr 48%;
  column-gap: 4rem;
  align-items: center;
}

.about .section__header {
  grid-column: 1;
}

.about__content {
  grid-column: 1;
}

.about__image {
  grid-column: 2;
}

.about__text {
  min-width: 0;
}

.about__lead-img {
  width: 100%;
  max-width: 30rem;
  height: auto;
  margin-bottom: 2rem;
}

.about__body {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 1em;
}

.about__body:last-child {
  margin-bottom: 0;
}


.about__photo {
  width: 100%;
  height: auto;
  border-radius: .5rem 3rem .5rem 3rem;
  object-fit: cover;
}

/* ============================================================
   Business
   ============================================================ */
.business {
  padding: 10rem 0;
  background: #FEFBE8;
  box-shadow: calc(-1 * var(--sidebar-width)) 0 0 0 #FEFBE8;
}

.business::before,
.business::after {
  content: '';
  position: absolute;
  left: calc(-1 * var(--sidebar-width));
  width: calc(100% + var(--sidebar-width));
  height: 5rem;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.business::before {
  top: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 80' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0 L1440,0 L1440,50 Q1080,10 720,50 Q360,90 0,30 Z' fill='white'/%3E%3C/svg%3E");
}

.business::after {
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 80' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,80 L1440,80 L1440,50 Q1080,-10 720,30 Q360,70 0,30 Z' fill='white'/%3E%3C/svg%3E");
}

.business__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.business__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.business__icon-wrap {
  width: 100%;
  max-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .5rem;
}

.business__icon {
  width: 100%;
  height: auto;
}

.business__name {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.business__item:nth-child(1) .business__name { color: #4DA16B; }
.business__item:nth-child(2) .business__name { color: #F39945; }
.business__item:nth-child(3) .business__name { color: #9F6738; }
.business__item:nth-child(4) .business__name { color: #43A7CA; }

.business__text {
  font-size: 0.975rem;
  line-height: 1.8;
  color: var(--color-text);
  text-align: left;
  margin: 0;
}

/* ============================================================
   Company
   ============================================================ */
.company {
  padding: 6rem 0;
}

.company__content {
  display: flex;
  align-items: flex-start;
  gap: 5rem;
}

/* 左カラム：リード画像 + 本文 */
.company__lead-wrap {
  flex: 1;
  min-width: 0;
}

.company__lead-img {
  width: 100%;
  max-width: 28rem;
  height: auto;
  margin-bottom: 2rem;
}

.company__body {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #000;
}

/* 右カラム：会社概要テーブル */
.company__table-wrap {
  flex-shrink: 0;
  width: 46%;
}

.company__table {
  width: 100%;
  border-collapse: collapse;
}

.company__table tr {
  border-top: 1px solid #D9D9D9;
}

.company__table tr:last-child {
  border-bottom: 1px solid #D9D9D9;
}

.company__th,
.company__td {
  padding: 1.25rem 0.5rem;
  vertical-align: top;
  font-size: 1.1rem;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.company__th {
  width: 6rem;
  font-weight: 700;
  color: #9F6738;
  white-space: nowrap;
  text-align: left;
  font-size: 1rem;
}

.company__td {
  color: var(--color-text);
}

.company__td address {
  font-style: normal;
}

/* ============================================================
   News
   ============================================================ */
.news {
  padding: 6rem 0 0;
  margin-bottom: -6rem;
  position: relative;
  z-index: 3;
  background: transparent;
}

/* section__inner をカード化 */
.news .section__inner {
  background-color: #EEF4EA;
  background-image:
    repeating-linear-gradient(0deg,   rgba(45,132,92,0.10) 0px, rgba(45,132,92,0.07) 1px, transparent 1px, transparent 36px),
    repeating-linear-gradient(90deg,  rgba(45,132,92,0.10) 0px, rgba(45,132,92,0.07) 1px, transparent 1px, transparent 36px);
  border: 5px solid var(--color-green-dark);
  border-radius: 1.5rem;
  padding: 3.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

/* 見出しを左カラムに */
.news .section__header {
  flex-shrink: 0;
  width: 12rem;
  margin-bottom: 0;
}

.news__content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-width: 0;
}
.news .section__title {font-size: clamp(1.75rem, 3vw, 2.2rem); color: var(--color-brown); }
.news .section__title::after { display: none;}

/* ニュースリスト */
.news__list {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news__item {
  padding: 0.6rem 0;
}

.news__item:first-child {
  
}

/* 各記事：サムネイル＋コンテンツの横並び */
.news__article {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
}

.news__thumb-wrap {
  flex-shrink: 0;
  width: clamp(120px, 13.9vw, 200px);
  height: clamp(78px, 9vw, 130px);
  border-radius: 0.5rem;
  border: 2px solid var(--color-green);
  background: var(--color-white);
  overflow: hidden;
}

.news__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0.25rem;
  transition: transform 0.3s ease;
}

.news__article:hover .news__thumb {
  transform: scale(1.07);
}

.news__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem 0.5rem 1.25rem 0;
  transition: opacity 0.2s;
}

.news__link::after {
  content: '';
  position: absolute;
  inset: 0;
}

.news__article:hover .news__link {
  opacity: 0.7;
}

.news__link:hover {
  opacity: 0.7;
}

.news__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.news__date {
  font-weight: 600;
  color: var(--color-green-dark);
  letter-spacing: 0.04em;
  font-size: 1.125rem;
}

.news__category {
  padding: 0.15rem 0.75rem;
  background: #EAEAEA;
  border-radius: 2rem;
  white-space: nowrap;
  letter-spacing: 0.03em;
  font-size: 0.9rem;
  width: 10em;
  text-align: center;
  font-weight: 600;
}

.news__title {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
  letter-spacing: 0.02em;
}

/* もっと見るボタン */
.news__more {
  flex-shrink: 0;
  margin-left: auto;
}

.news__more-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-brown);
  letter-spacing: 0em;
}

.news__more-icon {
  order: -1;
  display: block;
  width: 3.3rem;
  height: 3.3rem;
  background: var(--color-yellow);
  border-radius: 50%;
  padding: 1rem;
  box-sizing: border-box;
  transition: transform 0.25s ease;
}

.news__more-btn:hover .news__more-icon {
  transform: scale(1.2);
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  padding: 14rem 0 6rem;
  background: var(--color-green-dark);
  box-shadow: calc(-1 * var(--sidebar-width)) 0 0 0 var(--color-green-dark);
  position: relative;
}

/* 上部の波形（白→ダークグリーン） */
.contact::before {
  content: '';
  position: absolute;
  top: -4.5rem;
  left: calc(-1 * var(--sidebar-width));
  width: calc(100% + var(--sidebar-width));
  height: 5rem;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 80' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,80 L1440,80 L1440,20 Q1080,-10 720,40 Q360,90 0,20 Z' fill='%232D845C'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

/* 文字色の上書き */
.contact .section__label {
  color: var(--color-yellow);
}

.contact .section__title {
  color: var(--color-white);
}

.contact .section__title::after {
  background: var(--color-yellow);
}

/* コンテンツをグリッドで配置（section__header と form-wrap の左端を揃える） */
.contact .section__inner {
  display: grid;
  grid-template-columns: 1fr 56%;
  column-gap: 3rem;
}

.contact .section__header {
  margin-bottom: 2.5rem;
}

.contact__content {
  display: contents;
  color: #fff;
}

.contact__info {
  grid-column: 1;
  min-width: 0;
}

.contact__desc {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 2.5rem;
}

.contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact__list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
}

.contact__notice {
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0;
}

.contact__mail-link {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.contact__mail-link:hover {
  opacity: 0.8;
}

.contact__address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

/* フォームカード */
.contact__form-wrap {
  grid-column: 2;
  grid-row: 1;
  width: auto;
  background: var(--color-white);
  border-radius: 1rem;
  padding: 2.5rem;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__form-row {
  display: flex;
  gap: 1.5rem;
}

.contact__form-row .contact__form-group {
  flex: 1;
}

.contact__form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: .5rem;
}

.contact__required {
  font-size: 0.65rem;
  background: var(--color-orange);
  color: var(--color-white);
  padding: 0.1rem 0.45rem;
  border-radius: 0.2rem;
}

.contact__input,
.contact__textarea {
  width: 100%;
  border: 1.5px solid #D5D5D5;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-base);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.2s;
  outline: none;
}

.contact__input:focus,
.contact__textarea:focus {
  border-color: var(--color-yellow);
}

.contact__input:focus::placeholder,
.contact__textarea:focus::placeholder {
  color: transparent;
}

.contact__textarea {
  resize: vertical;
  min-height: 9rem;
}

.contact__form-submit {
  padding-top: 0.5rem;
}

.contact__submit-btn {
  width: 100%;
  background: var(--color-brown);
  color: var(--color-white);
  border: none;
  border-radius: 0.375rem;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: var(--font-base);
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s;
}

.contact__submit-btn:hover {
  background: #4d2f2a;
}

/* ============================================================
   Contact Form 7 対応
   ============================================================ */

/* CF7 が自動挿入する <br> を非表示 */
.wpcf7-form br {
  display: none;
}

/* パンくずリスト内の <br> を非表示 */
.breadcrumb br,
.blog-breadcrumb br {
  display: none;
}

/* CF7 のラッパーをフォームと同じフレックスレイアウトに */
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* CF7 がinputをspanで包むため、ブロック化して幅を統一 */
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* CF7 のinput/textarea にフォームスタイルを適用（class:contact__inputで適用済みだが念のため） */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"] {
  width: 100%;
  border: 1.5px solid #D5D5D5;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-base);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.2s;
  outline: none;
  display: block;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus {
  border-color: var(--color-yellow);
}

.wpcf7-form textarea {
  width: 100%;
  border: 1.5px solid #D5D5D5;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-base);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
  min-height: 9rem;
  display: block;
}

.wpcf7-form textarea:focus {
  border-color: var(--color-yellow);
}

/* バリデーションエラー */
.wpcf7-not-valid-tip {
  font-size: 0.8rem;
  color: #d9534f;
  margin-top: 0.25rem;
  display: block;
}

.wpcf7-not-valid input,
.wpcf7-not-valid textarea {
  border-color: #d9534f;
}

/* 送信結果メッセージ */
.wpcf7-response-output {
  margin: 0;
  padding: 0;
  border: none !important;
  font-size: 0.9rem;
  border-radius: 0.375rem;
  text-align: center;
}

/* 送信後にメッセージが入ったときだけ余白・背景を表示 */
.wpcf7-response-output:not(:empty) {
  margin-top: 0;
  padding: 0.75rem 1rem;
  color: #333;
}

/* スピナーは非表示時に余白を持たせない */
.wpcf7-spinner {
  display: none;
}

.wpcf7-form.submitting .wpcf7-spinner {
  display: block;
  margin: 0 auto;
}

.wpcf7-mail-sent-ok {
  background: rgba(142, 192, 96, 0.2);
  color: var(--color-green-dark);
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted {
  background: rgba(217, 83, 79, 0.1);
  color: #d9534f;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--color-green-dark);
  box-shadow: calc(-1 * var(--sidebar-width)) 0 0 0 var(--color-green-dark);
  padding: 3.5rem 0 2rem;
  position: relative;
  z-index: 3;
}

/* 上部の波形 */
.footer::before {
  content: '';
  position: absolute;
  top: -4.5rem;
  left: calc(-1 * var(--sidebar-width));
  width: calc(100% + var(--sidebar-width));
  height: 5rem;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 80' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,80 L1440,80 L1440,20 Q1080,90 720,40 Q360,-10 0,20 Z' fill='%232D845C'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.footer__inner {
  max-width: 82rem;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
}

.footer__logo-wrap {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer__logo {
  height: 5.5rem;
  width: auto;
}

.footer__tit {
  height: 4.25rem;
  width: auto;
  margin-left: 2.5rem;
  padding-left: 2.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.55);
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-family: var(--font-en);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin: 0;
}

/* ============================================================
   Scroll Reveal Animation
   ============================================================ */
.js-reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-reveal[data-delay="1"] { transition-delay: 0.15s; }
.js-reveal[data-delay="2"] { transition-delay: 0.30s; }
.js-reveal[data-delay="3"] { transition-delay: 0.45s; }
.js-reveal[data-delay="4"] { transition-delay: 0.60s; }

/* ============================================================
   Page Hero（内部ページ共通ヘッダー）
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-green) 100%);
  padding: 8rem 0 4rem;
  margin-left: var(--sidebar-width);
  text-align: center;
}

.page-hero__inner {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-hero .section__label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.page-hero__title {
  color: var(--color-white);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.page-hero__title--post {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.5;
  margin-top: 0.75rem;
}

.page-hero--single .page-hero__inner {
  text-align: left;
}

.page-hero--single .section__label {
  display: none;
}

/* ============================================================
   パンくずリスト
   ============================================================ */
.breadcrumb {
  margin-bottom: 1rem;
}

.breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb__link {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.breadcrumb__link:hover {
  color: var(--color-white);
}

.breadcrumb__item--current {
  color: var(--color-white);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 30em;
}

/* ============================================================
   ブログ一覧（フル幅）
   ============================================================ */
.news__list--full {
  flex: none;
  width: 100%;
}

/* ============================================================
   下層ページ：フッター上部のスペース
   ============================================================ */
.page-hero ~ .section:last-of-type {
  padding-bottom: 18rem;
}

/* ============================================================
   ブログ一覧ページ：2カラムレイアウト
   ============================================================ */
.blog-layout {
  display: flex;
  flex-direction: column;
  max-width: 82rem;
  margin: 0 auto;
  padding: 0 3rem 10rem;
  gap: 1.25rem;
}

/* ヘッダー行：ブランド + パンくず */
.blog-header {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* カラム行：サイドバー + メイン */
.blog-columns {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

/* サイドバー */
.blog-sidebar {
  flex-shrink: 0;
  width: 320px;
}

.blog-sidebar__brand {
  flex-shrink: 0;
  width: 320px;
  background: var(--color-white);
  border-radius: 0 0 0.75rem 0.75rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.blog-sidebar__brand > a:has(.blog-sidebar__logo) {
  order: 1;
  width: 50%;
  display: flex;
  align-items: center;
}
.blog-sidebar__logo {
  width: 100%;
  height: auto;
}

.blog-sidebar__brand::after {
  content: '';
  display: block;
  order: 2;
  width: 1px;
  height: 2rem;
  background: #ccc;
  flex-shrink: 0;
}

.blog-sidebar__top-link {
  order: 3;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-en);
  color: var(--color-green);
  letter-spacing: 0.08em;
}

.sidebar-section {
  border-radius: 0.75rem;
  padding: 1.25rem 0;
  margin-bottom: 1.25rem;
}

.sidebar-section__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-green-dark);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-section__title::after {
  content: '';
  flex: 1;
  border-top: 2px dotted var(--color-green);
}

.sidebar-section__title--popular {
  color: var(--color-orange);
}

.sidebar-section__title--popular::after {
  border-top-color: var(--color-orange);
}

.sidebar-filter__group {
  display: flex; flex-direction: column; gap: 0.5rem;
}

.sidebar-filter__label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.6rem .6rem;
  cursor: pointer;
  background: var(--color-white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  border-radius: 0.375rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.sidebar-filter__label:last-child {
  border-bottom: none;
}

.sidebar-filter__label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  border: 1px solid #aaa;
  border-radius: 3px;
  background: var(--color-white);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

.sidebar-filter__label input[type="checkbox"]:checked {
  background: var(--color-green-light);
  border-color: var(--color-green-light);
}

.sidebar-filter__label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 45%;
  width: 5px;
  height: 9px;
  border: 2.5px solid #fff;
  border-top: none;
  border-left: none;
  transform: translate(-50%, -50%) rotate(45deg);
}

.sidebar-filter__label:has(input[type="checkbox"]:checked) {
  color: var(--color-brown);
  font-weight: 700;
}

.sidebar-filter__btn {
  display: block;
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.75rem;
  background: var(--color-green-dark);
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.sidebar-filter__btn:hover {
  opacity: 0.85;
}

.sidebar-popular {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.sidebar-popular__item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
}

.sidebar-popular__thumb {
  flex-shrink: 0;
  width: 100px;
  height: 64px;
  border-radius: 0.5rem;
  overflow: hidden;
}

.sidebar-popular__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-popular__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: .9rem;
  color: var(--color-green-dark);
}

.sidebar-popular__meta span {
  background: rgba(0,0,0,0.06);
  color: #000;
  font-size: 0.6875rem;
  padding: 0.1em 0.5em;
  border-radius: 3px;
  white-space: nowrap;
  min-width: 7em;
  text-align: center;
  display: inline-block;
}

.sidebar-popular__title {
  font-size: .9rem;
  color: var(--color-text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* メインエリア */
.blog-main {
  flex: 1;
  min-width: 0;
  max-width: calc(800px + 4rem);
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
}
.blog-main--list {
  background-color: transparent;
  padding: 0 2rem;
  border-radius: 0;
}

.blog-breadcrumb {
  flex: 1;
  min-width: 0;
}

.blog-breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: #888;
}

.blog-breadcrumb__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-green-dark);
}

.blog-breadcrumb__item:first-child .blog-breadcrumb__link::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('../images/icon_home.svg') no-repeat center / contain;
  flex-shrink: 0;
}

.blog-breadcrumb__item--current {
  color: #555;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.blog-main__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-brown);
  padding-bottom: 0.625rem;
  margin-bottom: 1.75rem;
  line-height: 1.3;
}
.blog-main__title::after {
  content: '';
  display: block;
  width: 4rem;
  height: 3px;
  background: var(--color-green);
  margin-top: 1rem;
  border-radius: 10px;
}

/* 記事一覧：TOPページnewsに準拠 */
.blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-list__item {
  padding: 1rem 0;
  
}

.blog-list__item:first-child {
  
}

.blog-list__link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.blog-list__link:hover {
  opacity: 0.7;
}

.blog-list__link:hover .blog-list__thumb {
  transform: scale(1.07);
}

.blog-list__thumb-wrap {
  flex-shrink: 0;
  width: clamp(140px, 15vw, 240px);
  height: clamp(91px, 9.8vw, 156px);
  border-radius: 0.5rem;
  border: 2px solid var(--color-green);
  background: var(--color-white);
  overflow: hidden;
}

.blog-list__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.blog-list__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.blog-list__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.blog-list__date {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-green-dark);
  letter-spacing: 0.04em;
}

.blog-list__category {
  padding: 0.15rem 0.75rem;
  background: #EAEAEA;
  border-radius: 2rem;
  white-space: nowrap;
  letter-spacing: 0.03em;
  font-size: 0.9rem;
  width: 10em;
  text-align: center;
  font-weight: 600;
}

.blog-list__title {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
}

/* ============================================================
   ページング（blog-pagination）
   ============================================================ */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.blog-pagination__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #E8C23A;
  text-decoration: none;
  transition: opacity 0.2s;
}

.blog-pagination__arrow--prev {
  margin-right: 0.75rem;
}

.blog-pagination__arrow:not(.blog-pagination__arrow--prev) {
  margin-left: 0.75rem;
}

.blog-pagination__arrow img {
  display: block;
  width: 0.6rem;
  height: auto;
}

.blog-pagination__arrow--prev img {
  transform: rotate(180deg);
  margin-right: 0.15rem;
}

.blog-pagination__arrow:not(.blog-pagination__arrow--prev) img {
  margin-left: 0.15rem;
}

.blog-pagination__arrow:hover {
  opacity: 0.8;
}

.blog-pagination__page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.375rem;
  border: 1px solid #D0D0D0;
  background: #fff;
  color: var(--color-text);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.blog-pagination__page:hover {
  background: #f0f0f0;
}

.blog-pagination__page--current {
  background: var(--color-green-dark);
  border-color: var(--color-green-dark);
  color: #fff;
  font-weight: 700;
}

.blog-pagination__ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-text);
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
}

/* ============================================================
   記事詳細ページ（blog-post）
   ============================================================ */

.blog-post__header {
  margin-bottom: 1.75rem;
}

.blog-post__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.blog-post__date {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-green-dark);
  letter-spacing: 0.04em;
}

.blog-post__category {
  padding: 0.15rem 0.75rem;
  background: #EAEAEA;
  border-radius: 2rem;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
}

.blog-post__title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--color-brown);
  line-height: 1.5;
}

.blog-post__eye {
  margin: 0 0 2rem;
  border-bottom: 4px solid #efefef;
}

.blog-post {
  padding: 0 5% 2rem;
}

.blog-post__eye img {
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: cover;
  display: block;
}

.blog-post__body {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
}

.blog-post__body p,
.mce-content-body p {
  margin-bottom: 1.25rem;
}

.blog-post__body h2,
.mce-content-body h2 {
  position: relative;
  font-size: 1.375rem;
  line-height: 1.4;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  padding-left: 1rem;
}

.blog-post__body h2 { color: var(--color-green-dark); }
.mce-content-body h2 { color: #2D845C; }

.blog-post__body h2::before,
.mce-content-body h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.1em;
  bottom: 0.1em;
  width: 5px;
  border-radius: 3px;
  background-color: #8EC060;
}

.blog-post__body h3,
.mce-content-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.blog-post__body a {
  color: var(--color-green-dark);
  text-decoration: underline;
}

.mce-content-body a {
  color: #2D845C;
  text-decoration: underline;
}

.blog-post__body img,
.mce-content-body img {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 1.5rem auto;
  border-radius: 0.375rem;
}

.blog-post__body figure,
.blog-post__body .wp-block-image,
.blog-post__body .wp-caption {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
}

.blog-post__body ul,
.mce-content-body ul {
  margin: 0 0 1.25rem;
  padding-left: 0;
  list-style: none;
}

.blog-post__body ul li,
.mce-content-body ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.blog-post__body ul li::before,
.mce-content-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #613D37;
}

.blog-post__body ol,
.mce-content-body ol {
  margin: 0 0 1.25rem;
  padding-left: 0;
  list-style: none;
  counter-reset: ol-counter;
}

.blog-post__body ol li,
.mce-content-body ol li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  line-height: 1.7;
  counter-increment: ol-counter;
}

.blog-post__body ol li::before,
.mce-content-body ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: #613D37;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5rem;
  text-align: center;
}

.blog-post__nav {
  display: flex;
  justify-content: space-between;
  margin-top: 0;
  padding: 1.5rem 5% 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  gap: 1rem;
}

.blog-post__nav-prev,
.blog-post__nav-next {
  font-size: 0.9375rem;
  color: var(--color-green-dark);
  text-decoration: none;
  line-height: 1.5;
  max-width: 48%;
  transition: opacity 0.2s;
}

.blog-post__nav-prev { margin-right: auto; }
.blog-post__nav-next { margin-left: auto; text-align: right; }

.blog-post__nav-prev:hover,
.blog-post__nav-next:hover {
  opacity: 0.7;
}

/* ============================================================
   記事ページ
   ============================================================ */
.post__thumbnail {
  margin-bottom: 2.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.post__thumb-img {
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: cover;
}

.post__content {
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
}

.post__content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-green-dark);
  margin: 2.5rem 0 1rem;
  padding-left: 0.75rem;
  border-left: 4px solid var(--color-green);
}

.post__content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.post__content p {
  margin-bottom: 1.25rem;
}

.post__content img {
  margin: 1.5rem auto;
  border-radius: 0.375rem;
}

.post__content a {
  color: var(--color-green-dark);
  text-decoration: underline;
}

.post__content ul,
.post__content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.post__content li {
  margin-bottom: 0.375rem;
}

/* ============================================================
   前後記事ナビゲーション
   ============================================================ */
.post-nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

.post-nav__inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.post-nav__link {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  max-width: 44%;
  transition: opacity 0.2s;
}

.post-nav__link--empty {
  pointer-events: none;
}

.post-nav__link:hover {
  opacity: 0.7;
}

.post-nav__link--next {
  text-align: right;
  margin-left: auto;
}

.post-nav__label {
  font-size: 0.8125rem;
  color: var(--color-green-dark);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.post-nav__title {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.5;
}

/* ============================================================
   ページネーション
   ============================================================ */
.pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  transition: background 0.2s, color 0.2s;
}

.pagination .page-numbers:hover {
  background: var(--color-green);
  color: var(--color-white);
}

.pagination .page-numbers.current {
  background: var(--color-green-dark);
  color: var(--color-white);
}

.pagination .page-numbers.dots {
  width: auto;
  background: none;
}

/* ============================================================
   記事なし
   ============================================================ */
.no-posts {
  text-align: center;
  padding: 3rem 0;
  color: var(--color-text-light);
}

/* ============================================================
   post-header__meta
   ============================================================ */
.post-header__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.post-header__date {
  color: rgba(255, 255, 255, 0.85);
}

.post-header__meta .news__category {
  background: rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ============================================================
   ページトップボタン
   ============================================================ */
.pagetop {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 64px;
  height: 64px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 100;
}

.pagetop.is-visible {
  opacity: 1;
  visibility: visible;
}

.pagetop:hover {
  filter: brightness(0.85);
  transition: filter 0.2s;
}

.pagetop img {
  width: 100%;
  height: 100%;
}

/* prefers-reduced-motion 対応 */
@media (prefers-reduced-motion: reduce) {
  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   Responsive
   ============================================================ */

/* ------------------------------------------------------------
   1024px — 各カラム縦積み・レイアウト調整
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  :root { --sidebar-width: 13rem; }
  .side-nav { padding: 3rem 2rem 2rem 1.5rem; }

  .blog-sidebar,
  .blog-sidebar__brand {
    width: 240px;
  }
  .section__inner {
    padding: 0 2rem;
  }

  /* about: グリッド → 縦積み */
  .about {
    padding: 4rem 0;
  }

  .about .section__inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  /* business: 4列 → 2列 */
  .business__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3rem;
  }

  /* company: flex → 縦積み */
  .company__content {
    flex-direction: column;
    gap: 2.5rem;
  }

  .company__table-wrap {
    width: 100%;
    flex-shrink: 1;
  }

  /* news: 縦積み */
  .news .section__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 2.5rem;
    gap: 0;
  }

  .news .section__header {
    width: auto;
    flex-shrink: 1;
    margin-bottom: 0;
  }

  .news__content {
    width: 100%;
  }

  .news__thumb-wrap {
    width: 142px;
    height: 92px;
  }

  /* contact: グリッド → 1カラム */
  .contact .section__inner {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
  }

  .contact__form-wrap {
    grid-column: 1;
    grid-row: 2;
  }
}

/* ------------------------------------------------------------
   768px — サイドナビ縮小（ロゴのみ）・縦積みレイアウト
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  :root {
    --sidebar-width: 0;
  }

  .blog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .blog-breadcrumb {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .blog-breadcrumb__list {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .blog-breadcrumb__item--current {
    overflow: visible;
    white-space: nowrap;
    text-overflow: clip;
  }

  .blog-layout {
    padding-inline: 5%;
    padding-bottom: 4rem;
    gap: 2.5rem;
  }

  .blog-columns {
    flex-direction: column;
  }

  .blog-list__thumb-wrap {
    width: 180px;
    height: 117px;
  }

  .blog-sidebar__brand {
    width: 100%;
    justify-content: center;
    gap: 1.5rem;
  }

  .blog-sidebar__brand > a:has(.blog-sidebar__logo) {
    width: auto;
  }

  .blog-sidebar__logo {
    width: 120px;
  }

  .blog-sidebar {
    width: 100%;
    order: 2;
  }

  .blog-main {
    order: 1;
  }

  .blog-main--list {
    padding-left: 0;
    padding-right: 0;
  }

  .blog-post__title {
    font-size: clamp(1.25rem, 4.5vw, 1.75rem);
  }

  .blog-main__title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .side-nav {
    width: 7rem;
    padding: 2rem 1.5rem;
    align-items: center;
    border-radius: 0 0 1rem 0;
    top: 0;
    z-index: 2;
  }

  .side-nav__logo {
    margin-bottom: 0;
  }

  .side-nav__logo img {
    width: 100%;
  }

  .side-nav__list {
    display: none;
  }

  .hero__overlay { gap: 1rem;}
  .section__header{ text-align: center; }
  .section__title::after { left: 50%; transform: translateX(-50%); }

  .section__inner {
    padding: 0 5%;
  }
  .about__lead-img { width: 90%;}

  /* business */
  .business {
    padding: 4rem 0;
  }

  .business__list {
    gap: 2rem;
  }

  /* company */
  .company {
    padding: 5rem 0;
  }

  /* news: padding のみ上書き */
  .news {  padding: 3rem 5% 0;}
  .news .section__inner {
    padding: 2.5rem 1.5rem;
  }
  .news__content{ flex-direction: column; gap: 2rem;}
  .news .section__header{ text-align: center;}
  .news__more { margin-left: 0; align-self: center;}
  .news__more-btn{ flex-direction: row; gap: 0.5rem; font-size: 1.2rem;}

  /* contact */
  .contact {
    padding: 10rem 0 4.5rem;
  }

  /* iOS Safari 自動ズーム防止：フォーム要素は16px以上必要 */
  .contact__input,
  .contact__textarea,
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form textarea {
    font-size: 16px;
  }

  /* footer */
  .footer__tit {
    height: 3rem;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
  }

  .footer::before {
    left: 0;
    width: 100%;
    height: 2.5rem;
    top: -2.25rem;
  }
}

/* ------------------------------------------------------------
   480px — スマートフォン
   ------------------------------------------------------------ */
@media (max-width: 480px) {

  /* blog-list */
  .blog-list__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .blog-list__thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 0 auto;
  }

  .blog-list__body {
    padding: 0.5rem 0;
  }

  /* about */
  .about {
    padding: 4rem 0;
  }

  .about .section__inner {
    gap: 2rem;
  }

  /* business */
  .business {
    padding: 4rem 0;
  }

  .business__list {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* company */
  .company {
    padding: 3.5rem 0;
  }

  /* news */
  .news .section__inner {
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    border-width: 3px;
  }

  .news__article {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .news__thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 0 auto;
  }

  .news__link {
    padding: 0.5rem 0;
  }

  /* contact */
  .contact {
    padding: 11rem 0 3rem;
  }

  /* iOS Safari 自動ズーム防止：フォーム要素は16px以上必要 */
  .contact__input,
  .contact__textarea,
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form textarea {
    font-size: 16px;
  }

  .contact__form-wrap {
    padding: 1.75rem 1.25rem;
  }

  .contact__form-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  /* footer */
  .footer {
    padding: 3rem 0 1.75rem;
  }

  .footer__logo-wrap {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .footer__tit {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    padding-top: 1.25rem;
    height: auto;
    max-width: 16rem;
  }

  /* page-hero SP */
  .page-hero {
    padding: 7rem 5% 2.5rem;
  }

  /* post-nav SP */
  .post-nav__inner {
    flex-direction: column;
    gap: 1rem;
  }

  .post-nav__link--next {
    text-align: left;
  }
}

/* ============================================================
   Loading
   ============================================================ */
.skip-loading .loading {
  display: none;
}

.loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.loading.is-done {
  opacity: 0;
  pointer-events: none;
}

.loading__inner {
  position: relative;
  width: 280px;
  height: 280px;
}

.loading__logo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(0.8);
}

.loading__logo-fg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(-50% 0%, -10% 0%, -50% 100%, -50% 100%);
  animation: loadingReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes loadingReveal {
  from { clip-path: polygon(-50% 0%, -10%  0%, -50% 100%, -50% 100%); }
  to   { clip-path: polygon(-50% 0%, 140%  0%, 100% 100%, -50% 100%); }
}
