@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELL child theme for shinya
    Version: 1.1.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/
    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

@charset "UTF-8";
/* ========================================
   SWELLプレビュー用ベースCSS
   SWELLのクラス構造・レイアウトを再現
   ======================================== */

/* --- リセット・ベース --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #222;
  line-height: 1.8;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- CSS変数（SWELL互換） --- */
:root {
  --container_size: 1200px;
  --swl-pad_container: 4vw;
  --color_main: #FDD23D;
  --color_text: #222222;
  --color_link: #3A8FB7;
  --color_bg: #fff;
  --color_secondary: #3A8FB7;
  --color_accent: #E8633A;
  --color_warm_bg: #FFFCEF;
  --color_light_gray: #F5F5F5;
  --header_height: 80px;
  --border_radius: 8px;
}

/* --- コンテナ --- */
.l-container {
  max-width: var(--container_size);
  margin: 0 auto;
  padding: 0 var(--swl-pad_container);
}

/* --- SP専用改行 --- */
.sp-only { display: none; }

/* ========================================
   ヘッダー（100%幅・ロゴ左寄せ/右寄せ）
   ======================================== */
#header.l-header,
body #header.l-header,
body.blog #header.l-header,
body.single #header.l-header,
body.archive #header.l-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: background 0.3s, box-shadow 0.3s;
  transform: none !important;
}
/* WP管理バー表示時の位置調整（SWELLと同じ動作） */
body.admin-bar #header.l-header {
  top: 32px !important;
}
@media (max-width: 782px) {
  body.admin-bar #header.l-header {
    top: 46px !important;
  }
}
.l-header__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header_height);
}
.l-header__logo {
  flex-shrink: 0;
  margin: 0 auto 0 0 !important;
  padding: 0 !important;
  height: auto !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
}
.c-headLogo {
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
}
.c-headLogo img {
  height: 50px !important;
  width: auto !important;
  max-height: 50px !important;
  min-height: 50px !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ヘッダー右側グループ */
.l-header__right {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

/* ヘッダーナビ */
.l-header__gnav { display: flex; align-items: center; }
.c-gnav { display: flex; gap: 0; }
.c-gnav__item > a {
  display: block;
  padding: 0 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #222;
  line-height: var(--header_height);
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
}
.c-gnav__item > a:hover { color: var(--color_main); }
.c-gnav__item > a::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: var(--color_main);
  border-radius: 2px;
  transition: transform 0.3s;
}
.c-gnav__item > a:hover::after { transform: translateX(-50%) scaleX(1); }
/* 現在のページ */
.c-gnav__item.is-current > a { color: var(--color_main); }
.c-gnav__item.is-current > a::after { transform: translateX(-50%) scaleX(1); }

/* ヘッダー電話番号・CTAボタン */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid #e0e0e0;
}
.header-phone {
  text-align: right;
  line-height: 1.3;
}
.header-phone__number {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color_secondary);
  letter-spacing: 0.02em;
}
.header-phone__note {
  font-size: 0.7rem;
  color: #888;
}
.header-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--color_accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50px;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
}
.header-cta__btn:hover {
  background: #d45530;
  transform: translateY(-1px);
}

/* ハンバーガーメニュー */
.p-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1100;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.p-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #222;
  margin: 0 auto;
  transition: all 0.3s;
}
.p-hamburger span:nth-child(1) { transform: translateY(-7px); }
.p-hamburger span:nth-child(3) { transform: translateY(7px); }
.p-hamburger.is-open span:nth-child(1) { transform: rotate(45deg); }
.p-hamburger.is-open span:nth-child(2) { opacity: 0; }
.p-hamburger.is-open span:nth-child(3) { transform: rotate(-45deg); }

/* SPメニュー */
.p-spMenu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  z-index: 1050;
  padding: 100px 30px 40px;
  transition: right 0.4s ease;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}
/* .p-spMenu.is-open は廃止（CSS-only checkbox方式に移行） */
.p-spMenu__overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.4s;
}
/* .p-spMenu__overlay.is-open は廃止（CSS-only checkbox方式に移行） */
.p-spMenu__nav a {
  display: block;
  padding: 14px 0;
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 1px solid #eee;
}
.p-spMenu__phone {
  margin-top: 24px;
  text-align: center;
}
.p-spMenu__phone a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color_secondary);
}
.p-spMenu__contact {
  margin-top: 16px;
  text-align: center;
}
.p-spMenu__contact a {
  display: inline-block;
  padding: 14px 40px;
  background: var(--color_accent);
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  font-size: 0.95rem;
}

/* ========================================
   メインビジュアル
   ======================================== */
.p-mainVisual {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header_height));
  min-height: 500px;
  margin-top: var(--header_height);
  overflow: hidden;
}
.p-mainVisual__slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.p-mainVisual__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
  backface-visibility: hidden;
}
.p-mainVisual__slide.is-active { opacity: 1; }
.p-mainVisual__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ケンバーンズ（ゆっくりズーム） */
.p-mainVisual__slide img {
  transform: scale(1.08);
  transition: none;
  will-change: transform;
}
.p-mainVisual__slide.is-active img {
  animation: kenburns 6s ease-out forwards;
}
@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

/* オーバーレイ */
.p-mainVisual__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.15) 50%,
    rgba(0,0,0,0.3) 100%
  );
  z-index: 2;
}

/* テキストレイヤー */
.p-mainVisual__textLayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 3;
}
.p-mainVisual__textInner {
  max-width: var(--container_size);
  margin: 0 auto;
  padding: 0 var(--swl-pad_container);
  width: 100%;
}
.mv-copy {
  color: #fff;
  max-width: 640px;
}
.mv-copy__tagline {
  display: inline-block;
  padding: 4px 16px;
  background: var(--color_main);
  color: #222;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 3px;
  margin-bottom: 16px;
}
.mv-copy__catch {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  margin-bottom: 16px;
}
.mv-copy__catch .highlight {
  color: var(--color_main);
}
.mv-copy__sub {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.9;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  margin-bottom: 28px;
}
.mv-copy__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--color_accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(232,99,58,0.35);
}
.mv-copy__btn:hover {
  background: #d45530;
  transform: translateY(-2px);
}
.mv-copy__btn .arrow {
  display: inline-block;
  transition: transform 0.3s;
}
.mv-copy__btn:hover .arrow {
  transform: translateX(4px);
}

/* MVロゴマーク（右下） */
.mv-logo-mark {
  position: absolute;
  bottom: 40px;
  right: 5%;
  z-index: 4;
  opacity: 0.85;
}
.mv-logo-mark img {
  height: 140px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

/* スライダードット */
.p-mainVisual__dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.p-mainVisual__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.p-mainVisual__dot.is-active {
  background: var(--color_main);
  transform: scale(1.2);
}

/* ========================================
   MV 資格バッジ
   ======================================== */
.mv-badges {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.mv-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.03em;
}

/* ========================================
   保有資格セクション（コンセプト内）
   ======================================== */
.qualification {
  margin-top: 56px;
  padding: 48px 32px 40px;
  background: #f5f0e0;
  border-radius: var(--border_radius);
}
.qualification__title {
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 28px;
  color: #222;
}
.qualification__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.qualification__list--4col {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.qualification__list--4col .qualification__item {
  padding: 22px 18px;
  gap: 12px;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.qualification__list--4col .qualification__icon {
  margin-bottom: 4px;
}
.qualification__list--4col .qualification__info {
  width: 100%;
}
.qualification__list--4col .qualification__name {
  font-size: 0.95rem;
  line-height: 1.45;
}
.qualification__list--4col .qualification__detail {
  font-size: 0.78rem;
}
.qualification__list--4col .qualification__link {
  position: static;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed rgba(0,0,0,0.08);
  width: 100%;
  text-align: right;
  font-size: 0.75rem;
}
@media (max-width: 959px) {
  .qualification__list--4col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .qualification__list--4col { grid-template-columns: 1fr; }
}
.qualification__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  background: #fff;
  border-radius: var(--border_radius);
  border: 2px solid var(--color_main);
  position: relative;
  min-height: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.qualification__item--accent {
  background: #fff;
  border: 2px solid var(--color_main);
}
.qualification__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.qualification__info { flex: 1; min-width: 0; }
.qualification__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 2px;
}
.qualification__detail {
  font-size: 0.75rem;
  color: #888;
  line-height: 1.5;
}
.qualification__link {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color_secondary);
  transition: color 0.3s;
}
.qualification__link:hover { color: var(--color_accent); }

/* ========================================
   アスベスト特集バナー
   ======================================== */
.asbestos-banner {
  padding: 80px 0;
  background: #d8d8d8;
  color: #222;
  overflow: hidden;
}
.asbestos-banner__inner {
  display: flex;
  gap: 48px;
  align-items: center;
}
.asbestos-banner__content { flex: 1; }
.asbestos-banner__label {
  display: inline-block;
  padding: 4px 14px;
  background: var(--color_accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 3px;
  margin-bottom: 16px;
}
.asbestos-banner__title {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 16px;
}
.asbestos-banner__em {
  color: var(--color_accent);
  border-bottom: 3px solid var(--color_accent);
  padding-bottom: 2px;
}
.asbestos-banner__text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 24px;
}
.asbestos-banner__points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.asbestos-banner__point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}
.asbestos-banner__point-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--color_accent);
  border-radius: 50%;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.asbestos-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--color_accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(232,99,58,0.3);
}
.asbestos-banner__btn:hover {
  background: #d45530;
  transform: translateY(-2px);
}
.asbestos-banner__btn .arrow {
  display: inline-block;
  transition: transform 0.3s;
}
.asbestos-banner__btn:hover .arrow {
  transform: translateX(4px);
}
.asbestos-banner__visual {
  flex: 0 0 340px;
}
.asbestos-banner__visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--border_radius);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.asbestos-banner__visual-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #c8c8c8;
  border-radius: var(--border_radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 0.85rem;
  border: 1px dashed #999;
}

/* ========================================
   想いの引用バンド
   ======================================== */
.quote-band {
  background: var(--color_main);
  padding: 28px 0;
  text-align: center;
}
.quote-band__text {
  font-size: 1.15rem;
  font-weight: 600;
  color: #222;
  line-height: 1.7;
}
.quote-band__strong {
  font-size: 1.35rem;
  font-weight: 900;
}
.quote-band__name {
  display: inline-block;
  margin-left: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.7;
}
.quote-band--secondary {
  background: #d8d8d8;
}
.quote-band--secondary .quote-band__text {
  color: #222;
  font-size: 1.1rem;
}
.quote-band--secondary .quote-band__strong {
  color: #8a6d00;
  font-size: 1.25rem;
}

/* ========================================
   セクション共通
   ======================================== */
.section {
  padding: 80px 0;
}
.section--warm {
  background: var(--color_warm_bg);
}
.section--gray {
  background: var(--color_light_gray);
}
.section--omoi {
  background: var(--color_warm_bg);
}
.section__heading {
  text-align: center;
  margin-bottom: 48px;
}
.section__heading-en {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color_main);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.section__heading-ja {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #222;
  line-height: 1.4;
}
.section__heading-bar {
  display: block;
  width: 40px;
  height: 4px;
  background: var(--color_main);
  border-radius: 2px;
  margin: 12px auto 0;
}
.section__lead {
  text-align: center;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.9;
  margin-top: -24px;
  margin-bottom: 40px;
}

/* ========================================
   しん屋の4つの想いと指針セクション
   ======================================== */
.section--philosophy {
  background: #d8d8d8;
  color: #222;
  padding: 96px 0;
}
.section--philosophy .section__heading-en {
  color: #8a6d00;
}
.section--philosophy .section__heading-ja {
  color: #222;
}
.section--philosophy .section__heading-bar {
  background: var(--color_main);
}
.section--philosophy .section__lead {
  color: #555;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.philosophy-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--border_radius);
  padding: 36px 28px;
  transition: transform 0.3s, background 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.philosophy-card:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.philosophy-card__num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color_main);
  line-height: 1;
  margin-bottom: 12px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  opacity: 0.5;
}
.philosophy-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 8px;
}
.philosophy-card__bar {
  width: 32px;
  height: 3px;
  background: var(--color_main);
  border-radius: 2px;
  margin: 0 0 20px;
}
.philosophy-card__text {
  font-size: 0.85rem;
  line-height: 1.9;
  color: #555;
  text-align: left;
  margin-bottom: 16px;
  flex: 1;
}
.philosophy-card__quote {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.7;
  color: #8a6d00;
  text-align: left;
  padding: 12px 14px;
  background: rgba(253,210,61,0.1);
  border-left: 3px solid var(--color_main);
  border-radius: 0 4px 4px 0;
}

/* ========================================
   TOPICSセクション（未使用・予備）
   ======================================== */
.topics-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.topics-tab {
  padding: 8px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  background: #eee;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
}
.topics-tab.is-active,
.topics-tab:hover {
  background: var(--color_main);
  color: #fff;
}
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.topics-card {
  background: #fff;
  border-radius: var(--border_radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.topics-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.topics-card__thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.topics-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.topics-card:hover .topics-card__thumb img {
  transform: scale(1.05);
}
.topics-card__cat {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 12px;
  background: var(--color_main);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 3px;
}
.topics-card__body {
  padding: 16px 18px;
}
.topics-card__date {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 6px;
}
.topics-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.topics-more {
  text-align: center;
  margin-top: 36px;
}
.topics-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 36px;
  border: 2px solid #222;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s;
}
.topics-more a:hover {
  background: #222;
  color: #fff;
}

/* ========================================
   コンセプトセクション
   ======================================== */
.concept-wrap {
  display: flex;
  gap: 48px;
  align-items: center;
}
.concept-img {
  flex: 0 0 45%;
  border-radius: var(--border_radius);
  overflow: hidden;
}
.concept-img img {
  width: 100%;
  border-radius: var(--border_radius);
}
.concept-text { flex: 1; }
.concept-text__lead {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #222;
}
.concept-text__lead .highlight {
  color: var(--color_secondary);
}
.concept-text__body {
  font-size: 0.95rem;
  line-height: 2;
  color: #555;
  margin-bottom: 24px;
}
.concept-character {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color_warm_bg);
  padding: 16px 20px;
  border-radius: var(--border_radius);
  border-left: 4px solid var(--color_main);
}
.concept-character img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.concept-character__text {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.6;
}

/* ========================================
   代表の想いセクション
   ======================================== */
.omoi-wrap {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.omoi-wrap--no-photo {
  max-width: 820px;
  margin: 0 auto;
  flex-direction: column;
  gap: 0;
}
.omoi-photo {
  flex: 0 0 280px;
  text-align: center;
}
.omoi-photo__placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #f5f0e8 0%, #e8e0d4 100%);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(253,210,61,0.3);
}
.omoi-photo__deco-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--color_main), var(--color_secondary));
}
.omoi-photo__deco-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(0deg, rgba(253,210,61,0.15), transparent);
}
.omoi-photo__silhouette {
  width: 120px;
  opacity: 0.25;
}
.omoi-photo__silhouette svg {
  width: 100%;
  height: auto;
}
.omoi-photo__label {
  font-size: 0.75rem;
  color: #aaa;
  position: relative;
  z-index: 1;
}
.omoi-photo__name {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}
.omoi-photo__name-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #888;
}
.omoi-photo__name-main {
  font-size: 1.3rem;
  font-weight: 900;
}
.omoi-content { flex: 1; }
.omoi-block {
  margin-bottom: 36px;
}
.omoi-block__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 14px;
  padding-left: 16px;
  border-left: 4px solid var(--color_main);
  line-height: 1.5;
}
.omoi-block__text {
  font-size: 0.95rem;
  line-height: 2;
  color: #555;
  margin-bottom: 16px;
}
.omoi-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border: 2px solid var(--color_secondary);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color_secondary);
  transition: all 0.3s;
}
.omoi-more:hover {
  background: var(--color_secondary);
  color: #fff;
}
.omoi-more .arrow {
  transition: transform 0.3s;
}
.omoi-more:hover .arrow {
  transform: translateX(4px);
}

/* ========================================
   サービスセクション
   ======================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.service-grid--4col {
  grid-template-columns: repeat(4, 1fr);
  max-width: none;
}
.service-card {
  background: #fff;
  border-radius: var(--border_radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color_main);
}
.service-card:hover {
  transform: translateY(-4px);
}
.service-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--color_warm_bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}
.service-card__desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.8;
}
.service-card__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color_secondary);
  transition: color 0.3s;
}
.service-card__link:hover {
  color: var(--color_accent);
}

/* ========================================
   選ばれる理由
   ======================================== */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}
.reason-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(0,0,0,0.04);
}
.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.reason-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.reason-card__number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--color_main);
  line-height: 1;
  font-family: "Helvetica Neue", Arial, sans-serif;
  opacity: 0.35;
}
.reason-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color_warm_bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color_secondary);
}
.reason-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.5;
  color: #222;
}
.reason-card__desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.9;
}

/* ========================================
   対応エリア
   ======================================== */
.area-wrap {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.area-map {
  flex: 0 0 45%;
  border-radius: var(--border_radius);
}
.area-map__visual {
  background: linear-gradient(135deg, #f0f7fa 0%, #e8f4e8 100%);
  border-radius: var(--border_radius);
  padding: 24px;
  border: 1px solid #e0e8e0;
}
.area-map__svg {
  width: 100%;
  height: auto;
}
.area-map__osaka {
  fill: #d4e6f1;
  stroke: #a8c4d8;
  stroke-width: 2;
}
.area-map__nara {
  fill: #fef3c7;
  stroke: var(--color_main);
  stroke-width: 2.5;
}
.area-map__label-main {
  font-size: 18px;
  font-weight: 800;
  fill: #222;
  text-anchor: middle;
}
.area-map__label-sub {
  font-size: 14px;
  font-weight: 600;
  fill: #666;
  text-anchor: middle;
}
.area-map__label-note {
  font-size: 11px;
  fill: #888;
  text-anchor: middle;
}
.area-map__marker {
  fill: var(--color_accent);
}
.area-map__marker-ring {
  fill: none;
  stroke: var(--color_accent);
  stroke-width: 2;
  opacity: 0.4;
  animation: markerPulse 2s ease-in-out infinite;
}
@keyframes markerPulse {
  0%, 100% { r: 16; opacity: 0.4; }
  50% { r: 22; opacity: 0.1; }
}
.area-map__marker-label {
  font-size: 11px;
  fill: var(--color_accent);
  font-weight: 700;
}
.area-map__marker-city {
  font-size: 13px;
  fill: #222;
  font-weight: 800;
}
.area-map__range {
  fill: none;
  stroke: var(--color_accent);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  opacity: 0.4;
}
.area-text { flex: 1; }
.area-text__lead {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.7;
}
.area-text__list {
  margin-bottom: 20px;
}
.area-text__list dt {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color_secondary);
  margin-bottom: 4px;
}
.area-text__list dd {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 16px;
  line-height: 1.8;
}
.area-note {
  font-size: 0.8rem;
  color: #888;
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--border_radius);
}

/* ========================================
   CTAバンド
   ======================================== */
.cta-band {
  background: linear-gradient(135deg, var(--color_secondary) 0%, #2a6f8e 100%);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.cta-band__quote {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--color_main);
}
.cta-band__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.cta-band__sub {
  font-size: 0.95rem;
  margin-bottom: 32px;
  opacity: 0.9;
}
.cta-band__btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-band__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  transition: all 0.3s;
}
.cta-band__btn--phone {
  background: #fff;
  color: var(--color_secondary);
}
.cta-band__btn--phone:hover {
  background: var(--color_warm_bg);
  transform: translateY(-2px);
}
.cta-band__btn--contact {
  background: var(--color_accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,99,58,0.35);
}
.cta-band__btn--contact:hover {
  background: #d45530;
  transform: translateY(-2px);
}
.cta-band__note {
  margin-top: 16px;
  font-size: 0.8rem;
  opacity: 0.75;
}

/* ========================================
   フッター
   ======================================== */
#footer.l-footer {
  background: transparent;
  color: #444;
  padding: 0;
}
.l-footer__info {
  background: #d8d8d8;
  padding: 56px 0 0;
}
.l-footer__inner {
  max-width: var(--container_size);
  margin: 0 auto;
  padding: 0 var(--swl-pad_container);
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-brand {
  flex: 0 0 320px;
}
.footer-brand__logo img {
  height: 56px;
  width: auto;
  margin-bottom: 12px;
}
.footer-brand__catch {
  font-size: 0.85rem;
  font-weight: 600;
  color: #8a6d00;
  margin-bottom: 16px;
}
.footer-brand__info {
  font-size: 0.8rem;
  line-height: 1.8;
  color: #555;
}
.footer-brand__hours {
  margin-top: 8px;
  font-size: 0.75rem;
  color: #666;
  padding: 4px 12px;
  background: rgba(0,0,0,0.05);
  border-radius: 4px;
  display: inline-block;
}
.footer-phone {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #8a6d00 !important;
  letter-spacing: 0.02em;
}
.footer-contact-link {
  display: inline-block !important;
  margin-top: 8px;
  padding: 8px 20px !important;
  background: var(--color_accent);
  color: #fff !important;
  border-radius: 50px;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  transition: background 0.3s;
}
.footer-contact-link:hover {
  background: #d45530;
  color: #fff !important;
}
.footer-nav {
  flex: 1;
  display: flex;
  gap: 40px;
}
.footer-nav__col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}
.footer-nav__col a {
  display: block;
  font-size: 0.8rem;
  color: #555;
  padding: 4px 0;
  transition: color 0.3s;
}
.footer-nav__col a:hover { color: var(--color_main); }
.l-footer__foot {
  background: #d8d8d8;
  padding: 20px 0;
  text-align: center;
  font-size: 0.75rem;
  color: #666;
}

/* ========================================
   トップへ戻るボタン
   ======================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--color_main);
  color: #222;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.3s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: #e8c232;
  transform: translateY(-2px);
}
.scroll-top-btn svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   スクロールアニメーション
   ======================================== */
.js-fadeIn {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js-fadeIn.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   サブページ共通
   ======================================== */
.page-hero {
  position: relative;
  width: 100%;
  height: 360px;
  margin-top: var(--header_height);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero__bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.page-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero__overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
}
.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.page-hero__en {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color_main);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.page-hero__title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.page-hero__sub {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.85;
}
.page-hero__breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
}
.page-hero__breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}
.page-hero__breadcrumb a:hover {
  color: #fff;
}

/* サブページ コンテンツ */
.page-content {
  max-width: var(--container_size);
  margin: 0 auto;
  padding: 64px var(--swl-pad_container);
}
.page-section {
  margin-bottom: 64px;
}
.page-section:last-child {
  margin-bottom: 0;
}
.page-section__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #222;
  padding-bottom: 16px;
  margin-bottom: 32px;
  position: relative;
  text-align: center;
}
.page-section__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color_main);
  border-radius: 2px;
  margin: 16px auto 0;
}
.page-section__lead {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.9;
  margin-bottom: 32px;
}

/* サービスリスト */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.service-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.service-item:nth-child(even) {
  flex-direction: row-reverse;
}
.service-item__img {
  flex: 0 0 360px;
  aspect-ratio: 4/3;
  background: #e8e8e8;
  border-radius: var(--border_radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.85rem;
  overflow: hidden;
}
.service-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-item__img--photo {
  background: #f5f5f5;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.service-item--no-img:nth-child(even) { flex-direction: row; }
.service-item--no-img .service-item__body { width: 100%; }
/* サービス一覧 全カード共通 枠線・角丸・パディング */
.service-list > .service-item {
  border: 1px solid #eee;
  border-radius: var(--border_radius);
  padding: 28px 32px;
  gap: 28px;
}
.service-list > .service-item .service-item__img {
  border-radius: 8px;
  overflow: hidden;
}
/* 1番目・3番目（奇数）だけ背景色あり */
.service-list > .service-item:nth-child(odd) {
  background: #fafafa;
}
.service-item__body {
  flex: 1;
}
.service-item__num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color_main);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 4px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.service-item__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 12px;
}
.service-item__text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 16px;
}
.service-item__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-item__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color_accent);
  transition: color 0.3s;
}
.service-item__link:hover {
  color: #d45530;
}
.service-item__tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(253,210,61,0.15);
  color: #8a6d00;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
}

/* 料金テーブル */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.price-table th,
.price-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid #e0e0e0;
}
.price-table th {
  background: #f5f5f5;
  font-weight: 700;
  color: #222;
  width: 35%;
}
.price-table td {
  color: #444;
}
.price-table .price-em {
  color: var(--color_accent);
  font-weight: 700;
  font-size: 1.05rem;
}
.price-note {
  font-size: 0.8rem;
  color: #888;
  margin-top: 8px;
}

/* 施工事例グリッド */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.works-card {
  background: #fff;
  border-radius: var(--border_radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.works-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.works-card__img {
  aspect-ratio: 4/3;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.8rem;
  overflow: hidden;
}
.works-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.works-card__body {
  padding: 20px;
}
.works-card__tags {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.works-card__tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(253,210,61,0.15);
  color: #8a6d00;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 50px;
}
.works-card__tag--area {
  background: rgba(100,150,200,0.1);
  color: #4a7fb5;
}
.works-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
  line-height: 1.5;
}
.works-card__meta {
  font-size: 0.8rem;
  color: #888;
  display: flex;
  gap: 16px;
}
.works-card__desc {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.8;
  margin-top: 8px;
}
.works-card__note {
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #e0e0e0;
}

/* 写真なしカード */
.works-card--no-img {
  background: #fafafa;
  border: 1px solid #eee;
}
.works-card--no-img .works-card__body {
  padding: 28px 24px;
}
.works-card--no-img .works-card__title {
  font-size: 1.05rem;
}

/* 実績ピックアップ（写真あり大サイズ） */
.works-card--featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.works-card--featured .works-card__img {
  aspect-ratio: auto;
  min-height: 100%;
}
.works-card--featured .works-card__img img {
  min-height: 320px;
}
.works-card--featured .works-card__body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.works-card--featured .works-card__title {
  font-size: 1.3rem;
  line-height: 1.5;
  margin: 4px 0 12px;
}
.works-card--featured .works-card__desc {
  font-size: 0.95rem;
  line-height: 1.9;
}
.works-card__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.works-card__thumbs img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #eee;
}
@media (max-width: 959px) {
  .works-card--featured {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
  .works-card--featured .works-card__img img { min-height: auto; }
  .works-card--featured .works-card__body { padding: 24px; }
}
@media (max-width: 599px) {
  .works-card--featured { grid-column: span 1; }
  .works-card--featured .works-card__title { font-size: 1.1rem; }
  .works-card--featured .works-card__body { padding: 20px; }
}

/* 施工事例フィルター */
.works-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.works-filter__btn {
  padding: 8px 20px;
  border: 2px solid #ddd;
  background: #fff;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
}
.works-filter__btn.is-active,
.works-filter__btn:hover {
  border-color: var(--color_main);
  background: var(--color_main);
  color: #222;
}

/* 会社情報テーブル */
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
}
.company-table th {
  font-weight: 700;
  color: #222;
  width: 200px;
  background: #f9f9f9;
}
.company-table td {
  color: #444;
}

/* 代表挨拶（会社情報ページ） */
.greeting-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.greeting-wrap--no-photo {
  max-width: 820px;
  margin: 0 auto;
}
.greeting-photo {
  flex: 0 0 240px;
}
.greeting-photo__placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #e8e8e8, #f5f5f5);
  border-radius: var(--border_radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.85rem;
}
.greeting-body {
  flex: 1;
}
.greeting-body__name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 4px;
}
.greeting-body__role {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 20px;
}
.greeting-body__text {
  font-size: 0.9rem;
  line-height: 2;
  color: #444;
}
.greeting-body__text p {
  margin-bottom: 16px;
}

/* アクセス（Googleマップ埋め込み） */
.access-map {
  width: 100%;
  margin-top: 24px;
  border-radius: var(--border_radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  line-height: 0;
}
.access-map iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}
@media (max-width: 599px) {
  .access-map iframe { height: 340px; }
}

/* 流れセクション */
.flow-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.flow-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #e8e8e8;
  align-items: flex-start;
}
.flow-item:last-child {
  border-bottom: none;
}
.flow-item__step {
  flex: 0 0 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color_main);
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  line-height: 1;
}
.flow-item__step-label {
  font-size: 0.6rem;
  letter-spacing: 0.05em;
}
.flow-item__step-num {
  font-size: 1.2rem;
}
.flow-item__body {
  flex: 1;
}
.flow-item__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}
.flow-item__text {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.8;
}

/* ========================================
   アスベストページ専用
   ======================================== */
/* アラートボックス */
.asb-alert {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 32px;
  background: #fff3e0;
  border: 2px solid #e8633a;
  border-radius: var(--border_radius);
}
.asb-alert__icon {
  flex-shrink: 0;
  color: #e8633a;
  margin-top: 2px;
}
.asb-alert__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
  line-height: 1.6;
}
.asb-alert__text {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.8;
}

/* 目次 */
.asb-toc {
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: var(--border_radius);
  padding: 28px 32px;
}
.asb-toc__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
}
.asb-toc__list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.asb-toc__list li {
  font-size: 0.9rem;
  line-height: 1.6;
}
.asb-toc__list a {
  color: #3A8FB7;
  transition: color 0.3s;
}
.asb-toc__list a:hover {
  color: #e8633a;
}

/* 2カラムレイアウト */
.asb-two-col {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.asb-two-col__text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 2;
  color: #444;
}
.asb-two-col__text p {
  margin-bottom: 16px;
}
.asb-two-col__aside {
  flex: 0 0 280px;
}

/* インフォボックス */
.asb-infobox {
  background: #f5f0e0;
  border-radius: var(--border_radius);
  padding: 24px;
}
.asb-infobox__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}
.asb-infobox__list {
  padding-left: 16px;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.9;
}
.asb-infobox__list li {
  margin-bottom: 4px;
  list-style: disc;
}

/* リスクカード */
.asb-risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.asb-risk-card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: var(--border_radius);
  text-align: center;
}
.asb-risk-card__icon {
  color: #e8633a;
  margin-bottom: 12px;
}
.asb-risk-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}
.asb-risk-card__text {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.8;
  text-align: left;
}

/* アスベストページ 実例写真（大） */
.asb-hero-photos {
  padding: 0 !important;
  margin-bottom: 20px;
}
.asb-hero-photos__figure {
  margin: 0;
}
.asb-hero-photos__figure img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--border_radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.asb-hero-photos__figure figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
}

/* アスベストページ 2枚組ギャラリー */
.asb-photo-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.asb-photo-gallery figure { margin: 0; }
.asb-photo-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--border_radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.asb-photo-gallery figcaption {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #666;
  line-height: 1.7;
}
@media (max-width: 599px) {
  .asb-photo-gallery { grid-template-columns: 1fr; }
  .asb-hero-photos__figure img { max-height: 260px; }
}

/* 注意ボックス */
.asb-caution-box {
  padding: 24px 28px;
  background: #fff3e0;
  border-left: 4px solid #e8633a;
  border-radius: 0 var(--border_radius) var(--border_radius) 0;
}
.asb-caution-box--info {
  background: #e8f4fd;
  border-left-color: #3A8FB7;
}
.asb-caution-box__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}
.asb-caution-box__text {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.9;
}

/* タイムライン */
.asb-timeline {
  position: relative;
  padding-left: 120px;
}
.asb-timeline::before {
  content: "";
  position: absolute;
  left: 100px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #ddd;
}
.asb-timeline__item {
  position: relative;
  padding: 0 0 32px 32px;
}
.asb-timeline__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ddd;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #ddd;
}
.asb-timeline__item--highlight::before {
  background: #e8633a;
  box-shadow: 0 0 0 2px #e8633a;
}
.asb-timeline__year {
  position: absolute;
  left: -120px;
  top: 0;
  width: 80px;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 800;
  color: #222;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.asb-timeline__item--highlight .asb-timeline__year {
  color: #e8633a;
}
.asb-timeline__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}
.asb-timeline__text {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
}

/* チェックグリッド */
.asb-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.asb-check-item {
  display: flex;
  gap: 14px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: var(--border_radius);
  align-items: flex-start;
  transition: box-shadow 0.3s;
}
.asb-check-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.asb-check-item__icon {
  flex-shrink: 0;
  color: var(--color_main);
  margin-top: 2px;
}
.asb-check-item__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}
.asb-check-item__text {
  font-size: 0.83rem;
  color: #555;
  line-height: 1.8;
}

/* 建材カード */
.asb-building-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.asb-building-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: var(--border_radius);
  overflow: hidden;
}
.asb-building-card__header {
  padding: 14px 20px;
  background: #222;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}
.asb-building-card__list {
  padding: 20px 20px 8px;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.8;
  list-style: disc;
  padding-left: 36px;
}
.asb-building-card__list li {
  margin-bottom: 4px;
}
.asb-building-card__note {
  padding: 8px 20px 16px;
  font-size: 0.78rem;
  color: #888;
}

/* 中間CTA */
.asb-mid-cta {
  margin: 48px 0;
  padding: 40px 32px;
  background: linear-gradient(135deg, #f5f0e0, #fef8dc);
  border-radius: var(--border_radius);
  text-align: center;
}
.asb-mid-cta__text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
}
.asb-mid-cta__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.asb-mid-cta__btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.3s;
}
.asb-mid-cta__btn--phone {
  background: #fff;
  color: #222;
  border: 2px solid var(--color_main);
}
.asb-mid-cta__btn--phone:hover {
  background: var(--color_main);
}
.asb-mid-cta__btn--form {
  background: var(--color_accent);
  color: #fff;
}
.asb-mid-cta__btn--form:hover {
  background: #d45530;
  color: #fff;
}

/* 強みカード */
.asb-strength-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.asb-strength-card {
  padding: 32px 28px;
  background: #fff;
  border: 2px solid var(--color_main);
  border-radius: var(--border_radius);
}
.asb-strength-card__num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color_main);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 8px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.asb-strength-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 10px;
}
.asb-strength-card__text {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.9;
}

/* FAQ */
.asb-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.asb-faq-item {
  border: 1px solid #e8e8e8;
  border-radius: var(--border_radius);
  overflow: hidden;
}
.asb-faq-item__q {
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  cursor: pointer;
  background: #fff;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.asb-faq-item__q::before {
  content: "Q.";
  color: var(--color_accent);
  font-weight: 800;
  margin-right: 8px;
}
.asb-faq-item__q::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #999;
  transition: transform 0.3s;
}
.asb-faq-item[open] .asb-faq-item__q::after {
  content: "−";
}
.asb-faq-item__q::-webkit-details-marker {
  display: none;
}
.asb-faq-item__a {
  padding: 0 24px 20px 24px;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.9;
  background: #fafafa;
  border-top: 1px solid #e8e8e8;
  padding-top: 16px;
}

/* ========================================
   お問い合わせページ
   ======================================== */
.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 16px;
}
.contact-method {
  text-align: center;
  padding: 48px 32px;
  border-radius: var(--border_radius);
  border: 2px solid #e0e0e0;
  transition: transform 0.3s, box-shadow 0.3s;
}
.contact-method:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.contact-method--phone {
  background: #fff;
  border-color: var(--color_main);
}
.contact-method--form {
  background: #fff;
  border-color: var(--color_accent);
}
.contact-method__icon {
  margin-bottom: 16px;
  color: #555;
}
.contact-method--phone .contact-method__icon {
  color: #8a6d00;
}
.contact-method--form .contact-method__icon {
  color: var(--color_accent);
}
.contact-method__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 12px;
}
.contact-method__desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 24px;
}
.contact-method__number {
  display: inline-block;
  font-size: 2rem;
  font-weight: 900;
  color: #222;
  letter-spacing: 0.02em;
  font-family: "Helvetica Neue", Arial, sans-serif;
  transition: color 0.3s;
}
.contact-method__number:hover {
  color: #8a6d00;
}
.contact-method__hours {
  font-size: 0.8rem;
  color: #888;
  margin-top: 8px;
}
.contact-method__btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--color_accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  transition: background 0.3s, transform 0.2s;
}
.contact-method__btn:hover {
  background: #d45530;
  color: #fff;
  transform: translateY(-2px);
}

/* フォーム */
.contact-form-wrap {
  max-width: 680px;
  margin: 0 auto;
}
.contact-form__note {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 32px;
  text-align: center;
}
.contact-form__required-mark {
  color: var(--color_accent);
  font-weight: 700;
}
.smf-placeholder__info {
  background: #f5f5f5;
  padding: 16px 20px;
  border-radius: var(--border_radius);
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 32px;
  text-align: center;
  border: 1px dashed #ccc;
}
.smf-placeholder__info code {
  background: #e8e8e8;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.8rem;
}
.smf-form__row {
  margin-bottom: 24px;
}
.smf-form__row--center {
  text-align: center;
  margin-top: 8px;
}
.smf-form__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}
.smf-form__required {
  color: var(--color_accent);
  font-size: 0.8rem;
  font-weight: 700;
}
.smf-form__input,
.smf-form__select,
.smf-form__textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9rem;
  border: 2px solid #ddd;
  border-radius: var(--border_radius);
  background: #fff;
  transition: border-color 0.3s;
  font-family: inherit;
  color: #222;
}
.smf-form__input:focus,
.smf-form__select:focus,
.smf-form__textarea:focus {
  outline: none;
  border-color: var(--color_main);
}
.smf-form__textarea {
  resize: vertical;
  min-height: 120px;
}
.smf-form__submit {
  display: inline-block;
  padding: 16px 64px;
  background: var(--color_accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.smf-form__submit:hover {
  background: #d45530;
  transform: translateY(-2px);
}

/* ========================================
   レスポンシブ（タブレット: 959px）
   ======================================== */
@media (max-width: 959px) {
  :root {
    --header_height: 64px;
  }
  .l-header__right { display: none; }
  .l-header__inner {
    position: relative;
    padding: 0 14px !important;
    align-items: center !important;
    display: flex !important;
  }
  .l-header__logo {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: auto !important;
  }
  .c-headLogo {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
  }
  .c-headLogo img {
    height: 40px !important;
    width: auto !important;
    max-height: 40px !important;
    min-height: 40px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .p-hamburger {
    display: flex !important;
  }
  .p-spMenu { display: block; }
  .p-spMenu__overlay { display: block; }

  .page-hero { height: 280px; }
  .page-hero__title { font-size: 1.8rem; }

  .p-mainVisual { height: calc(100vh - var(--header_height)); min-height: 400px; }
  .mv-copy__catch { font-size: 2rem; }
  .mv-copy__sub { font-size: 1rem; }
  .mv-logo-mark img { height: 100px; }

  .quote-band__text { font-size: 1rem; }
  .quote-band__strong { font-size: 1.15rem; }

  .philosophy-grid { grid-template-columns: repeat(2, 1fr); }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .concept-wrap { flex-direction: column; }
  .concept-img { flex: none; width: 100%; }
  .qualification__list { grid-template-columns: 1fr; }
  .service-grid, .service-grid--4col { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .reason-grid { grid-template-columns: repeat(2, 1fr); }

  .omoi-wrap { flex-direction: column; }
  .omoi-photo { flex: none; width: 100%; max-width: 320px; margin: 0 auto; }
  .omoi-photo__placeholder { aspect-ratio: 1/1; }

  .asbestos-banner__inner { flex-direction: column; }
  .asbestos-banner__visual { flex: none; width: 100%; max-width: 400px; }
  .asbestos-banner__title { font-size: 1.5rem; }

  .service-item { flex-direction: column !important; }
  .service-item__img { flex: none; width: 100%; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .greeting-wrap { flex-direction: column; }
  .greeting-photo { flex: none; width: 100%; max-width: 240px; margin: 0 auto; }
  .company-table th { width: 160px; }
  .contact-methods { grid-template-columns: 1fr; }
  .asb-two-col { flex-direction: column; }
  .asb-two-col__aside { flex: none; width: 100%; }
  .asb-risk-grid { grid-template-columns: 1fr; }
  .asb-check-grid { grid-template-columns: 1fr; }
  .asb-building-grid { grid-template-columns: 1fr; }
  .asb-strength-grid { grid-template-columns: 1fr; }
  .asb-timeline { padding-left: 80px; }
  .asb-timeline::before { left: 60px; }
  .asb-timeline__year { left: -80px; width: 55px; font-size: 0.8rem; }

  .area-wrap { flex-direction: column; }
  .area-map { flex: none; width: 100%; }

  .l-footer__inner { flex-direction: column; gap: 32px; }
  .footer-brand { flex: none; }
}

/* ========================================
   レスポンシブ（スマホ: 599px）
   ======================================== */
@media (max-width: 599px) {
  :root {
    --header_height: 56px;
  }
  .l-header__inner { padding: 0 12px; }
  .c-headLogo img { height: 36px; }
  .section { padding: 56px 0; }
  .section__heading-ja { font-size: 1.4rem; }
  .section__lead { font-size: 0.85rem; }

  .sp-only { display: inline; }

  .p-mainVisual { height: calc(100vh - var(--header_height)); min-height: 380px; }
  .mv-copy__tagline { font-size: 0.75rem; padding: 3px 12px; }
  .mv-copy__catch { font-size: 1.5rem; }
  .mv-copy__sub { font-size: 0.85rem; }
  .mv-copy__btn { padding: 14px 28px; font-size: 0.9rem; }
  .mv-logo-mark { bottom: 70px; right: 4%; }
  .mv-logo-mark img { height: 80px; }
  .p-mainVisual__dots { bottom: 16px; }

  .quote-band { padding: 20px 0; }
  .quote-band__text { font-size: 0.9rem; }
  .quote-band__strong { font-size: 1.05rem; }
  .quote-band--secondary .quote-band__text { font-size: 0.9rem; }
  .quote-band--secondary .quote-band__strong { font-size: 1rem; }

  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-card__num { font-size: 2.5rem; }
  .section--philosophy { padding: 64px 0; }
  .topics-grid { grid-template-columns: 1fr; }
  .topics-tab { padding: 6px 16px; font-size: 0.8rem; }

  .mv-badges { gap: 6px; }
  .mv-badge { font-size: 0.65rem; padding: 3px 10px; }

  .concept-text__lead { font-size: 1.2rem; }
  .qualification { margin-top: 40px; padding-top: 36px; }
  .service-grid, .service-grid--4col { grid-template-columns: 1fr; }
  .service-grid, .service-grid--4col { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .reason-grid { grid-template-columns: 1fr; }
  .omoi-block__title { font-size: 1.1rem; }

  .asbestos-banner { padding: 56px 0; }
  .asbestos-banner__title { font-size: 1.3rem; }
  .asbestos-banner__point { font-size: 0.8rem; }

  .cta-band__quote { font-size: 1.1rem; }
  .cta-band__title { font-size: 1.2rem; }
  .cta-band__btn { padding: 14px 32px; font-size: 0.95rem; }

  .footer-nav { flex-direction: column; gap: 24px; }

  .works-grid { grid-template-columns: 1fr; }
  .page-hero { height: 220px; }
  .page-hero__title { font-size: 1.5rem; }
  .page-section__title { font-size: 1.2rem; }
  .company-table th { width: 120px; font-size: 0.8rem; }
  .company-table td { font-size: 0.8rem; }
  .price-table th, .price-table td { padding: 10px 12px; font-size: 0.8rem; }
}


@charset "UTF-8";
/* ========================================
   代表の想い 専用CSS
   ======================================== */

/* --- パンくず --- */
.p-breadcrumb {
  background: #f5f5f5;
  padding: 12px 0;
}
.p-breadcrumb__list {
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
  color: #888;
  list-style: none;
}
.p-breadcrumb__item a {
  color: #666;
  transition: color 0.3s;
}
.p-breadcrumb__item a:hover {
  color: var(--color_main);
}
.p-breadcrumb__item + .p-breadcrumb__item::before {
  content: ">";
  margin-right: 8px;
  color: #ccc;
}

/* --- 代表紹介リード --- */
.omoi-intro {
  padding: 80px 0;
}
.omoi-intro__wrap {
  display: flex;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.omoi-intro__wrap--no-photo {
  max-width: 720px;
  text-align: center;
}
.omoi-intro__wrap--no-photo .omoi-intro__name { justify-content: center; }

/* 愛犬「うどん」セクション */
.omoi-udon {
  padding: 70px 0 90px;
}
.omoi-udon__inner {
  max-width: 820px;
  margin: 0 auto;
  background: #fffbea;
  border-radius: var(--border_radius);
  padding: 44px 48px;
  display: flex;
  gap: 36px;
  align-items: center;
}
.omoi-udon__photos {
  flex: 0 0 260px;
  display: grid;
  gap: 10px;
}
.omoi-udon__photos img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--border_radius);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.omoi-udon__text { flex: 1; }
.omoi-udon__label {
  display: inline-block;
  background: var(--color_main);
  color: #222;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.omoi-udon__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 14px;
  line-height: 1.5;
}
.omoi-udon__body {
  font-size: 0.95rem;
  line-height: 1.95;
  color: #444;
}
@media (max-width: 720px) {
  .omoi-udon__inner { flex-direction: column; padding: 28px 22px; text-align: center; }
  .omoi-udon__photos { flex: none; width: 80%; grid-template-columns: 1fr 1fr; }
  .omoi-udon__photos img { aspect-ratio: 1/1; }
  .omoi-udon__title { font-size: 1.2rem; }
}
.omoi-intro__photo {
  flex: 0 0 260px;
}
.omoi-intro__photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: #e8e8e8;
  border-radius: var(--border_radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
}
.omoi-intro__text {
  flex: 1;
}
.omoi-intro__name {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}
.omoi-intro__name-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #888;
  padding: 2px 10px;
  background: var(--color_light_gray);
  border-radius: 3px;
}
.omoi-intro__name-main {
  font-size: 1.8rem;
  font-weight: 900;
  color: #222;
  letter-spacing: 0.1em;
}
.omoi-intro__lead {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.7;
  color: #222;
  margin-bottom: 16px;
}
.omoi-intro__body {
  font-size: 0.95rem;
  line-height: 2;
  color: #555;
}

/* --- 想いセクション共通 --- */
.omoi-section {
  padding: 72px 0;
}
.omoi-section--alt {
  background: var(--color_warm_bg);
}
.omoi-section__inner {
  max-width: 800px;
  margin: 0 auto;
}
.omoi-section__num {
  font-size: 4rem;
  font-weight: 900;
  color: var(--color_main);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 8px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.omoi-section__title {
  margin-bottom: 32px;
}
.omoi-section__title-ja {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: #222;
  line-height: 1.5;
  margin-bottom: 4px;
}
.omoi-section__title-en {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color_main);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.omoi-section__body p {
  font-size: 1rem;
  line-height: 2.2;
  color: #444;
  margin-bottom: 24px;
}

/* 強調引用ブロック */
.omoi-section__highlight {
  padding: 24px 28px;
  background: #fff;
  border-left: 4px solid var(--color_main);
  border-radius: 0 var(--border_radius) var(--border_radius) 0;
  margin: 32px 0;
}
.omoi-section--alt .omoi-section__highlight {
  background: #fff;
}
.omoi-section__highlight p {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 2;
  color: #222;
  margin-bottom: 0;
}
.omoi-section__highlight--strong {
  background: var(--color_main);
  border-left-color: #b8860b;
}
.omoi-section__highlight--strong p {
  color: #222;
}
.omoi-section__highlight--strong p br + br {
  display: none;
}

/* --- 最後のメッセージ --- */
.omoi-closing {
  padding: 80px 0;
  background: #222222;
}
.omoi-closing__inner {
  text-align: center;
}
.omoi-closing__character {
  margin-bottom: 28px;
}
.omoi-closing__character img {
  height: 120px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.omoi-closing__text {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 16px;
}
.omoi-closing__strong {
  font-size: 2rem;
  color: var(--color_main);
  display: block;
  margin-top: 8px;
}
.omoi-closing__name {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
}

/* --- ナビ現在地ハイライト --- */
.c-gnav__item > a.is-current {
  color: var(--color_main);
}
.c-gnav__item > a.is-current::after {
  transform: translateX(-50%) scaleX(1);
}

/* ========================================
   レスポンシブ（タブレット: 959px）
   ======================================== */
@media (max-width: 959px) {
  .omoi-intro__wrap { flex-direction: column; text-align: center; }
  .omoi-intro__photo { flex: none; width: 200px; margin: 0 auto; }
  .omoi-intro__name { justify-content: center; }
  .omoi-intro__lead { font-size: 1.15rem; }
}

/* ========================================
   レスポンシブ（スマホ: 599px）
   ======================================== */
@media (max-width: 599px) {
  .omoi-intro { padding: 56px 0; }
  .omoi-intro__photo { width: 160px; }
  .omoi-intro__name-main { font-size: 1.4rem; }
  .omoi-intro__lead { font-size: 1.05rem; }

  .omoi-section { padding: 56px 0; }
  .omoi-section__num { font-size: 3rem; }
  .omoi-section__title-ja { font-size: 1.3rem; }
  .omoi-section__body p { font-size: 0.9rem; }
  .omoi-section__highlight { padding: 20px 20px; }
  .omoi-section__highlight p { font-size: 0.95rem; }

  .omoi-closing { padding: 56px 0; }
  .omoi-closing__text { font-size: 1.25rem; }
  .omoi-closing__strong { font-size: 1.5rem; }
  .omoi-closing__character img { height: 90px; }
}


/* ========================================
   SWELL親テーマCSS競合解消（!important）
   SWELLのmain-visual--slider.css等を上書き
   ======================================== */
.p-mainVisual__textLayer {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  margin: 0 !important;
}
.p-mainVisual__slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
}
.p-mainVisual__textInner {
  transform: none !important;
  position: static !important;
}
.p-mainVisual {
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
}
.p-mainVisual__slider {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}
/* SWELLのフッター上書き解消 */
#footer.l-footer {
  background: transparent !important;
}
.l-footer__info {
  background: #d8d8d8 !important;
}
/* SWELLのbody_wrap影響排除 */
body {
  overflow-x: clip !important;
}
/* SWELLのletter-spacingがページによって差異（固定ページ:normal / 投稿:0.8px）が出ないよう統一 */
html,
body,
.l-header,
.l-header *,
.l-footer,
.l-footer * {
  letter-spacing: normal !important;
}

/* ========================================
   SPメニュー CSS-only checkbox方式
   ======================================== */
.sp-menu-toggle {
  display: none !important;
}
/* ハンバーガーボタン（label） */
.p-hamburger {
  display: none;
  width: 44px;
  height: 44px !important;
  position: fixed !important;
  right: 16px !important;
  top: 28px !important;
  z-index: 1100 !important;
  cursor: pointer;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  -webkit-tap-highlight-color: transparent;
}
.p-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #222;
  transition: all 0.3s;
  pointer-events: none;
}
/* チェック時のハンバーガーアニメーション */
#sp-menu-toggle:checked ~ .p-hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
#sp-menu-toggle:checked ~ .p-hamburger span:nth-child(2) { opacity: 0; }
#sp-menu-toggle:checked ~ .p-hamburger span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
/* チェック時のオーバーレイ */
.p-spMenu__overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.4s;
  cursor: pointer;
  pointer-events: none !important;
}
#sp-menu-toggle:checked ~ .p-spMenu__overlay {
  opacity: 1;
  pointer-events: auto !important;
}
/* チェック時のSPメニュー */
.p-spMenu {
  display: none;
  position: fixed !important;
  top: 0 !important;
  right: -100% !important;
  left: auto !important;
  width: 80% !important;
  max-width: 360px !important;
  height: 100vh !important;
  background: #fff !important;
  z-index: 1050 !important;
  padding: 80px 30px 40px !important;
  transition: right 0.4s ease, visibility 0s linear 0.4s !important;
  overflow-y: auto !important;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1) !important;
  visibility: hidden !important;
  transform: translateX(0) !important;
  opacity: 1 !important;
}
#sp-menu-toggle:checked ~ .p-spMenu {
  right: 0 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition: right 0.4s ease, visibility 0s linear 0s !important;
}
#sp-menu-toggle:checked ~ .p-spMenu * {
  pointer-events: auto !important;
}
/* タブレット以下で表示 */
@media (max-width: 959px) {
  .p-hamburger { display: flex !important; }
  .p-spMenu { display: block; }
  .p-spMenu__overlay { display: block; }
  /* WP管理バー表示時のハンバーガー位置補正 */
  .admin-bar .p-hamburger {
    top: 28px !important;
  }
}

/* ========================================
   Snow Monkey Forms スタイル
   ======================================== */
.snow-monkey-form {
  max-width: 720px;
  margin: 0 auto;
}
.smf-form--letter .smf-item {
  margin-bottom: 28px;
}
.smf-item__col--label {
  margin-bottom: 8px;
}
.smf-item__label__text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
}
.smf-item__description {
  font-size: 0.82rem;
  color: #888;
  margin-top: 4px;
}
.smf-text-control__control,
.smf-textarea-control__control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.smf-text-control__control:focus,
.smf-textarea-control__control:focus {
  outline: none;
  border-color: var(--color_main, #FDD23D);
  box-shadow: 0 0 0 3px rgba(253, 210, 61, 0.2);
}
.smf-textarea-control__control {
  min-height: 160px;
  resize: vertical;
}
.smf-placeholder {
  font-size: 0.85rem;
  color: #aaa;
}
/* 送信ボタン */
.smf-action {
  text-align: center;
  margin-top: 36px;
}
.smf-button-control__control {
  display: inline-block;
  padding: 16px 56px;
  background: var(--color_accent, #E8633A);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.smf-button-control__control:hover {
  background: #d45530;
  transform: translateY(-2px);
}
/* バリデーションエラー */
.smf-error-messages {
  color: #e53935;
  font-size: 0.82rem;
  margin-top: 6px;
}
/* 完了メッセージ */
.smf-complete-content {
  text-align: center;
  padding: 48px 24px;
  font-size: 1.1rem;
  line-height: 2;
}

/* ========================================
   現場日誌（投稿一覧・個別）
   ======================================== */
/* 一覧グリッド */
.diary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.diary-card {
  background: #fff;
  border-radius: var(--border_radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.diary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.diary-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.diary-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f5f5f5;
}
.diary-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.diary-card__img img.diary-card__img--noimg {
  object-fit: contain;
  padding: 20%;
  opacity: 0.3;
}
.diary-card:hover .diary-card__img img {
  transform: scale(1.05);
}
.diary-card__body {
  padding: 20px 22px 24px;
}
.diary-card__date {
  font-size: 0.85rem;
  color: #888;
  font-weight: 600;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.diary-card__cat {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  background: rgba(253,210,61,0.15);
  color: #8a6d00;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 50px;
  vertical-align: middle;
}
.diary-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin: 8px 0 10px;
  line-height: 1.55;
}
.diary-card__excerpt {
  font-size: 0.87rem;
  color: #555;
  line-height: 1.8;
}
.diary-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: #888;
  font-size: 0.95rem;
}
/* ページネーション */
.diary-pagination {
  text-align: center;
  margin-top: 48px;
}
.diary-pagination .page-numbers {
  display: inline-block;
  min-width: 40px;
  height: 40px;
  line-height: 40px;
  padding: 0 10px;
  margin: 0 3px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #555;
  font-weight: 600;
  text-decoration: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
  transition: all 0.2s;
}
.diary-pagination .page-numbers:hover {
  background: var(--color_main, #FDD23D);
  border-color: var(--color_main, #FDD23D);
  color: #222;
}
.diary-pagination .page-numbers.current {
  background: var(--color_main, #FDD23D);
  border-color: var(--color_main, #FDD23D);
  color: #222;
}

/* 個別投稿ページ */
.diary-single {
  max-width: 820px;
  margin: 0 auto;
}
.diary-single__header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid #eee;
}
.diary-single__date {
  font-size: 0.95rem;
  color: #888;
  font-weight: 600;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.diary-single__cat {
  display: inline-block;
  margin-left: 12px;
  padding: 3px 12px;
  background: rgba(253,210,61,0.2);
  color: #8a6d00;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  vertical-align: middle;
}
.diary-single__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #222;
  margin-top: 12px;
  line-height: 1.5;
}
.diary-single__body {
  font-size: 1rem;
  line-height: 2;
  color: #333;
}
.diary-single__body p { margin-bottom: 1.5em; }
.diary-single__body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #222;
  margin: 2em 0 1em;
  padding: 14px 20px;
  background: #fffbea;
  border-left: 5px solid var(--color_main, #FDD23D);
  border-radius: 0 6px 6px 0;
}
.diary-single__body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  margin: 1.6em 0 0.8em;
  padding-left: 14px;
  border-left: 4px solid var(--color_main, #FDD23D);
}
.diary-single__body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 20px 0;
}
.diary-single__body ul,
.diary-single__body ol {
  margin: 1em 0 1.5em 1.5em;
}
.diary-single__body blockquote {
  margin: 24px 0;
  padding: 20px 28px;
  background: #f9f9f9;
  border-left: 4px solid var(--color_main, #FDD23D);
  color: #555;
  font-style: italic;
}
/* タグ */
.diary-single__tags {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.diary-single__tag {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 4px 12px;
  background: #f0f0f0;
  color: #666;
  font-size: 0.82rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s;
}
.diary-single__tag:hover {
  background: var(--color_main, #FDD23D);
  color: #222;
}
/* 前後ナビ */
.diary-single__nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 2px solid #eee;
  align-items: stretch;
}
.diary-single__nav-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s;
  font-size: 0.85rem;
}
.diary-single__nav-btn:hover {
  background: var(--color_main, #FDD23D);
  border-color: var(--color_main, #FDD23D);
  color: #222;
}
.diary-single__nav-btn--prev { text-align: left; }
.diary-single__nav-btn--next { text-align: right; }
.diary-single__nav-btn .arrow {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}
.diary-single__nav-btn .label {
  font-size: 0.75rem;
  color: #888;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.diary-single__nav-btn .title {
  font-size: 0.85rem;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.diary-single__nav-btn--list {
  padding: 18px 24px;
  background: var(--color_main, #FDD23D);
  color: #222;
  font-weight: 700;
  border-radius: 50px;
  text-align: center;
  align-self: center;
  font-size: 0.9rem;
}
.diary-single__nav-btn--list:hover {
  background: #e8c232;
  color: #222;
}

@media (max-width: 959px) {
  .diary-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .diary-single__title { font-size: 1.4rem; }
  .diary-single__nav { grid-template-columns: 1fr; }
  .diary-single__nav-btn--list { order: -1; }
}
@media (max-width: 599px) {
  .diary-grid { grid-template-columns: 1fr; gap: 20px; }
  .diary-card__body { padding: 16px 18px 20px; }
  .diary-card__title { font-size: 1rem; }
  .diary-single__title { font-size: 1.2rem; }
  .diary-single__body { font-size: 0.95rem; }
}

/* ========================================
   TOP 現場日誌セクション（最新5件）
   ======================================== */
.top-diary-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.top-diary-card {
  background: #fff;
  border-radius: var(--border_radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.top-diary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.top-diary-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.top-diary-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f5f5f5;
}
.top-diary-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.top-diary-card__img img.top-diary-card__img--noimg {
  object-fit: contain;
  padding: 20%;
  opacity: 0.25;
}
.top-diary-card:hover .top-diary-card__img img {
  transform: scale(1.05);
}
.top-diary-card__body {
  padding: 14px 16px 18px;
}
.top-diary-card__date {
  font-size: 0.75rem;
  color: #888;
  font-weight: 600;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.top-diary-card__cat {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  background: rgba(253,210,61,0.18);
  color: #8a6d00;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 50px;
  vertical-align: middle;
}
.top-diary-card__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #222;
  margin: 6px 0 0;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 1件目だけ大きく表示 */
.top-diary-card:first-child .top-diary-card__body {
  padding: 20px 24px 24px;
}
.top-diary-card:first-child .top-diary-card__title {
  font-size: 1.15rem;
  line-height: 1.55;
  -webkit-line-clamp: 3;
}
.top-diary-card:first-child .top-diary-card__date {
  font-size: 0.85rem;
}
/* もっと見るボタン */
.top-diary__more {
  text-align: center;
}
.top-diary__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 44px;
  background: #fff;
  color: #222;
  border: 2px solid #222;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}
.top-diary__more-btn:hover {
  background: var(--color_main, #FDD23D);
  border-color: var(--color_main, #FDD23D);
  color: #222;
}
.top-diary__more-btn .arrow {
  transition: transform 0.3s;
}
.top-diary__more-btn:hover .arrow {
  transform: translateX(4px);
}

@media (max-width: 959px) {
  .top-diary-grid {
    grid-template-columns: 1fr 1fr;
  }
  .top-diary-card:first-child {
    grid-column: span 2;
  }
  .top-diary-card:first-child .top-diary-card__img {
    aspect-ratio: 16/9;
  }
}
@media (max-width: 599px) {
  .top-diary-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .top-diary-card:first-child {
    grid-column: span 1;
  }
  .top-diary-card:first-child .top-diary-card__title {
    font-size: 1rem;
  }
}

/* ========================================
   投稿本文の画像ライトボックス（モーダル）
   ======================================== */
.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  box-sizing: border-box;
}
.image-modal.is-open {
  display: flex;
  animation: imageModalFadeIn 0.2s ease;
}
@keyframes imageModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.image-modal__inner {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.image-modal__img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  background: #fff;
}
.image-modal__counter {
  color: #ddd;
  font-size: 0.85rem;
  margin-top: 14px;
  letter-spacing: 0.05em;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
/* 共通ボタン */
.image-modal__close,
.image-modal__prev,
.image-modal__next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.image-modal__close:hover,
.image-modal__prev:hover,
.image-modal__next:hover {
  background: rgba(255, 255, 255, 0.25);
}
/* 閉じるボタン */
.image-modal__close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
}
/* 前後ボタン */
.image-modal__prev,
.image-modal__next {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  font-size: 2rem;
  line-height: 1;
}
.image-modal__prev:hover,
.image-modal__next:hover {
  transform: translateY(-50%) scale(1.1);
}
.image-modal__prev { left: 16px; }
.image-modal__next { right: 16px; }

/* 投稿本文の画像にホバー演出 */
.diary-single__body img {
  transition: opacity 0.2s, transform 0.2s;
}
.diary-single__body img:hover {
  opacity: 0.92;
}

@media (max-width: 599px) {
  .image-modal { padding: 50px 10px; }
  .image-modal__img { max-height: calc(100vh - 100px); }
  .image-modal__close { width: 40px; height: 40px; top: 10px; right: 10px; font-size: 1.4rem; }
  .image-modal__prev,
  .image-modal__next { width: 40px; height: 40px; font-size: 1.6rem; }
  .image-modal__prev { left: 8px; }
  .image-modal__next { right: 8px; }
}
