

.roof-divider{
  width:100%;
  height:120px;
  background:#ffffff;

  clip-path: polygon(
    0% 100%,
    35% 40%,
    50% 10%,
    65% 40%,
    100% 100%
  );
}






.fade-in-start{
opacity:0;
transform:translateY(30px);
animation:fadeInStart 1.3s ease forwards;
animation-delay:0.4s;
}

@keyframes fadeInStart{
to{
opacity:1;
transform:translateY(0);
}
}

/*スマホのみ改行*/
@media screen and (max-width: 768px) {
  .sp-block {
    display: block;
  }
}

  
/* ===== イベントセクション ===== */
.event-section{
  position:relative;
  padding:60px 20px;

  background:linear-gradient(
    180deg,
    #f6efe7 0%,
    #eaded0 100%
  );

  overflow:hidden;
}

/* 斜めアクセント */
.event-section::before{
  content:"";
  position:absolute;

  width:120%;
  height:200px;

  background:#ffffff;

  top:-80px;
  left:-10%;

  transform:rotate(-3deg);

  opacity:0.6;

  z-index:0;
}

/* 円アクセント */
.event-section::after{
  content:"";
  position:absolute;

  width:520px;
  height:520px;

  background:radial-gradient(
    circle,
    rgba(255,255,255,0.6) 0%,
    rgba(255,255,255,0.2) 60%,
    rgba(255,255,255,0) 100%
  );

  border-radius:50%;

  bottom:-120px;
  right:-120px;

  z-index:0;
}


/* 中身を前面へ */
.event-section *{
  position:relative;
  z-index:1;
}


.event-container {
  max-width:90%;
  margin: auto;
}

.event-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
margin-bottom: 10px;
}

.event-present{
text-align:center;   /* 中央揃え */
font-size:12px;
color:#777;
letter-spacing:0.08em;
margin-bottom: 40px;
}
.event-present::before,
.event-present::after{
content:"";
display:inline-block;
width:30px;
height:1px;
background:#ccc;
margin:0 10px;
vertical-align:middle;
}



/* グリッド */
.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* カード */
.event-card {
  position: relative;
  display: block;
  border-radius: 1px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.1s, box-shadow 0.3s;
  text-decoration: none;
  color: #333;
}

.event-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* 画像 */
.event-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.9s;
}
.event-card:hover img {
  transform: scale(1.05);
}

/* ラベルを右上に配置 */
.event-card .event-label {
  position: absolute;
  top: 12px;    /* 上から12px */
  right: 12px;  /* 右から12px */
  background-color: rgba(153,0,0,0.8); /* 半透明赤 */
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.event-card .event-label.reserved {
  background-color: #457b9d; /* 青系 */
}

/* テキスト下部 */
.event-info {
  padding: 12px;
  background: #fff;
  text-align: center;
}

.event-info h4 {
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 600;
}

.event-info p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* レスポンシブ */
@media (max-width: 992px) {
  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .event-grid {
    grid-template-columns: 1fr;
  }
  .event-card img {
    height: 260px;
  }
}




/* 画像がイエ */

.house-wrap{
  position: relative;
  width: 100%;
  max-width: 400px;
}

.house-img{
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  clip-path: polygon(
    50% 10%,
    100% 40%,
    100% 100%,
    0% 100%,
    0% 40%
  );
}

.overlay-img{
  position: absolute;
  inset: 0;               /* 上下左右0 */
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;   /* クリック透過 */
  left: 0;                /* 左寄せ */
  transform: none;        /* 初期状態では変形なし */
}

/* PCのみ（769px以上） */
@media (min-width: 769px) {
  .overlay-img {
    transform: translateX(0);  /* 左寄せのまま */
  }
}

/* スマホのみ */
@media (max-width: 768px) {
  .overlay-img {
    transform: scale(0.6) translateY(-10%);  /* 少し小さく＆上に移動 */
    transform-origin: top left;             /* 上左を基準に縮小＆移動 */
  }
}



  .lineup-header{
    text-align: center; /* 中央揃え */
    margin-top: 100px;
  }
  .lineup-header img{
    width: 250px;
    height: 100px;
    display: block;
    margin: 0 auto 40px; /* 下に余白 */
  }
  .lineup-header h2{
    margin: 10px 0 5px 0;
    font-size: 24px;
  }
  .lineup-header p{
    margin: 0;
    font-size: 38px;
  }



/* ===== スライダー全体 ===== */
.fade-slider{
  position: relative;
  width: 100%;
  height: 100vh; /* 安定の100vh */
  overflow: hidden;
}

/* ===== スライド画像 ===== */
.fade-slider .slide{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: simpleFade 16s infinite;
}

/* 各画像に時間差を付ける（4枚） */
.fade-slider .slide:nth-child(1) { animation-delay: 0s; }
.fade-slider .slide:nth-child(2) { animation-delay: 4s; }
.fade-slider .slide:nth-child(3) { animation-delay: 8s; }
.fade-slider .slide:nth-child(4) { animation-delay: 12s; }

/* ===== シンプルフェード ===== */
@keyframes slideQuick {
  0%, 24.9% {
    opacity: 1;
    transform: translateX(0);
  }
  25%, 100% {
    opacity: 0;
    transform: translateX(-15%);
  }
}

.fade-slider .slide {
  animation: slideQuick 16s infinite;
  animation-timing-function: ease-in-out;
}

/* 中央キャプション */
.hero-block{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10; /* 画像より前面に */
  pointer-events: none;
}

.hero-block .caption{
  color: white;
  font-family: 'HannariMincho', serif;
  font-size: 3vw;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* ===== スマホ用メディアクエリ ===== */
@media screen and (max-width: 768px) {
  .hero-block .caption {
    font-size: 6vw; /* PCより大きめに */
  }
}

@media screen and (max-width: 480px) {
  .hero-block .caption {
    font-size: 8vw; /* 小さいスマホはさらに大きく */
  }
}


/* SCROLL配置：左下固定 */
.scroll-indicator{
  position: fixed;
  bottom: 40px;
  left: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 999;
}

/* SCROLL テキスト */
.scroll-text{
  font-size: 12px;
  letter-spacing: 2px;
  color: #336699;
  writing-mode: vertical-rl; /* 縦書き風に縦方向表示 */
  transform: rotate(180deg); /* 読みやすい向きに調整 */
  opacity: 0.8;
  margin-bottom: 10px;
}

/* 伸びるライン */
.scroll-line{
  width: 2px;
  height: 40px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.scroll-line::before{
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #336699;
  animation: lineMove 1.6s ease-in-out infinite;
}

.scroll-indicator{
  position: fixed;
  bottom: 40px;
  left: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 999;

  transition: opacity 0.6s ease; /* ← コレでふわっと */
}


/* ラインが伸びるアニメーション */
@keyframes lineMove {
  0% {
    top: -100%;
  }
  50% {
    top: 0%;
  }
  100% {
    top: 100%;
  }
}


@font-face {
  font-family: 'HannariMincho';
  src: url('fonts/HannariMincho-Regular.woff2') format('woff2'),
       url('fonts/HannariMincho-Regular.woff') format('woff'),
       url('fonts/HannariMincho-Regular.ttf') format('truetype'),
       url('fonts/HannariMincho-Regular.otf') format('opentype'); /* 任意追加 */
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HigureGothic';
  src: url('fonts/higuregothic-regular.woff2') format('woff2'),
       url('fonts/higuregothic-regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}



/* ページ全体を透明から表示 */
body {
  opacity: 0;
  transition: opacity 3s ease;
}
body.visible {
  opacity: 1;
}


.dotted-bg{
  width: 100%;
  height: 1px;
  background-image: radial-gradient(circle, #336699 2px, transparent 2px);
  background-size: 7px 2px; /* 点の間隔 */
}


/* ================================
   波
================================= */

.wave-wrap{
    letter-spacing: 0.1em;
    line-height: 1.3;
    display: inline-block;
    overflow: visible;
  }

  .wave-wrap .char{
    display: inline-block;
    transform-origin: center;
    opacity: 0;
  }

  /* 波の動き */
  @keyframes waveUp {
    0%   { transform: translateY(0) scale(1); }
    20%  { transform: translateY(-18px) scale(1.04); }
    40%  { transform: translateY(6px)  scale(0.99); }
    60%  { transform: translateY(-6px) scale(1.01); }
    100% { transform: translateY(0) scale(1); }
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* 再生時のアニメ設定（2種類のアニメを同時実行） */
  .wave-wrap.play .char {
    animation-name: waveUp, fadeIn;
    animation-duration: 900ms, 700ms;
    animation-timing-function: cubic-bezier(.2,.8,.3,1), ease;
    animation-fill-mode: both, forwards;
  }



/* ================================
   リセット・基本設定
================================= */
*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* ================================
   スペース
================================= */
.space20{
	height: 20px;
}
.space40{
	height: 40px;
}
.space80{
	height: 80px;
}
.space120{
	height: 120px;
}
.space180{
	height: 180px;
}
.space240{
	height: 240px;
}



/* ================================
   p
================================= */

p{
  font-size: 14px;
  letter-spacing: 0.1em; /* 少し文字間を広げる */
  line-height: 1.6;       /* 読みやすく */
  margin-bottom: 1rem;    /* 下余白 */
}

@media screen and (max-width: 768px) {
  p{
    font-size: 13px;       /* 小さめに調整 */
    letter-spacing: 0.2em; /* 少し文字間を狭く */
    line-height: 1.4;      /* 行間も少し狭く */
    margin-bottom: 0.8rem; /* 下余白を少し減らす */
  }
}

p.p2{
  font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.4rem;      /* フォントサイズ */
  font-weight: 500;       /* 太さ */
  color: #fff;            /* 文字色 */
  letter-spacing: 0.03em; /* 文字間 */
  line-height: 1.4;       /* 行間 */
}



/* ================================
   小さめのフォント
<div class="text-small">
  <p>こちらは小さめゴシック体のテキストです。</p>
</div>
================================= */


.text-small{
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;/* ゴシック体 */
  font-size: 1rem;       /* 小さめのサイズ */
  color: #333;           /* 文字色 */
line-height: 2; /* 行間を広げる */
  margin: 10px 0;
}

/* スマホ用に調整 */
@media screen and (max-width: 768px) {
  .text-small{
    font-size: 0.9rem;
    text-align: left;    /* 念のためスマホでも左揃え */
    margin: 0 0 0 20px;   /* ← スマホ専用の余白 */
  }
}

/* ================================
   小さめのフォント
<div class="text-small2">
  <p>こちらは小さめゴシック体のテキストです。</p>
</div>
================================= */


.text-small2{
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif; /* ゴシック体 */
  font-size: 0.7rem;       /* 小さめのサイズ */
  color: #333;           /* 文字色 */
line-height: 2; /* 行間を広げる */
  margin: 10px 0;
}

/* スマホ用に調整 */
@media screen and (max-width: 768px) {
  .text-small2{
    font-size: 0.8rem;
    text-align: left;    /* 念のためスマホでも左揃え */
    margin: 0 0 0 20px;   /* ← スマホ専用の余白 */
  }
}


/* ================================
   見出しフォント設定
================================= */

/* H1：明朝体・スッキリ大きめ */
h1{
  font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em; /* ← 文字間を少し広げる */
}

/* H2：明朝体・スッキリ大きめ */
h2{
  font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.5rem;   /* 少し抑えめ */
  font-weight: 700;    /* 細めで上品に */
  color: #333;         /* 濃すぎないグレー */
  margin: 0 20px;  /* 上下0、左右20px */
  letter-spacing: 0.03em; /* 少し広げて抜け感 */
}


/* H3：ゴシック体・今どき風 */
h3{
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #555;          /* 控えめグレー */
  margin-top: 0.2rem;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

/* スマホ向け（768px以下） */
@media screen and (max-width: 768px) {
  h1{
    font-size: 1.3rem;  
    margin-bottom: 0.8rem;
    line-height: 1.5;   /* ゆったり */
  }

}



/* イベントのタイトル */
/* ────────────── PC用 ────────────── */
.event-title-h2{
  font-size: 0.9rem;      /* h2の文字サイズ */
  font-weight: bold;    /* 太字 */
  line-height: 1.2;     /* 行間 */
  margin: 5px 0 10px 0;   /* 下の余白 */
  text-align: center;   /* 中央揃え */
  color: #333;          /* 色 */
}

.event-title-h3{
  font-size: 0.8rem;    /* h3の文字サイズ */
  font-weight: normal;  /* 通常の太さ */
  line-height: 1.3;     /* 行間 */
  margin: 0 0 20px 0;   /* 下の余白 */
  text-align: center;   /* 中央揃え */
  color: #666;          /* 色 */
}

/* ────────────── スマホ用（画面幅768px以下） ────────────── */
@media (max-width: 768px) {
  .event-title-h2{
    font-size: 1rem;  /* h2を少し小さく */
    margin-bottom: 8px;
  }
  .event-title-h3{
    font-size: 0.8rem;    /* h3も小さく */
    margin-bottom: 15px;
  }
}





/* 画像リンクにホバー効果 */
a img {
  transition: opacity 0.3s ease; /* なめらかに変化 */
}

a:hover img {
  opacity: 0.6; /* ホバー時に透ける（0.0～1.0で調整） */
}


.text-gray{
  color: #336699; /* グレー色 */
}


.text-yellow{
  color: #ff9933; /* イベント */
}

.text-blue{
  color: #003399; /* 不動産 */
}



span[lang="en"]{
  font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400;                      /* 標準 */
  color: #336699;                           /* グレー */
}


/* =======================
   リンクボタン
======================= */

.contents{
  text-align: center; /* 中の要素を横中央に */
  padding: 50px 20px;
}


.container {
  display: flex;
  justify-content: center;
}


.btn-bordered{
  display: inline-block;
  padding: 10px 20px;
  background-color: #242f42;    /* 普段は黒 */
  color: #fff;                  /* 文字は白 */
  font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid #000;       /* 周りに線 */
  border-radius: 0;             /* 角丸なし */
  cursor: pointer;

  /* 中央寄せ補助 */
  margin: 0 auto;
  text-align: center;

  /* 滑らかに色反転 */
  transition: background-color 0.7s ease, 
              color 0.7s ease, 
              border-color 0.7s ease;
}

.btn-bordered:hover{
  background-color: #fff;   /* ホバーで白背景 */
  color: #000;              /* 文字黒 */
  border-color: #000;       /* 線は黒のまま */
}



/* =======================
   ヘッダー・ハンバーガー
======================= */
header{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  padding: 0 15px;
  height: 90px;
  transition: background-color 0.3s, box-shadow 0.3s;
}
header.scrolled{
  background-color: rgba(255,255,255,0.9);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.logo img{
  filter: brightness(0) invert(1)
          drop-shadow(0 2px 6px rgba(0,0,0,0.9));
  height: 80px;
  transition: 0.3s;
}

header.scrolled .logo img{
  filter: brightness(0);
}

/* PCメニュー */
.desktop-menu{
  display: flex;
  gap: 10px;
  margin-left: 30px;
}
.desktop-menu a {
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  padding: 0px 10px;
  transition: 0.3s;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}
.desktop-menu a:hover{
	background-color: #ddd; border-radius: 4px;
}
header.scrolled .desktop-menu a{
	color: #333;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.0);
}
@media screen and (max-width: 1000px) { .desktop-menu{
	display: none;
} }


/* =======================
   ハンバーガーアニメーション
======================= */
/* ハンバーガーボタン */
#hamburger{
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
  margin: 0;
}

/* 各線（3本） */
#hamburger span{
  display: block;
  width: 30px;
  height: 3px;
  background-color: #999;
  border-radius: 2px;
  margin: 5px 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform-origin: center;
}

/* バツに変化 */
.active#hamburger span:nth-child(1){
  transform: rotate(45deg);
  position: absolute;
}
#hamburger.active span:nth-child(2) {
  opacity: 0;
}
.active#hamburger span:nth-child(3){
  transform: rotate(-45deg);
  position: absolute;
}

.desktop-menu a{
  font-size: 14px;
  padding: 0px 8px;         /* 少し余白を減らす */
  flex-shrink: 0;           /* 横幅が狭くなっても縮まない */
  white-space: nowrap;
}


/* =======================
   フルスクリーンメニュー
======================= */
.fullscreen-menu{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;       /* 100vh ではなく 100% に */
  max-height: 100%;   /* 念のため */
  background: rgba(0,0,0,0.75);
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 60px; /* 下に余白 */
  overflow-y: auto;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.4s ease;
  box-sizing: border-box;
}


/* スマホ時に2列強制 */
@media screen and (max-width: 767px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}


.fullscreen-menu.active {
  display: flex;
  opacity: 1;
}

/* メニューグリッド */
.menu-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 15px;
  width: 90%;
  max-width: 1000px;
  margin: 70px auto;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .menu-grid { grid-template-columns: repeat(2,1fr) !important; }
}
.menu-grid a{
  color: white;
  font-size: 14px;
  text-decoration: none;
  padding: 28px;
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 5px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s ease forwards;
  background-color: transparent;
}
.menu-grid a.home{
	background-color: #fff; color: #000; border: 1px solid #999;
}
.menu-grid a:hover{
	background-color: rgba(255,255,255,0.8); color: #fff;
}

/* アニメーション遅延 */
.fullscreen-menu.active .menu-grid a { animation-delay: calc(var(--i) * 0.1s); }

/* =======================
   フッター
======================= */
.menu-footer{
  width: 100%;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 30px;
}
.menu-footer .phone{
	color: #fff; font-weight: 400; text-decoration: none;
}
.menu-footer .sns{
	display: flex; gap: 15px; font-size: 20px;
}
.menu-footer .sns a{
	color: white; transition: color 0.3s;
}
.menu-footer .sns a:hover{
	color: #1da1f2;
}

/* =======================
   フェードアップアニメーション
======================= */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.phone{
  font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400;                       /* 標準の太さ */
  letter-spacing: 0.1em;                 /* 文字間を広げる（調整可） */
  color: #fff;                            /* 文字色は白 */
  text-decoration: none;                  /* 下線を消す場合 */
}





/* ------------------------------
   下部スマホボタン初期設定
------------------------------- */
.mobile-fixed-buttons{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6); /* 黒の50%透明 */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  z-index: 100;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  
  /* 初期は非表示かつ下に隠す */
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.mobile-fixed-buttons a{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
  border-right: 1px dotted #fff;
  border-bottom: 1px dotted #fff;
  transition: background-color 0.3s ease;
}


.mobile-fixed-buttons a:nth-child(3n){
	border-right: none;
}
.mobile-fixed-buttons a:nth-child(n+4){
	border-bottom: none;
}
.mobile-fixed-buttons a i{
	font-size: 14px; margin-bottom: 5px; line-height: 1;
}
.mobile-fixed-buttons a:hover{
	background-color: rgba(39,78,117,0.8);
}

/* 表示用クラス */
.mobile-fixed-buttons.show {
  transform: translateY(0); /* 下からスッと上がる */
  opacity: 1;
  pointer-events: auto;
}

/* PCは非表示 */
@media screen and (min-width: 768px) {
  .mobile-fixed-buttons{
    display: none !important;
  }
}



/* ==============================
   レスポンシブ用コンテナ設定
================================ */

/* 外側：背景や帯を画面いっぱいに広げる */

.container{
  width: 100%;          /* 背景帯は画面いっぱい */
  box-sizing: border-box;
  padding: 20px 0;
  margin: 0px auto;
}


/* 個別背景色 */
.bg-fff{
	background: #fff;
}
.bg-gray{
	background: #c9b78b;
}
.bg-blue{
	background: #336699;
}
.bg-blue2{
	background: #cedbdb;
}
.bg-green{
  background : url(img/bc-01.webp) 0% 0% / auto auto repeat scroll padding-box border-box transparent; /* 繰り返し表示 */
  background-position: top left; /* 開始位置（必要に応じて調整） */
  background-size: auto; /* 元画像サイズのまま */
}

.bg-red{
  background : url(img/top_bc_e.png) center bottom / auto auto no-repeat scroll padding-box border-box transparent;
  background-size: cover; /* 画面いっぱいに拡大 */
}

/* 内側：コンテンツを中央に収める（デフォルトはスマホ想定） */
.inner{
  width: 95%;        /* スマホ時の幅 */
  max-width: 1200px; /* PCでも広がりすぎない */
  margin: 0 auto;
  box-sizing: border-box;
}

@media screen and (min-width: 1200px) {
  .inner{
    width: 100%;     /* PCでは親幅いっぱい */
  }
}



/* ==============================
   BOX 共通スタイル
================================= */
.box-container{
  display: grid;
  gap: 20px 10px; /* デフォルト：縦20px / 横10px */
  margin-bottom: 20px;
}

.box{
  display: flex;
  flex-direction: column;
  font-family: 'Noto Sans JP', 'Yu Gothic', sans-serif;
  padding: 0;
}
.box p{
  font-size: 14px !important;
  text-align: left !important; /* 半角スペースに修正 */
  line-height: 1.5 !important; /* 強制的に反映 */
}

.img-wrap{
  overflow: hidden;   /* 枠からはみ出さない */
  display: inline-block;
}

.box-img {
  width: 100%;
  height: 250px;           /* PC用固定高さ */
  object-fit: contain;
  display: block;
  background-color: #fff;  /* 空白部分の背景色 */
}

/* スマホ（例: 768px 以下）では高さを自動にする */
@media screen and (max-width: 768px) {
  .box-img {
    height: auto;          /* 高さ自動 */
  }
}



/* ==============================
   列数設定（スマホデフォルト）
================================= */
.box1 { grid-template-columns: repeat(1, 1fr); }  /* 1列 */
.box2 { grid-template-columns: repeat(2, 1fr); }  /* 2列 */
.box3 { grid-template-columns: repeat(1, 1fr); }  /* 1列 */
.box4 { grid-template-columns: repeat(2, 1fr); }  /* 2列 */

/* ==============================
   タブレット（768px～1199px）
================================= */
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .box1 { 
    grid-template-columns: repeat(1, 1fr); 
    gap: 20px 10px; /* 縦20px / 横10px */
  }
  .box2 { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px 15px; /* 縦30px / 横15px */
  }
  .box3 { 
    grid-template-columns: repeat(1, 1fr); 
    gap: 20px 10px;
  }
  .box4 { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 5px 5px;
  }
}

/* ==============================
   PC（1200px以上）
================================= */
@media screen and (min-width: 1200px) {
  .box1 { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px 20px; /* 縦40px / 横20px */
  }
  .box2 { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px 20px;
  }
  .box3 { 
    grid-template-columns: repeat(3, 1fr); 
    gap: 50px 20px;
  }
  .box4 { 
    grid-template-columns: repeat(4, 1fr); 
    gap: 50px 20px;
  }
}




/* ==============================
   共通フォント設定
================================= */
body{
  font-family: 'Noto Sans JP', 'Yu Gothic', sans-serif; /* 本文はサンセリフ */
  color: #000;
  margin: 0;
  padding: 0;
}

/* ==============================
   明朝体テキスト（画像や背景用）
================================= */
.serif-text{
  font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
}


/* ==============================
   画像リンク+title
================================= */
.container2{
	width:95%; max-width:1200px; margin:0 auto;
}
.box-container { display: grid; gap: 10px; }

/* スマホは1列 */
.box3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* PCは4列 */
@media screen and (min-width: 1200px) {
  .box3 { grid-template-columns: repeat(4, 1fr); }
}

/* オーバーレイボックス */
.overlay-box{
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  text-decoration: none;
  color: inherit;
}

.overlay-box img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* オーバーレイテキスト */
.overlay-text{
  @extend .serif-text; /* ← 明朝体適用 */
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
  z-index: 2;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 0 5px;
  font-size: 0.9rem;
}

.bg-content p{
  font-size: 0.9rem;  /* お好きなサイズに変更 */
  line-height: 1.8; /* 読みやすさのため行間も調整推奨 */
}

/* スマホ用（画面幅768px以下） */
@media (max-width: 768px) {
  .bg-content p{
    font-size: 0.8rem;  /* スマホ向けに少し小さめ */
    line-height: 1.7;
  }
}


/* 背景を暗く */
.overlay-box::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

/* ==============================
   背景セクション
================================= */
.bg-section{
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.bg-section::before{
  content: "";
  position: absolute;
  inset: 0;
  background : url(img/g-sea2.png) center center / cover no-repeat scroll padding-box border-box transparent;
  z-index: -2;
}

.bg-section::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(33, 66, 99, var(--dark, 0)); /* #214263 をベースに透明度可変 */
  backdrop-filter: blur(var(--blur,0px));
  transition: backdrop-filter 0.3s, background 0.3s;
  z-index: -1;
}

/* テキスト */
.bg-content{
  font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  max-width: 800px;
  padding: 40px 20px;
  font-size: 0.9rem !important;
  text-align: left;
}

/* ==============================
   スマホ用調整
================================= */
@media (max-width: 768px) {
  .overlay-text{
	font-size: 0.8rem;
}
  .bg-content{
	font-size: 0.8rem;
}
}


/* ================================
   下からじわっと浮き出るフェードイン
================================= */

/* フェードイン */
.fade-in-only {
  opacity: 0;              /* 初期は透明 */
  transform: translateY(15px); /* 少し下にずらしておく */
  transition: opacity 1s ease-out, transform 1s ease-out; /* アニメーション */
}

.fade-in-only.visible {
  opacity: 1;              /* 完全に表示 */
  transform: translateY(0); /* 元の位置に戻す */
}


/* ================================
   左からフェードイン
================================= */

@keyframes fadeInLeft {
  0% { opacity: 0; transform: translateX(-30px); }
  100% { opacity: 1; transform: translateX(0); }
}

.fade-in-left {
  opacity: 0;
}

.fade-in-left.active {
  animation: fadeInLeft 0.8s forwards;
}


/* ================================
   TOPへもどる
================================= */


.back-to-top{
  position: fixed;
  right: 20px;          /* 右下 */
  bottom: 115px;         /* スマホ下部ボタンより少し上 */
  width: 50px;
  height: 50px;
  background: #214263;
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;    /* 丸いボタン */
  text-decoration: none;
  opacity: 0;
  pointer-events: none;  /* 最初はクリック不可 */
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top:hover{
  background: #000;
  color: #fff;
}

/* 表示中 */
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* ================================
   右側問い合わせ
================================= */

/* PCのみ表示 */
@media (min-width: 769px) {
  .contact-vertical{
    position: fixed;
    top: 50%;               /* 画面中央に縦配置 */
    right: 0;               /* 右端にぴったり */
    transform: translateY(-50%); /* 縦中央に調整 */
    background-color: #242f42;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 15px 10px;
    border-radius: 8px 0 0 8px; /* 左側だけ丸み */
    writing-mode: vertical-rl;   /* 縦書き */
    text-orientation: mixed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    box-shadow: -2px 2px 6px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s ease;
  }

  .contact-vertical:hover{
    background-color: #000;
    color: #fff;
    transform: translateY(-50%) scale(1.05);
  }
}

/* スマホは非表示 */
@media (max-width: 768px) {
  .contact-vertical{
    display: none;
  }
}




/* ===== フッター全体 ===== */
.site-footer{
  background: #fff;
  color: #666;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 上段と下段を上下に分ける */
  font-family: "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  padding: 100px 0px 5px 0px;
  box-sizing: border-box;
  width: 100%;
  position: relative;
  min-height: 400px;
  font-size: 0.85rem; /* PC基本文字サイズ */
}

.footer-bottom{
  font-size: 0.65rem;
  color: #999;
  text-align: center;
  padding-top: 4px;
  border-top: 1px solid #ccc;
}

/* 内側：左右レイアウト */
.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

/* 左：コメント＋社名＋住所＋SINCE */
.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.company-wrap{
  text-align: left;
}
.comment{
  font-size: 0.95rem; /* PC文字サイズ */
  color: #999;
  margin: 0 0 -2px 0;
}
.company{
  margin: 0;
  font-size: 1.40rem; /* PC文字サイズ */
  font-weight: 700;
    letter-spacing: 0.01em; /* 少し文字間を広げる */
  font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: #214263;
}
.address-since{
  font-size: 0.85rem; /* PC文字サイズ */
  color: #999;
  margin-top: 5px;
}

/* 右：ナビ＋電話＋SNS */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.footer-nav a{
  margin-left: 15px;
  text-decoration: none;
  color: #666;
  font-size: 0.85rem; /* PC文字サイズ */
}
.footer-nav a:hover{
	color: #000;
}
.footer-info{
  margin-top: 5px;
}
.footer-info p{
  margin: 3px 0;
  font-size: 0.7rem; /* PC文字サイズ */
}
.footer-info .tel a{
  color: #666;
  text-decoration: none;
  font-weight: 800;
}

/* SNSリンク */
.sns{
  margin-top: 5px;
  display: flex;
  margin: 5px 0 10px 0;
  justify-content: center;
  gap: 15px;
}
.sns-link{
  color: #666;
  font-size: 1.5rem;
  text-decoration: none;
}
.sns-link:hover{
  color: #000;
}

/* TEL/FAX/営業時間 */
.tel-fax-hours{
  font-size: 0.7rem; /* PC文字サイズ */
  color: #999;
  margin-top: 15px;
  line-height: 1.4;
}

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

  .site-footer{
    padding: 25px 0 5px 0;
    font-size: 0.75rem; /* スマホ文字サイズ */
  }

  .footer-inner{
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
  }

  /* 左：コメント＋社名＋住所＋SINCEを中央揃え */
  .footer-left{
    width: 100%;
    align-items: center;
  }
  .company-wrap{
    text-align: center;
  }
  .comment{
    font-size: 0.85rem; /* スマホ文字サイズ */
  }
  .company{
    font-size: 1.3rem; /* スマホ文字サイズ */
    line-height: 1.6 !important;
    letter-spacing: 0.05em; /* 少し文字間を広げる */
  }
  .address-since{
    font-size: 0.75rem; /* スマホ文字サイズ */
    letter-spacing: 0.05em; /* 少し文字間を広げる */
  }

  /* 右：ナビ＋電話＋SNSも中央揃え */
  .footer-right{
    width: 100%;
    align-items: center;
    text-align: center;
  }
  .footer-nav a{
    margin: 5px 10px;
    display: inline-block;
    font-size: 0.75rem; /* スマホ文字サイズ */
  }
  .footer-info p{
    font-size: 0.65rem; /* スマホ文字サイズ */
    letter-spacing: 0.05em; /* 少し文字間を広げる */
  }
  .tel-fax-hours{
    font-size: 0.65rem; /* スマホ文字サイズ */
    letter-spacing: 0.05em; /* 少し文字間を広げる */
  }

  /* 下部固定ボタンの上に余白確保 */
  .site-footer{
    padding-bottom: 120px;
  }
}




/* フッター内のマップ */
.footer-map{
  width: 80%;
  max-width: 80%;   /* フッター内での最大幅 */
  margin: 0 auto;   /* 横中央に配置 */
  display: block;   /* 念のためブロック要素化 */
}

/* iframe自体のスタイル */
.footer-map iframe{
  width: 100%;
  height: 400px;
  border: 0;
  filter: grayscale(100%) contrast(120%); /* モノクロ効果 */
}

/* スマホ用（幅768px以下） */
@media screen and (max-width: 768px) {
  .footer-map{
   height: 300px;
   width: 90%;
   max-width: 90%;
  }
}

/* ============================== パララックスセクション ================================= */

.reason{
  font-size: 20px;
  color: #333;
  font-family: 'HannariMincho', '游明朝', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
}


.parallax-section{
  position: relative;
  display: flex;
  min-height: 100vh;       
  overflow: hidden;
  background-color: #fff;  
}

.parallax-bg{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;            
  z-index: 1;
  transform: translateY(0);
  will-change: transform;
  background-size: cover;  
  background-position: center;
  background-repeat: no-repeat;
}

/* タイトル・コンテンツ */
.section-title{
  font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 1rem;
  z-index: 2;
  position: relative;
  color: #000;
  text-align: left;       /* 中央寄せ */
}

.content{
  display: flex;
  flex-direction: column;
  align-items: center;      /* 横中央 */
  justify-content: center;  /* 縦中央 */
  font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  padding: 50px;
  text-align: left;       /* 文章も中央寄せ */
  background: transparent; 
  width: 45%;               
  max-width: 1000px;
  z-index: 2; 
  position: relative;
}

/* 偶数番は反転（PC用） */
.parallax-section.reverse {
  flex-direction: row-reverse;
}

/* PC表示 */
@media (min-width: 1024px) {
  .content{
    width: 45%;
    background: #fff;
  }
}



/* 背景画像切替 */
/* PC用画像 */
.parallax-section.reverse .parallax-bg{
	background-image : url(img/top_bc_a.png);
}
.parallax-section:not(.reverse) .parallax-bg{
	background-image : url(img/top_bc_d.jpg);
}


/* スマホ用 */
@media (max-width: 768px) {
  .parallax-section,
  .parallax-section.reverse {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .content{
    width: 90%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    align-items: center;
  }

  .section-title,
  .content p{
    color: #fff;
  }
}


/* ===== 見出しと本文のバランス調整 ===== */
.reason{
  font-family: 'HannariMincho', "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.8rem;        /* 見出しをやや大きめに */
  font-weight: 500;
  color: #222;
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin-bottom: 1rem;      /* 本文との間隔 */
}

/* 本文 */
.content p{
  font-size: 1.1rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 2rem;      /* ボタンとの距離 */
}

/* ボタンデザイン */
.btn-bordered{
  display: inline-block;
  padding: 0.7em 2em;
  border: 1.8px solid #333;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.btn-bordered:hover{
  background: #336699;
  color: #fff;
}

/* スマホ用デザイン調整 */
@media (max-width: 768px) {
  .reason{
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    margin-bottom: 0.8rem;
  }

  .content p{
    font-size: 1rem;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 1.5rem;
  text-align: left;       /* 文章も中央寄せ */
  }

  .btn-bordered{
    border-color: #fff;
    color: #fff;
  }
  .btn-bordered:hover{
    background: #fff;
    color: #000;
  }
}



/* ==============================スクロール ================================= */

.scroll-down{
  position: absolute;   /* fixed → absolute */
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 100;
  font-family: sans-serif;
}

.scroll-down .arrow{
  font-size: 28px;
  color: #fff;
  animation: bounce 1s infinite;
}

.scroll-down .arrow:nth-child(1) { animation-delay: 0s; }
.scroll-down .arrow:nth-child(2) { animation-delay: 0.2s; }
.scroll-down .arrow:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%   { transform: translateY(0); opacity: 0.3; }
  50%  { transform: translateY(15px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.3; }
}

.scroll-down .scroll-text{
  color: #fff;
  font-size: 12px;
  letter-spacing: 2px;
  margin-top: 8px;
  animation: fade 1s infinite;
}

@keyframes fade {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}


/* ============================== 円形ボタンの基本 ================================= */.circle-button{
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 回転テキスト */
.circle-text{
  width: 100%;
  height: 100%;
  animation: rotate 10s linear infinite;
}

.circle-text text{
  font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 14px;
  letter-spacing: 5px;
  fill: #000;
}

/* 中央ボタン */
.center-btn{
  position: absolute;
  background: #000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s;
}

.center-btn:hover{
	background: #333;
}

/* 回転アニメーション */
@keyframes rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Instagramセクションに重ねる */
.circle-on-instagram{
  position: absolute;
  top: 40px;
  right: -90px;
  z-index: 10;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .circle-button{
	width: 150px; height: 150px;
}
  .circle-text text{
	font-size: 14px; letter-spacing: 4px;
}
  .center-btn{
	width: 40px; height: 40px;
}
  .circle-on-instagram{
	top: 20px; right: -50px;
}
}

.center-btn i{
  font-size: 1.5rem; /* アイコンサイズ調整 */
  color: #fff;        /* アイコン色 */
}

.container{
  position: relative;
  overflow-x: hidden; /* 横スクロール防止 */
}


/* ============================== 上に画像をのせる ================================= */
/* container を絶対配置の基準に */
.container.bg-gray{
  position: relative;
}

.container.bg-gray{
  position: relative;
  overflow: visible; /* はみ出しを許可 */
}

/* 右上に配置 */
.overlay-image{
  position: absolute;
  top: -80px;          /* 上端 */
  right: 500px;        /* 右端 */
  z-index: 10;
  pointer-events: none;
  width: auto;
  max-width: 30%;  /* 必要に応じてサイズ調整 */
}

.overlay-image img{
  display: block;
  top: 100px; 
  width: 70%;     /* 親幅に合わせる */
  height: auto;
}

/* スマホ用調整 */
@media screen and (max-width: 768px) {
  .overlay-image{
    max-width: 50%;   /* 小さい画面では少し大きめに調整 */
  top: -70px;          /* 上端 */
  right: 1px;        /* 右端 */
  }
}

/* ============================== 波オーバーレイ ================================= */
.image-wave-container{
  position: relative;
  overflow: hidden;
  width: 100%;
}

.wave-bg{
  display: block;
  width: 100%;
}

.wave-overlay{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px; /* 波の高さ */
  pointer-events: none;
}


.image-wave-container{
  position: relative;
  overflow: hidden;
  width: 100%;
}

.wave-bg{
  display: block;
  width: 100%;
}

.wave-overlay{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px; /* ここを70pxから120pxに変更 */
  pointer-events: none;
}
.wave-overlay{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  pointer-events: none;
}

/* ============================== 文字設定 ================================= */

/* text　PC・タブレットは中央揃え */
.highlight-text{
  font-size: 16px !important;
  line-height: 2;
  text-align: center; /* PCは中央 */
}

/* スマホ（768px以下）は左揃え） */
@media screen and (max-width: 768px) {
  .highlight-text{
      text-align: left !important;
    font-size: 14px !important; /* 必要ならサイズ調整 */
  }
}


/* text　PC・タブレットは中央揃え */
.highlight2-text{
  font-size: 19px !important;
  line-height:2px;
  text-align: center; /* PCは中央 */
}

/* スマホ（768px以下）は左揃え） */
@media screen and (max-width: 768px) {
  .highlight2-text{
      text-align: left !important;
    font-size: 18px !important; /* 必要ならサイズ調整 */
  line-height: 1.6;
  }
}



/* ============================== PC800  ================================= */
 .message-box{
      width: 800px;
      max-width: 90%;
      margin: 0 auto;
      text-align: left;
      font-family: sans-serif;
      line-height: 1.8;
    }

    @media screen and (max-width: 768px) {
      .message-box{
        width: 90%;
      }
    }






/* 屋根型オーバーレイ */
.roof-shape{
  position: absolute;
  bottom:-1px;
  left:0;
  width:100%;
  height:120px;
  background:white;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  z-index:10;
}

@media(max-width:768px){
  .caption { font-size:4vw; }
  .roof-shape{
	height:80px;
}
}



/* 個別バナー */

.banner2-wrapper{
  display: flex;
  justify-content: center; /* 横方向中央 */
  align-items: center;     /* 縦方向中央 */
  margin: 50px 0;         /* 上下余白 */
  flex-wrap: wrap;         /* スマホでは縦並び */
  gap: 20px;               /* バナー間の余白 */
}

/* 個別バナー */
.banner2{
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

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

/* ホバーで浮き上がる演出 */
.banner2:hover{
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}

/* スマホ対応：幅が640px以下で縦並び */
@media screen and (max-width: 640px) {
  .banner2-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .banner2{
    width: 90%;
    margin-bottom: 20px;
  }
}

.img-wrapper{
  text-align: center; /* 画像を中央寄せ */
}

.responsive-img{
  max-width: 100%;  /* 親要素の幅を超えない */
  height: auto;     /* 縦横比を保つ */
  display: inline-block; /* 中央寄せのため */
}






/* 画像横並び中央配置 */
.cocoen {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* デフォルト：スマホ用（幅100%または大きめ） */
.cocoen img{
  max-width: 150px; /* スマホでの大きさ */
  height: auto;
}

/* パソコン用（768px以上）で少し小さくする */
@media (min-width: 768px) {
  .cocoen img{
    max-width: 120px; /* PCでは小さめに */
  }
}

/* 画像サイズ */
.containercocoen{
  background: #f5f5f5;
  padding: 30px 220px; /* 上下20px、左右320px（PC用） */
}

/* スマホ用（幅768px以下） */
@media (max-width: 768px) {
  .containercocoen{
    padding: 20px 10px; /* 上下20px、左右10px */
  }
}





/* 題名表示部分 */
.page-header2{
  position: relative;
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;      /* 縦方向中央寄せ */
  justify-content: center;  /* 横方向中央寄せ */
  color: #fff !important;
  overflow: hidden;
  padding: 0;               /* 余白なし */
}

.page-header2 h1{
  position: relative;
  font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  z-index: 1;
  font-size: 1.4em;           /* 大きめ文字 */
  font-weight: 700;
  color: #fff;
  margin: 0;       /* 下の余白なし */
  line-height: 1;  /* 行間も詰める */
  text-align: center; /* 中央揃え */
}

.page-header2::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 0;
}

.page-header2::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0; /* 下の空白なし */
  background: none;
  z-index: 0;
}


/* ページごとの背景画像を指定 */
.about-header2{
	 
    background-image: url('img/about.png'); 
} 

.make-header2{
	 
    background-image: url('img/top_bc_f.png'); 
} 

.event-header2{
	 
    background-image: url('img/t.jpg'); 
} 

.staff-header2{
	 
    background-image: url('img/g-sea2.png'); 
}

.erabareru-header2{
	 
    background-image: url('img/top_slider_d.png'); 
}

.shintiku-header2{
	 
    background-image : url(img/62_a.jpg); 
}

.menu-header2{
	 
    background-image: url('img/top_bana_4.png');
}





.bottom-box{
  width: 100%;            /* 横幅100% */
  height: 80px;          /* 高さ100px */
  background-color: #242f42; /* 枠の色を指定 */
}

.bottom-box2{
  width: 100%;            /* 横幅100% */
  height: 20px;          /* 高さ100px */
  background-image: url('img/bc-02.gif'); /* 背景画像 */
  background-repeat: repeat; /* 画像を繰り返し表示 */




/* =======================
   ファーストビューフェード
======================= */
.float-in {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}


}


/* =============================
   CTA問い合わせ
============================= */

.cta-section{
background:#1f3f6b;
color:#fff;
padding:80px 20px;
text-align:center;
}

.cta-inner{
max-width:900px;
margin:auto;
}

.cta-section h2{
color:#fff;
font-size:32px;
margin-bottom:20px;
}

.cta-section p{
font-size:16px;
line-height:1.8;
opacity:0.9;
margin-bottom:40px;
}

/* ボタン */

.cta-buttons{
display:flex;
gap:20px;
justify-content:center;
flex-wrap:wrap;
}

.cta-btn{
display:inline-block;
padding:14px 32px;
text-decoration:none;
border-radius:40px;
font-size:15px;
transition:0.3s;
}
.cta-btn::after{
content:" →";
margin-left:8px;
}

/* メインボタン */

.cta-btn.primary{
background:#fff;
color:#1f3f6b;
font-weight:600;
}

.cta-btn.primary:hover{
background:#f2f2f2;
}

/* 電話 */

.cta-btn.tel{
border:1px solid #fff;
color:#fff;
}

.cta-btn.tel:hover{
background:#fff;
color:#1f3f6b;
}


/* =====================
施工エリア
===================== */

.work-area{

padding:120px 20px;

background:linear-gradient(
180deg,
#fff 0%,
#ececec 100%
);

}

/* タイトル */

.area-heading{
font-size:32px;
font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
letter-spacing:0.08em;
margin-bottom:5px;
font-weight:700;
line-height:1.3;
}

.area-sub{

position:relative;
display:inline-block;

font-size:16px;
color:#666;

padding-bottom:10px;
}

.area-title{
text-align:center;
margin-bottom:60px;
}

/* 英語 */

.area-heading-en{
font-size:14px;
letter-spacing:0.3em;
color:#888;
margin-bottom:10px;
}

/* 日本語 */

.area-heading{
font-size:32px;
font-family:'HannariMincho',"游明朝","Yu Mincho","Hiragino Mincho ProN",serif;
letter-spacing:0.08em;
}


/* ライン */

.area-sub::after{

content:"";
position:absolute;

left:50%;
transform:translateX(-50%);

bottom:0;

width:60px;
height:2px;

background:#1f3f6b;

}

/* 横並び */

.area-flex{

display:flex;
align-items:center;
justify-content:center;

gap:60px;

max-width:1100px;
margin:60px auto 0;

}

/* 地図 */

.area-map{
flex:1;
}

.area-map img{
width:100%;
display:block;

box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* 右側 */

.area-text{
flex:1;
}

/* 四角エリア */

.area-list{

display:flex;
flex-wrap:wrap;

gap:12px;

list-style:none;
padding:0;

margin-top:20px;

}

.area-list li{

border:1px solid #000;
background:#fff;

padding:6px 14px;

font-size:13px;

}



/* 補足 */

.area-note{

margin-top:20px;

font-size:14px;
color:#666;

}
/* =====================
スマホ
===================== */

@media (max-width:768px){

.area-flex{
flex-direction:column;
gap:40px;
}

/* テキスト */

.area-text{
text-align:left;
}

/* エリアリスト */

.area-list{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:10px;

}

/* ボックス */

.area-item{

text-align:center;

}

}