body {
  margin: 0;
  color: #736357;
  background: #fff;
  font-family: 'Zen Old Mincho', "Hiragino Mincho ProN", "游明朝", serif;
}


img {
  max-width: 100%;
}
/* コンテナ */
.c-wrapper {
  position: relative; 
  max-width:600px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  box-shadow: none; 
  padding-right: 0;
  padding-left: 0;
 background: #ffffff;
}
.c-wrapper::before,
.c-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 10px; /* 影の幅 */
  height: 100%;
  filter: blur(8px);
  opacity: 0.3;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}
.c-wrapper::before {
  left: -10px; /* 左側に影 */
}
.c-wrapper::after {
  right: -10px; /* 右側に影 */
}
.c-inner {
  padding-top: 0;
  padding-bottom: 0;
    background: #fff;
}
/* リセット */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* =========================
   Typography System
========================= */
:root {
  --h3: clamp(22px, 5.3vw, 34px);
  --h4: clamp(20px, 4.8vw, 30px);
  --h5: clamp(18px, 4.3vw, 26px);
  --p_large: clamp(16px, 3.8vw, 22px);
  --p: clamp(14px, 3.5vw, 20px);
  --p-small: clamp(12px, 3vw, 16px);
  --space-8:  clamp(8px,  1.5vw + 4px,  12px);
  --space-16: clamp(16px, 3vw + 8px,    24px);
  --space-24: clamp(24px, 4vw + 12px,   36px);
  --space-32: clamp(32px, 5vw + 16px,   48px);
  --space-40: clamp(40px, 6vw + 20px,   64px);
  --space-80: clamp(80px, 17.78vw + 13.33px, 120px);
  --section-gap: var(--space-40);
}
h3{
    font-size: var(--h3);
}
h4{
    font-size: var(--h4);
}
h5{
    font-size: var(--h5);
    font-weight: 700;
}
.p_l{
    font-size: var(--p_large);
}
.p_s{
    font-size: var(--p_small);
}

/* h2 */
#section-5,
#section-12,
#section-15 h2,
#section-17,
#section-21 h2,
#section-23,
#section-26 h2,
#section-28 h2,
#section-29{
    text-align: center;
    font-size: var(--h4);
    font-weight: 700;
}
#section-6,
#section-20 strong,
#section-33{
    text-align: center;
    font-size: var(--h5);
    font-weight: 700;
}
#section-7 [data-structure="e-text"],
#section-18 [data-structure="e-text"]{
    font-size: var(--p);
}

#section-21{
    color: #fff;
}

#section-21 h2{
    margin-bottom: var(--space-24);
}

#section-34 h5{
    font-weight: 400;
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
}

/* =========================
   コンテンツ毎の余白
========================= */
#section-5 .c-inner.c-inner--vertical,
#section-6 .c-inner.c-inner--vertical,
#section-7 .c-inner.c-inner--vertical,
#section-8 .c-inner.c-inner--vertical,
#section-9 .c-inner.c-inner--vertical,
#section-12 .c-inner.c-inner--vertical,
#section-13 .c-inner.c-inner--vertical,
#section-15 .c-inner.c-inner--vertical,
#section-16 .c-inner.c-inner--vertical,
#section-17 .c-inner.c-inner--vertical,
#section-18 .c-inner.c-inner--vertical,
#section-20 .c-inner.c-inner--vertical,
#section-21 .c-inner.c-inner--vertical,
#section-22 .c-inner.c-inner--vertical,
#section-23 .c-inner.c-inner--vertical,
#section-24 .c-inner.c-inner--vertical,
#section-25 .c-inner.c-inner--vertical,
#section-26 .c-inner.c-inner--vertical,
#section-27 .c-inner.c-inner--vertical,
#section-28 .c-inner.c-inner--vertical,
#section-29 .c-inner.c-inner--vertical,
#section-34 .c-inner.c-inner--vertical
{
    padding:0 var(--space-24) var(--space-24);
    margin: 0;
}
/* title */
#section-11 .c-inner.c-inner--vertical, 
#section-15 .c-inner.c-inner--vertical,
#section-16 .c-inner.c-inner--vertical,
#section-22 .c-inner.c-inner--vertical,
#section-26 .c-inner.c-inner--vertical{
    padding:0 var(--space-24) var(--space-8);
    background: #ffffff; 
    margin: 0;
}

#section-11 .c-inner.c-inner--vertical{
    padding:48px var(--space-24)  var(--space-24);
}

#section-4 .c-inner.c-inner--vertical{
    padding:48px var(--space-24) 8px;
}
#section-10 .c-inner.c-inner--vertical,
#section-14 .c-inner.c-inner--vertical,
#section-25 .c-inner.c-inner--vertical{
    padding:0 var(--space-24)  var(--space-40);
}

#section-16 .c-inner.c-inner--vertical,
#section-21 .c-inner.c-inner--vertical,
#section-22 .c-inner.c-inner--vertical,
#section-26 .c-inner.c-inner--vertical,
#section-29 .c-inner.c-inner--vertical
{
    padding-top: var(--space-40);
}

#section-19 .c-inner.c-inner--vertical{
    padding: var(--space-16) 0 var(--space-24);
    margin: 0;
}

#section-34 .c-inner.c-inner--vertical{
    padding-bottom: var(--space-40);
}


/* title img*/
#section-4 img,
#section-11 img,
#section-15 img,
#section-16 img,
#section-21 img,
#section-22 img,
#section-26 img{
    height:75px;
}
#section-25 img{
    width:70%;
}

/* =========================
   コンテンツ
========================= */

/* 固定ボタン */
.fixed-contact {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  padding: 16px 20px;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  overflow: hidden;
  color: #fff;
  font-size: var(--h5);
  letter-spacing: 0.08em;
  font-weight: 600;
    background: linear-gradient(135deg, #ff1a00, #b81400);
}

/* テキスト */
.btn-text {
  position: relative;
  z-index: 2;
}

/* 矢印 */
.arrow {
  width: 20px;
  height: 2px;
  background: #fff;
  position: relative;
}

/* 矢印先 */
.arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

/* ホバーで軽く動く */
.fixed-contact:hover .arrow {
  animation: arrowMove 0.6s ease;
}

@keyframes arrowMove {
  0% { transform: translateX(0); }
  50% { transform: translateX(6px); }
  100% { transform: translateX(0); }
}

/* FV　Swiper */
#section-2 .swiper {
    width: 600px;
    max-width: 100%;
  height:auto;
    aspect-ratio: 9 / 14
}

#section-2 .swiper-slide img {
     width: 600px;
    max-width: 100%;
     height: auto;
  aspect-ratio: 9 / 14;
  object-fit: cover;
}

.swiper-pagination,
.swiper-button-prev,
.swiper-button-next{
    display: none!important;
}

/* 黒グラデ */
.swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

/* オーバーレイ */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
     width: 600px;
    max-width: 100%;
     height: auto;
     aspect-ratio: 9 / 14;
    z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 0 20px;
  pointer-events: none;
  color: #fff;
  align-items: center; 

}

/* ロゴ */
.hero-logo {
  width: 20%;
  padding-bottom: clamp(--space-24);
}

/* 縦文字 */
.catch-vertical {
  writing-mode: vertical-rl;
  letter-spacing: 0.4rem;
  margin-bottom:clamp(--space-12);
    line-height: 2;
    white-space: nowrap;
}

/* 横文字 */
.catch-horizontal {
  font-size: var(--p);
  letter-spacing: 2px;

}

/* サムネ */
.fv_topic img{
    width: 600px;
    max-width: 100%;
    padding-bottom: var(--space-16);
}


/* ナビ（初期非表示） */
.global-nav {
  display: none;
}


/* POINT */
#section-15 .c-inner.c-inner--vertical{
  padding: var(--space-24);
  background: url("https://s3-ap-northeast-1.amazonaws.com/s3.peraichi.com/userData/9ea1fbf8-360b-4609-ad1a-15ead02802d4/img/5b2763d9-a28d-42c2-b518-b621ba27517c/bg_point.jpg") center / cover no-repeat;
}
/* 白フィルター */
#section-15 .c-inner.c-inner--verticatl::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 中身を前に */
#section-15 .c-inner.c-inner--vertical > * {
  position: relative;
  z-index: 1;
}

#section-15 .c-inner.c-inner--vertical::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}


#section-15 .c-inner.c-inner--vertical{
    margin: 0 auto;
     display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center; 
    padding: 0;
}

#section-15 img{
    margin-top:  var(--space-40);
}

#section-15 h2{
  margin-bottom:  var(--space-40);
        color: #fff;
}



/* 各カード */
.flex_box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: var(--space-24); 
  margin: var(--space-24);
  border-radius: 20px;
  position: relative;
  z-index: 0;
  overflow: hidden; 
}

/* ブラーガラス */
.flex_box::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(255,255,255,0.3);
  z-index: -1;
}

/* 中身前面 */
.flex_box > * {
  position: relative;
  z-index: 1;
    align-items: flex-start; 
}

/* アイコン */
.flex_icon {
      width: 20%;
  flex: 0 0 20%;
    align-items: flex-start;
    padding-right:var(--space-16);
}

#section-15 .flex_icon img {
  width: 100%;
  height: auto; /* ←これ重要（100%やめる） */
  object-fit: contain;
  display: block;
        margin-top: 0;

}

/* テキスト */
.flex_text {
   width: 80%;
  flex: 0 0 80%;
        text-align: left;
}

.flex_text h5 {
  margin: 0 0 6px;
  font-size: var(--h5);
  line-height: 1.4;

}

.flex_text p {
  margin: 0;
  font-size: var(--p);
  line-height: 1.7;
}

/* 施工事例 */
[data-structure=b-img-slider--small] .swiper-container::before {
    padding-top: var(--space-24);
}


#section-20 .swiper {
    width: 600px;
    max-width: 100%;
  height: auto;
    aspect-ratio: 4 / 5;
}

#section-20 .swiper-slide img {
     width: 600px;
    max-width: 100%;
     height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* 黒グラデ */
#section-20 .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:rgba(0,0,0,0) !important;
}

/* よくあるご質問 */
#section-21 .c-inner.c-inner--vertical{
    background: #736357;
    text-align: center;
}

.faq {
  width: 100%;
  margin-bottom: var(--space-40);
}

/* カード */
.faq-item {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: var(--space-24);
  background: #fff;
}

/* 質問 */
.faq-q {
  width: 100%;
  background: #fff;
  border: none;
  font-size: var(--p);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 16px 20px;
  position: relative;
  border-radius: 10px;
  margin-bottom: 0;
  color: #736357;
  font-family: 'Zen Old Mincho', "Hiragino Mincho ProN", "游明朝", serif;
}

/* 開いた時（上だけ角丸） */
.faq-item.active .faq-q {
  border-radius: 10px 10px 0 0;
}

/* Q番号 */
.faq-label {
  font-family: 'EB Garamond', serif;
  font-size: var(--h3);
  color: #ADA49D;
  font-weight: 700;
}

/* ＋アイコン */
.faq-icon {
  margin-left: auto;
  width: 16px;
  height: 16px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: #333;
  transition: 0.3s;
}

.faq-icon::before {
  width: 16px;
  height: 2px;
  top: 7px;
  left: 0;
}

.faq-icon::after {
  width: 2px;
  height: 16px;
  top: 0;
  left: 7px;
}

/* 開いたら−になる */
.faq-item.active .faq-icon::after {
  transform: scaleY(0);
}

/* 回答 */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
  padding: 0 20px;
  font-size: 13px;
  line-height: 1.6;
  background: #fff;
     text-align: left;
    color: #736357;
  font-family: 'Zen Old Mincho', "Hiragino Mincho ProN", "游明朝", serif;
}

/* 開いた状態 */
.faq-item.active .faq-a {
  max-height: 300px;
  padding: 10px 20px 20px;
}

/* 会社概要 */

table {
  width: 100%;
  table-layout: fixed;
    letter-spacing: inherit;
    font-size: var(--p-small);
}

th{
    width: var(--space-80) !important;
      display: table-cell;
}
td{
    width: calc(100% - 150px);
      display: table-cell;
}


footer{
  background-color: #736357;
  text-align: center;
   color: #fff;
}

.footer_text{
    padding: var(--space-40);
}

.footer_text p{
    font-size: var(--p);
}

.footer_text .tel{
border: 1px solid #fff;
  padding: 10px 24px;
  display: inline-block;
  font-size: 32px !important;
    margin-bottom: var(--space-24);
    font-family: 'EB Garamond', serif;
    width: 300px;
    max-width:100%;
    letter-spacing: 0.1em;
}

.footer_text .tel a{
     color: #fff !important;
}

.p-footer__inner{
    padding-top:10px !important;
}


/* PC */
@media screen and (min-width: 768px) {

  body {
    background: #eee;
  }

  .container {
    background: #fff;
  }

  .global-nav {
    display: block;
    position: fixed;
    top: 50%;
    left: calc(50% - 350px);
    transform: translateY(-50%);
  }

  .global-nav ul {
    list-style: none;
    padding: 0;
  }

  .global-nav li {
    margin-bottom: 16px;
  }

  .global-nav a {
    font-size: 11px;
    color: #aaa;
    writing-mode: vertical-rl;
    text-decoration: none;
  }

  .global-nav a:hover {
    color: #000;
  }
}