body {
  font-family: "Shippori Mincho", serif;
  font-weight: bold; 
  font-size: 20px;
}


h1{
  font-size: 3rem;                 /* サイズを大きめに */
  font-family: "Shippori Mincho", serif;
  margin: 2rem 0 3rem;             /* 上下の余白 */
}
h2{
  font-size: 2rem;                 /* サイズを大きめに */
  font-family: "Shippori Mincho", serif;
  margin: 2rem 0 0rem;             /* 上下の余白 */
}

.fade-in-target{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-target.in-view {
  opacity: 1;
  transform: translateY(0);
}

.bg-1{
    background-image: url(../image/hiroshi2.jpg);
    background-size:cover;    /* 画像のサイズを指定    */
    width:100%;               /* 横幅のサイズを指定    */
    height:700px;             /* 縦幅のサイズを指定    */
      overflow: hidden;
      position: relative;
    }
.bg-2{
    background-image: url(../image/kilt2.jpg);
    background-size:cover;    /* 画像のサイズを指定    */
    width:100%;               /* 横幅のサイズを指定    */
    height:700px;             /* 縦幅のサイズを指定    */
      overflow: hidden;
      position: relative;
    }
.bg-3{
    background-image: url(../image/manifacture2.jpg);
    background-size:cover;    /* 画像のサイズを指定    */
    width:100%;               /* 横幅のサイズを指定    */
    height:700px;             /* 縦幅のサイズを指定    */
      overflow: hidden;
      position: relative;
    }

.bg-img{
      position: absolute;
      top: 0;
      left: 50%;
      height: 100%;
      transform: translateX(-50%);
      object-fit: cover;      /* 横が見切れるようにレスポンシブ対応 */
    }

.sentence{
  line-height: 2;            /* 行間を広げて読みやすく */
}

.overlay-box {
    height:400px;             /* 縦幅のサイズを指定    */
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 50vw;              /* 画面幅の50% */
    height: auto;
    padding: 20px;
    border-radius: 20px;
    
      background:
        radial-gradient(ellipse at center, rgba(255,255,255,0.3) 60%, rgba(255,255,255,0) 100%),
        linear-gradient(to right,
          rgba(255,255,255,0),
          rgba(255,255,255,0.6),
          rgba(255,255,255,0.6),
          rgba(255,255,255,0)
        );
    backdrop-filter: blur(5px); /* 画像が鮮やかすぎる時の視認性向上に */
    box-sizing: border-box;
    }

  .link-button {
  content: '→';
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;             /* ← 幅を固定 */
  height: 40px;            /* ← 高さを固定 */
  text-align: center;
  border: 2px solid #333;
  border-radius: 50%;
  font-size: 20px;         /* アイコンの大きさ調整 */
  background-color: transparent;
  transition: all 0.4s ease;
  z-index: 2;
}

.btn-container-adv{
  position: relative;
  max-width: 320px;
}
.btn-inner-adv{
  width: 100%;
  padding: 1.5rem;
  border-radius: 40px;
  border: 2px solid #42d017;           /* ← 枠線（お好きな色に） */
  font-size: 1rem;
  cursor:pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem; /* アイコンと文字の間隔 */
  text-decoration: none; /* 下線を消す */
  color: inherit;         /* テキスト色を継承 */
  transition: background-color 0.6s ease, color 0.6s ease; /* ← ここでアニメーション */
}
.btn-inner-adv:hover {
  background-color: #42d017; /* 柔らかく色が付く */
  color: #ffffff; /* ホバー時に色も変更可能 */
}
.arrow-icon {
  width: 20px;    /* ← 高さと幅を調整 */
  height: 20px;
  display: inline-block; 
  flex-shrink: 0;     /* アイコンが潰れないようにする */
}

.card-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  width: 100%;
  padding: 2rem;
  box-sizing: border-box;
}

.card {
  width: 30%; /* 約1/3 */
  aspect-ratio: 1 / 1.2; /* 高さに対してやや縦長 */
  background-color: rgb(252, 255, 255);
  border-radius: 300px 300px 0 0; /* 上だけ丸く、下は直角 */
  color: rgb(0, 0, 0);
  font-size: 20px;
  text-align: center;
  padding-top: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  position: relative;   /* 子の absolute を基準にする */
}
.card-title {
  position: relative;
  font-size: 2rem;
  text-align: center;
}

.card-title::before,
.card-title::after {
  content: "";
  flex: 1;
  border-top: 2px solid rgb(0, 0, 0);
  margin: 0 0.5rem;
  position: relative;
}

.card-title::before {
  margin-right: 0.75rem;
}

.card-title::after {
  margin-left: 0.75rem;
}

.card-movie{
  position: absolute;
  bottom: 70px; 
  left: 0;
  right: 0;
}

.bg-contact{
    background-image: url(../image/back3.jpg);
    background-size:cover;    /* 画像のサイズを指定    */
    width:100%;               /* 横幅のサイズを指定    */
    height:700px;             /* 縦幅のサイズを指定    */
      overflow: hidden;
      position: relative;
    }
.contact-text {
  white-space: nowrap; 
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 完全中央揃え */
  color: white;
  text-align: center;
  padding: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6); /* 背景と文字のコントラストを確保 */
}