
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1200px;
    margin: auto;
}

.text {
    width: 50%;
}
/*
.image {
    width: 45%;
}
.image img {
    width: 100%;
}
*/


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
body {
/*  font-family: sans-serif; */
  font-family: "M PLUS Rounded 1c"!important;
  line-height: 1.8;
  background-image: url('bk.png');
  background-position: center;
  background-size: cover;

  font-size: 15px; /* デフォルト16pxより少し小さめ */
}

h2 {
  font-size: 2rem;   /* 約32px */
  margin-bottom: 20px;
}

h3 {
  font-size: 1.4rem; /* 約22px */
  margin-bottom: 15px;
}

h4 {
  font-size: 1.2rem; /* 約22px */
  margin-bottom: 12px;
}
p {
  font-size: 1rem;   /* 基準 */
  line-height: 1.8;
  transform: rotate(0.03deg);
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  h2 {
    font-size: 1.6rem;
  }
  h3 {
    font-size: 1.3rem;
  }
  h4 {
    font-size: 1.1rem;
  }
  p {
    font-size: 0.95rem;
  }
}

/* 共通 */
section {
  min-height: 100vh;   /* フォールバック */
  min-height: 100dvh;  /* 対応ブラウザはこちら */

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

  font-size: 3rem;

  /* ヘッダー分だけズラす */
    scroll-margin-top: 80px;
}

/* コンテンツ */
.content {
  padding: 100px 10%;
  background: white;
}

.content h2 {
  margin-bottom: 20px;
}

/* 共通ここまで */


/****************************/
/* ヘッダーナビゲーション関連 */
/****************************/
.header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;

  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);

  z-index: 1000;

  transform: translateY(-100%);
  transition: .4s ease;
}

.header.show {
  transform: translateY(0);
}

.header ul {
  display: flex;
  justify-content: center;
  gap: 40px;

  padding: 20px;
  list-style: none;

  flex-wrap: wrap;   /* ←追加 */
}

.header a {
  color: #333;
  text-decoration: none;
}
/* ヘッダーナビゲーション関連 ここまで */


/********************************/
/*      初めの section hero      */
/********************************/

/* ヒーロー */
.hero {
  position: relative;
  overflow: hidden;

  min-height: 100dvh;

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

  /* background: #0f172a; */
  background-image:url('2677804_m.jpg');
  background-size: cover;
  background-position: center;

  /* パララックスのポイント */
  background-attachment: fixed;

  padding:40px 20px;
}
.infocontainer {
  position: relative;
}
.inforbox {
  position: absolute;
  height:7.5em;
  overflow:auto;
  font-size:.4em;
  background:rgba(255,255,255,.8);
  max-width: 800px;
  width: 100%; /* 必要に応じて幅調整 */
  left: 50%;
  top: 1em; /* 適宜調整 */
  transform: translateX(-50%);
  padding: 5px;
  z-index: 15;
}
/* 背景画像を一面に出して80％透明にし、グラデーションをかけたい */
.overlay {
   position:absolute;
   top:0; left:0; right: 0; bottom: 0;
   background-color:rgba(255,255,255,0.2);
   pointer-events: none;
   z-index:5;
}
.gradient {
  position: absolute;
  left: 0; right: 0;
  height: 50%;
  bottom:0;
  background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
  z-index:5;
}
.hero-content p{
  position: relative;
  color:#000;
  text-align: center;
  z-index: 10;
}
  
  /* タイトルの親div */
.title-box {
  position: relative;

  width:min(900px,95%);
  margin:auto;
  padding:40px;
  font-size:3rem;
  text-align: center;

  font-weight: bold;
  border-radius: 8px;
  border-bottom: 5px solid orange;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
  background:rgba(255,255,255,0.7);

  z-index: 10;
  }
@keyframes slide-stripes-horizontal {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 60px 0;
  }
}
.title-box h1 {
/*  line-height: 1em;
  text-align: center;
*/
    line-height:1.2;
    letter-spacing:.03em;

}
.title-box {
  position: relative;
  z-index:10;
}
.title-box p {
  position: relative;
  z-index:11;
}

.scroll-guide {
  position: absolute;
  z-index:10;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);

  color: #000;
  font-size: 0.9rem;
  letter-spacing: 0.1em;

}
.scroll-guide.animate-in {
  animation: float 2s ease-in-out infinite;

}
@keyframes float {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.btn-shadow {
  display: inline-block;
/*  padding: 12px 30px;
  font-size: 16px; */
  padding: 0.5em 1em;
  color: white;
  background-color: orange;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(128,80,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-size:1rem;
  white-space:nowrap;
}

.btn-shadow:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(255,111,97,0.6);
}

/* 初めの section hero ここまで */

/********************************/
/* ほっと一息 section1 */
/* section */
.feature1{
    position:relative;
    overflow:hidden;

    padding:80px 5%;
    min-height:100dvh;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.feature1 p{
  font-size:.4em;
}

.h2more {
  line-height: 1.4em;
  padding:1em 0;
}
.h2more.animate-in {
  animation: color-change 10s linear infinite;
}

@keyframes color-change {
0%  {color:#148028;} 
50% {color:#49d663;}
75% {color:blue;}
100%  {color:#148028;}
}


.wave-text span {
    display: inline-block;
}

.wave-text.animate-in span {
    animation-name: wave;
    animation-duration: 2s;
/*    animation-iteration-count: infinite; */
    animation-iteration-count: 1; 
    animation-timing-function: ease-in-out;
}

@keyframes wave {
   0%, 100% {
     transform: translateY(0);
   }
   50% {
     transform: translateY(-10px);
   }
 }

 /* 親cards1 */
.cards1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items:center;

}
/* 子card1 */
/*
.card1 {
  flex: 1;
  padding: 40px;
  border: none;
  border-radius: 12px;
  background: white;
}
*/
.card1{
    padding:40px;
    border-radius:12px;
    background:#fff;
    width:100%;
}
.card1.animate-in {
    animation: fadeIn 2s forwards;
}

.non-border {
  border:5px solid rgb(245, 239, 220);
  color:#666;
  justify-content: center;
  align-items: center;
/* もとの値初期設定 */
  border-radius: 91% 9% 91% 9% / 11% 93% 7% 89%;
  background-color:beige;
}
.non-border.animate-in {
  animation: morphBorderRadius 6s ease-in-out infinite;
  animation-name: fadeIn, morphBorderRadius;
  animation-duration: 2s, 6s;
  animation-timing-function: ease, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;

}
.caution {
  background-color: red;
  color:#FFF;
  font-size:.4em;
  z-index: 20;
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
}

/* リンク親 */
.ncard {
  position:relative;
  flex: 1;
  padding: 40px;
  border-radius: 12px;
  border:none;
  text-align: center;
  background-color: darkorange;
  color:#fff;
  opacity: 0;
  pointer-events: none;
  }
.ncard.animate-in {
    animation: fadeIn 2s forwards;
    animation-delay: 1s; /* 左のアニメーション時間分だけ遅延 */
}


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


/* 回転アニメーション */
@keyframes morphBorderRadius {
  0% {
    border-radius: 91% 9% 91% 9% / 11% 93% 7% 89%;
  }
  25% {
    border-radius: 80% 20% 70% 30% / 30% 70% 30% 70%;
  }
  50% {
    border-radius: 60% 40% 90% 10% / 50% 20% 80% 40%;
  }
  75% {
    border-radius: 90% 10% 85% 15% / 20% 90% 10% 80%;
  }
  100% {
    border-radius: 91% 9% 91% 9% / 11% 93% 7% 89%;
  }
}


/* ボタン */
.btn {
  display: inline-block;       /* 幅・高さを指定してボタンっぽく */
  padding: 1em 2em;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;       /* 下線消す */
  text-align: center;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 6px 0 #b25600;
  transition: all 0.15s ease-in-out;
  color: inherit;             /* 色は個別に指定 */
  min-width:180px;
}
.sm-btn {
  display: inline-block;       /* 幅・高さを指定してボタンっぽく */
  padding: .5em 1em;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;       /* 下線消す */
  text-align: center;
  cursor: pointer;
  user-select: none;
  color: inherit;             /* 色は個別に指定 */
  min-width:180px;
}
.btn-pdf {
  background-color: rgb(163, 43, 43);
  color: #fff;

}
/* 新規 */
.btn.new {
  background-color: white;
  color: #b25600;
}
.btn.new:hover {
  background-color: #ffe6cc;
}
.btn.new:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #b25600;
}

/* 既存顧客 */
.btn.existing {
  background-color: #b25600;
  color: white;
  box-shadow: 0 6px 0 #7a3900;
}
.btn.existing:hover {
  background-color: #994d00;
}
.btn.existing:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #7a3900;
}
/* セクションタイトル フォント変更 */
  .font1 {
    font-family: 'Arial', sans-serif;
  }
  .font2 {
    font-family: 'Courier New', monospace;
  }
  .font3 {
    font-family: 'Georgia', serif;
  }
  .font4 {
    font-family: 'Impact', sans-serif;
  }
  .font5 {
    font-family: 'Comic Sans MS', cursive, sans-serif;
  }

/* ティータイム画像 */
.teatime {
/*  max-width: 320px;
  text-align: center;
  */
    width:100%;
    max-width:320px;
    margin:auto;
}
.teatimebox {
  overflow: hidden;
  padding-top: 20px; /* トリミングしたい上の幅分をpaddingとして確保 */
  box-sizing: content-box;
  max-height: calc(100% - 40px); /* 親要素の高さを制限 */

  text-align: center;


}
.teatimebox.animate-in {
  animation: blurFadeIn 4s forwards;
  animation-delay: 0.5s;
  /* anime ぼやっと*/
  filter: blur(8px);
  opacity: 0;
}

.teatimebox img {
    display: block;
  margin-top: -50px; /* 画像を上にずらす */
  margin-bottom: -30px;
 
  height: auto;
}
@keyframes blurFadeIn {
  to {
    filter: blur(0);
    opacity: 1;
  }
}
 /* section1 ここまで */

 /*********************/
 /* section2 お気軽に  */
 /*********************/
 /* パララックス */
.parallax {
/*  height: 70vh; */
  /* パララックスのポイント */
  background-attachment: fixed;
  background-image: url('../img/section2bk.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  width: 100%;
    padding:80px 5%;
    min-height:100dvh;
  overflow: hidden;
}
 .okigaru {
  position: relative;
  display: flex;  
  flex-direction: column;
  justify-content: center;
  
}

.okigaruh2 {
  color:#663300 ;
/*  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: orange; */
  text-shadow: #fff 2px 0 5px;
  z-index: 10;
  padding-bottom: 2em;
  opacity: 0;
}
.okigaruh2.animate-in {
  animation: fadeInChar 1s forwards;
  display: inline-block;
}

@keyframes fadeInChar {
  to {
    opacity: 1;
  }
}

p#okigarumidashi {
  font-size:.5em;
  margin-top:2em;
  padding:.5em;
  background: rgb(255, 157, 0, 0.6);
  z-index: 10;
}
/*
.ocards {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  justify-content: center; /* グリッド全体を横中央に寄せる場合
  gap: 40px;
  z-index: 10;
}
*/
.ocards{
    display:grid;
    grid-template-columns:repeat(3,minmax(260px,1fr));
    gap:40px;
    width:100%;
    max-width:1200px;
    margin:auto;
  z-index: 10;
}

/* ブロックの高さ固定 */
.ocards > div {
  min-height: 250px;
}

.ocard p {
  font-size:.5em!important;

}
/*
.ocard {
  position: relative;
  color:rgb(255, 157, 0, 1);
  font-weight: bold;
  margin: 50px auto;
  border-radius: 12px;
  padding: 80px 20px 20px;
  box-sizing: border-box;
  text-align: center;
  background: rgb(255, 255, 255, 0.9); 
  box-shadow:orange 0 5px 10px;
  opacity: 0;
}
*/
.ocard{

    position:relative;

    color:rgb(255, 157, 0, 1);
    font-weight: bold;
    margin:60px auto 0;

    width:100%;
    max-width:340px;
  border-radius: 12px;
  padding: 80px 20px 20px;
  box-sizing: border-box;
  text-align: center;
  background: rgb(255, 255, 255, 0.9); 
  box-shadow:orange 0 5px 10px;
  opacity: 0;
}
.ocard.animate-in {
  animation: fadeIn 1s forwards;
  animation-delay: 1s;
}
.ocard:nth-child(1).animate-in {
  animation-delay: 0s;
}
.ocard:nth-child(2).animate-in {
  animation-delay: 0.5s;
}
.ocard:nth-child(3).animate-in {
  animation-delay: 1s;
}

.okigaruimg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%); /* 上辺中央より上にはみ出させる */
  border-radius: 50%;
  overflow: hidden;
  background-color: #d1a35f;
  box-shadow:0 4px 12px rgba(0,0,0,.2);
}
.okigaruimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* あなたの思いに寄り添うスペース */
.animate-text.animate-in span {
  display: inline-block;
  animation-name: scaleUpDown;
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  opacity: 0;
}
@keyframes scaleUpDown {
  0% {
    transform: scale(1);
    opacity: 0;
  }
  30% {
    transform: scale(1.5);
    opacity: 1;
  }
  60% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* section2 ここまで */



/* section3 ほっとポイント */


.features {
  min-height: 100dvh;

  display: flex;
  flex-direction: column;
  justify-content: center;

  position: relative;
  display: flex;  
}

h2.point {
  color:#663300 ;
/*  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: orange; */
  text-shadow: #fff 2px 0 5px;
  z-index: 10;
  text-align: center;
  padding-top: 2em;
  margin-bottom: -1em;
}

.block,.blockp {
  /* section */
 /* display: flex;
  align-items: center;
  */

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;

  min-height: 50vh;   /* フォールバック */
  min-height: 50dvh;  /* 対応ブラウザはこちら */
}
.pointblock {
  
  min-height: 20vh;   /* フォールバック */
  min-height: 20dvh;  /* 対応ブラウザはこちら */
}
/*
.block > div {
  width: 50%;
} */
.block .blocktext {
  padding: 0 1em;
/*  width:60%; */
    width:58%;
    padding:0 2em;
/*
  opacity: 0;
  transform: translateX(-100px); */

}
.blocktext.animate-in {
  animation-name: slideFadeIn;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
}

.image {
/*  width:40%; */
    width:42%;
    text-align:center;
} 
/* imageの初期設定＋共通アニメーション設定 */
.image img {
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(1.2);
}
.image.animate-in img {
    border-radius:12px;
  animation-name: zoomFadeIn;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
}

/* アニメーションの中身 */
@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes zoomFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}


.block img {
  width: 100%;
/*  display: block; */
    max-width:420px;
    height:auto;

}

/* 左右反転 */
.block.reverse {
  flex-direction: row-reverse;
}

/* スマホ */
@media (max-width: 768px) {
  .block,
  .block.reverse {
    flex-direction: column;
  }

  .block > div {
    width: 100%;
  }
  .inforbox {
    max-width: 300px;
    width:100%;
  }
}

.pocards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding:0 2em;
}
.pocard {
  flex: 1;
  padding: 40px;
  border: none;
  border-radius: 12px;
  background: white;
  box-shadow: rgba(255, 165, 0,0.8) 0 5px 10px;
  opacity: 0;
}
.pocard.animate-in {
  animation: fadeIn 2s forwards;
}
.pocard:nth-child(2).animate-in {
  animation-delay: 0s;
}
.pocard:nth-child(2).animate-in {
  animation-delay: 0.5s;
}
.pocard:nth-child(3).animate-in {
  animation-delay: 1s;
}

.hotto {
  font-family: "M PLUS Rounded 1c";
/* }
#hotto1,#hotto2,#hotto3 { */
  font-size: 1.6em;
  font-weight: bold;
  color: #994d00;
  text-shadow: #ff9900 2px 0 5px 10px;
/*
  animation: glow 10s infinite alternate;
  */
}
.hotto.animate-in {
  animation-name: glow, fadeIn;
  animation-duration: 10s, 1s;
  animation-timing-function: ease, ease-in-out;
  animation-iteration-count: infinite, 1;
  animation-direction: alternate, normal;
  animation-fill-mode: none, forwards;
}
@keyframes glow {
  0% {
    text-shadow: 0 -5px 10px #ff9900;
  }
  50% {
    text-shadow: 5px -5px 20px #ff66aa;
  }
  100% {
    text-shadow: 0 -5px 10px #ff9900;
  }
}
/* シャボン玉*/
.bubble {
      position: absolute;
      bottom: 0;
      left: 50px;
      width: 40px;
      height: 40px;
      background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(173,216,230,0.3));
      border: 2px solid rgba(255, 255, 255, 0.7);
      border-radius: 50%;
      opacity: 0.8;
      filter: drop-shadow(0 0 5px rgba(128, 128, 128, 0.7));
      pointer-events: none;
  offset-path: path('M0 0 Q100 -50 200 -500'); /* ベジェ曲線 */
  offset-distance: 0%;
  animation: moveBubble 6s forwards;
}

@keyframes moveBubble {
  0% {
    offset-distance: 0%;
    opacity: 0.8;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}
/*.シャボン玉ここまで */


/* オンラインスペースsection */

.online {
  min-height: 100dvh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(242,242,242,0.5);
  position: relative;
}
.onlinetext {
  font-size:16px;
  line-height: normal;
}
.ollabel {
  font-weight: bold;       /* 太字に */
  color: #333333;          /* 色を暗めに */
  margin-right: 0.5em;     /* 項目名と内容の間のすきま */
  white-space: nowrap;     /* 項目名が改行されないように */

}
.olcontents {
  text-indent: 7.5em;;
}

/* 背景が動画 */
/* 背景に動画 */
  .video-section {
/*  position: relative;
  width: 100%;
  height: 80vh;
  max-height: 100dvh;
  overflow: hidden; */

/*  position: relative;
  width: 100%;
    padding:80px 5%;
    min-height:100dvh;
  overflow: hidden;  */

  background-image: url('../img/26781385_m.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 0;

}
/*
.contentsv.animate-in {
  animation: fadeIn 2s forwards;
  animation-delay: 0.5s;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover; /* 動画のサイズ調整 
}
  */
.overlayv {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5); /* グレーの半透明 */
  z-index: 1;
}
.contentsv {
  position: relative;
  z-index: 100;
  color: #fff;
  padding: 20px;
  background: rgba(28, 76, 21, 0.8);
  padding:10 auto;
  border-radius: 10px;
  box-shadow: #666666 0 0 10px;
/*  opacity: 0; */
}

.stcards {
  display: grid;

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

  gap: 30px;
}

.stcard {
  flex: 1;

  padding: 40px;

  border: none;
  border-radius: 12px;

}

.overlayo {
   position:absolute;
   top:0; left:0; right: 0; bottom: 0;
   background-color:rgba(255,255,255,0.6);
   pointer-events: none;
   z-index:5;
}

/* 最後のsection */

.space {
  position: relative;
  padding: 80px;
  min-height: 100dvh;

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

}
.space h2 {
  text-align: center;
}
.grpcard {
  display:flex;
}
.contentmeet {
  position: relative;
  z-index: 2;
  color: #000;

  padding: 20px;
  padding:10 auto;
  font-size:0.4em!important;
}
.space h2 {
  margin-bottom: 20px;
  display:block;
  clear: both;

  border-bottom: 1px solid #1a1414;
}

.spcards {
  display: grid;
/*  grid-template-columns: repeat(3, 1fr); */
  grid-template-columns: repeat(3, 300px);
  justify-content: center; /* グリッド全体を横中央に寄せる場合 */
  gap: 40px;
  z-index: 10;
}

/* ブロックの高さ固定 */
.spcards > div {
  height: 250px;
}

.spcard p {
  font-size:.5em!important;

}
.spcard {
/*
  background: white;
  flex: 1;
  color:rgb(255, 157, 0, 1);
  padding: 30px; */

  position: relative;
  color:rgb(82, 65, 38);
  font-weight: bold;
  margin: 50px auto;
  border-radius: 12px;
  padding: 80px 20px 20px; /* 上部に空間を空ける */
  box-sizing: border-box;
  text-align: center;
  background: rgb(255, 255, 255, 0.9); 
  box-shadow:orange 0 5px 10px;

  min-width:320px;
  opacity: 0;
}
.spcard.animate-in {
  animation: fadeIn 1s forwards;
  animation-delay: 1s;
}
.spcard:nth-child(1).animate-in {
  animation-delay: 0s;
}
.spcard:nth-child(2).animate-in {
  animation-delay: 0.5s;
}
.spcard:nth-child(3).animate-in {
  animation-delay: 1s;
}


.spimg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%); /* 上辺中央より上にはみ出させる */
  border-radius: 50%;
  overflow: hidden;
  background-color: #54a1fa;
  color:#fff;
  justify-content: center;
  padding-top:12px;
}
.spimg span {
  width: 100%;
  height: 100%;
  object-fit: cover;
 /* display: block; */
  display: flex;
  align-items: center;
  justify-content: center;
}
.aoi {
  background: rgb(107, 206, 125);
}
.suruga {
  background-color:rgb(247, 62, 62);
}


section.footer {
  min-height: 20vh;   /* フォールバック */
  min-height: 20dvh;  /* 対応ブラウザはこちら */
}
.footer{
  text-align: center;
  display: block;
  background-color: rgb(236, 199, 130);
}
.footer h2 {
  color:#1a1414;
  font-size:.4em;
  margin:.2em;
  padding-top:10pt; 
}
.spaceh2 {
  padding-top:1em;
}
.spaceh2.animate-in {
    animation: fadeIn 2s forwards;
}
.contentmeet.animate-in {
    animation: fadeIn 2s forwards;
}

/* =========================================
   Tablet (769px～1024px)
========================================= */

@media screen and (min-width:769px) and (max-width:1024px){

  html{
    overflow-x:hidden;
  }

  body{
    overflow-x:hidden;
    font-size:15px;
  }

  section{
    min-height:auto;
    padding:60px 40px;
  }

  .content{
    padding:60px 5%;
  }

  img{
    max-width:100%;
    height:auto;
  }

}


/* =========================================
   Smartphone (768px以下)
========================================= */

@media screen and (max-width:768px){

  html,
  body{
    overflow-x:hidden;
  }

  body{
    font-size:14px;
    line-height:1.7;
  }

  section{
    min-height:auto;
    padding:50px 20px;
  }

  .content{
    padding:50px 20px;
  }

  img{
    max-width:100%;
    height:auto;
  }

}

/*==============================
 Header Tablet
==============================*/

@media (max-width:1024px){

.header{

    backdrop-filter: blur(8px);
}

.header ul{

    gap:20px;

    padding:15px 20px;
}

.header a{

    font-size:15px;
}

}
/*==============================
 Header Smartphone
==============================*/

@media (max-width:768px){

.header{

    width:100%;
}

.header ul{

    justify-content:center;

    gap:10px 20px;

    padding:12px;

    flex-wrap:wrap;
}

.header li{

    flex:0 1 auto;
}

.header a{

    display:block;

    padding:8px 12px;

    font-size:14px;

    white-space:nowrap;
}

}
/*==============================
 Hero Tablet
==============================*/

@media (max-width:1024px){
.hero{
    background-position:center;
}

.title-box{
    padding:30px;
    font-size:2.4rem;
}

.title-box h1{
    font-size:1em;
}

.scroll-guide{
    bottom:20px;
}

}
/*==============================
 Hero Smartphone
==============================*/

@media (max-width:768px){

.hero{
    padding:20px;
    background-attachment:scroll;
}

.title-box{
    width:100%;
    padding:25px 20px;
    font-size:1.7rem;
    border-bottom-width:4px;
}

.title-box h1{
    line-height:1.3;
}

.hero-content p{
    font-size:1rem;
    margin-top:15px;
}

/*
.btn-shadow{
    width:100%;
    text-align:center;
    padding:14px;
    font-size:1rem;
}
*/
#top-nav {
    display:none;
}
.scroll-guide{
    font-size:.8rem;
    bottom:15px;
}

}

/*==============================
 iPhone Safari
==============================*/

@supports (-webkit-touch-callout:none){
.hero{
    background-attachment:scroll;
}

}
/*==============================
Feature1 Tablet
==============================*/

@media (max-width:1024px){

.feature1{

    padding:60px 30px;
}

.cards1{

    gap:20px;
}

.card1{

    padding:30px;
}

}
/*==============================
Feature1 Smartphone
==============================*/

@media (max-width:768px){

.feature1{

    padding:40px 20px;
}

.cards1{

    grid-template-columns:1fr;

    gap:30px;
}

.card1{

    padding:25px;
}

.non-border{

    border-width:3px;
}

.ncard{

    padding:25px;
}

.teatime{

    max-width:260px;
}

.teatimebox{

    padding-top:10px;

    max-height:none;
}

.teatimebox img{

    margin-top:0;

    margin-bottom:0;
}

}
@media(max-width:768px){

.btn{

    width:100%;
    max-width:320px;
    margin-bottom: 20px;

}

}
/*==============================
Section2 Tablet
==============================*/

@media (max-width:1024px){

.ocards{

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

    gap:30px;

}

.ocard{

    max-width:none;

}

.okigaruh2{

    text-align:center;

}

}
/*==============================
Section2 Smartphone
==============================*/

@media (max-width:768px){

.okigaru{

    padding:40px 20px;

}

.ocards{
    grid-template-columns:1fr;
    gap:70px;

}
/* ブロックの高さ固定 */
.ocards > div {
  min-height: 160px;
}

.ocard{

    max-width:100%;

    margin-top:50px;

    padding:70px 20px 20px;

}

.okigaruimg{

    width:90px;

    height:90px;

}

.okigaruh2{

    text-align:center;

    padding-bottom:40px;

}

p#okigarumidashi{

    font-size:1rem;

}

.ocard p{

    font-size:1rem !important;

}

}
@media(max-width:768px){

.ocard.animate-in{

    animation-duration:.8s;

}

.ocard:nth-child(2).animate-in{

    animation-delay:.2s;

}

.ocard:nth-child(3).animate-in{

    animation-delay:.4s;

}

}
/*==============================
Section3 Tablet
==============================*/

@media (max-width:1024px){

.block,
.block.reverse{

    gap:30px;

}

.block .blocktext{

    width:55%;

}

.image{

    width:45%;

}

.pocards{

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

}

}

/*==============================
Section3 Smartphone
==============================*/

@media (max-width:768px){

.block,
.block.reverse{

    flex-direction:column;

    gap:25px;

    text-align:center;

}

.block .blocktext{

    width:100%;

    padding:0;

}

.image{

    width:100%;

}

.image img{

    max-width:320px;

}

.pocards{

    grid-template-columns:1fr;

    gap:20px;

    padding:0;

}

.pocard{

    padding:25px;

}

}
@media(max-width:768px){

.hotto{

    font-size:1.3em;

}

}
@media(max-width:768px){

.bubble{

    width:24px;

    height:24px;

}

}
.image.animate-in img{

    animation-duration:1s;

}

.block .blocktext.animate-in{

    animation-duration:1s;

}

@media (max-width: 768px) {

  .features {
    padding: 40px 10px;
  }

  h2.point {
    font-size: 1.4rem;
    padding-top: 1em;
    margin-bottom: 0.5em;
  }

  /* ブロック（画像＋テキスト） */
  .block,
  .block.reverse {
    flex-direction: column;
    min-height: auto;
  }

  .block .blocktext {
    width: 100%;
    transform: none;
    padding: 1em 0;
  }

  .image {
    width: 100%;
  }

  .image.animate-in img {
    transform: scale(1);
  }

  /* カード3列 → 1列 */
  .pocards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pocard {
    padding: 25px;
  }

  .hotto {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {

  .online {
    padding: 40px 10px;
  }

  .onlinetext {
    font-size: 14px;
  }

  .stcards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stcard {
    padding: 20px;
  }

  /* 動画エリア調整 */
  .video-section {
    height: 60vh;
  }

  .contentsv {
    margin: 0 auto;
    font-size: 14px;
    padding: 15px;
  }
.btnsp {
    padding-bottom: 15px!important;
}
  .overlayv {
    background-color: rgba(255,255,255,0.6);
  }


  .space {
    padding: 40px 10px;
  }

  .space h2 {
    font-size: 1.3rem;
  }

  .spcards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .spcard {
/*    min-width: auto; */
    max-width: 90%;
    padding: 70px 15px 20px;
  }

  .spimg {
    width: 90px;
    height: 90px;
  }

  .contentmeet {
    font-size: 0.9rem !important;
  }

  .contentsv {
    padding-bottom: 15px;
  }

  .footer {
    padding: 20px 10px;
  }

  .footer h2 {
    font-size: 0.9rem;
  }
}