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

* {
  list-style: none;
}

body {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: var(--fs-base);
  color: #796249;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

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

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

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

main {
  padding-top: 72px;
  padding-bottom: 160px;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px; /* ← これ超重要 */
}
/* PC表示では改行しない */
.br-sp {
  display: none;
}

/**Button**/
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.btn_sec {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}

.btn,
[class*="btn--primary"] {
  font-weight: 600;
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.2),
              0 2px 2px rgba(0,0,0,0.19);
  transition: all 0.3s ease;
}

/* hoverも共通化 */
.btn:hover,
[class*="btn--primary"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  opacity: 0.95;
}

.btn--primary_brown {
  background: #796249;
  color: #fff;
  width: 200px;
  height: 50px;
  border-bottom: solid 2px #5f4b36;/*少し濃い目の色に*/
  rgba(0, 0, 0, 0.19);
}


.btn--primary_blue {
  background: #2B92F9;
  color: #fff;
  width: 228px;
  height: 50px;
  border-bottom: solid 2px #0a70d6;/*少し濃い目の色に*/
   rgba(0, 0, 0, 0.19);
}

.btn--primary_light-blue{
  background: #74BAFF;
  color: #fff;
  width: 300px;height: 54px;
  border-bottom: solid 2px #2b92f9;/*少し濃い目の色に*/
  rgba(0, 0, 0, 0.19);

}

.btn--primary_line{
  display: flex;
  background: #06C755;
  color: #fff;
  width: 300px;
  border-bottom: solid 2px #047c35;/*少し濃い目の色に*/
  rgba(0, 0, 0, 0.19);
  justify-content: center;
}

a.btn.btn--primary_line img {
    width: 25%;
}

.btn--outline {
  border: 1px solid #796249;
  color: #796249;
}



span.marker {
    background: linear-gradient(transparent 70%, #FFD1B8 70%);
    font-weight: 700;
}



/***文字サイズ CSS変数で管理***/

:root {
  --fs-xs: 1.2rem;   /* 補足・注釈 */
  --fs-sm: 1.4rem;   /* 小テキスト */
  --fs-base: 1.6rem; /* 本文← 18px */
  --fs-md: 2.2rem;   /* 小見出し */
  --fs-lg: 3.2rem;   /* セクションタイトル */
  --fs-xl: 4.2rem;   /* メイン見出し（FV） */
  
  --color-main: #796249;
}

.text-sm {
  font-size: var(--fs-sm);
}

.text-base {
  font-size: var(--fs-base);
}

.text-md {
  font-size: var(--fs-md);
}

.text-lg {
  font-size: var(--fs-lg);
}
p {
  font-size: var(--fs-base);
  line-height: 1.8;
}

h1, h2, h3 {
  line-height: 1.5;
}

/***余白の基準***/
:root {
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 100px;
}
.section {
  padding: var(--space-xl) 0; /* 横はcontainerに任せる */
  scroll-margin-top: 80px; /* ヘッダー高さに合わせる */
}

.section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-lg);
  text-align: center;
}

/* 丸 */
.section-title::before {
  content: "";
  width: 32px;
  height: 32px;
  background: url("../img/common/icon-dot.svg") no-repeat center / contain;
  display: inline-block;
}


.section-body {
  margin-top: var(--space-md);
}
.section--service .section-body {
  padding: 0;
  margin-top: var(--space-lg);
}
.service__row--top {
  margin-bottom: var(--space-md);
}

/***下からふわっと表示（fadeUp）***/

/* 子要素に付与する */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
/* JS効かない時でも見えるようにする保険 */
.no-js .fade-up {
  opacity: 1;
  transform: none;
}
.fade-up.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
Layout（header / footer / container）
===================== */

/*** header ***/
.header {
  display: flex;
  justify-content: space-around;
  position: fixed;
  width: 100%;
  height: 72px;
  background: #fff;
  backdrop-filter: blur(4px);
  z-index: 100;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header__menu-area {
  display: flex;
  align-items: center;
}
h1.header__logo {
  left: 50px;
}
.header__logo img {
  width: 92%;
  transition: transform .3s ease;
}
.header__logo:hover img {
  transform: scale(1.1);
}
/* ナビ（PC） */

.header__menu {
  display: flex;
  gap: 14px;
  list-style: none;
  font-size: var(--fs-md);
  font-weight: 600;
    padding-left: 0;
}

.menu__item {
  position: relative;
}

.menu__item > a {
  display: block;
  color: var(--color-main);/* ブラウン色 */
  font-size: var(--fs-sm);
  text-decoration: none;
}


/*ドロップダウン非表示状態*/
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(12px);
  transition: all .45s cubic-bezier(.22,.61,.36,1);
  visibility: hidden;
  z-index: 200;
  will-change: opacity, transform;
}

/* hover切れ防止 */
.has-dropdown {
  position: relative;
}

/*ホバーで表示*/
.has-dropdown:hover .dropdown {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity .45s cubic-bezier(.22,.61,.36,1),
    transform .45s cubic-bezier(.22,.61,.36,1),
    visibility 0s;
  background-color: #fff;
  visibility: visible;
  pointer-events: auto;
}


/*ドロップダウン内リンク*/
.dropdown li {
  list-style: none;
  transition: background-color .5s cubic-bezier(.22,.61,.36,1);
}


.dropdown li + li {
  margin-top: 22px;
}

.header__menu > li > a {
  padding-left: 16px;
}

.dropdown a {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font-size: var(--fs-sm);
  color: var(--color-main);   /* ブラウン色 */
  transition: color .3s cubic-bezier(.22,.61,.36,1);
}



/* 下線 */
.dropdown a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #796249;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .55s cubic-bezier(.19,1,.22,1);
}
.header__menu .dropdown a::before {
  display: none;
}

.dropdown a:hover::after {
  transform: scaleX(1);
}

.dropdown a:hover {
  background-color: transparent;
  border: none;
  box-shadow: none;
}
.header__menu a:hover {
   opacity: 0.8;
}



.header__menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: url("../img/common/icon-dot.svg") no-repeat center / contain;
}
  
/* お問い合わせ */
.header__btn {
  background: #796249;
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: opacity 0.3s;
}

.header__btn:hover {
  opacity: 0.8;
}

/* 右側SNS */
.header__right {
  display: flex;
  align-items: center;
  margin-left: 8px;
  gap: 8px;
}

.header__right a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
    transition:
    opacity .45s cubic-bezier(.22,.61,.36,1),
    transform .45s cubic-bezier(.22,.61,.36,1),
    visibility 0s;
    
}

/* 共通 */
.header__right a {
  display: inline-block;
}

/* LINE・Instagramのみ */
.header__right a:not(.btn):hover {
  border-radius: 10px;
}
.header__right img {
    width: 32px;
}
.line-sp { 
  display: none; 
}

/* ハンバーガー */
.hamburger {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: #796249; /* 茶色 */
  border: none;
  border-radius: 5px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 9999;
  cursor: pointer;
}

/* ハンバーガー 線 */
.hamburger span {
  width: 22px;
  height: 2px;
  background: #fff;
}


/*メニュー初期状態（非表示）*/
.sp-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: #fff;
  padding: 80px 20px;
  transition: right 0.5s cubic-bezier(.22,.61,.36,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* iPhone用（超重要） */
  }

/*メニュー見た目*/
.sp-nav ul {
  display: flex;
  flex-direction: column;
  padding-bottom: 40%;
  gap: 16px;
}

.sp-nav a {
  text-decoration: none;
  font-size: 1.6rem;
}

/* 開いた状態 */
.sp-nav.is-open {
  right: 0;
}
.sp-nav li:last-child {
  display: flex;
  gap: 10px;
}



/* =====================
  header 安定化パッチ
===================== */

/* aタグを基準にする */
.header__menu a {
  position: relative;
  display: inline-block;
}

/* ドットと下線の衝突防止 */
.header__menu a::before {
  pointer-events: none;
}

/* active下線のズレ防止 */
.header__menu .is-active > a::after,
.header__menu .current-menu-item > a::after,
.header__menu .current_page_item > a::after {
  bottom: -6px; /* ← 少し下げて安定 */
}

/* hoverでズレるの防止 */
.header__menu a:hover {
  transform: none; /* ← これ重要 */
}

/* dropdown内は影響させない */
.dropdown a:hover {
  transform: none;
}






/*** footer ***/

.footer {
  background: #f7f3ed;
  border-top: 10px solid #c7a889;
}

/* 内側 */
.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* 横並び */
.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer__logo {
    margin-bottom: 32px;
    transition: transform 0.5s;
    will-change: transform;
}
.footer__logo:hover img {
    transform: scale(1.1);
    transition: all 1s ease;
}

/*左 */
.footer__left {
  width: 260px;
}

.footer__logo img {
  width: 140px;
  margin-bottom: 10px;
}


/* 電話 */
.footer__tel {
  margin-top: 15px;
  border: 2px solid #BB9872;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: var(--fs-md);
  font-weight: bold;
  background: #FFF;
}

.footer__tel img {
  width: 20px;
}


/* ナビ*/
.footer__nav {
  display: flex;
  gap: 60px;
}

.footer__nav ul {
  list-style: none;
}

.footer__nav li {
  margin-bottom: 10px;
}

.footer__nav a:hover {
  opacity: 0.7;
}

/*右 */
.footer__right {
  text-align: right;
  margin-top: 20px;
}

.footer__catch {
  width: 100px;
  margin-bottom: 10px;
}


.footer__sns a img {
  width: 36px;

}

.footer__sns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.footer__sns a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
    border-radius: 10px;
    transition:
    opacity .45s cubic-bezier(.22,.61,.36,1),
    transform .45s cubic-bezier(.22,.61,.36,1),
    visibility 0s;
}


.footer__bottom {
  text-align: center;
  padding: 15px 0;
  background: #c7a889;
  color: #fff;
  font-size: 12px;
}


 .sp-fixed-btn {
  display: none;
}

/*** container***/

/**私たちについて（about）**/
section#about {
    padding: 40px;
}
.about__content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.about__image {
  width: 45%;
  display: flex;
  flex-direction: column;
}
.about__image img:nth-of-type(2) {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 50%;
    opacity: .7;
    animation: floatY 3s ease-in-out infinite;
}
.about__text {
  width: 50%;
  margin: 0 auto;
  text-align: center;
}
.about__text span.text-md{
   font-weight: 700;
}

/* 私たちにできること（service） */

/* セクション */
.section--service .section-body {
  position: relative;
  padding: 0 20px;
}
section#service {
    background: aliceblue;
    padding-bottom: 200px;
}
/* 背景（PCのみ） */
.service__bg {
  position: absolute;
  z-index: 0;
}

.service__bg--left {
  width: 300px;
  left: -100px;
  bottom: -140px;
  opacity: .7;
}

.service__bg--right {
  width: 400px;
  right: -180px;
  top: -100px;
  opacity: .7;
}

.service__bg--right img {
  border-radius: 50%;
}

/* flexレイアウト*/

.service__list {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
/* 共通 */
.service__row {
  display: flex;
  justify-content: space-around;
  gap: 1%;
}
.service__row--top {
  align-items: flex-end;
}

.service__row--bottom {
  align-items: flex-start;
}

/* アイテム */
.service__item {
  width: 270px;
  aspect-ratio: 1 / 1;
  position: relative;
  will-change: transform;
  padding: 8px;        /* 影の分の余白を確保 */ 
  box-sizing: content-box; /* widthに影響しないよう明示 */
}

/* アニメーションPCのみ */
@media (min-width: 769px) {
  .service__item {
    animation: floatY 6s ease-in-out infinite;
      /* ふわふわ上段 */
.service__row--top .service__item:nth-child(1),
.service__row--top .service__item:nth-child(3) {
  transform: translateY(10px);
}

/* ふわふわ下段 */
.service__row--bottom .service__item:nth-child(1),
.service__row--bottom .service__item:nth-child(4) {
  transform: translateY(-10px);
}
  }
  
  
  
}
.service__item:hover {
  animation-play-state: paused;
  transform: translateY(-8px);
  transition: transform 0.3s ease;
}

/* 画像 */
.service__item img {
  object-fit: contain; /* ← 全体を収める */
  filter: drop-shadow(5px 5px 5px #aaa);
}
/* テキスト */
.service__item p {
  position: absolute;
  width: 100%;
  top: 60%; /* ←中央に戻す */
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
  font-size: var(--fs-base);
  font-weight: 700;
}

img.path_btm {
    margin-bottom: 72px;
}



/* =========================
   波線（上）
========================= */
/* セクション */
.section--service {
  position: relative;
  padding: 100px 0 240px 0;
  overflow: hidden;
}

/* ラッパー */


/* 羽のホバー時プルルンと震えるキーフレーム */
@keyframes pururun {
  0% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(-3px, 3px) rotate(-3deg); }
  40% { transform: translate(3px, -3px) rotate(3deg); }
  60% { transform: translate(-3px, -3px) rotate(-3deg); }
  80% { transform: translate(3px, 3px) rotate(3deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}



/* =========================
   私たちの特徴（feature）
========================= */

/* ===== セクション背景 ===== */
.section--feature {
  background: radial-gradient(#9ecfff 40%, #dbedfe 60%, #7bbdfd 100%);
/*   margin-top: 100px; */
  margin-top: -100px;
}

/* ===== 白カード全体 ===== */
.section--feature .section-body {
  max-width: 1100px;
  margin: 80px auto;
  padding: 80px 60px;
  position: relative;
  background: url("../img/feature/feature_bg_paper.jpg") no-repeat center / cover;
}

/* ===== タイトル ===== */
.section--feature .section-title {
  text-align: center;
  font-size: 26px;
  margin-bottom: 40px;
}

/* ===== 長文 ===== */
.section--feature .feature__content {
  max-width: 800px;
  margin: 0 auto 50px;
}

.section--feature .feature__content p {
  line-height: 1.9;
  font-size: 15px;
  margin-bottom: 20px;
}

/* =========================
   カード
========================= */

/* 親 */
.feature__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto;
  justify-content: center;
}

/* カード本体 */
.feature__card {
  display: flex;
  flex-direction: column;
  position: relative;
  width: calc(25% - 15px);
  padding-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
/*   border: 2px solid #9ecfff; */
  background-color: #dbedfe;
  box-shadow: 0 5px 5px #aaa;
  transition: all 0.3s ease;
}


/* 画像 */
.section--feature .feature__imgWrap {
  position: relative;
  margin-bottom: 12px;
}

.section--feature .feature__imgWrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
img.feature__content_icon{
   float: right;
   shape-outside: margin-box;
   max-width: 30%;
}

/* タイトル */
.feature__card h3 {
  font-size: var(--fs-base);
  text-align: center;
  padding: 16px 10px 10px;
}

/* ボタン */
.feature__imgWrap .btn_sec {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}
.feature__card .btn_sec {
  margin: 10px auto 15px;
  padding: 0 8px;
}

a.btn.btn--primary_light-blue {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ホバー */
.section--feature .btn--primary_blue:hover {
  opacity: 0.85;
}


/* =========================
   詳細説明
========================= */
.section--feature .feature__details {
  margin-top: 30px;
  margin-bottom: 40px;
  font-size: 13px;
  line-height: 1.9;
  color: #4a90e2;
}
.section--feature .feature__detail {
  margin-bottom: 20px;
}

.section--feature .feature__detail p {
  font-size: 14px;
  line-height: 1.9;
}
.section--feature .feature__content span{
  font-size: var(--fs-base);
  background: linear-gradient(transparent 70%, #FFD1B8 70%);
  font-weight: 700;
}
.section--feature small {
    margin: 0 4px;
}

.section--feature .feature__btn_sec {
    padding: 20px 0;
}

/*==================================================
  ①光レイヤー
==================================================*/
.feature-light{
    position:absolute;
    inset:0;
    overflow:hidden;
    pointer-events:none;
    z-index:30;
}

/*② 光のWhite Aura（ふんわりした白い空気）*/
.feature-light::before{
    content:"";
    position:absolute;
    width:3800px;
    height:700px;
    left:-1300px;
    bottom:-320px;
    border-radius:9999px;
    transform:rotate(-27deg);
    background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.02) 12%,
    rgba(255,255,255,.08) 22%,
    rgba(255,255,255,.18) 35%,
    rgba(255,255,255,.34) 48%,
    rgba(255,255,255,.48) 58%,
    rgba(255,255,255,.32) 68%,
    rgba(255,255,255,.16) 78%,
    rgba(255,255,255,.05) 90%,
    rgba(255,255,255,0) 100%
);
    filter:blur(80px);
}

.feature-light::after{
    content:"";
    position:absolute;
    width:3400px;
    height:360px;
    left:-900px;
    bottom:-90px;
    transform:rotate(-27deg);
    border-radius:9999px;
    background:
    linear-gradient(
        90deg,
        rgba(255,255,255,0),
        rgba(255,255,255,.02),
        rgba(255,255,255,.08),
        rgba(255,255,255,.16),
        rgba(255,255,255,.24),
        rgba(255,255,255,.16),
        rgba(255,255,255,.08),
        rgba(255,255,255,.02),
        rgba(255,255,255,0)
    );
    filter:blur(70px);
	
}

/*③ 光のRainbow Arc（固定位置・フェードのみ）*/
.feature-light__arc{
    position:absolute;
    left:-20vw;
    top: 32px;
    width:240vw;
    height:240vh;
    border-radius:50%;
    transform: rotate(350deg);   /* ← 追加：斜めの角度 */
    transform-origin: 50% 100%;  /* 円の底辺中央を軸に回転 */
	background: radial-gradient(
        circle at 50% 100%,
        transparent 55%,
        rgba(255,138,138,.17) 60%,
        rgba(255,207,138,.42) 64%,
        rgba(255,240,138,.42) 68%,
        rgba(166,232,166,.42) 72%,
        rgba(138,212,255,.42) 76%,
        rgba(159,166,255,.42) 80%,
        rgba(213,159,255,.22) 84%,
        transparent 90%
    );
    filter: blur(6px);
    animation: arcFade 18s ease-in-out infinite;
}

@keyframes arcFade{
    0%{ opacity: 0; }
    15%{ opacity: 1; }
    65%{ opacity: 1; }
    100%{ opacity: 0; }
}



/*④ 光のAnimation*/
@keyframes arcFade{
    0%{ opacity: 0; }
    15%{ opacity: .95; }
    60%{ opacity: .95; }
    100%{ opacity: 0; }
}
@keyframes arcReveal{
    0%{
        clip-path: inset(100% 0 0 0);   /* 上から100%カット＝全部隠れている状態 */
    }
    80%{
        clip-path: inset(0% 0 0 0);     /* カットなし＝完全に出現し終わった状態 */
    }
    100%{
        clip-path: inset(0% 0 0 0);
    }
}

/* 上下の波形装飾  */
.section--feature{
    clip-path: url(#featureWaveClip);
}

@media (max-width: 768px){
    .section--feature{
		top: 100px;
        clip-path: url(#featureWaveClipMobile);
		padding: 160px 0 !important;
    }
}


/* =========================
   CTA
========================= */


.section--cta {
  padding: var(--space-xl) 0;
}



/* 外枠 */
.cta {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border: 4px solid #CBAA87;
  border-radius: 10px;
  overflow: hidden;
  background: #FFFAF4;
}


/* 上帯 */
.cta__header {
  background: #CBAA87;
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: var(--fs-md);
  line-height: 1.8;
  font-weight: 600
}

/* 中身 */
.cta__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px; /* ←追加 */
}
.cta_time_box {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    align-items: center;
}


/* 左 */
.cta__tel {
  width: 400px;
}

/* 電話ボックス本体 */
.cta__tel-box {
  position: relative;
  background: #fff;
  padding: 20px;
  text-align: center;
  border: 2px solid #c7a889;
  z-index: 2;
}

/* 後ろのカード（2枚目） */
.cta__tel-box::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 2px solid #c7a889;
  z-index: -1;
}


/* 電話番号 */
.cta__tel-number {
  color: #2A6FDB;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: var(--fs-lg);
  line-height: 1.8;
  font-weight: 600
}



.cta__tel-btn:hover {
  opacity: 0.8;
}
/* 営業時間 */
.cta__time {
  margin-bottom: 15px;
}
/* アイコン */
.cta_time_box img {
    width: 22%;
    margin-right: 8px;
}
/* 右 */
.cta__right {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0 auto;
}

/***運営者情報***/
.section--company {
  padding: 100px 0;
}

.company {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
section.section.section--company .container {
    text-align: center;
}
.company__bg-img{
    position: relative;
    top: -300px;
    height: auto;
    border-radius: 40% 60% 60% 40%;
    right: auto;
    left: -70px;
    width: 100%;
    z-index: 1;
    opacity: .8;

}
.company__bg-img img{
   position: absolute;
   width: 300px;
    height: auto;
    display: block;

}

/* 左 */

.company__text p {
  margin-bottom: 15px;
  line-height: 1.8;
  text-align: left;
}

/* 右 */
.company__map {
  width: 40%;
}

.map {
  background: #ccc;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company__address {
  font-size: 13px;
  margin-top: 10px;
  text-align: left;
}


/* =========================
   ご利用の流れ（flow）
========================= */


.section--flow {
  padding: var(--space-xl) 0;
  position: relative;
}

/* 全体 */
.flow {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: var(--space-lg);
  padding-bottom: var(--space-lg); /* ←これ追加が効く */
}

/* =========================
   背景（共通）
========================= */
.flow__bg {
  position: absolute;
  z-index: 1;
  opacity: .8;
}

/* =========================
   左背景（2枚重ね）
========================= */
.flow__bg--left {
  top: -100px;
  left: -80px;
  bottom: -20px;
  width: 400px;
  height: auto;
}

/* 共通 */
.flow__bg-img {
  position: absolute;
  overflow: hidden;
}

/* 後ろ */
.flow__bg-img--back {
  top: -280px;
  left: -58px;
  width: 100%;
  height: auto;
  z-index: 1;
}

/* 前（小さい） */
.flow__bg-img--front {
  width: 60%;
  height: auto;
  top: 320px;
  left: 20px;
  z-index: 2;
}

/* 画像 */
.flow__bg-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   右背景（1枚）
========================= */
.flow__bg--right {
    top: -90%;
    width: 30%;
    height: auto;
    border-radius: 40% 60% 60% 40%;
    right: -100px;
    left: auto;
}

.flow__bg--right img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* =========================
   カード
========================= */
.flow__item {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
/* ホバー */
.flow__item:hover {
  transform: translateY(-5px);
}

/* カードに影 */
.flow__card {
  box-shadow: 0 10px 20px rgb(0 0 0 / 19%);
  transition: all 0.3s ease;
}

/* ホバーで強調 */
.flow__item:hover .flow__card {
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
  opacity: 0.8;
}

/* 矢印も動かす */
.flow__item:hover .flow__arrow {
  transform: translateX(3px);
  transition: all 0.3s ease;
  opacity: 0.8;
}

/* アイコン */
.flow__icon {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -62px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.flow__icon img {
  width: 100%;
}

/* カード本体 */
.flow__card {
  width: 364px;
  padding: 22px;
  border-radius: 15px;
  position: relative;
  text-align: center;
}
.flow__card p {
    font-size: var(--fs-md);
    font-weight: 600;
}
/* 左 */
.flow__card--left {
  background: #FFCBAE;
  border: solid 4px #c7a889;
}

/* 右 */
.flow__card--right {
  background: #FFD1D0;
  border: solid 4px #c7a889;
}

/* テキスト */
.flow__card p {
  line-height: 1.6;
}

/* 矢印 */
.flow__arrow {
  position: absolute;
  right: 15px;
  bottom: 52px;
  background: #8a6b4f;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  font-weight: 600;
}



/* =====================
Page（top / 下層）
===================== */

/**FV **/

.fv {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;

  background: url("../img/hero/main-visual.png") 
              right center / cover no-repeat;
  background-position: 80% center;
}
.fv::before {
  content: "";
  position: absolute;
  inset: 0;
      background: rgb(255 255 255 / 13%);
  z-index: 0;
}
.fv h1 {
  font-size: var(--fs-xl);
  line-height: 1.4;
}
.fv__inner {
  padding: 20px;
  position: relative;
  z-index: 2;
}


.fv__content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: #fff;
  padding: 70px;
  margin: 20px 0;
  border-radius: 0 40px 40px 0;
  max-width: 650px;
  z-index: 3;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.3s;
  
   position: relative;
  z-index: 2;

}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fv__content p {
  margin-bottom: var(--space-sm);
}

.fv__content h1 {
  margin-bottom: var(--space-md);
}

.fv__content .text-lg {
    margin: 0 auto 26px auto !important;
}
.fv__content .text-base:first-child {
    margin: 0 auto !important;
}
.fv__content .text-sm {
    margin: 0;
}
.fv__sub {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #7c6a5d;
}

.fv__title {
  font-size: 36px;
  margin: 10px 0 20px;
  font-weight: 600;
}

.fv__text {
  line-height: 1.8;
  font-size: 14px;
}

.fv__feather {
  position: absolute;
  left: 5%;
  top: 46%;
  width: 340px;
  opacity: 0.4;
  filter: blur(0.3px);
  transform: rotate(-8deg);
  animation: floatY 3s ease-in-out infinite;
}

/***下層ページ調整 ***/

/* 下層ページ 全体 */
.page-template {
  color: var(--color-main);/* ブラウン色 */
}

 .page-header {
  padding: 70px 20px 70px;
  text-align: center;
  background: #f7f3ed;
}

.page-title {
  font-size: 32px;
  font-weight: bold;
}

/*下層ページ全体の統一感*/
.page-content {
  padding: 60px 20px 60px;
  color: var(--color-main);/* ブラウン色 */
}
.page-content a {
  color: #2B92F9;
  border-bottom: solid 1px;
}
.page-content a:hover {
  opacity: 0.8;
}
a.btn.btn--primary_blue {
    color: #fff;
}

/* テキスト系すべて上書き */

.page-content section {
  margin-bottom: 80px;
}

.page-content .container {
  max-width: 1100px;
  margin: 0 auto;
}

.page-content p {
  line-height: 1.9;
}

.page-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    padding: .3em 0 .2em 1em;
    border-bottom: 3px solid #c7a889;
    color: #796249;
}
.page-content h2::before {
    position: absolute;
    top: 0;
    left: .3em;
    transform: rotate(55deg);
    height: 11px;
    width: 12px;
    background: #c7a889;
    content: '';
    border-radius: 50px;
}
.page-content h2::after {
    position: absolute;
    transform: rotate(15deg);
    top: .6em;
    left: 0;
    height: 8px;
    width: 8px;
    background: #c7a889;
    content: '';
    border-radius: 50px;
}


.page-content h3 {
  margin: 40px 0 15px;
  color: #796249;

}

.page-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-content li {
  margin-bottom: 8px;
}
hr.wp-block-separator.has-alpha-channel-opacity {
    border: solid 1px #c7a889;
}

 td.has-text-align-center {
    background: #f7f3ed;
}
.wp-block-table td, .wp-block-table th{
	border: 2px solid #f7f3ed;
} 

/**パンくず **/

.breadcrumb {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 20px;
  font-size: 14px;
  color: #796249;
}

.breadcrumb a {
  color: #2B92F9;
  text-decoration: underline;
}

.breadcrumb a:hover {
  opacity: 0.8;
}

/**お問い合わせフォーム**/


/* フォーム全体 */
.form {
  max-width: 600px;
  margin: 0 auto;
}

.form-note {
  margin-bottom: 30px;
  text-align: center;
}
.wpcf7 {
  width: 100%;
}
/*フォームの入力フィールド*/
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  max-width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 16px;
  color: var(--color-main);/* ブラウン色 */
}
.wpcf7 form p {
  margin-bottom: 20px;
} 

/*フォームの入力グループ*/
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: -22px;
  font-weight: bold;
}

/* 必須 */
.required {
  color: #fff!important;
  background: #e74c3c;
  font-size: 12px;
  padding: 2px 6px;
  margin-left: 8px;
  border-radius: 4px;
}

/* テキストエリア */
.wpcf7 textarea {
  min-height: 150px;
  line-height: 1.2;
}


/*フォームのボタン */
.wpcf7 input[type="submit"] {
  display: inline-block;
/*   width: auto; */
  padding: 12px 60px;
  cursor: pointer;
  color:#fff;
}


.form-submit {
  display: flex;
  justify-content: center;
  text-align: center;
}

.wpcf7-submit {
  background: #2B92F9;
  cursor: pointer;
}

.wpcf7-submit:hover {
  opacity: 0.8;
}


/* フォーカス */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #2E96FF;
  outline: none;
}

/* セレクト矢印調整 */

.wpcf7 select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
/*  background: #fff url("data:image/svg+xml;utf8,<svg fill='%232E96FF' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>") no-repeat right 12px center;*/
  background-size: 16px;
  padding-right: 40px;
  background: url(../img/common/sort_down.svg) no-repeat right 12px center;
}

/*フォームのプライバシー*/

.form-policy {
  margin: 30px 0;
  font-size: 14px;
}
ul.wp-block-list li {
    list-style: disc;
}
.form-policy .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-policy input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.form-policy a {
  color: #2B92F9;
  text-decoration: underline;
}



/* フォームの電話・LINEエリア */

.contact-links {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  flex: 1;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  background: #f7f3ed;
  margin-bottom: 20px;
}

/* フォームの電話 */
 
.contact-card__tel {
    margin: 0 auto;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    color: #fff;
    width: 300px;
    justify-content: center;
}

/* フォームのLINE */

.contact-card__btn {
  display: inline-flex;   /* ← これがポイント */
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: bold;
  margin-top: 10px;
}

/* フォームのアイコン */
.contact-card__btn img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;  /* ← 潰れ防止 */
}

/* フォームのテキスト */
.contact-card__btn span {
  line-height: 1;
}
a.btn.btn--primary_line{
  color: #fff;
  margin: 0 auto;
}
p.form-note {
    text-align: left;
}
 
/*フォームのエラーメッセージ整形*/
.wpcf7-not-valid-tip {
  color: red;
  font-size: 14px;
}
.wpcf7-response-output {
  margin-top: 20px;
}


/*フォームの完了メッセージ*/
.wpcf7-response-output {
  margin-top: 20px;
  border: none;
  background: #eaf6ff;
}

/**具体的な対応例**/
.archive-lead-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.archive-lead-wrapper img {
  width: 22%;
  margin-left: 1%;
}
.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}
.how-to-get img {
    width: 140px;
    padding: 20px;
}

.post-item {
  margin-bottom: 30px;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0;
  list-style: none;
}

.post-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-main);/* ブラウン色 */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

/* hoverで浮く */
.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/*  投稿一覧の画像 */
.post-card__img {
  overflow: hidden;
  position: relative;
}
.archive .case-label{
  position: absolute;
    top: 16%;
    left: 10%;
    height: 40px;
    z-index: 10;
}

.post-card__img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

/* hoverでズーム */
.post-card:hover .post-card__img img {
  transform: scale(1.05);
}

/* 本文 */
.post-card__body {
  position: relative;
  padding: 20px;
  background: #dbedfe;
  height: calc(400px - 30px);
}
.post-card__body:hover{
  opacity: .7;
}
.post-card__title {
  font-size: var(--fs-md);
  margin-bottom: 10px;
  line-height: 2;
}

.post-card__excerpt {
  white-space: pre-line;
  color: var(--color-main);/* ブラウン色 */
}
span.post-card__more {
    color: #2b92f9;
    position: absolute;
    bottom: 14px;
    right: 40px;
}

.post-card__excerpt br {
  display: block;
  margin-bottom: 6px;
}

/* 親を基準にする */
.page-header .container {
  position: relative;
  height: 200px;              /* 高さを持たせる（重要） */
  display: flex;
  align-items: center;        /* 縦中央 */
  justify-content: center;    /* 横中央 */
  text-align: center;
}

/* タイトル中央 */
.page-title {
  margin: 0;
  z-index: 1;
}

/* ラベル左上に配置 */
.case-label {
    position: absolute;
    top: 0px;
    left: 20px;
    padding: 6px 12px;
    margin: 0;
    width: 150px;
    color: var(--color-main);/* ブラウン色 */
    background: #fff;
    border-left: solid 8px #9ECFFF;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.32);
    font-family: "Hannotate SC";  
}
.case-label p {
  margin: 0; 
    padding: 0;
  transform: rotate(5deg);
}
/*前後記事リンク*/
.post-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.post-nav a {
  text-decoration: none;
}

/* 他の対応例 */
.related-posts {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.related-posts__list {
  display: flex;
  gap: 20px;
}

.related-posts__item {
  width: calc(50% - 10px);
}


/***採用ページ***/

/*リクルート冒頭文 吹き出し*/
.recruit-intro {
    position: relative;
    width: 100%;
    padding: 20px 40px;
    border: 7px solid #DBEDFE;
    border-radius: 10px;
    text-align: center;
    margin: 0 auto;
    background: #f6fbff;
}

section.recruit-intro::before {
    content: "";
    position: absolute;
    bottom: -14px;
    left: 50%;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    background-color: #f6fbff;
    rotate: 135deg;
    translate: -50% 0;
    
  
}
section.recruit-intro::after{
content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    border: 7px solid #dbedfe30;
    border-color: #DBEDFE #DBEDFE transparent transparent;
    rotate: 135deg;
    translate: -50% 0;
    background: #f6fbff;
}
.recruit-intro span {
    background: linear-gradient(transparent 70%, #9ecfff 70%);
    font-weight: 700;
}

.recruit-message-img img {
    width: 70%;
    margin: 0 auto;
    border-radius: 50px;
}

.ribbon12-wrapper {
    display: block;
    position: relative;
    margin: 15px 0 15px 30px;
    padding: 20px 0;
    max-width: 100%;
    background: #f6fbff;
}
.ribbon12-wrapper p {
    padding: 16px;
	font-size: var(--fs-base);
    font-weight: 700;
}
.recruit-philosophy h3 {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    padding: 10px;
    margin: 0 0 0 -20px;
    width: calc(100% + 20px);
    font-size: 22px;
    color: white;
    background: #9ECFFF;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

.ribbon12:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px #6081b7;
}

.requires {
    display: flex;
    align-items: center;
    background: #dbedfe;
}
.light-blue-box_bg {
    display: flex;
    justify-content: center;
    width: 100%;
    font-weight: 600;
}
.requires ul {
    padding: 20px 20px 20px 0;
    margin: 15px;
}
    
.requires img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}
.recruit-element-img {
  background-image: url("../img/recruit/recruit-message02.jpg");
  width: 100%;
  height: 92dvh;
  background-size: cover;
  background-position: top 25% center;
  background-repeat: no-repeat;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 7px;
}

.recruit-feature_wrapper {
    display: flex;
}
.recruit-feature_list {
    width: calc(100% / 3);
}
img.recruit-feature_list {
    width: 20%;
}
.recruit-feature img {
    max-width: 70%;
    margin: 0 auto;
}
/*チェックマーク*/
.recruit-person li ,section.recruit-feature li {
    position: relative;
    margin-left: 20px;
	font-size: var(--fs-base);
    font-weight: 700;
}
.recruit-person li::after ,.recruit-feature li::after {
    content: '';
    display: block;
    position: absolute;
    top: .5em;
    left: -1.5em;
    width: 20px;
    height: 10px;
    border-left: 4px solid #9ecfff;
    border-bottom: 4px solid #9ecfff;
    transform: rotate(-45deg);
}

/* リスト */
.recruit ul {
  padding: 16px;
  line-height: 1.8;
}

/* テーブル */
section.recruit-detail {
    overflow-x: auto;
}
.recruit-table {
  width: 100%;
  border-collapse: collapse;
  background: #f6fbff;
}

.recruit-table th,
.recruit-table td {
  border: 2px solid #fff;
  padding: 14px;
  font-weight: bolder;
}

.recruit-table th {
  background: #dbedfe;
  width: 20%;
}

/* アコーディオン */
.accordion-001 {
    max-width: 100%;
    background-color: #f6fbff;
}

.accordion-001:not([open]) {
    margin-bottom: 7px;
}

.accordion-001 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    border-radius: 5px;
    background-color: #dbedfe;
    font-weight: bolder;
    cursor: pointer;
}

.accordion-001 summary::-webkit-details-marker {
    display: none;
}

.accordion-001 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border-bottom: 3px solid #796249;
    border-right: 3px solid #796249;
    content: '';
    transition: transform .3s;
}

.accordion-001[open] summary::after {
    transform: rotate(225deg);
}

.accordion-001 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 1em 2em 2em 2em;
    color: #796249;
    transition: transform .5s, opacity .5s;
}

.accordion-001[open] p {
    transform: none;
    opacity: 1;
}

/*空ギャラリー*/
.recruit-gallary {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 6px auto;
    gap: 7px;
}
.recruit-gallary img {
    max-width: 20%;
    opacity: .7;
    border-radius: 7px;
    overflow: hidden;
}

/**ご利用の流れ（下層）**/
.flow_design10 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flow10 {
  padding-left: 0;
  width: 100%;
}

.flow10 > li {
  list-style-type: none;
  border: 2px solid #c7a889;
  padding: 20px;
  border-radius: 20px;
  background: #f7f3ed;
}

.flow10 > li:not(:last-child) {
  margin-bottom: 40px;
  position: relative;
}

.flow10 > li:not(:last-child)::after {
  content: '';
  position: absolute;
  border: 20px solid transparent;
  width: 0;
  height: 0;
  bottom: -53px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  border-top-color: #9ecfff;
}

.flow10 > li dl dt {
  display: flex;
  align-items: center;
  font-size: 1.3em;
  font-weight: bold;
  border-bottom: 2pt dashed  #c7a889;
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
}

.flow10 > li .icon10 {
  color: #9ecfff;
  margin-right: 0.5em;
  font-size: var(--fs-xl);
}

.flow10 > li dl dd {
  margin: 0;
}

/**クライシスプラン**/
ul.list-check li {
    position: relative;
    margin-left: 10px;
}
ul.list-check li::after {
    content: '';
    display: block;
    position: absolute;
    top: .5em;
    left: -1.5em;
    width: 20px;
    height: 10px;
    border-left: 4px solid #9ecfff;
    border-bottom: 4px solid #9ecfff;
    transform: rotate(-45deg);
}

/* .table-wrap {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid #ccc;
} */
.table-wrap {
  overflow-x: auto;
  overflow-y: auto;       /* 明示的に指定 */
  max-width: 100%;
  max-height: 86vh;       /* 縦の表示領域の上限。お好みで調整してください */
  border: 1px solid #ccc;
}

/* テーブル基本 */
.crisis-table {
  border-collapse: collapse;
  min-width: 800px; /* 横スクロール発生させる */
  width: 100%;
  font-size: var(--fs-base);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.crisis-table th,
.crisis-table td {
  border: 1px solid #999;
  padding: 12px;
  vertical-align: top;
  background: #fff;
/*   font-size: 14px; */
}

/* 上部ヘッダー固定 */
.crisis-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #d0e0d0;
}

/* 左列固定 */
/* .crisis-table .side {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #e6f0e6;
  width: 50px;
   -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
	text-orientation: upright; 
} */


.crisis-table .side {
  position: sticky;
  left: 0; 
  z-index: 2;
  background: #e6f0e6;
  width: 50px;
  overflow: visible;   /* ← はみ出しを隠さない(念のため) */
  text-align: center;      /* ← 縦書きの「横方向」の中央揃え */
  vertical-align: middle;  /* ← 縦書きの「縦方向」の中央揃え */
}

.crisis-table .side span.vertical-text {
  display: inline-block;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
 text-orientation: upright; 
  white-space: nowrap;   /* ← 追加：縦書きの折り返しを禁止 */
}




/* 左上（角） */
.crisis-table .corner {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 4;
  background: #d0e0d0;
}

/* ヘッダー色分け */
.status.stable {
  background: #dbeafe; /* 青 */
}

.status.caution {
  background: #fef3c7; /* 黄 */
}

.status.danger {
  background: #fee2e2; /* 赤 */
}
/* background: #f9fafb;
  font-weight: bold;
  text-align: center; */

td.description {
    text-align: center;
}
td.description {
    background: #e6f1e6;
    text-align: center;
}

.scroll-hint {
  font-size: 12px;
  margin-bottom: 8px;
}

/* スクロール矢印追加 */

.table-scroll-area {
  position: relative;
}

.scroll-arrow {
  position: absolute;
  width: 140px;   /* サイズを大きく */
  height: 140px;
  color: #a9c2a9;      /* 薄い色。お好みで調整してください */
  opacity: 0.7;        /* さらに薄く見せたい場合はここも調整 */
  pointer-events: none;
  animation: arrow-bounce-h 1.4s infinite ease-in-out;
}

/* 右端中央：横スクロール */
.arrow-right {
  position: absolute;
  top: 32%;
  right: 5px;
  transform: translateY(-50%);
  z-index: 10;
}

/* 下端中央：縦スクロール */
.arrow-down {
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  animation-name: arrow-bounce-v;
}

@keyframes arrow-bounce-h {
  0%, 100% { transform: translateY(-50%) translateX(0); opacity: 0.5; }
  50%      { transform: translateY(-50%) translateX(6px); opacity: 0.9; }
}

@keyframes arrow-bounce-v {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50%      { transform: translateX(-50%) translateY(6px); opacity: 0.9; }
}

/* スマホでは表からはみ出さないよう内側に収める */
@media screen and (max-width: 768px) {
  .scroll-arrow {
    width: 64px;
    height: 64px;
  }
  .arrow-right {
    right: 4px;
  }
  .arrow-down {
    bottom: 160px;
  }
}






/* =====================
Utility（.is-activeなど）
===================== */
/* 現在地ハイライト（active） */
.header__menu .is-active > a,
.header__menu .current-menu-item > a,
.header__menu .current_page_item > a {
  color: #2B92F9;
  font-weight: bold;
  position: relative;
}

.header__menu .is-active > a::after,
.header__menu .current-menu-item > a::after,
.header__menu .current_page_item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #2B92F9;
}

.header__menu a.is-active {
  color: #2B92F9;
  font-weight: bold;
  position: relative;
}

.header__menu a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #2B92F9;
}

/*ふわふわ追加*/
@keyframes floatY {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* それぞれ縦へ動く */
.flow__bg-img--back {
  animation: floatY 6s ease-in-out infinite;
}

.flow__bg-img--front {
  animation: floatY 6s ease-in-out infinite;
  animation-delay: 1s;
}

.flow__bg--right {
  animation: floatY 6s ease-in-out infinite;
  animation-delay: 2s;
}
.company__bg-img{
  animation: floatY 6s ease-in-out infinite;
  animation-delay: 2s;
}
.service__bg--right{
  animation: floatY 6s ease-in-out infinite;
  animation-delay: 2s;
}
.service__bg--left{
  animation: floatY 6s ease-in-out infinite;
  animation-delay: 2s;
}


/* 羽のホバー時にアニメーションを追加 */
.fv__feather:hover{
  animation: pururun 0.5s ease-in-out;
}

/* 天使のホバー時にアニメーションを追加 */
.about__image img:nth-of-type(2):hover{
  animation: pururun 0.5s ease-in-out;
}

  
}
.flow__bg-img--front {
  animation: floatY 6s ease-in-out infinite;
  animation-delay: 1s;
}



/*料金表*/
th.has-text-align-center {
    background: #796249;
    color: #fff;
}




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

@media (min-width: 1025px) {
  /* PC */
.fv__inner.container {
    max-width: 100% !important;
    width: 100%;
    padding: 0;
}
  .sp-only {
  display: none;
}
}

@media (max-width: 1024px)and ( min-width:769px) {
  /* タブレット */
  .header{
    padding: 0 20px;
  }
  .fv{
    padding: 20px 0 260px 0;
    background-position: 85% 60%;
  }
  .fv__inner.container {
    padding: 0;
}

  .fv__content {
/*    max-width: 700px;*/
    max-width: 90%;
    margin: 0 auto;
    border-radius: 20px;
    }
  .header__menu a::before{
    display: none;
  }
  .header__nav {
    display: none;
  }

  .header__right {
    display: none;
  }

  .hamburger {
    display: flex;
  }
  .sp-only {
  display: none;
}
  service__bg--right {
    width: 300px;
    right: 0;
    top: -90px;
    opacity: 0.7;
  }
  .feature__card {
    width: calc(50% - 10px);
  }
  .post-list {
    grid-template-columns: repeat(2, 1fr);
  }
/*  スクロールコメント タブレット表示*/
  .scroll-hint {
  font-size: 12px;
  margin-bottom: 8px;
}
  
  /*  採用ページ　タブレット*/
.requires {
    flex-direction: column-reverse;
}
  
  
} /* endタブレット */

@media (max-width: 768px) {
  /* SP */
 
  :root {
    --fs-xl: 3.2rem;
    --fs-lg: 2.6rem;
    --fs-md: 2rem;
  }

   .section {
  padding: var(--space-lg) 0;
}
.container {
  padding: 0 16px !important;
}


  .section-title {
    font-size: 2.4rem;
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
  }

  .section-body {
    margin-top: 24px!important;
    padding: 80px 16px!important;
  }
	

/* スマホ表示（画面幅767px以下）では改行する */
  .br-sp {
    display: block;
  }

  
  /*FV sp*/
  .fv {
    min-height: auto;
    padding: 20px 0 240px;
    background-position: 85% 100%;
  }

  .fv__content {
    max-width: 550px;
    margin: 0 auto;
    padding: 24px;
    border-radius: 20px;
  }
  .fv__feather {
    left: 10%;
    top: 54%;
    width: 220px;
  }

  
  /*header sp*/
  
  .header__nav {
    display: none;
  }

  .header__right {
    display: none;
  }
  

  .hamburger {
    display: flex;
  }
  
  /*about sp*/
  .about__content {
    flex-direction: column;
  }

  .about__image,
  .about__text {
    width: 100%;
    margin: 0 auto;
	text-align: left;
    }

  
  
  /*service sp*/
  .section--service .section-body{
   margin: 160px 0;
  }
  .service__row {
    flex-wrap: wrap;
/*     gap: 20px; */
    padding: 0;
  }

  .service__item {
    width: 45%;
	padding: 4;
  }
	.service__item p{
	 font-size: var(--fs-sm);	
	}
  
  @media (max-width: 480px) {
   .service__list{
	display: flex;
    width: 100%;	  
	  } 
  .service__item {
    width: 100%;
  }
   .service__row{
	width: 100%;	  
	  } 
	.service__bg.service__bg--right {
    opacity: .3;
}
  }
  
  
   /*feature sp*/
  
  
　　.section-body {
    padding: 20px;
  }

  .feature__content {
    max-width: 100%;
  }
  
  .feature__cards {
    flex-direction: column;
    align-items: center;
     gap: 20px;
  }

  .feature__card {
    width: 100%;
    max-width: 340px; 
  }
.btn--primary_light-blue {
    width: 100%;
    max-width: 240px; 
    font-size: 1.4rem;
    padding: 10px;
}
  .feature-light__arc{
/* 	top: 0;
    width: 200vw;
    height: 100vh; */
	     top: -60px;
        width: 200vw;
        height: 100vh;
        margin: calc(100% - 60vw);
}
 
  
  /*cta sp*/
  .cta{
    width: 100%;
  }
  .company__content {
    flex-direction: column;
  }
  
  .pc-only {
    display: none;
    }
   .sp-only {
    display: block;
  }
  
   .line-pc { 
    display: none;
    content-visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
  .line-sp { 
    display: inline-block;
  }
  
  .cta__tel-btn {
  display: flex;              /* ← これが重要 */
  align-items: center;        /* ← 縦中央揃え */
  justify-content: center;    /* ← 横中央 */
  gap: 8px;                   /* ← アイコンと文字の間 */
  background: #2B92F9;
  color: #fff!important;
  padding: 15px;
  border-radius: 8px;
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 10px;
  border-bottom: solid 2px #5063cf;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
}
  .cta__tel-btn:hover{
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }
 
  
  /* 全体余白 */
  .section--cta {
    padding: 60px 0;
  }

  /* 枠 */
  .cta {
    width: 100%;
    margin: 0 auto;
    border-radius: 10px;
  }

  /* 上帯 */
  .cta__header {
    font-size: 13px;
    padding: 12px;
    line-height: 1.6;
  }

  /* 中身：縦並び */
  .cta__body {
    flex-direction: column;
    padding: 20px;
    gap: 25px;
  }

  /* 左右共通 */
  .cta__tel,
  .cta__right {
    width: 100%;
  }

  /* 電話ボックス */
  .cta__tel-box {
    padding: 18px;
  }

  /* ←ここ重要：ズレ解除 */
  .cta__tel-box::before {
    top: 4px;
    left: 4px;
  }


  /* ボタンエリア */
  .cta__right {
    gap: 12px;
    align-items: center;
  }

  /* ボタン */
  .cta__right .btn {
    max-width: 300px;
    font-size: 14px;
    padding: 12px;
  }

  /* LINEボタン内 */
  .btn--primary_line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-align: center;
    max-width: 100%;
  }

  .btn--primary_line img {
    width: 20px;
  }
/*  スクロールコメント sp表示*/
  .scroll-hint {
  font-size: 12px;
  margin-bottom: 8px;
}
 /* 右端グラデーション 外側：固定レイヤー */
.table-container {
  position: relative;
}

/* 右端グラデーション 内側：スクロールするやつ */
.table-wrap {
  overflow-x: auto;
}

/* 右端グラデーション(containerに付ける) */
.table-container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to left, rgba(255,255,255,0.9), rgba(255,255,255,0));
  z-index: 5;
}
/*  右側固定（sticky）のz-index 調整*/
  .crisis-table thead th {
  z-index: 3;
}

.crisis-table .side {
  z-index: 2;
}

.table-container::after {
  z-index: 5; /* ←一番上 */
}
  
  
  
  
  /*company sp*/
  .company{
    display: block;
  }
  .company__map{
    width: 100%;
  }
  .company__bg-img{
    display: none;
  }
/*   .wp-block-table table tr {
    width: 100%;
    display: flex;
	flex-direction: column;
	} */
	
	.is-style-regular tr {
		 width: 100%;
         display: flex;
	     flex-direction: column;
	}
  
  /*flow sp*/

.section--flow {
    padding: var(--space-lg) 0;
  }
  .flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: var(--space-md);
    gap: 40px;
  }

  .flow__item {
    order: 1;   /* カードを先に */
    width: 100%;
    max-width: 550px;
    margin-top: 60px;
  }

  .flow__card {
    width: 100%;
  }

  .flow__bg {
    order: 2;   /* 背景を後に（下に来る） */
    position: static; /* ← absolute解除が最重要 */
    margin-top: 40px;
  }

  /* 左（2枚） */
  .flow__bg--left {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  /* 左の2枚を横並び */
  .flow__bg-img--back,
  .flow__bg-img--front {
    position: relative;
    top: auto;
    left: auto;
  }

  /* 右 */
  .flow__bg--right {
    display: block;
    width: 60%;
    margin: 20px auto 0;
    top: auto;
    left: auto;
    right: 0;
    width: 50%;
    position: static;   /* ← absolute解除（超重要） */
    right: auto;        /* ← これも必須 */
  }

  
  .flow__bg img {
    width: 100%;
    height: auto;
  }
  .flow__icon {
    width: 80px;
    height: 80px;
    top: -50px;
  }
	.flow10 > li dl dt{
	flex-direction: column;
	}
	
  
  /*footer sp*/

  .footer__content {
    display: block;
    gap: 40px;
    text-align: center;
  }
  .footer__logo {
    display: flex;
    justify-content: center;
}
  .footer__tel {
    width: 70%;
    margin: 20px auto;
}
  .footer__left,
  .footer__right {
    width: 100%;
  }

  .footer__nav {
    display: block;
  }
  .footer__nav ul{
    padding: 0;
  }
  .footer__right {
    text-align: center;
  }

  .footer__sns a img {
    margin: 0 5px;
  }
  .footer__sns {
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin: 0 auto;
    }
  .footer__catch{
       margin: 20px auto;
  }

  .footer__bottom{
        height: 120px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
  }
  .footer__inner{
        padding: 60px 20px 0 20px;
  }
  
  /* =========================
   下部固定ボタン(SP追従)
========================= */

 /* ===== スマホ用 追従ボタン ===== */


 /* ===== スマホ用 追従ボタン（画像対応・3分割） ===== */


  .sp-fixed-btn {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden; /* ←子要素はみ出し防止 */
/*    gap: 4px;*/
    z-index: 99999;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
  }

  .sp-btn {
    width: 33.333%;
    padding: 2px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    gap: 6px;
    border-radius: 20px 20px 0 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
     position: relative;
    overflow: hidden;
  }
  
  .sp-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;

    /* ▼ ツヤ（上半分にだけ白グラデ） */
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0)
    );
  }
  

  .sp-btn img {
     height: 24px;
     margin-bottom: 0px;
  }

  .sp-btn--logo img {
    height: 32px;
    margin-bottom: 0;
  }

  .sp-btn--logo {
	    color: var(--color-main);
        border-bottom: aliceblue;
        flex: 1;
	    border-right: 3px solid #dbedfe;
        border-left: 3px solid #dbedfe;
        border-top: 3px solid #dbedfe;
	    background: #fff;
  }
 .sp-btn--contact span {
    color: #FFF;
}
  .sp-btn--contact {
    background: #796249;
    flex: 2;
    }
  

  .sp-btn--line {
/*     background-image: linear-gradient(135deg, #83e8de 10%, #07c655 100%); */
	background: #06C755;
    flex: 2;
  }
 .sp-btn--line span {
    color: #FFF;
}

.sp-btn:active {
  transform: translateY(2px);
}
  
/*お問い合わせsp*/
  .contact-links{
     flex-direction: column;
  }
  
  /*具体的な対応例 sp*/
  .archive-lead-wrapper {
    flex-wrap: wrap-reverse;
}
  .archive-lead-wrapper img {
    width: 50%;
    padding: 2%;
    margin: 0;
}
  .post-list {
    grid-template-columns: 1fr;
  }
  .contact-card__tel {
    width: 100%;
}
	
	/* スマホ表示時だけreCAPTCHAを上にずらす */
	.grecaptcha-badge {
	bottom: 100px !important;
    width:60%;
    transform-origin: right bottom; /* 右下の位置をキープして縮小 */
}
	

  
 /*  採用ページ　sp*/
.requires {
    flex-direction: column-reverse;
}
 .recruit-feature_wrapper {
    flex-direction: column;
} 
 .recruit-feature_list {
    width: 100%;
	margin: 0;
}  
 .page-content ul{
	margin-bottom: 0px;	
	padding: 0 16px;
	}
 img.recruit-feature_list {
    width: 50%;
    margin: 0 auto;
}
  .recruit-gallary {
    display: none;
}
	.recruit-intro{
	padding: 20px 16px;	
	}
  
} /* end（SP） */


 
