@charset "utf-8";
/*
Theme Name: F-NEXT
Theme URI: https://fnext7203.com/
Author: CMS
Description: F-NEXTのwordpressテーマ
Version: 1.0.0
Text Domain: fnext
*/

/* ===== CSS変数定義 ===== */
:root {
  /* カラー */
  --main-color: #875C44;
  --sub-color: #6a4404;
  --sub-color-2: #f5f5f5;
  --accent-color: var(--main-color);
  --cta-color: var(--main-color);
  --bg-color: #ffffff;
  --bg-color-gray: #f5f5f5;
  --bg-color-gray-light: #f5f5f5;
  --txt-color: #4C444D;
  --txt-color-dark: #6a4404;
  --txt-color-darker: var(--txt-color);
  --txt-color-white: #fff;
  --link-color: #fff;
  --border-color: #e0e0e0;

  /* 既存スタイル互換用エイリアス */
  --color-accent: var(--main-color);
  --color-brown-dark: var(--txt-color-dark);
  --color-gray-light: var(--bg-color-gray-light);
  --color-gray-border: var(--border-color);

  /* 背景色（rgba） */
  --bg-overlay: rgba(106, 68, 4, 0.35);

  /* レイアウト幅 */
  --max-width-container: 2000px;
  --max-width-inner: 1100px;
  --max-width-content: 1500px;

  /* 余白・間隔 */
  --gap-xs: 5px;
  --gap-sm: 10px;
  --gap-md: 20px;
  --gap-lg: 25px;
  --gap-xl: 30px;
  --gap-2xl: 40px;
  --gap-3xl: 60px;
  --padding-section: 50px;
  --padding-section-lg: 100px;
  --padding-inner: 120px;
  --padding-news-h: 200px;

  /* その他 */
  --border-radius-button: 63px;
  --border-radius-button-sm: 100px;
  --border-radius-section: 50px;
  --border-radius-header: 70px;
  --border-radius-card: 20px;
}

html {
  font-size: 16px;
}

/* ===== Reset (minimal) ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0 auto;
  padding: 0;
}

/* ブラウザ既定のマージンを整理 */
p,
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
figure,
figcaption,
pre,
dl,
dd,
hr {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
main{
  max-width: var(--max-width-container);
  margin: 0 auto;
}
/* ===== Base ===== */
body {
  font-family: 'Noto Sans JP', 'Noto Sans CJK JP', sans-serif;
  color: var(--txt-color);
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: var(--link-color);
  transition: 0.3s ease;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

br.sp-only {
  display: none;
}

/* ===== Common ===== */
.section-inner {
  width: 100%;
  max-width: var(--max-width-inner);
  margin: 0 auto;
}
.section-padding{
  padding: var(--padding-section) 0;
}
.section-content{
  max-width: var(--max-width-content);
  width: 100%;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-sm);
  padding: 12.5px 30px;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--border-radius-button);
  background: var(--color-accent);
  color: var(--link-color);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.36;
  letter-spacing: 0.03em;
}

/* ===== Header ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent;
  transition: background 0.35s ease;
}

#header .header-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width-container);
  margin: 0 auto;
  padding-right: 50px;
}

#header .header-logo {
  margin: 0;
}

#header .header-logo a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-sm);
  padding: 35px 33px;
  background: var(--link-color);
  border-radius: 0 0 var(--border-radius-header) 0;
  transition:
    padding 0.35s ease,
    background 0.35s ease,
    border-radius 0.35s ease;
}

#header .logo-text {
  font-size: 8.95px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--color-brown-dark);
}

#header .header-logo img {
  width: 125px;
  height: auto;
  transition: width 0.35s ease;
}

#header .header-nav {
  display: flex;
  align-items: center;
  gap: var(--gap-xl);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.36;
  letter-spacing: 0.03em;
  color: var(--link-color);
  transition: color 0.35s ease;
}

#header .header-nav ul {
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
}

#header .header-nav ul a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  padding-bottom: 4px;
  transition: color 0.35s ease;
}

#header .header-nav ul a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#header .header-nav ul a:hover::after,
#header .header-nav ul a:focus-visible::after {
  transform: scaleX(1);
}

#header .header-nav ul a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

#header .header-nav ul a[aria-current='page']::after {
  transform: scaleX(1);
}

#header .menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: var(--bg-color);
  cursor: pointer;
  position: relative;
  z-index: 10;
}

#header .menu-toggle span {
  display: block;
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2px;
  margin: 0;
  background: var(--color-accent);
  transform: translateX(-50%);
  transition:
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease;
}

#header .menu-toggle span:nth-child(1) {
  top: 14px;
}

#header .menu-toggle span:nth-child(2) {
  top: 21px;
}

#header .menu-toggle span:nth-child(3) {
  top: 28px;
}

#header .menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateX(-50%) translateY(7px) rotate(45deg);
}

#header .menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

#header .menu-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateX(-50%) translateY(-7px) rotate(-45deg);
}

#header .btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-sm);
  padding: 15px 50px;
  border: 1.5px solid var(--color-accent);
  background: var(--color-accent);
  color: var(--bg-color);
  border-radius: var(--border-radius-button-sm);
}

#header .btn-contact:hover {
  background: var(--bg-color);
  color: var(--color-accent);
}

#header .btn-contact img {
  width: 16.49px;
  height: 16.49px;
}

/* PC: スクロール後はヘッダー全体をうっすら白・ロゴは背景なしでコンパクトに */
@media (min-width: 769px) {
  #header.is-scrolled {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(106, 68, 4, 0.08);
  }

  #header.is-scrolled .header-inner {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-right: 0;
  }

  #header.is-scrolled .header-logo a {
    gap: 0;
    padding: 6px 14px;
    background: transparent;
    border-radius: 0;
  }

  #header.is-scrolled .header-logo img {
    width: 104px;
  }

  #header.is-scrolled .header-nav {
    color: var(--main-color);
  }

  #header.is-scrolled .header-nav ul a {
    color: var(--main-color);
  }

  #header.is-scrolled .btn-contact {
    padding: 12px 32px;
  }
}

/* ===== FV (Hero) ===== */
#fv {
  position: relative;
  height: 812px;
  overflow: hidden;
  border-radius: 0 0 var(--border-radius-section) var(--border-radius-section);
}

#fv .fv-bg {
  position: absolute;
  inset: 0;
  background-image: url('image/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

#fv .fv-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-overlay);
}

#fv .fv-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 4vw, var(--gap-3xl));
  padding: 0 20px;
  width: 100%;
}

#fv .fv-icon {
  flex-shrink: 0;
}

#fv .fv-catch {
  margin: 0;
  width: 100%;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.67;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--txt-color-white);
}

@keyframes fv-en-char-rise {
  from {
    opacity: 0;
    transform: translateY(0.85em);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#fv .fv-en {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  margin: 0;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 88px;
  line-height: 0.7;
  letter-spacing: 0.43em;
  text-align: center;
  color: var(--txt-color-white);
  white-space: nowrap;
  font-size: clamp(20px, 7vw, 88px);
  letter-spacing: clamp(0.08em, 0.35vw, 0.43em);
}

#fv .fv-en-char {
  display: inline-block;
  opacity: 0;
  animation: fv-en-char-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.18s + var(--fv-en-i) * 0.055s);
}

@media (prefers-reduced-motion: reduce) {
  #fv .fv-en-char {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ===== News Section ===== */
#news {
  width: 100%;
  padding: var(--padding-section-lg) 20px var(--padding-section);
}

#news .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--max-width-inner);
  margin: 0 auto;
}

#news .section-header {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  padding-bottom: var(--gap-sm);
  align-self: flex-start;
}

#news .section-title-en {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--color-accent);
}

#news .section-sub {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--txt-color);
}

#news .news-list {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xl);
  margin: 0;
  padding: var(--gap-xl) 0 0;
  border-top: 1px solid var(--color-gray-border);
  align-self: stretch;
}

#news .news-item {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-sm);
  margin: 0;
}

#news .news-item dt {
  margin: 0;
  padding: 0;
  font-weight: normal;
  flex: 0 0 120px;
  width: 120px;
  min-width: 120px;
}

#news .news-item dd {
  margin: 0;
  flex: 1;
  min-width: 0;
}

#news .news-date {
  display: block;
  font-weight: 500;
  font-size: 16px;
  color: var(--txt-color);
}

#news .news-link {
  display: block;
  color: var(--txt-color);
  text-decoration: underline;
}

#news .news-link:hover {
  text-decoration: none;
}

#news .news-title {
  margin: 0;
  font-weight: 400;
  font-size: 16px;
}

#news .btn-more,
.page-single-news .single-news-back .btn-more,
.page-contact .thanks-back .btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-sm);
  margin-top: var(--gap-xl);
  padding: 12.5px 30px;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--border-radius-button);
  background: var(--color-accent);
  color: var(--bg-color);
  font-weight: 600;
  font-size: 15.69px;
  line-height: 1.36;
  text-decoration: none;
  box-sizing: border-box;
}

#news .btn-more:hover,
.page-single-news .single-news-back .btn-more:hover,
.page-contact .thanks-back .btn-more:hover {
  background: var(--bg-color);
  color: var(--color-accent);
}

#news .btn-more img,
.page-single-news .single-news-back .btn-more img,
.page-contact .thanks-back .btn-more img {
  width: 16.49px;
  height: 16.49px;
}

/* ===== Reasons Section ===== */
#reasons {
 padding: 0 20px;
 margin-bottom: 50px;

}
#reasons .section-content{
  background: var(--color-gray-light);
  border-radius: var(--border-radius-section);
  padding: 50px var(--gap-2xl);

}
#reasons .section-inner {
  width: 100%;
}

#reasons .section-title {
  margin: 0 0 30px;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  color: var(--color-accent);
  position: relative;
}

#reasons .section-title::before,
#reasons .section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: var(--txt-color);
}

#reasons .section-title::before {
  right: calc(50% + 115px);
}

#reasons .section-title::after {
  left: calc(50% + 115px);
}

#reasons .reasons-grid {
  display: flex;
  gap: var(--gap-2xl);
}

#reasons .reason-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* 【修正】img 用ラッパー: はみ出しクリップ・角丸 20px（高さは画像アスペクトに任せる） */
#reasons .reason-img {
  overflow: hidden;
  border-radius: 20px;
}

/* 【修正】理由画像本体: 幅100%・角丸 20px */
#reasons .reason-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

#reasons .reason-title {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  color: var(--txt-color);
}

#reasons .reason-text {
  margin: 0;
  font-size: 16px;
  text-align: justify;
  color: var(--txt-color);
}

/* ===== Footer ===== */
/* main と同じ max-width。未指定だとワイド画面で本文だけ箱・フッターだけ全幅になる */
#footer {
  width: 100%;
  max-width: var(--max-width-container);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  background: var(--color-accent);
  border-radius: var(--border-radius-section) var(--border-radius-section) 0 0;
}

#footer .footer-main {
  width: 100%;
  margin: 0 auto;
  padding: var(--padding-section-lg) var(--padding-section-lg) var(--padding-section);
}

#footer .footer-content {
  display: flex;
  justify-content: space-between;
  gap: var(--gap-2xl);
}

#footer .footer-brand {
  width: 524px;
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}

#footer .footer-group {
  font-size: 8.95px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--txt-color-white);
  margin: 0;
}

#footer .footer-desc {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.86;
  color: var(--txt-color-white);
  margin: 0;
}

#footer .footer-nav {
  display: flex;
  gap: var(--gap-3xl);
}

#footer .footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
  min-width: 168px;
  width: 100%;
}

#footer .footer-nav-title {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.625;
  letter-spacing: 0.2em;
  color: var(--txt-color-white);
  padding-bottom: var(--gap-sm);
  border-bottom: 1px solid var(--txt-color-white);
  margin: 0;
}

#footer .footer-nav a {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.86;
  color: var(--link-color);
  text-decoration: none;
}

#footer .footer-nav a:hover {
  text-decoration: underline;
}

#footer .footer-copy {
  width: 100%;
  padding: var(--gap-md) 0;
  background: var(--bg-color);
  text-align: center;
}

#footer .footer-copy p {
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.36;
  color: var(--color-accent);
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  #header .header-inner {
    flex-wrap: wrap;
    gap: var(--gap-md);
    padding-right: 20px;
  }

  #header .header-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  #header .header-nav ul {
    justify-content: center;
  }
  #fv {
    height: 550px;
}
  #news {
    padding: 60px 20px 30px;
  }
  #reasons .section-content {
    padding: 50px var(--gap-md);
}
  #reasons .reasons-grid {
    flex-direction: column;
  }

  #reasons .section-title::before,
  #reasons .section-title::after {
    width: 150px;
  }

  #footer .footer-content {
    flex-direction: column;
  }

  #footer .footer-brand {
    width: 100%;
  }

  #footer .footer-main {
    padding: 60px 20px 40px;
  }

  #footer .footer-copy {
    padding: var(--gap-md) 0;
  }
}

@media (max-width: 768px) {
  br.sp-only {
    display: inline;
  }

  #header .header-inner {
    position: relative;
    justify-content: space-between;
    padding-right: 20px;
  }
  #header .header-logo img {
    width: 100px;
    height: auto;
  }
  #header .menu-toggle {
    display: block;
  }

  #header .header-nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 83px 20px 50px;
    background: rgba(255, 255, 255, 0.9);
    height: 100vh;
    width: 100%;
    color: var(--color-accent);
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
    transition:
      opacity 0.45s ease,
      transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  }

  #header .header-nav.is-open {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }

  #header .header-nav ul {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }

  #header .header-nav ul a {
    justify-content: center;
    padding: 8px 12px;
    font-size: 16px;
    color: var(--color-accent);
  }

  #header .header-nav ul a::after {
    display: none;
  }

  #header .btn-contact {
    width: 100%;
    justify-content: center;
    color: var(--link-color);
    max-width: 270px;
    margin: 0 auto;
  }
  #fv .fv-catch {
    width: 90%;
  }

  #fv .fv-icon {
    width: 60px;
    height: 56px;
  }

  #news {
    padding: 30px 20px;
  }
  #news .news-list {
    gap: var(--gap-md);
    padding-top: var(--gap-md);
  }

  #news .news-item {
    flex-direction: column;
    gap: 0;
  }

  #news .news-item dt {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    align-self: flex-start;
  }

  #news .news-item dd {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
  }

  #news .section-title-en {
    font-size: 24px;
  }

  #reasons {
    padding: 0 var(--gap-md);
    margin-bottom: 30px;
  }

  #reasons .section-title::before,
  #reasons .section-title::after {
    display: none;
  }

  #footer .footer-nav {
    gap: var(--gap-xl);
  }

  #footer .footer-copy {
    padding: var(--gap-md);
  }
}

@media (max-width: 480px) {
  #header .header-logo img {
    width: 80px;
    height: auto;
  }

  #header .header-logo a {
    padding: 10px 20px;
    border-radius: 0 0 30px 0;
  }

  #header .logo-text {
    font-size: 7px;
  }

  #header .btn-contact {
    padding: 12px 30px;
    font-size: 14px;
  }

  #header .header-nav ul a {
    font-size: 14px;
    padding: 6px 12px;
  }
  #fv {
    height: 350px;
}
  #fv .fv-catch {
    font-size: 16px;
  }

  #footer .footer-nav {
    flex-direction: column; 
    gap: var(--gap-md);
}
}

/* ===== News / single / shop: shared FV ===== */
.page-news .fv-sub,
.page-single-news .fv-sub,
.page-shop .fv-sub,
.page-company .fv-sub,
.page-contact .fv-sub {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 0 0 var(--border-radius-section) var(--border-radius-section);
}

.fv-sub .fv-sub-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

#header.news ~ main .fv-sub-bg {
  background-image: url('image/news-fv-bg.png');
}

#header.shop ~ main .fv-sub-bg {
  background-image: url('image/shop/shop-fv-bg.png');
}

#header.company ~ main .fv-sub-bg {
  background-image: url('image/company-fv-bg.png');
}

#header.contact ~ main .fv-sub-bg {
  background-image: url('image/contact-fv-bg.png');
}

.fv-sub .fv-sub-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(106, 68, 4, 0.25);
}

.page-news .fv-sub-center,
.page-single-news .fv-sub-center,
.page-shop .fv-sub-center,
.page-company .fv-sub-center,
.page-contact .fv-sub-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 20px;
  width: 100%;
  max-width: 710px;
}

.page-news .fv-sub-title,
.page-single-news .fv-sub-title,
.page-shop .fv-sub-title,
.page-company .fv-sub-title,
.page-contact .fv-sub-title {
  margin: 0;
  font-family: 'Noto Sans JP', 'Noto Sans CJK JP', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.67;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--bg-color);
}

.page-news .fv-sub-en,
.page-single-news .fv-sub-en,
.page-shop .fv-sub-en,
.page-company .fv-sub-en,
.page-contact .fv-sub-en {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  margin: 0;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 7vw, 88px);
  line-height: 0.7;
  letter-spacing: clamp(0.08em, 0.35vw, 0.43em);
  text-align: center;
  color: var(--bg-color);
  white-space: nowrap;
}

.page-shop .fv-sub-en {
  font-size: clamp(16px, 4.5vw, 72px);
  letter-spacing: clamp(0.06em, 0.25vw, 0.34em);
}

.page-news .news-archive {
  width: 100%;
  padding: 50px 0;
}

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

.page-news .news-archive .section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 10px;
}

.page-news .news-archive .section-title-en {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--color-accent);
}

.page-news .news-archive .section-sub {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--txt-color);
}

.page-news .news-archive .news-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.page-news .news-archive .news-item {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-sm);
  margin: 0;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.page-news .news-archive .news-item dt {
  margin: 0;
  padding: 0;
  font-weight: normal;
  flex: 0 0 120px;
  width: 120px;
  min-width: 120px;
}

.page-news .news-archive .news-item dd {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.page-news .news-archive .news-date {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--txt-color);
}

.page-news .news-archive .news-link {
  display: block;
  text-decoration: underline;
  color: var(--txt-color);
}

.page-news .news-archive .news-link:hover {
  text-decoration: none;
}

.page-news .news-archive .news-title {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
}

.page-news .archive-pagination {
  margin-top: 30px;
}

.page-news .archive-pagination ul {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.page-news .archive-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1.5px solid var(--color-accent);
  border-radius: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.03em;
  color: var(--color-accent);
  background: var(--bg-color);
}

.page-news .archive-pagination a:hover {
  background: var(--color-accent);
  color: var(--bg-color);
}

.page-news .archive-pagination a[aria-current='page'] {
  color: var(--bg-color);
  background: var(--color-accent);
}

/* ===== Single news article (.page-single-news のみ) ===== */
.page-single-news .single-news {
  width: 100%;
  padding: 50px 0 0;
  box-sizing: border-box;
}

.page-single-news .single-news-inner {
  width: 100%;
  max-width: 1112px;
  margin: 0 auto;
}

.page-single-news .single-news-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.page-single-news .single-news-label-en {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--color-accent);
}

.page-single-news .single-news-label {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.2em;
  color: var(--txt-color);
}

.page-single-news .single-news-article {
  margin: 0;
}

.page-single-news .single-news-lead {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 100px 150px 0;
  box-sizing: border-box;
}

.page-single-news .single-news-title {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.35;
  color: var(--txt-color);
}

.page-single-news .single-news-figure {
  margin: 0;
  line-height: 0;
}

.page-single-news .single-news-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 565px;
  object-fit: cover;
  background-color: #c4c4c4;
}

/* 記事本文（エディタ出力用・このラッパー内のみ） */
.page-single-news .single-news-entry {
  display: flex;
  flex-direction: column;
  gap: 1.1em;
  min-width: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--txt-color);
}

.page-single-news .single-news-entry > * {
  margin-block: 0;
  min-width: 0;
  max-width: 100%;
}

.page-single-news .single-news-entry > :first-child {
  margin-top: 0;
}

.page-single-news .single-news-entry > :last-child {
  margin-bottom: 0;
}

.page-single-news .single-news-entry p {
  margin: 0;
}

.page-single-news .single-news-entry h1,
.page-single-news .single-news-entry h2,
.page-single-news .single-news-entry h3,
.page-single-news .single-news-entry h4,
.page-single-news .single-news-entry h5,
.page-single-news .single-news-entry h6 {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  line-height: 1.45;
  color: var(--txt-color);
}

.page-single-news .single-news-entry h1 {
  font-size: 1.375em;
}

.page-single-news .single-news-entry h2 {
  font-size: 1.25em;
}

.page-single-news .single-news-entry h3 {
  font-size: 1.125em;
}

.page-single-news .single-news-entry h4 {
  font-size: 1.0625em;
}

.page-single-news .single-news-entry h5,
.page-single-news .single-news-entry h6 {
  font-size: 1em;
}

.page-single-news .single-news-entry a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.page-single-news .single-news-entry a:hover {
  text-decoration: none;
}

.page-single-news .single-news-entry strong {
  font-weight: 700;
}

.page-single-news .single-news-entry em {
  font-style: italic;
}

.page-single-news .single-news-entry ul,
.page-single-news .single-news-entry ol {
  margin: 0;
  padding-left: 1.5em;
  box-sizing: border-box;
}

.page-single-news .single-news-entry li {
  margin: 0.35em 0;
}

.page-single-news .single-news-entry li > ul,
.page-single-news .single-news-entry li > ol {
  margin-top: 0.4em;
}

.page-single-news .single-news-entry li > p {
  margin: 0.35em 0 0;
}

.page-single-news .single-news-entry li > p:first-child {
  margin-top: 0;
}

.page-single-news .single-news-entry blockquote {
  margin: 0;
  padding: 1em 1.25em;
  border-left: 4px solid var(--main-color);
  background-color: var(--bg-color-gray);
  border-radius: 0 8px 8px 0;
  box-sizing: border-box;
}

.page-single-news .single-news-entry blockquote > * {
  margin-block: 0;
}

.page-single-news .single-news-entry blockquote > * + * {
  margin-top: 0.65em;
}

.page-single-news .single-news-entry hr {
  margin: 0;
  border: none;
  border-top: 1px solid var(--border-color);
  align-self: stretch;
}

.page-single-news .single-news-entry figure {
  margin: 0;
  max-width: 100%;
}

.page-single-news .single-news-entry figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background-color: #c4c4c4;
}

.page-single-news .single-news-entry figcaption {
  margin-top: 0.5em;
  font-size: 0.85em;
  font-weight: 500;
  line-height: 1.55;
  color: var(--txt-color);
}

.page-single-news .single-news-entry .single-news-entry-table-wrap,
.page-single-news .single-news-entry figure:has(table) {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.page-single-news .single-news-entry table {
  width: 100%;
  min-width: 240px;
  border-collapse: collapse;
  font-size: 0.9em;
  line-height: 1.5;
}

.page-single-news .single-news-entry th,
.page-single-news .single-news-entry td {
  padding: 0.55em 0.75em;
  border: 1px solid var(--border-color);
  text-align: left;
  vertical-align: top;
}

.page-single-news .single-news-entry th {
  font-weight: 700;
  background-color: rgba(0, 0, 0, 0.04);
}

.page-single-news .single-news-entry dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(6em, 28%) 1fr;
  gap: 0.5em 1.25em;
}

.page-single-news .single-news-entry dt {
  margin: 0;
  font-weight: 700;
}

.page-single-news .single-news-entry dd {
  margin: 0;
  min-width: 0;
}

.page-single-news .single-news-entry code {
  padding: 0.12em 0.35em;
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospace;
  font-size: 0.88em;
  background-color: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
}

.page-single-news .single-news-entry pre {
  margin: 0;
  padding: 1em 1.1em;
  overflow-x: auto;
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospace;
  font-size: 0.82em;
  line-height: 1.55;
  background-color: rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  box-sizing: border-box;
}

.page-single-news .single-news-entry pre code {
  padding: 0;
  font-size: inherit;
  background: none;
  border-radius: 0;
}

.page-single-news .single-news-entry iframe {
  max-width: 100%;
  border: 0;
}

/* WordPress 等のラッパーdiv内も縦並び＋間隔を揃える */
.page-single-news .single-news-entry .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  gap: 1.1em;
  min-width: 0;
}

.page-single-news .single-news-entry .wp-block-group__inner-container > * {
  margin-block: 0;
}

.page-single-news .single-news-section {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 0 150px 100px;
  box-sizing: border-box;
}

.page-single-news .single-news-back {
  margin: 0;
  padding: 40px 150px 60px;
  text-align: center;
}

.page-single-news .single-news-back .btn-more {
  margin-top: 0;
}

@media (max-width: 1000px) {
  .page-single-news .single-news-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-single-news .single-news-lead {
    padding: 60px 0 0;
    gap: 40px;
  }

  .page-single-news .single-news-section {
    padding: 0 0 80px;
    gap: 40px;
  }

  .page-single-news .single-news-back {
    padding: 30px 0 50px;
  }

  .page-news .fv-sub-en,
  .page-single-news .fv-sub-en,
  .page-shop .fv-sub-en,
  .page-company .fv-sub-en,
  .page-contact .fv-sub-en {
    font-size: clamp(20px, 6vw, 56px);
    letter-spacing: 0.25em;
  }

  .page-news .news-archive {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  .page-news .fv-sub,
  .page-single-news .fv-sub,
  .page-shop .fv-sub,
  .page-company .fv-sub,
  .page-contact .fv-sub {
    height: 260px;
  }

  .page-news .fv-sub-center,
  .page-single-news .fv-sub-center,
  .page-shop .fv-sub-center,
  .page-company .fv-sub-center,
  .page-contact .fv-sub-center {
    width: 90%;
  }

  .page-news .fv-sub-title,
  .page-single-news .fv-sub-title,
  .page-shop .fv-sub-title,
  .page-company .fv-sub-title,
  .page-contact .fv-sub-title {
    font-size: 24px;
  }

  .page-news .fv-sub-en,
  .page-single-news .fv-sub-en,
  .page-shop .fv-sub-en,
  .page-company .fv-sub-en,
  .page-contact .fv-sub-en {
    font-size: clamp(18px, 5.5vw, 36px);
    letter-spacing: 0.16em;
  }

  .page-news .news-archive .section-title-en {
    font-size: 24px;
  }

  .page-news .news-archive .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .page-news .news-archive .news-item dt {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    align-self: flex-start;
  }

  .page-news .news-archive .news-item dd {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
  }

  #news .section-header {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }

  .page-single-news .single-news-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .page-single-news .single-news-label-en {
    font-size: 24px;
  }

  .page-single-news .single-news-title {
    font-size: 24px;
  }

  .page-single-news .single-news-entry {
    font-size: 15px;
    line-height: 1.72;
  }

  .page-single-news .single-news-entry dl {
    grid-template-columns: 1fr;
  }

  .page-single-news .single-news-lead {
    padding-top: 40px;
    gap: 28px;
  }

  .page-single-news .single-news-section {
    padding-bottom: 48px;
    gap: 28px;
  }

  .page-single-news .single-news-back {
    padding: 24px 0 40px;
  }

  .page-shop .shop-jump a,
  .page-shop .shop-jump-sep {
    font-size: 16px;
  }

  .page-shop .shop-block-title {
    font-size: 24px;
  }

  .page-shop .shop-map-wide {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .page-shop .shop-details {
    width: 100%;
  }

  .page-shop .shop-cta {
    padding: 40px 20px;
    border-radius: var(--border-radius-section);
  }
}

/* ===== Shop page (.page-shop のみ) ===== */
.page-shop .shop-main {
  width: 100%;
  padding: 50px 0;
  box-sizing: border-box;
}

.page-shop .shop-main-inner {
  display: flex;
  flex-direction: column;
  gap: 44px;
  width: 100%;
  max-width: 1112px;
  margin: 0 auto;
}

.page-shop .shop-jump {
  padding: 0 0 20px;
  border-bottom: 1px solid var(--border-color);
}

.page-shop .shop-jump ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-shop .shop-jump li {
  margin: 0;
}

.page-shop .shop-jump a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 3.5vw, 30px);
  line-height: 1;
  color: #222222;
  text-decoration: none;
}

.page-shop .shop-jump a:hover {
  color: var(--color-accent);
}

.page-shop .shop-jump-sep {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 3.5vw, 30px);
  line-height: 1;
  color: #222222;
}

.page-shop .shop-block {
  display: flex;
  flex-direction: column;
  gap: 44px;
  scroll-margin-top: 58px;
}

.page-shop .shop-block-head {
  padding: 0 0 20px;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.page-shop .shop-block-title {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--color-accent);
}

/* 上段: スマホは1列（縦並び）、769px以上で2列。画像は 4:3 + object-fit */
.page-shop .shop-top-figures {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  align-items: stretch;
}

@media (min-width: 769px) {
  .page-shop .shop-top-figures {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }
}

.page-shop .shop-top-figure {
  border-radius: var(--border-radius-card);
  overflow: hidden;
  background-color: #c4c4c4;
  min-width: 0;
}

.page-shop .shop-top-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
}

/* 2段目: スマホは1列、769px以上でマップ527px+表。マップの高さ100%はタブレット以上のみ */
.page-shop .shop-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: stretch;
  width: 100%;
}

@media (min-width: 769px) {
  .page-shop .shop-body {
    grid-template-columns: 527px minmax(0, 1fr);
  }
}

.page-shop .shop-map-embed {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 280px;
  aspect-ratio: 4 / 3;
  align-self: stretch;
  border-radius: var(--border-radius-card);
  overflow: hidden;
  background-color: #c4c4c4;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .page-shop .shop-map-embed {
    flex-shrink: 0;
    width: 527px;
    max-width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: unset;
  }
}

.page-shop .shop-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-shop .shop-details {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-shop .shop-details-sub {
  min-width: 0;
  margin-top: 24px;
}

.page-shop .shop-dl {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-shop .shop-dl dt,
.page-shop .shop-dl dd {
  margin: 0;
}

.page-shop .shop-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--txt-color);
}

.page-shop .shop-row-label {
  flex: 0 0 116px;
  max-width: 40%;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.36;
  color: var(--txt-color);
}

.page-shop .shop-row-value {
  flex: 1;
  min-width: 12rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.875;
  color: var(--txt-color);
}

.page-shop .shop-row-value a {
  color: inherit;
  text-decoration: none;
}

.page-shop .shop-row-value a:hover {
  text-decoration: underline;
}

.page-shop .shop-tel-large {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
}

.page-shop .shop-mail {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  word-break: break-all;
}

/* 本店の連絡先グループ: .shop-details の gap:14px・各 .shop-row と同じ縦リズム */
.page-shop .shop-contact-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 0;
}

.page-shop .shop-group-title {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.875;
  color: var(--txt-color);
}

/* 広域図: 4:3・object-fit は img 本体に指定 */
.page-shop .shop-map-wide {
  width: 100%;
  max-width: 811px;
  margin-left: auto;
  margin-right: auto;
}

.page-shop .shop-map-wide-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-card);
  background-color: #c4c4c4;
}

.page-shop .shop-cta {
  width: 100%;
  max-width: 1412px;
  margin: 0 auto;
  padding: 50px 50px;
  box-sizing: border-box;
  background: var(--sub-color-2);
  border-radius: var(--border-radius-section);
}

.page-shop .shop-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 1012px;
  margin: 0 auto;
}

.page-shop .shop-cta-title {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  color: var(--color-accent);
}

.page-shop .shop-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  width: 100%;
}

.page-shop .shop-cta-grid.shop-cta-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 668px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Figma Frame1 3等分・gap 20（layout_B7DA9Q） */
.page-shop .shop-cta-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  min-width: 0;
}

.page-shop .shop-portal-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 130px;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--bg-color);
  box-sizing: border-box;
  flex-shrink: 0;
}

.page-shop .shop-portal-thumb img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
}

.page-shop .shop-portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 12.5px 30px;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--border-radius-button);
  background: var(--color-accent);
  color: var(--bg-color);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 15.69px;
  line-height: 1.36;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.page-shop .shop-portal-btn:hover {
  background: var(--bg-color);
  color: var(--color-accent);
}

.page-shop .shop-portal-btn img {
  width: 16.49px;
  height: 16.49px;
}

.page-shop .shop-cta-note {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.36;
  text-align: center;
  color: var(--txt-color);
}

@media (max-width: 1000px) {
  .page-shop .shop-main-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 768px) {
  .page-shop .shop-jump a,
  .page-shop .shop-jump-sep {
    font-size: 16px;
  }

  .page-shop .shop-block-title {
    font-size: 24px;
  }

  .page-shop .shop-map-wide {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  /* 【修正】768px以下にあった .shop-map-wide-img の上書きは aspect-ratio / object-fit / object-position 削除後ベースと同内容のためルールごと削除 */

  .page-shop .shop-details {
    width: 100%;
  }

  .page-shop .shop-cta {
    padding: 40px 20px;
    border-radius: var(--border-radius-section);
  }

  .page-shop .shop-cta-grid {
    grid-template-columns: 1fr;
  }

  .page-shop .shop-cta-grid.shop-cta-grid--cols-2 {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .page-shop .shop-portal-btn {
    max-width: 300px;
    width: 100%;
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 480px) {
  .page-shop .shop-row {
    flex-direction: column;
    gap: 0;
}
  .page-shop .shop-row-label {
    flex: auto;}
}
/* ===== 下層ページ共通：セクション見出し（Montserrat・アクセント色・下線） ===== */
.content-section-head {
  margin: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.content-section-head--align-center {
  text-align: center;
}

.content-section-head--divider-light {
  border-bottom-color: #fff;
}

.content-section-title {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--main-color);
}

@media (max-width: 768px) {
  .content-section-title {
    font-size: 24px;
  }
}

/* ===== Company page ===== */
.page-company .company-main {
  width: 100%;
}

.page-company .company-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1412px;
  margin: 0 auto;
  padding: 50px 20px;
  box-sizing: border-box;
}

.page-company .company-panel {
  width: 100%;
}

.page-company .company-panel-inner {
  width: 100%;
  max-width: 1112px;
  margin: 0 auto;
}

.page-company .company-panel-inner--split {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.page-company .company-info-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  width: 100%;
}

.page-company .company-dl {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin: 0;
}

.page-company .company-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--txt-color);
}

.page-company .company-row dt {
  flex: 0 0 150px;
  max-width: 40%;
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  color: var(--txt-color);
}

.page-company .company-row dd {
  flex: 1;
  min-width: 12rem;
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--txt-color);
}

.page-company .company-row dd a {
  color: inherit;
  text-decoration: none;
}

.page-company .company-row dd a:hover {
  text-decoration: underline;
}

.page-company .company-tel {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
}

.page-company .company-map-embed {
  position: relative;
  width: 100%;
  max-width: 670px;
  min-height: 280px;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background-color: #c4c4c4;
  box-sizing: border-box;
}

.page-company .company-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-company .company-history-surface {
  width: 100%;
  max-width: 1412px;
  margin: 0 auto;
  padding: 50px 20px;
  box-sizing: border-box;
  background-color: var(--bg-color-gray);
  border-radius: var(--border-radius-section);
}

.page-company .company-panel-inner--history {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.page-company .company-history-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-company .company-history-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #fff;
}

.page-company .company-history-date {
  flex: 0 0 150px;
  max-width: 40%;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.36;
  color: var(--main-color);
}

.page-company .company-history-desc {
  flex: 1;
  min-width: 12rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.875;
  color: var(--txt-color);
}

.page-company .company-group-card {
  width: 100%;
  max-width: 1112px;
  margin: 0 auto;
  padding-bottom: 50px;
  box-sizing: border-box;
}

.page-company .company-group-img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .page-company .company-stack {
    padding: 40px 20px;
    gap: 48px;
  }

  .page-company .company-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .page-company .company-row dt {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .page-company .company-history-item {
    flex-direction: column;
    gap: 4px;
  }

  .page-company .company-history-date {
    flex: 0 0 auto;
    max-width: 100%;
  }
}

/* ===== Contact page ===== */
.page-contact .contact-main {
  display: flex;
  flex-direction: column;
  gap: 44px;
  width: 100%;
  max-width: 1412px;
  margin: 0 auto;
  padding: 50px 16px;
  box-sizing: border-box;
}

/* お問い合わせ送信完了（thanks.html）— Figma 738:651 相当 */
.page-contact .thanks {
  width: 100%;
}

.page-contact .thanks-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  width: 100%;
  max-width: 1112px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-contact .thanks-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  gap: 30px;
  margin: 0;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--border-color);
  box-sizing: border-box;
}

.page-contact .thanks-label-en {
  margin: 0;
  padding: 0 0 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  text-align: center;
  color: var(--color-accent);
}

.page-contact .thanks-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-contact .thanks-lead {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.35;
  text-align: center;
  color: var(--txt-color);
}

.page-contact .thanks-text {
  margin: 0;
  max-width: 40em;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 2;
  text-align: center;
  color: var(--txt-color);
}

.page-contact .thanks-back {
  margin: 0;
  text-align: center;
}

.page-contact .thanks-back .btn-more {
  margin-top: 0;
}

.page-contact .contact-inner {
  width: 100%;
  max-width: 1112px;
  margin: 0 auto;
}

.page-contact .contact-section--tenant .contact-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-contact .contact-section--forms .contact-inner {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.page-contact .contact-tenant-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.page-contact .contact-lead {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.25;
  text-align: center;
  color: var(--txt-color);
}

.page-contact .contact-note {
  margin: 0;
  max-width: 40em;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.875;
  text-align: center;
  color: var(--txt-color);
}

.page-contact .contact-emergency {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.page-contact .contact-emergency-label {
  margin: 0 0 2px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
  color: var(--main-color);
}

.page-contact .contact-emergency-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.page-contact .contact-emergency-icon {
  display: flex;
  flex-shrink: 0;
  line-height: 0;
  transform: translateY(-8px);
}

.page-contact .contact-emergency-icon img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.page-contact .contact-emergency-tel {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1;
  color: var(--main-color);
  text-decoration: none;
}

.page-contact .contact-emergency-tel:hover {
  text-decoration: underline;
}

.page-contact .contact-forms-surface {
  width: 100%;
  max-width: 1412px;
  margin: 0 auto;
  padding: 50px 16px;
  box-sizing: border-box;
  background-color: var(--bg-color-gray);
  border-radius: var(--border-radius-section);
}

.page-contact .contact-form-rows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-contact .contact-form-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.page-contact .contact-form-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 400px;
  min-height: 82px;
  padding: 15px 24px;
  border: 1.5px solid var(--color-accent);
  border-radius: 100px;
  background-color: var(--color-accent);
  color: var(--bg-color);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.67;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.page-contact .contact-form-btn-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
}

.page-contact .contact-form-btn:hover {
  background-color: var(--bg-color);
  color: var(--color-accent);
}

.page-contact .contact-form-btn--multiline {
  font-size: 16px;
}

.page-contact .contact-form-btn--text-sm {
  font-size: 16px;
  line-height: 1.55;
}

.page-contact .contact-form-btn-sub {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.page-contact .contact-form-btn-label {
  flex: 0 1 auto;
  min-width: 0;
  text-align: center;
}

.page-contact .contact-form-btn-arrow {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: block;
  align-self: center;
}

/* ===== お問い合わせフォーム（CF7・全フォーム共通クラス） ===== */
.page-contact-form .contact-form-page {
  display: flex;
  flex-direction: column;
  gap: 44px;
  width: 100%;
}

.page-contact-form .contact-form-page > .contact-inner > p {
  margin: 24px 0 0;
  text-align: center;
}

.page-contact-form .contact-form-page .contact-forms-surface .contact-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 40px;
}

/* CF7 は外側が div.wpcf7。align-items:center だとラッパーが中身幅に縮み ~698px になる → 900px まで広げる */
.page-contact-form .contact-forms-surface .contact-inner > .wpcf7 {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.page-contact-form .contact-form-cf7 {
  position: relative;
}

.page-contact-form .contact-form-cf7 .screen-reader-response {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-contact-form .contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.page-contact-form .contact-form-cf7 form.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}

.page-contact-form .contact-form-field .wpcf7-form-control-wrap {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
}

.page-contact-form .contact-form-field .wpcf7-form-control-wrap .contact-form-input,
.page-contact-form .contact-form-field .wpcf7-form-control-wrap .contact-form-textarea {
  width: 100%;
}

.page-contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #dc3232;
}

.page-contact-form .wpcf7-response-output {
  margin: 0;
  padding: 0;
  border: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--txt-color);
}

.page-contact-form .wpcf7-response-output:empty,
.page-contact-form .wpcf7-response-output.wpcf7-display-none {
  display: none;
}

.page-contact-form .wpcf7-response-output:not(:empty) {
  display: block;
  margin: 16px 0 0;
  padding: 12px 16px;
  border: 2px solid var(--main-color);
  border-radius: 8px;
}

.page-contact-form .wpcf7-response-output.wpcf7-validation-errors:not(:empty) {
  border-color: #dc3232;
}

.page-contact-form .wpcf7-response-output.wpcf7-mail-sent-ok:not(:empty) {
  border-color: #398f14;
}

.page-contact-form .wpcf7-response-output.wpcf7-mail-sent-ng:not(:empty) {
  border-color: #dc3232;
}

.page-contact-form .wpcf7-spinner {
  visibility: hidden;
  display: inline-block;
  width: 24px;
  height: 24px;
  margin: 0;
  vertical-align: middle;
  border: 3px solid rgb(from var(--main-color) r g b / 0.25);
  border-top-color: var(--main-color);
  border-radius: 50%;
  animation: contact-form-cf7-spin 0.75s linear infinite;
}

.page-contact-form form.submitting .wpcf7-spinner {
  visibility: visible;
}

@keyframes contact-form-cf7-spin {
  to {
    transform: rotate(360deg);
  }
}

.page-contact-form .contact-form-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 40px;
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
}

.page-contact-form .contact-form-field--options {
  align-items: flex-start;
}

/* CF7 既定: .wpcf7-list-item { margin: 0 0 0 1em } → 先頭ラジオにも左 1em が付く。打ち消して間隔は .wpcf7-radio の gap で */
.contact-form-page .contact-form-field--options .wpcf7-form-control-wrap {
  margin: 0;
  padding: 0;
}

.contact-form-page .contact-form-field--options .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px 27px;
  margin: 0;
  padding: 0;
}

.contact-form-page .contact-form-field--options .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  margin: 0 !important; /* CF7 styles.css の margin-left:1em より優先 */
  padding: 0;
}

.contact-form-page .contact-form-field--options .wpcf7-list-item label {
  margin: 0;
}

.page-contact-form .contact-form-field--textarea {
  align-items: flex-start;
}

.page-contact-form .contact-form-field-label-wrap {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex: 0 0 100%;
  min-width: 0;
}

.page-contact-form .contact-form-label-bar {
  display: block;
  width: 7px;
  height: 52px;
  flex-shrink: 0;
  background-color: var(--main-color);
}

.page-contact-form .contact-form-field--textarea .contact-form-label-bar {
  align-self: flex-start;
  margin-top: 4px;
}

.page-contact-form .contact-form-label-text {
  flex: 1;
  min-width: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.67;
  letter-spacing: 0.03em;
  color: var(--txt-color);
}

.page-contact-form .contact-form-required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 10px;
  min-height: 28px;
  box-sizing: border-box;
  background-color: var(--main-color);
  color: var(--bg-color);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.67;
  letter-spacing: 0.03em;
}

.page-contact-form .contact-form-input,
.page-contact-form .contact-form-textarea {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 12px 23px;
  box-sizing: border-box;
  border: 1px solid var(--main-color);
  border-radius: 0;
  background-color: var(--bg-color);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--txt-color);
}

.page-contact-form .contact-form-textarea {
  min-height: 150px;
  resize: vertical;
}

.page-contact-form .contact-form-input::placeholder,
.page-contact-form .contact-form-textarea::placeholder {
  color: #a6a6a6;
}

.page-contact-form .contact-form-input:focus,
.page-contact-form .contact-form-textarea:focus {
  outline: 2px solid var(--main-color);
  outline-offset: 2px;
}

.page-contact-form .contact-form-options {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 27px;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  max-width: 392px;
}

.page-contact-form .contact-form-option {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--txt-color);
  cursor: pointer;
}

.page-contact-form .contact-form-option input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--main-color);
}

.page-contact-form .contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 5px;
}

.page-contact-form .contact-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 70px;
  border: 1px solid var(--main-color);
  border-radius: 10px;
  background-color: var(--main-color);
  color: var(--bg-color);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.page-contact-form .contact-form-submit:hover {
  background-color: var(--bg-color);
  color: var(--main-color);
}

.page-contact-form h3.contact-form-block-title {
  margin: 0;
  padding: 14px 24px;
  box-sizing: border-box;
  border: none;
  border-radius: 10px;
  background-color: var(--bg-color);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-align: center;
  color: var(--main-color);
}

.page-contact-form .contact-form-page > .contact-inner > .contact-form-lead-note {
  margin: 16px auto 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.75;
  text-align: center;
  width: 100%;
  color: var(--txt-color);
}

.page-contact-form .contact-form-occupants {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.page-contact-form .contact-form-occupant-note {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--txt-color);
}

.page-contact-form .contact-form-emergency-inputs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.page-contact-form .contact-form-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.page-contact-form .contact-form-file-hint {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--main-color);
}

.page-contact-form .contact-form-input.contact-form-file {
  min-height: auto;
  padding: 10px 14px;
  font-size: 14px;
}

@media (min-width: 769px) {
  .page-contact-form .contact-form-field {
    flex-wrap: nowrap;
    gap: 0 65px;
  }

  .page-contact-form .contact-form-field-label-wrap {
    flex: 0 0 250px;
    width: 250px;
    max-width: 250px;
  }

  .page-contact-form .contact-form-field--options {
    flex-wrap: nowrap;
    gap: 0 65px;
  }

  .page-contact-form .contact-form-field--options .contact-form-options {
    flex: 1;
    width: auto;
    max-width: none;
  }

  .page-contact-form .contact-form-emergency-inputs {
    flex-direction: row;
    gap: 16px;
  }

  .page-contact-form .contact-form-emergency-inputs .contact-form-input {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .page-contact .contact-main {
    padding: 40px 16px;
    gap: 36px;
  }

  .page-contact .thanks-inner {
    gap: 36px;
  }

  .page-contact .thanks-head {
    gap: 20px;
    padding-bottom: 16px;
  }

  .page-contact .thanks-label-en {
    font-size: 24px;
    padding-bottom: 8px;
  }

  .page-contact .thanks-body {
    gap: 16px;
  }

  .page-contact .thanks-lead {
    font-size: 22px;
    line-height: 1.4;
  }

  .page-contact .thanks-text {
    font-size: 16px;
    line-height: 1.86;
  }

  .page-contact .contact-forms-surface {
    padding: 40px 16px;
  }

  .page-contact .contact-emergency-tel {
    font-size: clamp(28px, 9vw, 40px);
    line-height: 1.1;
  }

  .page-contact .contact-form-btn {
    max-width: none;
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-contact-form .contact-form-page {
    gap: 36px;
  }

  .page-contact-form .contact-form-submit {
    width: 100%;
    max-width: 320px;
    padding: 12px 32px;
    font-size: 20px;
  }
}