/* リセット */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 全体フォント設定 */
html, body{
  font-family: 'Noto Sans JP', 'メイリオ', '游ゴシック体', 'Yu Gothic', sans-serif;
  overflow-x: hidden;
}

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


/* レスポンシブ対応のコンテナ */
.container{
  width: 80%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.container img{
  width: 100%;
  height: auto;
}

.container p{
  font-size: 14px;
  line-height: 1.6;
}

/* スマホ用 */
@media (max-width: 768px) {
  .container{
    width: 90%;
  }
  .container p{
    font-size: 13px;
  }
}

.top-text{
  white-space: normal;
}






/* 動画 */
.video-hero{
  position: relative;
  width: 100%;
  height: 100vh; /* ← 画面の高さ100%に変更！ */
  overflow: hidden;
}

.video-hero video{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 中央を拡大表示（端が切れる） */
  object-position: center center;
  z-index: -1;
}



/* スライドショーや画像の横はみ出し防止 */
img, .slideshow, .section, .content, .container{
  max-width: 100%;
  box-sizing: border-box;
}

    .staff-blog{
      font-size: 2rem;
    }

    .blog{
      font-family: 'Roboto', sans-serif; 
      font-weight: 300;
    }


/* iframeに余白・枠線なし＆ブロック化 */
iframe{
  display: block;
  border: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 400px; /* 高さはHTMLのheight属性と合わせる */
}

/* フッターの余白をなくす */
footer.footer{
  margin: 0;
  box-sizing: border-box;
}

/* フッター内の要素間も余白が気になる場合 */
footer.footer nav a{
  margin-right: 15px;
}

/* 必要に応じて */
.social-icons{
  margin-bottom: 10px;
}






/* =============================
   固定ヘッダーとスクロール変化
============================= */
header#header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 15px 20px;
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition:
    top 0.5s ease-in-out,
    background-color 0.5s ease,
    box-shadow 0.5s ease,
    transform 0.5s ease;
}

header.scrolled#header{
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

/* =============================
   ロゴ
============================= */
.logo img{
  height: 65px;
}

/* =============================
   ナビゲーションリンク
============================= */
.nav-list {
  display: flex;
  gap: 40px;
}

.nav-list a{
  text-decoration: none;
  color: white;
  font-weight: 500;
  position: relative;
}

header.scrolled .nav-list a{
  color: black;
}

.nav-list a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #336699;
  transition: width 0.3s ease;
}

.nav-list a:hover::after{
  width: 100%;
}

/* =============================
   ハンバーガーメニュー
============================= */
.hamburger{
  display: block;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span{
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px;
  background: white;
  transition: 0.3s;
}

header.scrolled .hamburger span{
  background: black;
}

/* =============================
   全画面メニュー（ハンバーガー）
============================= */
.fullscreen-menu{
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  align-content: center;
  gap: 15px;
  transition: right 0.5s ease;
  z-index: 999;
  padding: 40px 2px;
  text-align: center;
}

.fullscreen-menu.active{
  right: 0;
}

.fullscreen-menu a{
  color: white;
  text-decoration: none;
  padding: 5px;
  width: 100%;
  max-width: 130px;
  text-align: center;
  position: relative;
  display: block;
  margin: 0 auto;
  font-size: 15px;
}

.fullscreen-menu a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 0;
  height: 2px;
  background-color: #00aaff;
  transition: width 0.3s ease;
}

.fullscreen-menu a:hover::after{
  width: 100%;
}

/* =============================
   スライドショー
============================= */
.slideshow-container{
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide{
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.5s ease;
  transform: scale(1);
  z-index: 0;
  pointer-events: none;
}

.slide.active{
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
  animation: zoomIn 8s ease forwards;
}

@keyframes zoomIn {
  0%   { transform: scale(1); }
  100% { transform: scale(1.05); }
}

/* =============================
   スマホ（768px以下）
============================= */
@media screen and (max-width: 768px) {
  .fullscreen-menu{
    grid-template-columns: 1fr;
    padding: 40px 10px;
    justify-items: center;
  }

  .fullscreen-menu a{
    max-width: 120px; /* 小さすぎると読みにくくなるため調整 */
    font-size: 14px;
    margin: 10px auto;
  }
}

/* =============================
   汎用カラークラス
============================= */
.text-primary{
  color: #336699;
}





/* TOPテキスト */
.top{
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.top-text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  text-align: center;
  z-index: 2;
  padding: 0 20px;
  white-space: nowrap;
}



/* フッター */
    main{
      margin-top: 80px;
      padding: 30px;
    }

    section{
      padding: 0px 0;
      border-bottom: 0px solid #ddd;
    }

  .footer{
  background-color: #2e4167;
  color: #fff;
  padding: 80px 10px 0px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* ← 文字を下に配置するために追加 */
  text-align: center;
  height: 260px; /* ← 高さも指定すると明確に下に寄ります */
}

    .footer nav a{
      color: #fff;
      text-decoration: none;
      margin: 0 10px;
      font-size: 14px;
    }

    .footer nav a:hover{
      color: #fff;
    }

    .footer small{
      display: block;
      margin-top: 0px;
      font-size: 12px;
      color: #fff;
    }
.social-icons{
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 35px;
}

.icon{
  font-size: 24px;
  color: #555;
  transition: color 0.3s, transform 0.3s;
}

.icon:hover{
  color: #000;
  transform: scale(1.2);
}

.instagram{
  color: #cccccc; /* Instagramカラー */
}

.instagram:hover{
  color: #000;
}

.blog{
  color: #cccccc;
}

.blog:hover{
  color: #000;
}


@media (max-width: 768px) {
  .footer{
    padding: 80px 10px 90px; /* スマホサイズ時にパディングを調整 */
  height: 340px; /* ← 高さも指定すると明確に下に寄ります */

  }
}





/* 固定下部ボタン6個（3列×2行） */
.bottom-buttons{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #2e4167; /* 上段の背景 */
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  grid-template-rows: repeat(2, auto);   /* 2行 */
  border-top: 1px solid #ccc;
  z-index: 1000;
}

/* 各ボタン共通 */
.bottom-buttons a{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  padding: 10px 0;
  border-right: 1px dashed #999999; /* 縦区切り */
}

/* 最後の列は右ボーダーなし */
.bottom-buttons a:nth-child(3),
.bottom-buttons a:nth-child(6){
  border-right: none;
}

/* アイコン（上段のみ） */
.bottom-buttons a span{
  font-size: 22px;
  margin-bottom: 4px;
}

/* LINEボタンだけ緑 */
.bottom-buttons a[href*="line.me"]{
  color: #0acd00;
}

/* 下段の背景をグレーに */
.bottom-buttons a:nth-child(n+4){
  background-color: #ede7e0; /* 下段グレー */
 color: #336699; 
}

/* オプション：ホバー時の明るさ調整 */
.bottom-buttons a:hover {
  opacity: 0.5;
}





/* TOPへ */
  #topBtn{
  position: fixed;
  bottom: 100px;
  right: 15px;
  width: 60px;
  height: 60px;
  background-color: #004080;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  padding-top: 14px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px); /* 下から出てくるように */
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none; /* 非表示時にクリックできないように */
}

#topBtn::after{
  content: "▲";
  display: block;
  font-size: 14px;
  margin-top: 2px;
}

#topBtn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto; /* 表示時だけクリック可能に */
}

    .show#topBtn{
      display: block;
      opacity: 1;
    }

    @media (min-width: 769px) {
      .bottom-buttons{
        display: none;
      }

      .logo{
        padding-left: 40px;
      }
    }

    @media (max-width: 1100px) {
      .nav-list{
        display: none;
      }

      .fullscreen-menu {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 480px) {
      body{
        font-size: 14px;
      }

      .fullscreen-menu a{
        font-size: 14px;
      }
    }



/* イベント */
    .event-section{
      padding: 0px 0px;
      background: #fff;
      font-family: "ヒラギノ明朝 ProN", serif;
      text-align: center;
    }

    .event-section h2{
      font-size: 1.8em;
      margin-bottom: 20px;
   margin-top: 0;
    }

    .event-cards {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
    }

    .event-card{
      width: 370px;
      border: 1px solid #ddd;
      background-color: #fff;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      font-size: 14px;
    }

    .event-image{
      position: relative;
    }

    .event-image img{
      width: 100%;
      height: auto;
      display: block;
    }

    .badges{
      position: absolute;
      bottom: 8px;
      left: 8px;
      display: flex;
      gap: 6px;
    }

    .badges span{
      background-color: #000;
      color: #fff;
      padding: 2px 6px;
      font-size: 12px;
      border-radius: 2px;
      opacity: 0.8;
    }

    .event-content{
      padding: 15px;
      text-align: left;
    }

    .event-date{
      font-size: 20px;
      font-weight: bold;
      color: #336699;
      margin-bottom: 10px;
    }

    .event-title{
      font-weight: bold;
      font-size: 16px;
      margin-bottom: 8px;
    }

    .event-location{
      font-size: 13px;
      color: #666;
    }

    .view-more{
      margin-top: 30px;
    }

    .view-more button{
      padding: 10px 30px;
      border: 1px solid #000;
      background: none;
      cursor: pointer;
      font-size: 14px;
      transition: 0.3s;
    }

    .view-more button:hover{
      background: #000;
      color: #fff;
    }

    @media (max-width: 768px) {
      .event-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
      }

      .event-card{
        width: 88%;
        max-width: 88%;
      }

    }



/* フェードイン */
    .fade-up {
      opacity: 0;
      transform: translateY(50px);
      transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }


/* リンクアニメ */
a img {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

a img:hover {
  opacity: 0.7;
  transform: scale(1.02);
}

 a.glow-link{
      color: #33ccff;
      text-decoration: none;
      font-size: 2rem;
      transition: text-shadow 0.3s ease, color 0.3s ease;
    }

    a:hover.glow-link{
      text-shadow: 0 0 10px #33ccff, 0 0 20px #33ccff;
      color: #ffffff;
    }


  -->

/* BLOG等 */
.card-wrapper{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto; /* 中央寄せ */
  padding: 0 0px; /* スマホで左右に少し余白 */
}

.card-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

@media (min-width: 768px) {
  .card-container {
    grid-template-columns: repeat(1, 1fr);
  }
}



/* カード並び */
.card{
  display: block;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 11px;
  color: #000;
  text-decoration: none;
  transition: box-shadow 0.3s;
  overflow: hidden;
  min-width: 0;
}

.card:hover{
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.date{
  font-size: 0.8em;
  color: #888;
  margin-bottom: 3px;
}

.title{
  font-size: 1em;
  background: #fff;
  color: #336699;
  text-align: left;
  font-weight: bold;
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summary{
  font-size: 0.9em;
  color: #444;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0px;
}

.more{
  font-size: 0.85em;
  color: #1e88e5;
  text-decoration: underline;
}



/* ボックス表示　pc4　モバイル1 */
/* ▼ 全体レイアウト設定 */
.responsive-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 10px 10px 10px;
  gap: 15px;
}

.responsive-container img {
  display: block;
  margin: 0 auto;
}

/* ▼ box1：PC 4列、スマホ 2列（上揃え） */
.box1 {
  flex: 1 1 25%;
  padding: 3px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ← 上揃え */
  justify-content: flex-start;
}

/* ▼ box2：PC 2列、スマホ 1列（上揃え） */
.box2 {
  flex: 1 1 50%;
  max-width: 500px;
  padding: 3px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ← 上揃え */
  justify-content: flex-start;
  text-align: center;
  margin: 0 auto;
}

/* 画像設定：スマホ時は100%、PC時は最大500px */
.box2 img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto; /* 中央揃え */
}

.box2 .caption {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
}

/* ▼ box3 */
.box3 {
  width: 90%;
  margin: 0 auto;
}

/* ▼ box4：PC 3列、スマホ 1列（上揃え） */
.box4 {
  flex: 1 1 calc(33.333% - 60px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ← 上揃え */
  justify-content: flex-start;
 background-color: #fff;  /* ここを追加 */
}

/* box4 画像 */
.box4 img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* box4 キャプション */
.box4 .caption {
  margin-top: 5px;
  font-size: 14px;
  color: #333;
  max-width: 500px;       /* 必要なら幅調整 */
  padding: 15 15px;        /* ← 左右に15pxずつ余白 */
  text-align: center;
  word-break: break-word;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box; /* パディングを含めたサイズ計算 */
}

.box5 {
  flex: 1 1 100%;
  max-width: 95%;
  font-size: 16px;
  color: #336699;
  margin: 0 auto 10px auto;
  padding: 5px;
}




/* ▼ レスポンシブ設定 */
@media screen and (max-width: 768px) {
  .box1 {
    flex: 1 1 50%;
  }

  .box2 {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .box2 .caption {
    max-width: 100%;
  }


  .box4 {
    flex: 1 1 100%;
    max-width: 95%;
    margin: 0 auto 10px auto;
    padding: 5px;
  }

  .box5 {
    flex: 1 1 100%;
    max-width: 95%;
  font-size: 15px;
  color: #336699;
    margin: 0 auto 10px auto;
    padding: 5px;
  }
}


/* ▼ small要素の見た目調整 */
small {
  display: block;
  line-height: 1.4;
  letter-spacing: 1px;
  margin: 4px 0;
 padding: 0 5px;
}


/* ▼ スクロール時のフェードアニメーション */
.reveal-box {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-box.active {
  opacity: 1;
  transform: translateY(0);
}





/* houseの形 */
.house-bottom-v,
.house-bottom-v2,
.house-bottom-v3{
  position: relative;
  height: 40vh;
  background-size: cover;
  background-position: center center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 60%, 0 100%);
}

/* 個別の画像設定 */
.house-bottom-v{
  background-image : url(yy_img/yy_house.png);
}

.house-bottom-v2{
  background-image: url('https://www.yamamoto-jkn.co.jp/work/w_img/re72h.png');
}

.house-bottom-v3{
  background-image: url('https://www.yamamoto-jkn.co.jp/work/w_img/re72h.png'); /* このパスが有効か確認！ */
}

/* スマホ対応 */
@media (max-width: 768px) {
  .house-bottom-v,
  .house-bottom-v2,
  .house-bottom-v3 {
    height: 30vh;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 85%, 0 100%);


  }
}




.vertical-text{
  font-family: "游明朝", "Yu Mincho", serif;
  font-size: 18px;
  line-height: 1.6;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 10px;
  max-height: 80vh; /* 縦書きなので高さ制限を指定する */
  width: auto; /* 横幅は広めに許容 */
  margin: auto;
  letter-spacing: 0.1em;
  white-space: nowrap; /* 改行を防ぐ：縦書きで2列目に行かないように */
  overflow: auto; /* 内容がはみ出たときにスクロール可能に */
}

@media screen and (max-width: 400px) {
  .vertical-text{
    font-size: 16px;
    max-height: 70vh;
  }
}




/* 改行コード */

.pc-br{
  display: inline; /* PCは改行あり */
}

.sp-br{
  display: none; 文字向きを自然に */
flex-direction: column;
    justify-content: flex-start;
    padding: 10px;
    max-width: 300px; /* 幅は狭めにすると縦書きが見やすい */
    margin: auto;
    letter-spacing: 0.1em; /* 字間を少し広げて読みやすく */
  }

  /* レスポンシブ対応で、画面幅が狭くなっても見切れにくく */
  @media screen and (max-width: 400px) {
    .vertical-text{
      max-width: 90vw;
      font-size: 16px;
    }
  }


/* 改行コード */

.pc-br{
  display: inline; /* PCは改行あり */
}

.sp-br{
  display: none;  /* 初期は非表示 */
}

/* スマホサイズで切り替え */
@media screen and (max-width: 768px) {
  .pc-br{
    display: none;  /* スマホはPCの改行非表示 */
  }
  .sp-br{
    display: inline; /* スマホは改行表示 */
  }
}



h1{
  font-size: 1.2rem;        /* 大きめサイズ */
  font-weight: bold;         /* 太字 */
  color: #28244b;            /* 濃いグレー */
  text-align: center;        /* 中央揃え */
  margin: 40px 0 20px 0;     /* 上下マージン */
  line-height: 1.3;
  font-family: 'Yu Gothic', 'Meiryo', sans-serif; /* 和文フォント優先 */
}


@media screen and (max-width: 600px) {
  h1{
    font-size: 1.0rem;
    margin: 30px 0 30px 0;
  }
}


    h2{
      font-size: 1.6em;
      padding-bottom: 0.1em;
    }



    h3{
      font-size: 1.3em;
      color: #336699;
  margin: 0px 5px 0px 5px;     /* 上下マージン */
       font-family: 'Italiana', serif;
    }


    p{
      margin-bottom: 0.5em;
    }

    ul{
      margin-left: 1.2em;
      margin-bottom: 1em;
    }

    li{
      margin-bottom: 0.5em;
    }

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


      h2{
        font-size: 1.1em;
      }
      h3{
        font-size: 1.3em;
      }
    }



/* 線を引く */
    .line-container {
      margin-top: 1vh;
    }

    .line{
      width: 100%;
      height: 2px;
      background-color: #0077cc;
      transform-origin: center;
      transform: scaleX(0);
      transition: transform 0.8s ease-out;
    }

    .line.active {
      transform: scaleX(1);
    }




/* 重ねる */
.overlay-image{
  position: absolute;
  top: -50px; /* テーブルの上にずらす量（調整OK） */
  left: 30%;
  transform: translateX(-50%);
  z-index: 10;
  max-width: 100%;
  height: auto;
}


/* 上から滝 */

  /* 画像を包む箱はposition: relativeで基準に */
  .image-wrapper{
  position: relative;
  overflow: hidden;
  margin-bottom: 0px;
}


/* 画像 */
.image-wrapper img{
  width: 100%;
  display: block;
  border-radius: 2px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* 幕（初期状態：画像を覆っている） */
.image-wrapper::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: rgba(255, 255, 255, 1); /* 少し白く覆う */
  z-index: 2;
  transform: translateY(0); /* 初期状態：位置そのまま */
  transition: transform 1s ease-out;
}

/* 「show」クラスがついたら幕が上にスライドして消える */
.image-wrapper.show::before {
  transform: translateY(-100%);
}





/* ステップ全体 */
.horizontal-steps{
  max-width: 1200px;
  margin: 20px auto;
  padding: 30px 15px;
  font-family: 'Noto Sans JP', sans-serif;
  text-align: center;
}


.step table td {
  font-size: 0.9rem; /* お好みで調整 */
  line-height: 2;
}


/* ステップ内ラッパー */
.step-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}



/* 各ステップボックス */
.step{
  position: relative; /* 追加 */
  width: calc(40%);
  background: #f9f9f9;
  padding: 30px 25px;
  text-align: center;
  box-sizing: border-box;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}


/* 番号丸 */
.circle{
  background-color: #004080;
  color: white;
  width: 48px;
  height: 48px;
  margin: 0 auto 15px;
  border-radius: 50%;
  line-height: 48px;
  font-weight: bold;
  font-size: 1.2em;
}


/* 画像 */
.step img{
  width: 100%;
  height: auto;
  border-radius: 4px;

}

/* アイコン矢印 */
.arrow-icon{
  font-size: 24px;
  color: #999999;
  transition: transform 0.3s ease;
  display: inline-block;
  margin: 5px auto;
}


.arrow-wrapper{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; /* 矢印間隔 */
}

.arrow-icon{
  font-size: 28px;
  color: #999999;
}





/* ラベル内のテーブルも整える場合 */
.label table{
  width: 100%;
  margin-top: 10px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .step-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .step{
    width: 100%; /* スマホでは縦並び */
  }

  .arrow-icon {
    transform: rotate(90deg); /* 下向きに */
  }

  .label img{
    width: 100%;
    height: auto;
  }
}





    .step-number{
      position: absolute;
      top: -30px;
      left: 0px;
      font-size: 120px;
      font-weight: bold;
      color: rgba(0, 0, 0, 0.9);
      z-index: 99999999;
      pointer-events: none;
    }



    .step-content{
      position: relative;
      z-index: 99999999999999;
      margin-top: 10px;
    }

    .step-content h3{
      font-size: 1.2rem;
      margin-bottom: 10px;
    }

    .step-content p{
      font-size: 0.95rem;
      line-height: 1.6;

}




.nav {
  background-color: #ede7e0;
  padding: 10px 0;
  border-radius: 12px;
  margin: 10px;
}

.nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.nav li {
  margin: 0 5px;
}

.nav a {
  color: #336699;
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
  padding: 4px 6px;
  transition: background-color 0.3s;
}

.nav a:hover {
  background-color: #224466;
  border-radius: 5px;
}

 
/* 　<p class="sp-only">スマホオンリー文字</p> */
.sp-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-only {
    display: block; /* または inline、inline-block に必要に応じて変更 */
  }
}



/* ズーム画像 */

.zoom-fade-container img {
  opacity: 0;
  transform: scale(0.8);
  transform-origin: center center;
  animation: zoomFadeIn 1.2s ease forwards;
}

@keyframes zoomFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.zoom-fade-container img {
  animation: zoomFadeIn 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}









