/*  */
/*
Theme Name : 住食創建
*/

:root {
  --main_color:#ce2b24;
  --background: #000;
  --text_color:#fff;
  --btn_color:#ce2b24;
  --main-wp:1140px;
  --red:#ce2b24;
  --gray-dark:#545c66;
}
/*-----------------------------------
テーマ用CSS設定　
-----------------------------------*/
/* 全体 */
html,body,h1,h2,h3,h4,p,a,dl,ul,table {font-family: 'ヒラギノ角ゴシック','Hiragino Sans','ＭＳ ゴシック',sans-serif;font-size: 16px;}
body p { line-height: 1.9;}
img{ max-width:100%; }
a {text-decoration: none;}
a:hover{opacity :0.7;	filter :alpha(opacity=70);	-ms-filter :"alpha(opacity=70)";}
#content{ padding-top:20px; padding-bottom:20px;}
#content-wrap{ background-color: white;}
#sidebar{ text-align: center;}

.center {text-align: center; margin-inline: auto;}
.left {text-align: left;}
.right{text-align: right;}
.clearfix {display: block;}
#main { margin: 50px auto 0;}
ul, ol {list-style: none;}
section {display: block;}
strong {color: var(--main_color); font-weight: bold;}
img{max-width:100%; }
a {text-decoration: none;}
a:hover{opacity :0.7;	filter :alpha(opacity=70);	-ms-filter :"alpha(opacity=70)";}
#content{padding-top:20px; padding-bottom:20px;}
#content-wrap{background-color: white;}
#sidebar{text-align: center;}
.pg12 {padding: 12px;}
.mg20 {margin: 20px;}
.mg30 {margin: 30px;}
.mg40 {margin: 40px;}
.mg50 {margin: 50px;}
.mg60 {margin: 60px;}
.mg-top60 { margin-top: 60px;}
.mg-under60 { margin-bottom: 60px;}
/* 色指定 */
.red {color: red;}
.blue {color: blue;}
.white {color: white;}
/* メインのボタン */
.btn,
a.btn,
button.btn {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  padding: 1rem;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  user-select: none;
  -webkit-transition: all 0.3s;
  vertical-align: middle;
  width: 300px;
  border: 2px solid #000;
}
/* 画面指定 */
.widthMax {margin: 0 calc(50% - 50vw);}
.container {padding: 100px 5px;}
/* 背景色 */
.main_bg {background: var(--background);color: var(--text_color);}
.red_bg {background: var(--main_color);color: white;}
/* 蛍光ペン風マーカー加工 */
.keikou {background: linear-gradient(transparent 65%, #ffff66 50%);border-radius:15px;}
/* 見出しｈ１ */
h1.style1a {
  font-size: 2em;
  text-align: center;
  width: 100%;
  margin-bottom: 1.5em;
}
/* 見出しｈ２ */
h2.style2a {
  font-size: 2em;
  margin-bottom: 1em;
  font-weight: 600;
  line-height: 1.3;
}

h2.style2a span {
  color: var(--main_color);
}
/* 見出しｈ３ */
h3.style3a {
  padding: 1rem 2rem;
  background: #f4f4f4;
  font-weight: bold;
}
/* 見出しｈ4 */
h4.style3a {
  padding: 1em;
  margin-bottom: 3em;
  font-size: 1.4em;
  font-weight: bold;
}

main {  margin: auto;}

/*---------- ヘッダースタイル ----------*/

header.header-wrap {
	width: 100%;
  background: var(--background);
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
@media screen and (min-width: 960px) {
  header.header-wrap {
    height: 90px;
  }
}

header.header-wrap .header-inner {
  padding: 0 20px; /*左右の余白確保*/
  display: flex; /*ロゴとハンバーガーメニューを横に並べる*/
  align-items: center;
  justify-content: space-between;
  height: inherit; /*親要素の高さを継承*/
  position: relative;
  max-width: 1180px;
  width: 100%;
  margin: auto;
}
.header-wrap .logo {
  width: 140px;
  padding-top: 8px;
}
.header_tel {
  display: none;
}
@media screen and (min-width: 960px) {
  .header-wrap .logo {
    width: 200px;
  }
  .header-wrap .logo img {
    display: block;
    width: 100%;
    height: 100%;
  }
  .header-contact{
    width: 100%;
    text-align: right;
    height: inherit;
    padding: 10px 20px;
  }
  .header_tel a {
    color: #fff;
    font-size: 1.4rem;
  }
  .header_tel p{
    line-height: 1.3;
    margin-bottom: 10px;
  }
  .header_tel {
    display: block;
  }
}

.header__title img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ヘッダーのナビ部分 */
.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: #000;
  transform: translateX(100%);
  transition: ease .4s;
  display: flex;
  padding: calc(50% - 100px);
}

@media screen and (min-width: 960px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: 100%;
    padding: 0;
  }
}

.header__nav ul {
  margin: auto;
}

@media screen and (min-width: 960px) {
  .header__nav ul {
    margin: initial;
    width: 100%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: end;
  }
}

.header__nav .menu-item {
  cursor: pointer;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 3px 10px;
  margin-bottom: 5px;
}

@media screen and (min-width: 960px) {
  .header__nav .menu-item {
    border-right: solid 2px #fff;
  }
  .header__nav .menu-item::before {
    position: absolute;
    content: "";
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: orange;
    opacity: 0;

  }
  .header__nav .menu-item:hover:before {
    opacity: 1;
  }

}

/* ナビのリンク */
.header__nav .menu-item a {
  color: #fff;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.header__nav .menu-item:last-child a {
  margin-bottom: 0;
}

@media screen and (min-width: 960px) {
  .header__nav .menu-item a {
    margin-bottom: 0;
    font-size: 18px;
  }
}

/* ハンバーガーメニュー */
.header__hamburger {
  width: 48px;
  height: 100%;
}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
  cursor: pointer;
}

@media screen and (min-width: 960px) {
  .hamburger {
    display: none;
  }
}

/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 2px;
  background-color: #fff;
  position: relative;
  transition: ease .4s;
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}


.hamburger span:nth-child(3) {
  top: 0;
}

/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
}
.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}
/*---------- ヘッダースタイル end ----------*/
/*---------- 共通ページ ----------*/
section { display: block;}
.content_wp {
    width: 100%;
    max-width: var(--main-wp);
    margin: 60px auto;
    padding-left: 5px;
    padding-right: 5px;
}
/*---------- TOPページ ----------*/
#top-view{
  position: relative;
  width: 100%;
  overflow: hidden;
}
#top-view > img:first-child {
  width: 100%;
  height: 80vh;              /* 高さを指定 */
  object-fit: cover;         /* 比率を保ちながら横幅いっぱい */
  object-position: center;
  display: block;
}
.fv-view {
  position: absolute;
  width: 200px;
  top:50%;
  left: 50%;
  transform: translate(-50%,-50%);/*センター寄せの修正*/
}
@media screen and (min-width: 960px) {
  .fv-view {
    width: 310px;
  }
}
/* 1920px以上でも切れないよう最大幅を制御 */
@media screen and (min-width: 1920px) {
  #top-view > img:first-child {
    width: 100%;
    height: 90vh;
  }
}
/* =============================================
   セクション全体
============================================= */
.section-intro {
  padding: 80px 0;
}

.section-intro .inner {
  max-width:  var(--main-wp);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 64px;
}

/* =============================================
   左：画像
============================================= */
.intro-img {
  flex: 0 0 42%;
  max-width: 42%;
  min-width: 0;
}

.intro-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

/* =============================================
   右：テキスト
============================================= */
.intro-text {
  flex: 1;
}

/* 本文 */
.intro-text p {
  font-size: 14px;
  line-height: 2;
  margin-bottom: 36px;
}
/* =============================================
    対応サービス ラベル
 ============================================= */
 .service-label {
   display: flex;
   align-items: center;
   gap: 16px;
   font-size: 13px;
   letter-spacing: 0.12em;
   margin-bottom: 28px;
 }

 .service-label::before,
 .service-label::after {
   content: '';
   flex: 1;
   height: 1px;
   background: var(--red);
   opacity: 0.5;
 }

 /* =============================================
    サービスアイコン一覧
 ============================================= */
 .service-list {
   display: flex;
   gap: 20px;
   flex-wrap: wrap;
   align-items: stretch;
 }

 .service-item {
   flex: 0 0 calc(50% - 10px);
   min-width: calc(50% - 10px);
   text-align: center;
 }

 /* アイコン円 */
 .service-icon {
   width: 64px;
   height: 64px;
   background: var(--red);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto 10px;
   font-size: 26px;
   color: #fff;
 }

.service-item a {
  display: flex;           /* flexに変更 */
  flex-direction: column;  /* 縦並び */
  align-items: center;     /* 中央揃え */
  height: 100%;            /* 親の高さいっぱいに伸ばす */
  text-decoration: none;
  color: inherit;
  border: 2px solid var(--red);
  border-radius: 6px;
  padding: 20px 12px;
  transition: all 0.2s;
}

 .service-item a:hover {
   background: var(--red);         /* ホバーで赤塗り */
   color: #fff;                    /* 文字を白に */
 }

 /* ホバー時にアイコン背景を白に */
 .service-item a:hover .service-icon {
   background: #fff;
   color: var(--red);              /* アイコンの色を赤に */
 }
 .service-item h4 {
   font-size: 12px;
   font-weight: 700;
   color: var(--gray-dark);
   line-height: 1.5;
   margin-bottom: 6px;
 }

 .service-item p {
   font-size: 11px;
   color: var(--gray-mid);
   line-height: 1.7;
   margin: 0;
 }

 /* =============================================
    レスポンシブ
 ============================================= */
 @media (max-width: 991.98px) {
   .section-intro .inner {
     flex-direction: column;
     gap: 40px;
     padding: 0 24px;
   }

   .intro-img {
     flex: 0 0 100%;
     max-width: 100%;
   }

   .service-list {
     gap: 16px;
   }

   .service-item {
     min-width: calc(50% - 8px);
     flex: 0 0 calc(50% - 8px);
   }
 }

 @media (max-width: 575.98px) {
   .section-intro {
     padding: 48px 0;
   }
   .service-item {
     min-width: calc(50% - 8px);
     flex: 0 0 calc(50% - 8px);
   }
 }
/* ========== RED SECTION ========== */
.red-section {
  background: var(--main_color);
  position: relative;
  overflow: hidden;
  background: linear-gradient(to right, var(--main_color) 60%, transparent 60%);
}

.red-section::before {
  content: '';
  position: absolute;
  left: 30%;
  top: 60%;
  transform: translateY(-50%);
  z-index: 1;
  width: 400px;
  height: 400px;
  background-image: url("img/jushoku_stamp.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.red-section .content_wp div {
  z-index: 3;
}
.red-bullets { list-style: none; margin-bottom: 20px; }
.red-bullets li {
  font-size: 14px; color: rgba(255,255,255,0.92); padding: 4px 0;
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.6;
}
.red-bullets li::before { content: '・'; flex-shrink: 0; }

/* ========== CARDS ========== */
.cards {  display: grid;  grid-template-columns: repeat(3, 1fr);  gap: 0;}
.card { position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; text-align: center; margin: 0; border: none; border-radius: 0;}
.card-bg { position: absolute; inset: 0; transition: transform 0.4s ease; }
.card:hover .card-bg { transform: scale(1.05); }
.card:nth-child(1) .card-bg {
  background-image: url('img/menu_img_01.jpg');
  background-size: cover;
  background-position: center;
}
.card:nth-child(2) .card-bg {
  background-image: url('img/menu_img_02.jpg');
  background-size: cover;
  background-position: center;
}
.card:nth-child(3) .card-bg {
  background-image: url('img/menu_img_03.jpg');
  background-size: cover;
  background-position: center;
}
.card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%); }
.card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; }
.card-content h3 {
  font-size: 2rem;
  font-weight: 400;
  color: white;
  margin-bottom: 40px;
}
.card-content p { font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 40px; }
.btn-more {
  display: inline-block; background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.5); color:white;
  font-size: 12px; font-weight: 700; padding: 7px 20px; border-radius: 2px;
  backdrop-filter: blur(4px); transition: background 0.2s;
}
.btn-more:hover { background: var(--red); border-color: var(--red); }
.value-list { list-style: none; margin-bottom: 20px; }
.value-list li {
  font-size: 14px; color: var(--gray-dark); padding: 5px 0;
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.6;
}
.value-list li::before { content: '・'; color: var(--red); flex-shrink: 0; }
/* ========== MAP ========== */
.map-section {
  background: url("img/top_contents.jpg");
  background-size: cover;        /* 全体を覆う */
  background-position: center;   /* 中央基準 */
  background-repeat: no-repeat;  /* 繰り返しなし */
  padding: 72px 24px;
}
.map-section .content_wp {background-color: white;padding: 2rem 1rem;}
.region-block { margin-bottom: 16px; }
.region-title {
  font-size: 13px; font-weight: 700; color: var(--red);
  border-bottom: 1px solid var(--red); padding-bottom: 4px; margin-bottom: 8px;
}
.region-list { font-size: 13px; color: var(--gray-dark); line-height: 1.8; }
/*---------- フッタースタイル -------------*/

footer{background: var(--background); color: white; }
.footer-top {
  max-width: 1100px; margin: 0 auto; padding: 56px 24px 40px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: start;
}
.footer-logo-img img{
  width: 240px;
}
.footer-address { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 2.2; list-style: none; }
.footer-desc { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.9; }
.footer-cta {
  background: #2a2a2a; border-radius: 6px; padding: 28px 32px;
  text-align: center; min-width: 240px;
}
.footer-cta-txt { font-size: 1.4rem; color: rgba(255,255,255,0.8); margin-bottom: 4px; font-weight: 700; }
.footer-cta-sub { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.footer-tel a {font-size: 28px; font-weight: 700; color: white; letter-spacing: 0.04em; margin-bottom: 14px; }
.btn-contact {
  display: block; background: var(--red); color: white;
  font-size: 13px; font-weight: 700; padding: 12px 24px;
  border-radius: 3px; text-align: center; transition: background 0.2s;
}
.btn-contact:hover { background: var(--red-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center; padding: 16px 24px;
  font-size: 11px; color: rgba(255,255,255,0.35);
  background:  var(--red);
  color: white;
}
.menu-footer-box {max-width: 1100px; margin: 0 auto; padding: 56px 24px 40px;}
/* フッターナビ 横並び・パイプ区切り */
.menu-footer-box nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;        /* 折り返しあり */
  justify-content: center;
}

.menu-footer-box nav ul li {
  display: flex;
  align-items: center;
}

/* ｜区切り（最初の要素以外に付ける） */
.menu-footer-box nav ul li::before {
  content: '｜';
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.menu-footer-box nav ul li:first-child::before {
  content: none;          /* 最初の項目には｜を付けない */
}

.menu-footer-box nav ul li a {
  font-size: 12px;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.menu-footer-box nav ul li a:hover {
  opacity: 0.7;
}
@media (max-width: 768px) {
  .menu-footer-box nav ul {
    flex-direction: column;  /* 縦並びに戻す */
    gap: 4px;
  }

  /* SP では｜を非表示 */
  .menu-footer-box nav ul li::before {
    content: none;
  }

  .menu-footer-box nav ul li a {
    display: block;
    padding: 6px 0;          /* タップしやすい高さに */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 薄い区切り線 */
  }

  /* 最後の項目は区切り線なし */
  .menu-footer-box nav ul li:last-child a {
    border-bottom: none;
  }
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media(max-width: 768px) {
.pc { display: none !important; }
.sp { display: block !important; }
}

/*------ モバイル用CSS　width:768px以下 width1045以上-----*/
@media (min-width: 768px) and (max-width: 1045px){
}

/*----- モバイル用CSS　width:768px以下 -----*/
@media (max-width:768px) {
.cards { grid-template-columns: 1fr; }
.footer-top { grid-template-columns: 1fr; }
}


:root {
  --red-dark:  #A01010;
  --black:     #111111;
  --gray-mid:  #666666;
  --gray-light:#f5f5f5;
  --white:     #ffffff;
  --font-jp:   'Noto Sans JP', sans-serif;
}

/* =============================================
   共通：セクション余白
============================================= */
.section-gray { background: var(--gray-light); }

/* 共通：セクション見出し */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}
.section-heading h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: var(--black);
  margin-bottom: 10px;
}
.section-heading .en-label {
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.18em;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}
.section-heading .lead {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.9;
}

/* 赤いアンダーライン装飾 */
.heading-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
.heading-line::before,
.heading-line::after {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--red);
}

/* =============================================
   ① ヒーロー（キャッチコピー）
============================================= */
.page-hero {
  background: var(--black);
  padding: 80px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 160px;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.1em;
}
.page-service::before { content: 'SERVICE';}
.page-flow::before { content: 'FLOW';}
.page-company::before { content: 'COMPANY';}
.page-inquiry::before { content: 'INQUIRY';}


.page-hero .en-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 700;
  display: block;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 24px;
}
.page-hero h1 span { color: var(--red); }
.page-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 2;
}

/* パンくず */
.breadcrumb-wrap {
  background: var(--gray-light);
  padding: 10px 0;
  font-size: 12px;
  color: var(--gray-mid);
}
.breadcrumb-wrap > div{
  width: 100%;
  max-width: var(--main-wp);
  margin: 90px auto 0;
}
.breadcrumb-wrap a { color: var(--gray-mid); }
.breadcrumb-wrap a:hover { color: var(--red); }
.breadcrumb-wrap span { margin: 0 6px; }

/* =============================================
   ② サービス一覧
============================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 992px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  background: var(--white);
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  padding: 32px 20px 28px;
  text-align: center;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.service-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(204,27,27,0.12);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card-icon {
  width: 64px; height: 64px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
  color: #fff;
  transition: all 0.25s;
}
.service-card:hover .service-card-icon {
  background: var(--black);
}

.service-card h3 {
  font-size: 15px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 14px;
}

.service-card ul {
  list-style: none;
  padding: 0; margin: 0;
  font-size: 12px;
  color: var(--gray-mid);
  line-height: 2;
  text-align: left;
}
.service-card ul li::before {
  content: '・';
  color: var(--red);
}

.service-card .card-tag {
  display: inline-block;
  background: rgba(204,27,27,0.08);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 14px;
}

/* =============================================
   ③ 人気サービス（クロス強調）
============================================= */
.popular-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 767.98px) {
  .popular-inner { grid-template-columns: 1fr; gap: 32px; }
}

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

.popular-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}
.popular-text h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 20px;
}
.popular-text p {
  font-size: 14px;
  line-height: 2;
  color: var(--gray-mid);
  margin-bottom: 28px;
}

.price-box {
  background: var(--black);
  border-radius: 8px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.price-box .price-name {
  font-size: 16px;
  font-weight: 900;
  color: var(--white);
}
.price-box .price-num {
  font-size: 40px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.price-box .price-num span {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
}
.price-box .price-note {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  width: 100%;
}

/* =============================================
   ④ ビフォーアフター
============================================= */
.ba-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.ba-tab {
  background: none;
  border: 2px solid #ddd;
  color: var(--gray-mid);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-jp);
  transition: all 0.2s;
}
.ba-tab.active,
.ba-tab:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) {
  .ba-grid { grid-template-columns: repeat(3, 1fr); }
}

.ba-card {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.ba-card-img {
  aspect-ratio: 4/3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.ba-half {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.ba-half.before { background: linear-gradient(160deg, #b8a898 0%, #9a8878 100%); }
.ba-half.after  { background: linear-gradient(160deg, #c8dce8 0%, #a8c4d8 100%); }
.ba-half-label {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 10px; font-weight: 700;
  color: #fff; padding: 2px 6px; border-radius: 2px;
}
.ba-half.before .ba-half-label { background: rgba(0,0,0,0.5); }
.ba-half.after  .ba-half-label { background: var(--red); }
.ba-card-label {
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 14px;
}

/* =============================================
   ⑤ 選ばれる理由
============================================= */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) {
  .reason-grid { grid-template-columns: repeat(4, 1fr); }
}

.reason-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.reason-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.reason-card h3 {
  font-size: 13px;
  font-weight: 900;
  color: var(--black);
  line-height: 1.6;
  margin-bottom: 8px;
}
.reason-card p {
  font-size: 12px;
  color: var(--gray-mid);
  line-height: 1.8;
  margin: 0;
}
.reason-card p.reason-icon  {
  font-size: 32px;
  margin-bottom: 12px;
}
/* =============================================
   ⑥ こんな方におすすめ
============================================= */
.target-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.target-item {
  background: var(--white);
  border: 2px solid var(--red);
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
}
.target-item::before { content: '✓'; }

/* =============================================
   ⑦ ご利用の流れ
============================================= */
.flow-list {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  counter-reset: flow;
}
.flow-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  position: relative;
  padding: 0 8px;
}
/* 矢印 */
.flow-item:not(:last-child)::after {
  content: '›';
  position: absolute;
  right: -10px;
  top: 28px;
  font-size: 24px;
  color: var(--red);
  font-weight: 900;
}
.flow-num {
  width: 56px; height: 56px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}
.flow-item h3 {
  font-size: 13px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 4px;
}
.flow-item p {
  font-size: 11px;
  color: var(--gray-mid);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 767.98px) {
  .flow-list { flex-direction: column; gap: 16px; }
  .flow-item:not(:last-child)::after {
    content: '↓';
    position: static;
    display: block;
    margin-top: 8px;
  }
}

/* =============================================
   ⑧ よくある質問
============================================= */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid #e8e8e8;
}
.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  list-style: none;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--red); }
.faq-q::marker { display: none; }

.faq-q-label {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900;
}

.faq-q-arrow {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--red);
  transition: transform 0.2s;
}
details[open] .faq-q-arrow { transform: rotate(180deg); }

.faq-a {
  padding: 0 0 20px 42px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--gray-mid);
}
/* =============================================
       ②〜⑧ STEPセクション
    ============================================= */
    .step-section {
      padding: 72px 0;
      position: relative;
    }

    /* 奇数：白背景 / 偶数：グレー背景 */
    .step-section:nth-child(even) { background: var(--gray-light); }
    .step-section:nth-child(odd)  { background: var(--white); }

    .step-inner {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 24px;
      display: grid;
      grid-template-columns: 280px 1fr;
      gap: 56px;
      align-items: flex-start;
    }

    /* 偶数STEPは画像左・テキスト右を逆に */
    .step-section:nth-child(even) .step-inner {
      grid-template-columns: 1fr 280px;
    }
    .step-section:nth-child(even) .step-left {
      order: 2;
    }
    .step-section:nth-child(even) .step-right {
      order: 1;
    }

    /* ---- 左：STEPナンバーエリア ---- */
    .step-left {
      text-align: center;
      position: relative;
    }

    .step-num-wrap {
      position: relative;
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }

    .step-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.2em;
      color: var(--red);
    }

    .step-circle {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background: var(--red);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: var(--white);
      box-shadow: 0 8px 24px rgba(204,27,27,0.3);
    }

    .step-circle .step-word {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.12em;
      opacity: 0.85;
      line-height: 1;
      margin-bottom: 4px;
    }

    .step-circle .step-n {
      font-size: 36px;
      font-weight: 900;
      line-height: 1;
    }

    .step-icon {
      font-size: 40px;
      margin-top: 8px;
    }

    /* 矢印（最後以外） */
    .step-section:not(:last-of-type) .step-left::after {
      content: '';
      position: absolute;
      bottom: -72px;
      left: 50%;
      transform: translateX(-50%);
      width: 2px;
      height: 72px;
      background: linear-gradient(to bottom, var(--red), rgba(204,27,27,0.1));
    }

    /* ---- 右：テキストエリア ---- */
    .step-right {}

    .step-right h2 {
      font-size: clamp(18px, 2.5vw, 24px);
      font-weight: 900;
      color: var(--black);
      margin-bottom: 20px;
      padding-bottom: 14px;
      border-bottom: 2px solid #e8e8e8;
      position: relative;
    }

    .step-right h2::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 48px;
      height: 2px;
      background: var(--red);
    }

    .step-right p {
      font-size: 14px;
      line-height: 2;
      color: var(--gray-dark);
      margin-bottom: 16px;
    }

    .step-list {
      list-style: none;
      padding: 0;
      margin: 0 0 16px;
    }

    .step-list li {
      font-size: 14px;
      color: var(--gray-dark);
      padding: 6px 0;
      display: flex;
      align-items: center;
      gap: 10px;
      border-bottom: 1px dashed #e8e8e8;
      line-height: 1.6;
    }

    .step-list li:last-child { border-bottom: none; }

    .step-list li::before {
      content: '';
      width: 8px;
      height: 8px;
      background: var(--red);
      border-radius: 50%;
      flex-shrink: 0;
    }

    /* コンタクト方法バッジ */
    .contact-badges {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 20px;
    }

    .badge-item {
      display: flex;
      align-items: center;
      gap: 8px;
      background: var(--black);
      color: var(--white);
      font-size: 13px;
      font-weight: 700;
      padding: 10px 18px;
      border-radius: 4px;
    }

    .badge-item span { font-size: 18px; }

    /* 対応バッジ（即日・夜間など） */
    .availability-badges {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 16px;
    }

    .avail-item {
      border: 2px solid var(--red);
      color: var(--red);
      font-size: 12px;
      font-weight: 700;
      padding: 6px 16px;
      border-radius: 30px;
    }

    /* 支払い方法バッジ */
    .payment-badges {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 16px;
    }

    .payment-item {
      background: var(--gray-light);
      border: 1px solid #ddd;
      color: var(--gray-dark);
      font-size: 13px;
      font-weight: 700;
      padding: 8px 20px;
      border-radius: 4px;
    }

    /* =============================================
       CTA バナー
    ============================================= */
    .cta-section {
      background: var(--red);
      padding: 64px 0;
      text-align: center;
    }
    .cta-section h2 {
      font-size: clamp(20px, 3vw, 30px);
      font-weight: 900;
      color: #fff;
      margin-bottom: 12px;
    }
    .cta-section p {
      font-size: 14px;
      color: rgba(255,255,255,0.85);
      margin-bottom: 32px;
    }
    .cta-tel {
      font-size: 36px;
      font-weight: 900;
      color: #fff;
      display: block;
      margin-bottom: 20px;
      letter-spacing: 0.04em;
    }
    .btn-cta {
      display: inline-block;
      background: #fff;
      color: var(--red);
      font-size: 15px;
      font-weight: 900;
      padding: 14px 48px;
      border-radius: 4px;
      transition: all 0.2s;
      border: 2px solid #fff;
    }
    .btn-cta:hover {
      background: transparent;
      color: #fff;
    }

/* =============================================
レスポンシブ
============================================= */
@media (max-width: 767.98px) {
.step-inner {
grid-template-columns: 1fr !important;
gap: 28px;
}

.step-section:nth-child(even) .step-left { order: 0; }
.step-section:nth-child(even) .step-right { order: 0; }

.step-left { display: flex; align-items: center; gap: 16px; text-align: left; }
.step-left::after { display: none; }

.step-num-wrap { flex-direction: row; }
.step-icon { margin-top: 0; }

.section { padding: 56px 0; }
.step-section { padding: 48px 0; }
}
/***** コンタクトフォーム *****/
.table-contactform7{
  overflow: hidden;
table-layout: fixed;
}

.required-contactform7{
  padding: 5px;
  background: #DE8686;
  color: #fff;
  border-radius: 3px;
  margin-right: 3px;
}

.unrequired-contactform7{
  padding: 5px;
  background: #BDBDBD;
  color: #fff;
  border-radius: 3px;
  margin-right: 3px;
}

.table-contactform7 th{
  font-weight:bold;
}


.table-contactform7 input,
.table-contactform7 textarea{
  max-width: 90% !important;
  margin: 5px 10px 10px 5px;
}

.address-100 input{
  max-width: 90% !important;
  margin: 5px 10px 10px 5px;
}

.message-100 textarea{
  width: 100%;
  margin: 5px 10px 10px 5px;
}

@media screen and (min-width: 900px){
  .table-contactform7 th{
    width:28%;
  }
}


@media screen and (max-width: 900px){
  .table-contactform7{
    display:block;
  }

    .table-contactform7 tbody,
    .table-contactform7 tr{
      display: block;
      width: 100%;
    }
    .table-contactform7 th{
    width:100%;
    display:block;
    margin: 0 auto;
    border:none;
  }
  .table-contactform7 td{
    display: list-item;
    list-style-type:none;
    margin:0;
    padding:0;
    width: 100%;
    border-top: none !important;
  }
  h2.style2a {
    font-size: 1.8em;
  }
}
@media (max-width: 767px) {
  .content_wp {
    padding-left: 10px;
    padding-right: 10px;
  }
  h2.style2a {
    font-size: 1.3em;
  }
  .red-section {
    background: linear-gradient(to right, var(--main_color) 100%, transparent 60%);
  }
  .red-section::before {
    left: 20%;
    top: 40%;
  }
  .footer-tel a {
    font-size: 24px;
  }
}
