/* ==========================
   Font Settings
========================== */
@font-face {
  font-family: 'NotoSansJP';
  src: url('/wp-content/uploads/2025/10/NotoSansJP-Regular.woff2') format('woff2'),
       url('/wp-content/uploads/2025/10/NotoSansJP-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'NotoSansJP';
  src: url('/wp-content/uploads/2025/10/NotoSansJP-Medium.woff2') format('woff2'),
       url('/wp-content/uploads/2025/10/NotoSansJP-Medium.woff') format('woff');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/uploads/2025/10/Montserrat-SemiBold.woff2') format('woff2'),
       url('/wp-content/uploads/2025/10/Montserrat-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/uploads/2025/10/Montserrat-Medium.woff2') format('woff2'),
       url('/wp-content/uploads/2025/10/Montserrat-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/uploads/2025/10/Montserrat-Regular.woff2') format('woff2'),
       url('/wp-content/uploads/2025/10/Montserrat-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ==========================
   Global Font Rule
   英数：Montserrat / 日本語：Noto Sans JP
========================== */
html, body{
  font-family: "Montserrat", "NotoSansJP", "Noto Sans JP", sans-serif;
}

/* ========================================
   Common Layout / Variables（重複整理）
======================================== */
:root {
  --wanoba-main-color: #456A84;
  --wanoba-text-color: #000;

  --popup-speed: 1.1s;
  --header-speed: 1.1s;
  --popup-easing: cubic-bezier(0.25, 1, 0.5, 1);
  --header-easing: cubic-bezier(0.25, 1, 0.5, 1);
  --header-height: 100px;
}

/* ==========================
   MBクリックアニメーション（info-btn用）
========================== */
.info-btn.clicked {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 0 30px rgba(255,255,255,0.3);
  transition: all 0.6s ease;
}

/* ==========================
   HERO BUTTON
========================== */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 28px !important;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* 黒ボタン */
.hero-btn.black {
  background: #fff;
  color: #333;
  border: 1.5px solid #333;
}
.hero-btn.black:hover,
.hero-btn.black:active,
.hero-btn.black.tapped {
  background: #333;
  color: #fff;
}

/* 白ボタン */
.hero-btn.white {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.hero-btn.white:hover,
.hero-btn.white:active,
.hero-btn.white.tapped {
  background: #fff;
  color: #333;
}

/* 共通ホバー効果（PC） */
.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* モバイルタップ時（hover代替） */
.hero-btn.tapped {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
.hero-btn.black.tapped {
  background: #333 !important;
  color: #fff !important;
}
.hero-btn.white.tapped {
  background: #fff !important;
  color: #333 !important;
}

@media(max-width:500px){
  br.pc-none { display: unset; }
  .hero-btn {
    font-size:14px;
    height:35px;
    padding:0 20px!important;
  }
}

/* ==========================
   スクロールアニメーション：delay
========================== */
.delay-1,
.delay-2{
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease var(--delay, 0s),
    transform 0.8s ease var(--delay, 0s);
  will-change: opacity, transform;
}
.delay-1.show,
.delay-2.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================
   HEADER（重複整理：こちらを採用）
========================== */
html body .sai-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: #fff;
  border-bottom: 1px solid #456A84;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(0);
  opacity: 1;
  transition: transform var(--header-speed) var(--header-easing),
              opacity var(--header-speed) var(--header-easing);
}
.sai-header.hide { transform: translateY(-120%); opacity: 0; }
.sai-header.show { transform: translateY(0); opacity: 1; }

.header-inner{
  display:flex;justify-content:space-between;align-items:center;
  width:100%;padding:0 5%;margin:0 auto;
}
.header-logo{
  width:150px;
}

.nav-list{
  display:flex;
  gap:30px;
  list-style:none;
  margin:0;
  padding:0;
}

.nav-list a{
  display:inline-block;
  text-decoration:none;
  color:#333;
  font-weight:500;
  font-size:15px;
  transition:all .3s ease;
}

.nav-list a:hover{
  color:#456A84;
  transform:translateY(-3px);
}

.header-buttons{
  display:flex;
  align-items:center;
  gap:16px;
}

.contact-btn,
.menu-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:42px;
  min-width:120px;
  padding:0 22px;
  border:1px solid #333;
  border-radius:50px;
  background:transparent;
  color:#333;
  font-weight:500;
  font-size:15px;
  cursor:pointer;
  transition:all .3s ease;
  box-shadow:none;
}

.contact-btn:hover,
.menu-btn:hover{
  background:#333;
  color:#fff;
}

.nav-list {
  margin-left: auto;
  margin-right: 100px;
}

/* ==========================
   POPUP MENU（右スライド）
========================== */
.popup-menu {
  position: fixed;
  top: 0; right: 0;
  width: 420px; height: 100vh;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,0.2);
  z-index: 9998;
  padding: 120px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  opacity: 0;
  transition: transform var(--popup-speed) var(--popup-easing) 0.15s,
              opacity var(--popup-speed) var(--popup-easing) 0.15s !important;
}
.popup-menu.open {
  transform: translateX(0);
  opacity: 1;
}

/* ==========================
   POPUP OVERLAY
========================== */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: rgb(0 0 0 / 0);
  opacity: 0; pointer-events: none;
  transition: background 0.8s ease 0.15s, opacity 0.8s ease 0.15s;
  z-index: 9997;
}
.popup-overlay.active {
  background: rgb(0 0 0 / 0.3);
  opacity: 1; pointer-events: auto;
}
@media (max-width:1024px){ .popup-overlay{display:none;} }

/* ==========================
   POPUP CLOSE
========================== */
.popup-close{
  position:absolute;top:50px;right:24px;min-width:120px;height:42px;
  border:1px solid #333;border-radius:50px;background:none;color:#333;
  padding:6px 18px;cursor:pointer;transition:all .3s ease;
}
.popup-close:hover{background:#333;color:#fff;}

/* ==========================
   POPUP MENU : LIST
========================== */

/* list reset */
.popup-list{
  list-style: none;
  margin: 60px 0 0;
  padding: 0;
  width: 100%;
}

/* list item animation */
.popup-list li{
  border-bottom: 1px solid #333;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .8s ease, transform .8s ease;
}

/* open state */
.popup-menu.open .popup-list li{
  opacity: 1;
  transform: translateY(0);
}

/* stagger delay */
.popup-menu.open .popup-list li:nth-child(1){ transition-delay: .1s; }
.popup-menu.open .popup-list li:nth-child(2){ transition-delay: .2s; }
.popup-menu.open .popup-list li:nth-child(3){ transition-delay: .3s; }
.popup-menu.open .popup-list li:nth-child(4){ transition-delay: .4s; }
.popup-menu.open .popup-list li:nth-child(5){ transition-delay: .5s; }
.popup-menu.open .popup-list li:nth-child(6){ transition-delay: .6s; }
.popup-menu.open .popup-list li:nth-child(7){ transition-delay: .7s; }

/* link */
.popup-list a{
  position: relative;
  display: block;
  padding: 16px 0;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: padding-left .3s ease;
}

/* underline (disabled on hover) */
.popup-list a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: .5px;
  background: #333;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .6s ease, transform .6s ease;
}

/* hover behavior */
.popup-list a:hover{
  padding-left: 8px;
}

.popup-list a:hover::after{
  opacity: 0;
  transform: translateY(3px);
}

/* body lock */
body.popup-open{
  overflow: hidden;
}


/* ==========================
   FOOTER（順序固定版）
========================== */
.site-footer {
  background: #fff;
  color: #000;
}

/* footer-main配下の並び順を強制固定（Astra干渉対策） */
.footer-main {
  padding: 5% 0 0;
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-areas:
    "logo"
    "middle" !important;
  border-top: 1px solid;
 }

/* 各ブロックをエリアに固定 */
.footer-top { grid-area: logo; }
.footer-middle { grid-area: middle; }

/* 上：ロゴ */
.footer-top {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0 5% 5%;
  height: auto;
}
.footer-top img {
  max-width: 200px;
  height: auto;
}

/* 中：2カラム */
.footer-middle {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center;
  column-gap: 40px;
  margin: 0;
  padding: 0;
  border-top: 1px solid #000;
  padding-top: 40px;
}

.footer-info {
    padding: 0 0 2% 10% ;
}

.footer-address {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  font-weight: 500;
}

/* メニュー（横並び固定） */
.footer-nav {
  display: block;
  padding: 0 10% 2% 0;
}

.footer-menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;

  display: flex !important;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-menu li {
  margin: 0 !important;
  padding: 0 !important;
}

.footer-menu a {
  font-size: 13px;
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

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

/* 下：ロゴ（旧クラスは非表示にしておく） */
.footer-bottom-logo {
  display: none;
}

/* 最下部：Copyright */
.footer-copyright {
  background: #456A84;
  padding: 1% 0;
  text-align: right;
}

.footer-copyright p {
  color: #fff;
  font-size: 13px;
  margin: 0;
  padding: 0 5%;
}

/* ==========================
   Responsive
========================== */
@media (max-width: 1024px) {
  .footer-middle {
    grid-template-columns: 1fr !important;
    row-gap: 16px;
    align-items: start;
  }

  .footer-menu {
    justify-content: flex-start;
    gap: 14px;
  }

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

  .footer-copyright p {
    padding: 0 5%;
  }
}

/* ==========================
   Loading Animation（最終版 - 3パネル）
========================== */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  pointer-events: all;
  overflow: hidden;
}

/* 3分割パネル共通スタイル */
.loading-panel {
  position: absolute;
  top: 0;
  height: 100%;
  background: #456A84;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* 各パネルの横位置とサイズ（隙間対策: 右端まで伸ばす） */
.loading-panel-1 {
  left: 0;
  width: 33.334%;
}
.loading-panel-2 {
  left: 33.333%;
  width: 33.334%;
}
.loading-panel-3 {
  left: 66.666%;
  width: 33.334%;
}

/* GPU補正＋スケール微調整 */
.loading-panel {
  transform-origin: left center;
  transform: scaleX(1.003); /* 0.3%拡大でサブピクセル吸収 */
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}


/* Wanobaロゴ（画面中央に配置） */
#loading-screen .loading-logo {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif !important;
  font-size: 22px !important;
  color: #fff !important;
  letter-spacing: 0.1em !important;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 100001 !important;
  text-align: center !important;
  white-space: nowrap !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.05em !important;
  pointer-events: none !important;
}

/* 1文字ずつのアニメーション */
.loading-char {
  display: inline-block;
}

/* モバイル対応：ロゴのフォントサイズ調整 */
@media (max-width: 768px) {
  #loading-screen .loading-logo {
    font-size: 18px !important;
  }
}

@media (max-width: 480px) {
  #loading-screen .loading-logo {
 font-size: 18px !important;
  }
}

/* ページ遷移用のフェード */
html {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior-x: none;
}

body {
  overflow: visible !important;
  position: relative;
  opacity: 1;
 transition: opacity 500ms ease;
	will-change: opacity;
}
body {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  will-change: opacity;
}

a, a:focus, a:hover, a:visited{
	text-decoration:none!important;
}


/* ==========================
   MOBILE（Header / Popup / Footer）
========================== */
@media(max-width:1024px){
  .nav-list{display:none;}
  .header-inner{padding:0 5%;}
  .header-buttons{gap:0;margin-left:auto;}
  .contact-btn,.menu-btn{
    border:none!important;background:none!important;color:#333!important;
    min-width:auto;padding:0 10px;transition:none;
  }
  .contact-btn{font-size:0;}
  .contact-btn::before{content:"Contact";font-size:.95rem;color:#333;}
  .menu-btn.active{color:#6BAED6;}
  .popup-menu{width:100%!important;padding:100px 30px;}
  .popup-close{display:none!important;}

  .footer-info{
    padding: 0;
  }
  .footer-middle{
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 5%;
  }

  .footer-nav{
    order: 1; /* 上 */
  }

  .footer-info{
    order: 2; /* 下 */
  }

}
@media(max-width:500px){
  .sai-header{height:80px!important;}
  .contact-btn::before,.menu-btn{box-shadow:none;font-size:18px;}
  .header-logo{width:75px;}

.footer-main{
  padding: 0 ;
}
.footer-top{
  padding: 15% 0;
}

.footer-top img {
  max-width: 150px;
  height: auto;
}

}


/* ==========================
   HERO BG Slideshow（fade + KenBurns）
========================== */
.front-hero{
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  padding-left: 200px;
  display: flex;
  align-items: center; 
  isolation: isolate;
}

.hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* ←濃さはここ */
  z-index: 2;
  pointer-events: none;
}

.hero-bg-item{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  will-change: opacity, transform;
}

.hero-bg-item.is-active{
  opacity: 1;
  transform: scale(1.00);
}

.hero-inner{
  position: relative; /* これがないとz-index効かない */
  z-index: 2;
  width: 100%;
  max-width: 1200px;     /* 必要なら後で調整OK */
  margin: 0;             /* 左寄せ */
  text-align: left;
  padding-right: 5%;
}

/* h2 */
.front-hero h2,
.front-hero .hero-title{
  font-size: 52px;
  font-weight: 500;
  text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.4);
  color: #fff;
  margin: 0;
}

/* h3 */
.front-hero h3,
.front-hero .hero-subtitle{
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 1.3px;
  text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.4);
  color: #fff;
  margin: 14px 0 0;
}

/* hero内 p 共通 */
.front-hero .hero-text p{
  margin: 0 0 calc(var(--kit-widget-spacing, 0px) + 0px) 0;
  font-size: 18px;
  font-weight: 400;
  text-shadow: 1px 3px 4px rgba(0, 0, 0, 0.3);
  color: #fff;
}

/* 最初の p だけ margin-top */
.front-hero .hero-text p:first-of-type{
  margin-top: 50px;
}

.hero-cta{
  margin-top: 20px;
}

/* ScrollDown */
.scroll-container{
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-down{
  position: relative;
  display: inline-block;
  text-align: center;
  font-family: serif;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  padding-bottom: 20px; 
}

/* ✅ 波文字：矢印以外にだけ適用 */
.wave span:not(.wave_arrow){
  display: inline-block;
  animation: wave 2s infinite;
  animation-delay: calc(0.1s * var(--i));
}

/* ✅ 矢印：専用指定で競合を潰す */
.wave .wave_arrow{
  position: absolute;
  left: 50%;
  bottom: 0;
  display: block;
  width: 10px;
  height: 10px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: translateX(-50%) rotate(-45deg);
  animation: float 2s infinite;
}

/* hover */
.wave:hover{ color:#fff; }

/* アニメーション */
@keyframes wave{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

@keyframes float{
  0%,100%{
    transform: translateX(-50%) translateY(-4px) rotate(-45deg);
  }
  50%{
    transform: translateX(-50%) translateY(4px) rotate(-45deg);
  }
}

/* ==========================
   FRONT NEWS
========================== */
.front-news{
  background:#fff;
  width:100%;
  padding: 50px 5%;
}

.front-news__inner{
  max-width:1300px;
  margin:0 auto;
  display:grid;
  grid-template-columns: 15% minmax(0, 1fr) max-content;
  align-items:center;
  column-gap:40px;
  box-sizing: border-box;
}

.front-news__title{ grid-column: 1; }
.front-news__list{  grid-column: 2; }
.front-news__more{  grid-column: 3; }

/* ==========================
   LEFT : TITLE
========================== */
.front-news__title{
  display:flex;
  align-items:center;
}

.front-news__title h2{
  font-size:35px; 
  font-weight:500;
  margin:0;
  color: #456a84;
}

/* ==========================
   CENTER : LIST（スライダー）
========================== */
.front-news__list{
  position:relative;
  padding-left:40px;
  border-left:1px solid #000;
  min-width: 0; /* 真ん中列が縮められるようにする（はみ出し対策の本命） */
}

/* スライドコンテナ（JS用） */
.news-slider{
  width:100%;
  overflow:hidden;
  position: relative; /* 横スライド基準 */
}

/* track（横スライド用） */
.news-track{
  display: flex;               /* 横並び */
  flex-wrap: nowrap;           /* 折り返し防止（横スライド固定） */
  width: 100%;
  will-change: transform;
  min-width: 0;
}

/* 1記事 */
.news-item{
  width:100%;
  display: block;
  flex: 0 0 100%;              /* 1画面=1件 */
}

.news-item a{
  display:flex;
  align-items:center;
  gap:16px;
  text-decoration:none;
  color:#000;
  font-size:15px;
  font-weight:400;
  white-space:nowrap;
  min-width: 0; /* a が横に伸び続けないように */
}

/* ● */
.news-dot{
  font-size:12px;
  line-height:1;
}

/* 日付 */
.news-date{
  font-family:"Montserrat", sans-serif;
  font-size:14px;
}

/* タイトル */
.news-title{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  min-width: 0;
  flex: 1 1 auto;
}

/* ==========================
   RIGHT : BUTTON
========================== */
.front-news__more{
  display:flex;
  justify-content:flex-end;
  min-width: 0;
  justify-self: end; /* grid上で右寄せ固定 */
}

/* ==========================
   RESPONSIVE
========================== */
@media(max-width:1024px){
  .front-news__inner{
    grid-template-columns: 1fr;
    row-gap:32px;
  }

  .front-news__list{
    border-left:none;
    padding-left:0;
  }

  .front-news__more{
    justify-content:flex-start;
    justify-self: start;
  }
}

/* ==========================
   FRONT NEWS（<=500px）
========================== */
@media (max-width:500px){

  .front-news{
    padding:40px 5%;
  }

  .front-news__inner{
    grid-template-columns:1fr;
    row-gap:15px;
    align-items:start;
  }

  /* grid-column を全部1に戻す（暗黙列を作らせない） */
  .front-news__title,
  .front-news__list,
  .front-news__more{
    grid-column:1;
  }

  /* 並び順：title → list → button（grid-rowで確定） */
  .front-news__title{ grid-row:1; justify-content:flex-start; }
  .front-news__list{  grid-row:2; padding-left:0; border-left:none; }
  .front-news__more{  grid-row:3; justify-content:flex-start; justify-self:start; }

  .front-news__title h2{
    font-size:28px;
  }

  .news-item a{
    justify-content:flex-start;
  }
}

/* ==========================
   FRONT ABOUT
========================== */
.front-about{
  width:100%;
  padding:10% 5% 10% 0;
  background:#fff;
  border-top: 1px solid #456a84;
}

.front-about__inner{
  display:flex;
  align-items:stretch;
  width:100%;
}

.front-about__left{
  width:70%;
  height:610px;
}

.front-about__image{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.front-about__right {
  width: 40%;
  margin-right: 50px;
  margin-left: 50px;
  padding: 40px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  position: relative;
}

.front-about__head{
  display: flex;
  flex-direction: column;
  gap: 10px; /* タイトルとサブタイトルを離しすぎない */
}

.front-about__body{
  margin-top: 26px; /* 好みで 22〜34px で微調整 */
}

.front-about__foot{
  margin-top: auto; /* これが本命：下へ押し下げる */
}

.front-about__title{
  margin:0;
  font-size:4em;
  line-height:1.1;
  color: #446780;
}

.front-about__subtitle{
  margin:10px 0 0;
  font-size:22px;
  line-height:1.4;
}

.front-about__text{
  margin:24px 0 20px;
  font-size:15px;
  line-height:2.5;
  font-weight: 500;
}

.front-about__bg{
  position:absolute;
  right:0;
  bottom:0;
  width:320px;
  height:100%;
  background-image:url("https://reform-test.sai-irodori.design/wp-content/uploads/2026/01/BG-Illust.svg");
  background-repeat:no-repeat;
  background-size:contain;
  background-position:right bottom;
  pointer-events:none;
  z-index:0;
}

/* 文字とボタンがBGより前 */
.front-about__title,
.front-about__subtitle,
.front-about__text,
.front-about__right .hero-btn{
  position:relative;
  z-index:1;
}

/* ==========================
   SECTION BG（GRID）
========================== */
.section-grid {
  background-color: #fff;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ==========================
   FRONT SERVICE
========================== */
.front-service{
  width:100%;
  padding:10% 5%;
}

.front-service__inner{
  width:100%;
  max-width:1300px;
  margin:0 auto;
}

/* ==========================
   Service Headings（PHP構造に合わせる）
   .service-head > .text > .en/.jp
========================== */
.service-head{
  display:flex;
  align-items:center;
  gap:20px;
  
}

.service-head .text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  line-height:1.2;
  color: #000;
}

/* 英字 */
.service-head .text .en{
  font-size: 18px;
  color: #000000;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
  font-family: "Montserrat", Sans-serif;
  font-weight: 600;
}

/* 日本語 */
.service-head .text .jp{
  font-size: 35px;
  color: #000000;
  font-weight: 600;
  letter-spacing: 0.07em;
  font-family: 'Noto Sans JP', sans-serif;
}



/* ==========================
   HEAD（3カラム：30% / 中：可変 / 右：auto）
========================== */
.front-service__head{
  display:grid;
  grid-template-columns: 30% minmax(0, 1fr) max-content;
  align-items:center;
  column-gap:40px;
  position:relative;
  padding-bottom:20px;
}

.front-service__head::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:2px;
  background:#000000;
}

.front-service__head-left{
  position:relative;
  padding-right:40px;
}

.front-service__head-left:after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:1px;
  height:100%;
  background:#000;
}

.front-service__title{
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:15px;
}

.front-service__title-en{
  font-size:4rem;
  font-weight:600;
  letter-spacing:0.02em;
  color:#456A84;
}

.front-service__title-ja{
  font-size:22px;
  font-weight:500;
  letter-spacing:0.06em;
  color:#000;
}

.front-service__lead{
  margin:0;
  font-size:15px;
  line-height:1.9;
  font-weight:500;
}

.front-service__head-right{
  display:flex;
  justify-content:flex-end;
  justify-self:end;
  min-width:0;
}

/* ==========================
   LIST（service items）PC：grid 2カラム
========================== */
.front-service__list{
  margin-top:80px;
  display:flex;
  flex-direction:column;
  gap:60px;
}

.front-service__item{
  display:grid;
  grid-template-columns: 1fr 1fr;
  align-items:stretch;
  column-gap:60px;
}

.front-service__item.is-reverse{
  direction:rtl;
}

.front-service__item.is-reverse > *{
  direction:ltr;
}

/* media（PC高さ） */
.front-service__media{
  width:100%;
  height:380px;
  overflow:hidden;
}

.front-service__media.is-single img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:0;
}

/* service1：2x2 grid */
.front-service__media.is-grid-4 .front-service__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height:100%;
  overflow:hidden;
}

.front-service__media.is-grid-4 .front-service__grid img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* content */
.front-service__content{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:space-evenly;
}

.front-service__content .service-head{
  margin:0;
}

.front-service__line{
  display:block;
  width:80px;
  height:1px;
  background:#A3A47A;
}

.front-service__text{
  margin:0;
  font-size:15px;
  line-height:1.9;
  font-weight:500;
}

/* 区切り */
.front-service__divider{
  width:100%;
  height:16px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%' viewBox='0 0 20 16' fill='none' stroke='black' stroke-width='1' stroke-linecap='square' stroke-miterlimit='10'%3E%3Cg transform='translate(-12.000000, 0)'%3E%3Cpath d='M28,0L10,18'/%3E%3Cpath d='M18,0L0,18'/%3E%3Cpath d='M48,0L30,18'/%3E%3Cpath d='M38,0L20,18'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat:repeat-x;
  background-size:12px 6px;
  opacity:0.35;
  color:#e2e3d6;
}

/* ==========================
   RESPONSIVE（<=1000px）
========================== */
@media(max-width:1000px){

  .front-service .hero-btn{
    margin-bottom:30px;
  }

  .front-service__list{
    margin-top: 0;
    gap:5px;
  }

  /* HEAD：縦 */
  .front-service__head{
    grid-template-columns:1fr;
    row-gap:20px;
    align-items:flex-start;
    margin:30px 0;
    padding-bottom:30px;
  }

  .front-service__head-left,
  .front-service__head-center,
  .front-service__head-right{
    grid-column:1;
  }

  .front-service__head-left{
    padding-right:0;
  }

  .front-service__head-left:after{
    display:none;
  }

  .front-service__head-right{
    justify-content:flex-start;
    justify-self:start;
  }

  /* ITEM：縦（必ず画像が下） */
  .front-service__item{
    display:flex;
    flex-direction:column;
  }

  /* reverse解除 */
  .front-service__item.is-reverse{
    direction:ltr;
  }

  /* 並び順（content→media） */
  .front-service__content{
    order:1;
    gap:10px;
    margin-top: 30px;
  }

  .front-service__media{
    order:2;
    margin-bottom:50px;
    height: auto;
  }

  /* 1枚画像だけ高さ固定 */
  .front-service__media.is-single img{
    width:100%;
    height:450px;
  }

  /* 2×2はコンテナの高さで揃える（imgにheightを当てない） */
  .front-service__media.is-grid-4{
    height:450px;
    overflow:hidden;
  }

  .front-service__media.is-grid-4 .front-service__grid{
    height:100%;
  }

  .front-service__text{
    margin:0 0 20px;
  }

  /* line：潰れ防止 */
  .front-service__line{
    flex:0 0 auto;
    min-height:1px;
    opacity:1;
    margin-top:20px;
  }
}

/* ==========================
   RESPONSIVE（<=500px）
========================== */
@media(max-width:500px){

  .front-about__bg{
   width: 250px; 
  }
  .front-service__content{
    margin-top: 20px;
  }

  /* 1枚画像だけ */
  .front-service__media.is-single img{
    width:100%;
    height:250px;
  }

  /* 2×2も同じ高さ基準 */
  .front-service__media.is-grid-4{
    height:250px;
    overflow:hidden;
  }
   .service-head .text .en{
    font-size: 1rem!important;
  }

  .service-head .text .jp{
    font-size: 1.8rem!important;
  }
}

/* ==========================
   FRONT FLOW
========================== */
.front-flow{
  position: relative;
  background: #A3A47A;
  padding: 10% 5%;
  overflow: hidden;
}

.front-flow__inner{
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
}

/* title */
.front-flow__head{
  margin: 0 0 40px;
}

.front-flow__title {
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.front-flow__title-en {   
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #ffffff;
}
.front-flow__title-ja {
    margin: 10px 0 0;
    font-size: 22px;
    line-height: 1.4;
}

/* flow list（縦帯の基準） */
.front-flow__list{
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 80px;
}

/* BG左の縦帯：flow list の中だけ */
.front-flow__list::before{
  content:"";
  position:absolute;
  top:0;
  left: 65px;
  width: 50px;
  height:100%;
  background-image: url("https://reform-test.sai-irodori.design/wp-content/uploads/2026/01/FlowBG.png");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: cover;
  pointer-events:none;
  z-index:0;
}

/* フロー項目は縦帯より前面に */
.front-flow__item{
  position: relative;
  z-index: 1;
  border: 3px solid #fff;
  padding: 22px 24px;
  color: #fff;
  background: #a3a47a;
  border-radius: 5px;
}

.front-flow__item-title{
  margin: 0 0 10px;
  color: #fff;
}

.front-flow__item-text{
  margin: 20px 0 0;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

/* contact 仮置き */
.front-flow__contact{
  margin-top: 40px;
}

/* ==========================
   Contact Button Component
========================== */
.contact-button{
  width: 100%;
}

.contact-button__inner{
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 5%;
}

.contact-button__head{
  text-align: center;
  margin-bottom: 28px;
}

.contact-button__lead-title{
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 25px;
}

.contact-button__lead-text{
  margin: 0;
  font-weight: 500;
  font-size: 15px;
}

.contact-button__body{
  border-top: 2px solid #456A84;
  padding-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  column-gap: 40px;
  align-items: stretch;
}

.contact-button__divider{
  width: 1px;
  height: 160px;
  background: rgba(0,0,0,0.25);
  justify-self: center;
}

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

.contact-button__col-title{
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 500;
}

.contact-button__line{
  display: block;
  width: 110px;
  height: 1px;
  margin: 0 auto 18px;
  background: rgba(0,0,0,0.25);
}

.contact-button__tel{
  display: inline-block;
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #456A84;
}

/* hover / focus / active / visited すべて固定 */
.contact-button a.contact-button__tel:hover,
.contact-button a.contact-button__tel:focus,
.contact-button a.contact-button__tel:active,
.contact-button a.contact-button__tel:visited{
  color: #456A84;
}

.contact-button__hours{
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.contact-button__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  height: 56px;
  padding: 0 22px;
  border-radius: 10px;
  background: #456A84;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 10px;
  transition: transform 0.25s ease;
}

/* ホバーで少し上（色は依存なしで固定） */
.contact-button a.contact-button__btn:hover,
.contact-button a.contact-button__btn:focus,
.contact-button a.contact-button__btn:active,
.contact-button a.contact-button__btn:visited,
.contact-button a.contact-button__btn:focus-visible{
  color: #fff;
}
.contact-button a.contact-button__btn:hover,
.contact-button a.contact-button__btn:focus-visible{
  transform: translateY(-4px);
}

/* SP */
@media (max-width: 900px){
  .contact-button__body{
    grid-template-columns: 1fr;
    row-gap: 26px;
  }

  .contact-button__divider{
    display: none;
  }

  .contact-button__inner{
    padding: 44px 5%;
  }

  .contact-button__tel{
    font-size: 28px;
    margin: 0;
  }
}

@media (max-width: 500px){
  .front-flow{
    padding: 15% 5% 10%;
  }

  .contact-button__lead-title{
    font-size: 20px;
  }
}

/* ==========================
   Contact Button / Tel 下線（<=1000px）
   斜線パターン版
========================== */
@media (max-width:1000px){

  .contact-button__col.is-tel .contact-button__hours{
    position: relative;
  }

  .contact-button__col.is-tel .contact-button__hours::after{
    content:"";
    display:block;
    width: 70%;
    height: 16px;
    margin: 20px auto 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%' viewBox='0 0 20 16' fill='none' stroke='black' stroke-width='1' stroke-linecap='square' stroke-miterlimit='10'%3E%3Cg transform='translate(-12.000000, 0)'%3E%3Cpath d='M28,0L10,18'/%3E%3Cpath d='M18,0L0,18'/%3E%3Cpath d='M48,0L30,18'/%3E%3Cpath d='M38,0L20,18'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 12px 6px;
    opacity: 0.35;
  }

}



.front-flow__contact{
  margin-top: 100px;
  background: #fff;
  border-radius: 10px;
  margin: 50px 0 80px;
}

/* ==========================
   FAQ SECTION（WRAPPER / INNER）
========================== */
.front-faq{
  width:100%;
  padding:10% 5%;
  font-family:'Noto Sans JP', sans-serif;
}

.front-faq__inner{
  width:100%;
  max-width:1300px;
  margin:0 auto;
}

/* ==========================
   FAQ TITLE
========================== */
.front-faq__title{
  margin:0 0 60px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:15px;
}

.front-faq__title-en{
  font-size:4rem;
  font-weight:600;
  letter-spacing:0.02em;
  color:#456A84;
}

.front-faq__title-ja{
  font-size:22px;
  font-weight:500;
  letter-spacing:0.06em;
  color:#000;
}

/* ==========================
   FAQ BODY（LIST / BUTTON）
========================== */
.front-faq__body{
  display:flex;
  flex-direction:column;
  align-items:stretch;
}

.front-faq__body .faq-list{
  width:100%;
}

.front-faq__body .hero-btn.black{
  align-self:center;
  margin-top:60px;
}

/* ==========================
   FAQ ACCORDION
========================== */
.faq-item{
  margin-bottom:15px;
}

/* --- 質問ボタン --- */
.faq-question{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:#456A84;
  color:#fff;
  font-size:1.1rem;
  padding:15px 25px;
  border:none;
  cursor:pointer;
  border-radius:50px;
  transition:background 0.3s ease;
}

/* Astraの hover/focus で color: transparent; を潰す（FAQボタンだけ） */
.front-faq .faq-question:hover,
.front-faq .faq-question:focus,
.front-faq .faq-question:focus-visible,
.front-faq .faq-question:active{
  color:#fff !important;
}

/* ボタン内のテキストも強制（継承/上書き対策） */
.front-faq .faq-question *{
  color:#456a84 !important;
}

.faq-item.open .faq-question{
  background:#A3A47A;
}

/* ホバー時 */
.faq-question:hover{
  background:#A3A47A;
}

/* --- Q丸 --- */
.faq-q{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f8f9f8;
  color:#456A84 !important;
  width:40px;
  height:40px;
  min-width:40px;
  min-height:40px;
  flex:0 0 40px;
  flex-shrink:0;
  border-radius:50%;
  margin-right:15px;
  font-weight:700;
  font-family:'Montserrat','Noto Sans JP',sans-serif;
}

/* ＋／− アイコン */
.faq-toggle{
  position:relative;
  width:18px;
  height:18px;
  margin-left:auto;
  flex:0 0 auto;
  flex-shrink:0;
}

.faq-toggle::before,
.faq-toggle::after{
  content:"";
  position:absolute;
  background:#fff;
  transition:all 0.3s ease;
}

.faq-toggle::before{
  top:50%;
  left:0;
  right:0;
  height:2px;
  transform:translateY(-50%);
}

.faq-toggle::after{
  left:50%;
  top:0;
  bottom:0;
  width:2px;
  transform:translateX(-50%);
}

.faq-item.open .faq-toggle::after{
  transform:translateX(-50%) translateY(8px);
  opacity:0;
}

/* --- 回答外枠 --- */
.faq-answer{
  overflow:hidden;
  max-height:0;
  border-radius:10px;
  padding:0 20px;
  transition:max-height 0.45s ease, padding 0.45s ease;
  display:block;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size:20px 20px;
}

/* --- 回答内側 --- */
.faq-answer-inner{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.faq-answer p{
  color:#333;
  margin:20px 0;
  line-height:1.8;
}

.faq-a{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#456A84;
  color:#fff;
  width:40px;
  height:40px;
  min-width:40px;
  min-height:40px;
  flex:0 0 40px;
  flex-shrink:0;
  box-sizing:border-box;
  line-height:1;
  border-radius:50%;
  margin:20px 0;
}

/* --- 開いた状態 --- */
.faq-item.open .faq-answer{
  max-height:800px;
  padding:0 20px 20px 20px;
}

/* ==========================
   FAQ RESPONSIVE
========================== */
@media (max-width:768px){
  .faq-answer-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .faq-a{
    margin-bottom:5px;
  }

  .faq-answer p{
    margin:0 0 20px 0;
  }

  .faq-question{
    padding:10px 20px;
  }

  .front-faq{
    padding: 15% 5%;
  }

  .front-faq__body .hero-btn.black{
  align-self:center;
  margin-top:40px;
}

}



/* ==========================
   FRONT COMPANY
========================== */
.front-company{
  position:relative;
  width:100%;
  padding:5% 5%;
  overflow:hidden;
}

.front-company__inner{
  position:relative;
  width:100%;
  max-width:1300px;
  margin:0 auto;
  z-index:3;
}

/* BG（画像 + 透明度0.5） */
.front-company__bg{
  position:absolute;
  inset:0;
  background-image:url('https://reform-test.sai-irodori.design/wp-content/uploads/2026/01/company-img.jpg');
  background-size:cover;
  background-position:center;
  z-index:1;
}

/* オーバーレイ */
.front-company__overlay{
  position:absolute;
  inset:0;
  background:#33333373;
  z-index:2;
}

/* ==========================
   COMPANY TITLE（FAQと同じ思想）
========================== */
.front-company__title{
  margin:0 0 60px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:15px;
}

.front-company__title-en{
  font-size:4rem;
  font-weight:600;
  letter-spacing:0.02em;
  color:#fff;
}

.front-company__title-ja{
  font-size:22px;
  font-weight:500;
  letter-spacing:0.06em;
  color:#fff;
}

/* =========================
   Grid レイアウト
========================= */
.info-buttons{
  display:grid;
  /*grid-template-columns: repeat(2, 1fr); /* PCでは3カラム */
  gap:25px;
  justify-items:center;
}

/* =========================
   各ボタン共通スタイル
========================= */
.info-btn{
  width:100%;
  height:350px;
  background:rgba(255, 255, 255, 0.7);
  border-radius:10px;
  text-align:center;
  text-decoration:none;
  color:#333;
  padding:40px 20px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  border:1px solid rgba(255,255,255,0.3);
  box-shadow:0 4px 15px rgba(0,0,0,0.05);
  transition:all 0.4s ease;
  backdrop-filter:blur(0px);
  -webkit-backdrop-filter:blur(0px);
}

/* =========================
   ホバー時のガラス効果
========================= */
.info-btn:hover{
  background:rgba(255, 255, 255, 0.25);
  color:#fff;
  border-color:rgba(255,255,255,0.5);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  transform:translateY(-4px);
  box-shadow:0 8px 20px rgba(255,255,255,0.2);
}
.info-btn:hover h3,
.info-btn:hover p{
  color:#fff;
}

/* =========================
   テキストデザイン
========================= */
.info-btn h3{
  font-family:'Montserrat','Noto Sans JP',sans-serif;
  font-size:30px;
  font-weight:700;
  margin:0 0 10px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#333;
  transition:color 0.3s ease;
}
.info-btn p{
  font-size:20px;
  color:#333;
  margin:0;
  opacity:0.85;
  transition:color 0.3s ease;
}

/* =========================
   タブレット
========================= */
@media(max-width:1000px){
    .front-company{
    padding: 18% 5%;
  }
  .info-buttons{
    grid-template-columns:1fr;
  }
  .info-btn{
    height:250px;
  }
  .info-btn h3{
    font-size:2rem;
  }
  .info-btn p{
    font-size:18px;
  }
}

/* =========================
   スマホ
========================= */
@media (max-width: 500px){

  .front-company{
    padding: 25% 5%;
  }
  .info-btn{
    height:150px;
    border-radius:8px;
  }
  .info-btn h3{
    font-size:23px;
  }
  .info-btn p{
    font-size:15px;
  }
}

/* ==========================
   CONTACT SECTION（白背景）
========================== */
.front-contact-section{
  width:100%;
  background:#fff;
  padding:7% 5% 10%;
}

/* ==========================
   FRONT CONTACT（SECTION：白）
========================== */
.front-contact{
  width:100%;
  background:#fff;
  padding:7% 5%;
}

.front-contact__inner{
  width:100%;
  max-width:1300px;
  margin:0 auto;
}

/* ==========================
   CONTACT BLOCK（中の緑）
========================== */
.front-contact__link{
  width:100%;
  height:420px;
  background:#A3A47A;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 5%;
  text-decoration:none;
  color:#fff;
  border-radius: 5px;
}

.front-contact__link:visited{
  color:#fff;
}

.front-contact__link:hover,
.front-contact__link:focus,
.front-contact__link:active{
  color:#fff;
  text-decoration:none;
}

/* ==========================
   LEFT：ARROW
========================== */
.front-contact__arrow{
  display:flex;
  align-items:center;
  color: #fff;
}

.front-contact__arrow img{
  width:32px;
  height:auto;
}

/* ==========================
   RIGHT：TEXT
========================== */
.front-contact__text{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
}

.front-contact__en{
  font-family:'Montserrat','Noto Sans JP',sans-serif;
  font-size:3rem;
  font-weight:600;
  letter-spacing:0.08em;
  color:#fff;
}

.front-contact__ja{
  font-size:18px;
  font-weight:500;
  letter-spacing:0.08em;
  color:#fff;
}

/* ==========================
   CENTER（矢印とテキストは高さ方向で中央）
========================== */
.front-contact__arrow,
.front-contact__text{
  align-self:center;
}

/* ==========================
   HOVER（色は変えない / Astra対策）
========================== */
.front-contact__link:hover{
  background: #BABB98;
}

.front-contact__link:hover .front-contact__en,
.front-contact__link:hover .front-contact__ja{
  color:#fff;
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width:1000px){
  .front-contact__link{
    height:300px;
  }

  .front-contact__en{
    font-size:2.2rem;
  }

  .front-contact__ja{
    font-size:15px;
  }

  .front-contact__arrow img{
    width:24px;
  }
}

@media (max-width:500px){
  .front-contact{
    padding: 15% 5%;
  }
  .front-contact__link{
    height:250px;
  }

}

/* ==========================
   RESPONSIVE（<=1000px）
========================== */
@media (max-width:1000px){

  /* HERO */
  .front-hero{
    min-height:85vh;
    padding:0 5%;
  }

  .front-hero h2,
  .front-hero .hero-title{
    font-size:40px;
  }

  /* ABOUT */
  .front-about{
    padding:10% 5% 10%;
  }

  .front-about__inner{
    display:flex;
    align-items:center;
    flex-direction:column-reverse;
  }

  .front-about__right{
    width:100%;
    padding: 0;
  }

  .front-about__left{
    width:100%;
    height:460px;
    margin-top:40px;
  }

  .front-about__title{
    font-size:3em;
  }

  .front-about__subtitle{
    font-size:18px;
  }

  /* Flowの日本語（他セクションも） */
  .front-flow__title-ja{
    font-size:18px;
  }
}

/* ==========================
   RESPONSIVE（<=500px）
========================== */
@media (max-width:500px){

  /* HERO */
  .front-hero{
    min-height:100vh;
  }

  .front-about__head{
    gap:0
  }

  .front-about__text{
    margin: 0 auto;
    line-height: 2;
  }

  .front-about__foot{
    margin-top: 30px;
  }

  .front-hero h2,
  .front-hero .hero-title{
    font-size:33px;
  }

  .front-hero h3,
  .front-hero .hero-subtitle{
    font-size:17px;
  }

  /* ABOUT */
  .front-about__left{
    height:280px;
  }


  .front-faq__title-en,
  .front-flow__title-en,
  .front-service__title-en{
    font-size:3rem;
  }

  .front-faq__title-ja,
  .front-flow__title-ja,
  .front-service__title-ja{
    font-size:18px;
  }

  .front-service{
    padding: 5% 5% 7%;
  }

}








/* ==========================
   News Archive：Astraのコンテンツ幅制限を解除
========================== */
main#primary.site-main.has-news-archive{
  width:100%;
  max-width:none;
}

main#primary.site-main.has-news-archive .news-archive{
  width:100%;
  max-width:none;
}

/* これが効くケースが多い：#content の左右paddingを消す */
#content.site-content > main#primary.site-main.has-news-archive{
  padding-left:0 !important;
  padding-right:0 !important;
  max-width:none !important;
}

#content.site-content{
  max-width:none !important;
}
