@charset "utf-8";
/* ======================================================
  load
====================================================== */
/* ========= ローディング画面のためのCSS =============== */
#splash {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;

  /* background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' fill='none' stroke='rgba(0,0,0,0.05)' stroke-width='1'%3E%3Cpath d='M100 10 L173 55 L173 145 L100 190 L27 145 L27 55 Z'/%3E%3C/svg%3E")
      repeat,
    linear-gradient(120deg, #ffffe0, #fff8b8, #fffff5); */
  background-color: var(--base-9);
  background-image: url(../image/common/pt-sayagata.png);
  background-size: auto;
  background-repeat: repeat;

  background-size:
    200px 200px,
    300% 300%;
  animation: yellowGradMove 8s ease-in-out infinite;

  z-index: 9999999;
  text-align: center;
  color: #4a3d19;
}
/* ローディング画像中央配置 */
#splash-logo {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* ロゴ画像サイズ */
#splash-logo img {
  width: 40%;
  margin: 0 auto;
}
/* ---- ロゴのふわっとフェードイン（fadeUp） ---- */
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0; /* 開始時は透明 */
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 100px)); /* 下から */
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%); /* 中央に */
  }
}
/* -------------------------
   レスポンシブ
   ------------------------- */
@media (max-width: 1024px) {
  /* タブレット以下のサイズ */
  #splash-logo {
    width: 100%;
  }
  #splash-logo img {
    width: 60%;
  }
}
@media (max-width: 767px) {
  /* スマホ以下のサイズ */
  #splash-logo img {
    width: 80%;
  }
}
/* ========= 画面遷移のためのCSS =============== */
body {
  background: var(--base-8); /* 遷移アニメーションと同じ色 */
}
body.appear {
  background: var(--base-8); /* 開いた後の背景色 */
}
/* 画面遷移アニメーション用背景 */
.splashbg1,
.splashbg2 {
  display: none;
}
/* bodyにappearクラスがついたら出現 */
body.appear .splashbg1,
body.appear .splashbg2 {
  display: block;
}
/* 右に消えるエリア */
body.appear .splashbg1 {
  animation-name: PageAnime;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  content: "";
  position: fixed;
  z-index: 99999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 50%;
  transform: scaleX(1);
  background-color: var(--base-9); /* 伸びる背景色 */
}
@keyframes PageAnime {
  0% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}
/* 左に消えるエリア */
body.appear .splashbg2 {
  animation-name: PageAnime2;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  content: "";
  position: fixed;
  z-index: 99999;
  width: 100%;
  height: 100vh;
  top: 0;
  right: 50%;
  transform: scaleX(1);
  background-color: var(--base-9); /* 伸びる背景色 */
}
@keyframes PageAnime2 {
  0% {
    transform-origin: right;
    transform: scaleX(1);
  }
  50% {
    transform-origin: left;
  }
  100% {
    transform-origin: left;
    transform: scaleX(0);
  }
}
/* 画面遷移の後現れるコンテンツ設定 */
.container {
  opacity: 0; /* はじめは非表示 */
}
/* bodyにappearクラスがついたら出現 */
body.appear .container {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* ローディング関連を強制で消す */
/*#splash, .splashbg1, .splashbg2 {
  display: none !important;
}
body {
  background: #fff !important;
}
.container {
  opacity: 1 !important;
  animation: none !important;
}
body.appear .container {
  opacity: 1 !important;
  animation: none !important;
}*/
/* ======================================================
  文字
====================================================== */
.strong-font {
  font-size: var(--font-m);
  font-weight: bold;
  color: var(--accent-color);
}
/* ======================================================
   スライドショーbgslider-p01
====================================================== */
.hero-p01 {
  min-height: calc(100vh - 70px);
  padding: 0 100px;
  background: /* 一番上：グリッド（横） */
    repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.18) 0,
      rgba(255, 255, 255, 0.18) 1px,
      transparent 1px,
      transparent 24px
    ),
    /* 次：グリッド（縦） */
    repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.18) 0,
        rgba(255, 255, 255, 0.18) 1px,
        transparent 1px,
        transparent 24px
      ),
    /* その下：背景画像（あれば） */ url("../image/index/hero-back.png"),
    /* 一番下：ベース色 */ var(--base-9);
  background-size: auto, auto, cover, auto;
  background-position:
    left top,
    left top,
    center,
    left top;
  background-repeat: repeat, repeat, no-repeat, repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.hero-p01__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  gap: 40px;
}
.hero-p01__sub {
  font-size: var(--font-s);
  font-weight: 700;
  margin-bottom: 10px;
  opacity: 0.9;
}
.hero-p01__main {
  font-family: "Sawarabi Mincho", serif;
  letter-spacing: 1.2px;
  font-size: var(--font-xl);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
}
/* 右側ビジュアル */
.hero-p01__visual {
  flex: 1;
}
.hero-p01__slider {
  position: relative;
  width: 100%;
  padding-top: 62.5%; /* 16:10 */
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--box-shadow-6);
}
.hero-p01__slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-p01__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  /*  background: linear-gradient(
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.4)
  );*/
}
.hero-p01__slide--a {
  background-image: url(/path/to/bath-01.jpg);
}
.hero-p01__slide--b {
  background-image: url(/path/to/bath-02.jpg);
}
.hero-p01__slide.is-active {
  opacity: 1;
}
@media (max-width: 1024px) {
  .hero-p01 {
    color: var(--white);
    min-height: auto;
    padding: 0;
  }
  /* 全体は縦並びから「重ねる構造」に変更 */
  .hero-p01__inner {
    position: relative; /* テキストが重なるための土台 */
    display: block; /* 縦並びに戻す */
    width: 100%;
  }
  /* スライダー（背景部分）は横幅100%で表示 */
  .hero-p01__visual {
    width: 100%;
  }
  /* スライダーの高さはスマホ・タブレット用に指定した方が綺麗 */
  .hero-p01__slider {
    width: 100%;
    height: 60vh; /* 推奨：端末の6割ほどの高さ */
    padding-top: 0; /* 元のアスペクト比paddingは無効化 */
    border-radius: 0;
    position: relative;
  }
  .hero-p01__slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.25));
    z-index: 2;
    pointer-events: none;
  }
  /* テキストをスライドの上へ重ねる */
  .hero-p01__text {
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
  }
  /* スライド側の absolute がテキストを隠さないように調整 */
  .hero-p01__slide {
    z-index: 1;
  }
}
/* スマホ対応 */
@media (max-width: 768px) {
  .hero-p01__inner {
    flex-direction: column;
  }
  .hero-p01__visual {
    width: 100%;
  }
  .hero-p01__main {
    font-size: var(--font-l);
  }
}
/* CTAエリア */
.hero-p01__cta {
  margin-top: 28px;
}
/* メインボタン */
.hero-p01-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 40px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--main-4), var(--main-8));
  box-shadow: var(--box-shadow-5);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.03em;
  text-decoration: none;
  transform: translateY(0);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
  overflow: hidden;
}
/* ホバー時のふんわり浮き上がり */
.hero-p01-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-8);
  filter: brightness(1.05);
}
/* クリック時の押し込み感 */
.hero-p01-btn:active {
  transform: translateY(0);
  box-shadow: var(--box-shadow-7);
  filter: brightness(0.98);
}
/* ボタン内のハイライト（うっすら光る感じ） */
.hero-p01-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 0 0,
    rgba(255, 255, 255, 0.4),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.hero-p01-btn:hover::before {
  opacity: 1;
}
/* 右側の小さな矢印アイコン */
.hero-p01-btn::after {
  content: "▶";
  font-size: 0.8em;
  margin-left: 4px;
  transition: transform 0.2s ease;
}
.hero-p01-btn:hover::after {
  transform: translateX(3px);
}
/* キーボードフォーカス時（アクセシビリティ） */
.hero-p01-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.6),
    0 10px 25px rgba(255, 102, 0, 0.5);
}
/* タブレット・スマホ調整 */
@media (max-width: 768px) {
  .hero-p01__cta {
    display: flex;
    justify-content: center;
  }
  .hero-p01-btn {
    width: min(100%, 320px);
    padding: 16px 24px;
    font-size: 16px;
  }
}
/* ======================================================
  ご挨拶　section--greeting
====================================================== */
/* 挨拶文のボックス */
.greeting-content {
  background: var(--white);
  padding: 50px 32px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 2px solid var(--main-color);
}
.greeting-content p {
  line-height: 2;
  opacity: 0.95;
  /* テキストを読みやすくするための調整 */
  text-align: center;
  text-justify: inter-ideograph;
  white-space: pre-line; /* 改行をそのまま反映させたい時に便利 */
}
.greeting-content span {
  display: block;
  text-align: center;
  margin-top: 40px;
}
/* スマホ対応 */
@media (max-width: 768px) {
  .greeting-content {
    padding: 40px 30px;
  }
  .greeting-content p {
    text-align: justify;
    font-size: 0.95rem;
  }
  .greeting-content span {
    margin-top: 20px;
  }
}
/* ======================================================
   こんなお悩み　section--trouble
====================================================== */
.section--trouble {
  background: #fffdf5; /* やわらかいパステル系の背景色 */
  background-image: url("../image/index/trouble-back.png");
  background-size: cover;
  background-position: center;
}
.trouble-title {
  text-align: center;
  margin-bottom: 24px;
}
.trouble-title-label {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 999px;
  background: #ffe58a; /* メインの黄色系 */
  font-size: var(--font-m);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.trouble-bubble {
  position: relative;
  max-width: 720px;
  margin: 0 auto 32px;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: var(--box-shadow-4);
  line-height: 1.7;
  text-align: center;
}
.trouble-bubble::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  border-width: 12px 12px 0 12px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.09));
}
.trouble-bubble span {
  font-size: var(--font-m);
  font-weight: 700;
}
.trouble-list-box {
  display: flex;
  justify-content: center;
}
.trouble-list {
  list-style: none;
  display: inline-block;
  /*  max-width: 720px;*/
  margin: 0 auto 32px;
  padding: 0;
}
.trouble-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
  line-height: 1.8;
}
.trouble-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
}
.trouble-solution {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px;
  border-radius: 12px;
  background: #fff3bf; /* 少し濃いめの黄色で強調 */
  text-align: center;
}
.trouble-solution-main {
  margin: 0 0 8px;
  font-weight: 600;
}
.trouble-solution-main span {
  font-size: var(--font-m);
  font-weight: 700;
}
.trouble-solution-sub {
  margin: 0;
  font-size: var(--font-xs);
  line-height: 1.8;
}
/* スマホ対応 */
@media (max-width: 600px) {
  .trouble-title-label {
    font-size: 16px;
    padding: 6px 18px;
  }
  .trouble-bubble {
    font-size: 14px;
  }
  .trouble-list li {
    font-size: 14px;
    padding-left: 20px;
  }
  .trouble-solution-main {
    font-size: 15px;
  }
  .trouble-solution-sub {
    font-size: 13px;
  }
  .trouble-solution {
    padding: 20px 15px;
  }
}
/* ======================================================
   3つの強み section--strength（p02）
====================================================== */
/* セクション全体 */
.strengths-lead {
  text-align: center;
  font-size: var(--font-s);
  margin-bottom: 40px;
  line-height: 1.8;
  color: #555;
}
/* 3カラムレイアウト */
.strengths-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
/* 各アイテム */
.strength-item {
  background: var(--white);
  border-radius: 12px;
  padding: 24px 20px 28px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
  text-align: left;
}
/* アイコン部分（仮に丸い番号表示） */
.strength-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #f1b800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto;
  margin-bottom: 12px;
}
.strength-icon img {
  width: 100%;
  height: auto;
}
/* タイトル */
.strength-item-title {
  font-family: "Sawarabi Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: var(--font-m);
  margin-bottom: 6px;
  line-height: 1.5;
  text-align: center;
}
/* サブタイトル（一言メリット） */
.strength-item-sub {
  font-size: var(--font-xs);
  color: #f1b800;
  font-weight: 500;
  margin-bottom: 10px;
  text-align: center;
}
/* 説明文 */
.strength-item-text {
  text-align: justify;
  line-height: 1.9;
}
/* スマホ・タブレット対応 */
@media (max-width: 960px) {
  .strengths-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .strengths-list {
    grid-template-columns: 1fr;
  }
  .strengths-lead {
    text-align: justify;
    margin-bottom: 20px;
  }
  .strength-item {
    text-align: left;
    padding: 24px 20px 28px;
  }
}
/* ======================================================
  業務内容　section--service
====================================================== */
/* 推奨：既に読み込んでいれば不要ですが、イメージ用コメントです
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Sawarabi+Mincho&display=swap">
*/
.section--service {
  background: #fffdf5; /* やわらかいパステル系の背景色 */
}
.service-lead {
  text-align: center;
  line-height: 1.8;
  margin-bottom: 40px;
}
/* グリッド本体（2×2） */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #e5e2d8;
  border-left: 1px solid #e5e2d8;
}
/* 各セル */
.service-item {
  position: relative;
  padding: 24px 24px 28px;
  border-right: 1px solid #e5e2d8;
  border-bottom: 1px solid #e5e2d8;
  overflow: hidden; /* ← はみ出し防止 */
  aspect-ratio: 2 / 1; /* ← 横：縦 = 2:1 */
}
/* 背景画像を before に移動 */
.service-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 0.6s ease; /* ← ふわっと拡大 */
  transform: scale(1);
}
.service-item-1 {
  background-image: url("../image/index/service-1.jpg");
  background-position: center bottom;
  background-size: contain;
  background-repeat: no-repeat;
}
.service-item-2 {
  background-image: url("../image/index/service-2.jpg");
  background-position: center bottom;
  background-size: contain;
  background-repeat: no-repeat;
}
.service-item-3 {
  background-image: url("../image/index/service-3.jpg");
  background-position: center bottom;
  background-size: contain;
  background-repeat: no-repeat;
}
.service-item-4 {
  background-image: url("../image/index/service-4.jpg");
  background-position: center bottom;
  background-size: contain;
  background-repeat: no-repeat;
}
/* ホバーでズーム */
.service-item:hover::before {
  transform: scale(1.1); /* ← 10%拡大 */
}
/*テキスト*/
.overlay-front {
  height: 100%;
}
.service-flex-box {
  height: 100%;
  display: flex;
  align-items: center;
}
/* タイトル（業務名） */
.service-item-title {
  font-family: "Sawarabi Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: var(font-m);
  color: var(--white);
  margin-bottom: 8px;
}
/* 説明文 */
.service-item-text {
  color: var(--white);
  line-height: 1.9;
  margin-bottom: 12px;
}
/* リンク（施工事例へ） */
.service-item-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  color: #f1b800; /* メインの黄色系 */
  border-bottom: 1px solid rgba(241, 184, 0, 0.4);
  padding-bottom: 2px;
}
.service-item-link::after {
  content: "▶";
  font-size: 0.7rem;
  margin-left: 4px;
}
.service-item-link:hover {
  opacity: 0.8;
}
/* 「業務内容を詳しく見る」ボタン */
.service-more {
  margin-top: 32px;
  text-align: center;
}
.service-more-link {
  display: inline-block;
  min-width: 220px;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid #f1b800;
  font-size: 0.9rem;
  text-decoration: none;
  color: #f1b800;
  background-color: #fffdf2;
}
.service-more-link:hover {
  background-color: #fff7cf;
}
@media (max-width: 1024px) {
  .service-item {
    aspect-ratio: auto; /* ← 横：縦 = 2:1 */
  }
  .service-item-1 {
    background-image: url("../image/index/service-1-res.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .service-item-2 {
    background-image: url("../image/index/service-2-res.jpg");
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .service-item-3 {
    background-image: url("../image/index/service-3-res.jpg");
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .service-item-4 {
    background-image: url("../image/index/service-4-res.jpg");
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
  }
}
/* レスポンシブ調整 */
@media (max-width: 767px) {
  .service {
    padding: 56px 16px;
  }
  .service-lead {
    text-align: justify;
    margin-bottom: 20px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
}
/* ======================================================
 施工実績　section--work
====================================================== */
.works-preview {
  padding: 80px 16px;
  background: #fffdf7; /* ほんのりパステル感のある背景 */
}
.works-preview__lead {
  text-align: center;
  line-height: 1.8;
  margin-bottom: 36px;
}
/* カードグリッド（3件） */
.works-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
/* カード本体 */
.works-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
/* サムネ部分 */
.works-card__thumb {
  position: relative;
  overflow: hidden;
}
.works-card__thumb img {
  width: 100%;
  height: auto;
  display: block;
}
/* カテゴリラベル */
.works-card__label {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: var(--font-xs);
  background: rgba(241, 184, 0, 0.95); /* 黄色メイン */
  color: #fff;
}
/* カード本文 */
.works-card__body {
  height: 60%;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}
.works-card__title {
  font-family: "Sawarabi Mincho", serif;
  font-size: var(--font-m);
  font-weight: 600;
  margin: 0;
}
.works-card__text {
  line-height: 1.8;
  margin: 0 0 8px;
}
/* 「この施工事例を見る」リンク */
.works-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  font-size: var(--font-xs);
  color: #f1b800;
  text-decoration: none;
  border-bottom: 1px solid rgba(241, 184, 0, 0.4);
  padding-bottom: 2px;
}
.works-card__link::after {
  content: "▶";
  font-size: 0.7rem;
  margin-left: 4px;
}
.works-card__link:hover {
  opacity: 0.85;
}
/* もっと見るボタン */
.works-preview__more {
  margin-top: 32px;
  text-align: center;
}
.works-preview__more-link {
  display: inline-block;
  min-width: 240px;
  padding: 10px 26px;
  border-radius: 999px;
  border: 1px solid #f1b800;
  font-size: 0.9rem;
  text-decoration: none;
  color: #f1b800;
  background-color: #fffdf2;
}
.works-preview__more-link:hover {
  background-color: #fff7cf;
}
/* レスポンシブ対応 */
@media (max-width: 960px) {
  .works-preview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .works-preview {
    padding: 56px 16px;
  }
  .works-preview__lead {
    text-align: justify;
    margin-bottom: 20px;
  }
  .works-preview__grid {
    grid-template-columns: 1fr;
  }
}
