@media screen and (max-width : 767px){
  html,
  body {
  overflow-x: hidden!important;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  }
 }
 
 
 h3,h4  {
  font-family: 'Osaka', 'ヒラギノ角ゴ ProN', 'メイリオ', sans-serif;
}

  ul{
    padding-left:0;
  }
  
  li{
    list-style:none;
  }
  a{
    text-decoration: none;
  }



/* 英字用（見出しや .eng クラス）
/* 英字だけの段落にも適用 */ 

h1, h2,  h5, h6, .eng , .eng_w {
  font-family: 'Cormorant', serif;
}


main{
  max-width: 1920px;
}

@media all and (max-width: 767px) {
main{
  width: 100%;
}

}

/* ------------------------------
    HERO セクション（全端末で崩れない版）
------------------------------ */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 85vh; /* 画面いっぱい */
  max-height: 900px; /*800だとタイト1000だと間延びすることありで中間に設定しておく*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  margin-top:120px; 


  /* ここで背景画像を管理（ズレなくなる） */
  background-image: url('../img/fv_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 大画面（例: 1600px以上）で背景を左寄せにする */
@media (min-width: 1600px) {
  .hero-section {
   /* background-position: 40% center; /* ここで背景を左に寄せる */
    background-size: cover;
  }
}

/* 画像タグでの背景は不要なので非表示に */
.hero-section_bg {
  display: none;
}

/* hero content */
.hero-content {
  position: relative;    /* absolute禁止してズレ回避 */
  z-index: 2;
  width: 100%;
  max-width: 560px;
  padding: 0 20px;
  margin-top:0px; 
  /*box-sizing: border-box;
  margin-top:120px; hero-sectionで書いてみる*/
  transform: translateY(-40px);
}





/* hero content */
/* iPhone SE 超細い画面の微調整 */
@media (max-width: 768px) {
.hero-content {
  margin-top:0px;
}
}

/* ロゴ画像 */
.hero-content h1 img {
  width: 100%;
  height: auto;
}

.hero-content h2 img{
  width: 80%;
  margin: 0 auto;
  padding-top: 20px;
}

/* H2 の間の余白調整 */
.hero-content h2 {
  margin-top: 40px;
}

/* 英文コピー */
.hero-content p.eng {
  color: #FFE2C3;
  margin-top: 180px;
  font-size: clamp(14px, 3vw, 20px); /* 大きすぎ/小さすぎ防止 */
  line-height: 1.6;
}

/* ------------------------------
    SP 調整
------------------------------ */
@media (max-width: 768px) {
  .hero-section {
    min-height: 85vh; /* 少し低めに */
    width: 100%;
  }

  .hero-content h2 {
    margin-top: 20px;
  }

  .hero-content p.eng {
    margin-top: 40px;
  }
}

/* iPhone SE 超細い画面の微調整 */
@media (max-width: 430px) {
  .hero-content {
    max-width: 260px;
    margin: 0;
  }
}



/* ------------------------------
   タイトル横並び・文字落下
------------------------------ */
.hero-content h1 {
  display: flex;
  justify-content: center;
  gap: 20px; /* 文字間の余白 */
}



.hero-content h2 {
  display: flex;
  justify-content: center;
  gap: 0px; /* 文字間の余白 */
}

/* h1：基準サイズ */
.hero-content h1 span img {
  width: 100%;
  transform: translateY(-40px);
  opacity: 0;
  animation: dropH1 1.2s forwards ease-out;
}

/* h2：h1の70%サイズ */
.hero-content h2 span img {
  width: 70%;
  transform: translateY(-60px);
  opacity: 0;
  animation: dropH2 0.8s forwards ease-out;
}

/* ------------------------------
   h1文字ごとの遅延（7文字）
------------------------------ */
.hero-content h1 span:nth-child(1) img { animation-delay: 0s; }
.hero-content h1 span:nth-child(2) img { animation-delay: 0.2s; }
.hero-content h1 span:nth-child(3) img { animation-delay: 0.4s; }
.hero-content h1 span:nth-child(4) img { animation-delay: 0.6s; }
.hero-content h1 span:nth-child(5) img { animation-delay: 0.8s; }
.hero-content h1 span:nth-child(6) img { animation-delay: 1.0s; }
.hero-content h1 span:nth-child(7) img { animation-delay: 1.2s; }

/* ------------------------------
   h2文字ごとの遅延（12文字・ゆったり）
------------------------------ */
.hero-content h2 span:nth-child(1) img  { animation-delay: 1.5s; }
.hero-content h2 span:nth-child(2) img  { animation-delay: 1.7s; }
.hero-content h2 span:nth-child(3) img  { animation-delay: 1.9s; }
.hero-content h2 span:nth-child(4) img  { animation-delay: 2.1s; }
.hero-content h2 span:nth-child(5) img  { animation-delay: 2.3s; }
.hero-content h2 span:nth-child(6) img  { animation-delay: 2.5s; }
.hero-content h2 span:nth-child(7) img  { animation-delay: 2.8s; } /* 少し間隔広め */
.hero-content h2 span:nth-child(8) img  { animation-delay: 3.0s; }
.hero-content h2 span:nth-child(9) img  { animation-delay: 3.2s; }
.hero-content h2 span:nth-child(10) img { animation-delay: 3.4s; }
.hero-content h2 span:nth-child(11) img { animation-delay: 3.6s; }
.hero-content h2 span:nth-child(12) img { animation-delay: 3.8s; }

/* keyframes */
@keyframes dropH1 {
  0% { transform: translateY(-40px); opacity: 0; }
  60% { transform: translateY(10px); }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes dropH2 {
  0% { transform: translateY(-60px); opacity: 0; }
  60% { transform: translateY(15px); }
  100% { transform: translateY(0); opacity: 1; }
}

/* ------------------------------
   英文コピーフェードイン
------------------------------ */
.hero-content p.eng {
  opacity: 0;
  transform: translateY(40px); /* 20px→40pxに増やしてゆったり感 */
  animation: fadeInSoft 1.5s forwards ease-out; /* 1s→1.5sに変更 */
  animation-delay: 4.2s; /* h2落下後に開始 */
}

@keyframes fadeInSoft {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  50% {
    opacity: 0.5;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------
   SP対応
------------------------------ */
@media (max-width: 768px) {
  .hero-content h1,
  .hero-content h2 {
    gap: 3px;
  }

  .hero-content h2 span img {
    width: 70%; /* SPでも比率維持 */
  }

  .hero-content p.eng {
    font-size: clamp(12px, 3vw, 18px);
    margin-top: 40px;
  }
}



/* -----------------------
      fv下コンテンツ共通 ABOUT〜
--------------------------*/


/* =========================
   ベース構造（PC：横並び）
========================= */
.container {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 230px;
  padding: 100px 40px 100px 0;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
}


/* ---------------タブレット用-----------------------
レスポンシブ：画面幅 1024px 以下（W768pxまで）対応で縦並び
------------------------------------------------- */
@media screen and (max-width: 1024px) {
  .container {
    flex-direction: column;
    align-items: center; /* 真ん中寄せ */
    gap: 540px; /* 上下の隙間調整 */
    padding: 60px 33px  40px 33px !important;
  }
}


/* ---------------スマホ用-----------------------*/
@media screen and (max-width: 430px) {
  .container {
    flex-direction: column;
    align-items: center; /* 真ん中寄せ */
    gap: 320px; /* 上下の隙間調整 */
  }
}




/* 左の ABOUT */
.eng {
  position: relative;
  z-index: 2;
  font-size: 100px;
  font-weight: 700;
  line-height: 1.1;
  color: #808080;
  font-weight: lighter;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInText 1s forwards ease-out;
  animation-delay: 6.5s;
}

/* 右側の説明 */
.about {
  position: relative;
  z-index: 2;
  max-width: 520px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInText 1s forwards ease-out;
  animation-delay: 7.0s;
}

.about h3 {
  font-size: 47px;
  line-height: 80px;
  margin: 0;
}

.about p {
  padding-top: 40px;
  font-size: 17px;
  line-height: 1.7;
}


/*========================= */
@media screen and (max-width: 430px) {

  .about h3
  .about p{
    margin: 0px 15px;
}
}






/* =========================
   背景画像（中央固定）
========================= */
.bg-img {
  position: absolute;
  top: 160px;
  left: 22%;
  width: 480px;
  height: 480px;
  background-image: url('../img/about.png');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;

  opacity: 0;
  animation: fadeInBg 1s forwards ease-out;
  animation-delay: 6.5s;
}


/* =========================
   タブレット（縦並びへ）
========================= */
@media screen and (max-width: 1024px) {

  .container {
    flex-direction: column;
    align-items: center;
    gap: 600px;
    padding: 60px 33px;
  }

  .bg-img {
    position: absolute;
    top: 160px;
    left: 50%;
    transform: translateX(-50%);
    top: 12.5%;
    width: 580px;
    height: 580px;
  }

  .eng {
    font-size: 94px;
    text-align: center;
    color: #808080;
    font-weight: lighter;
    padding-top: 80px;
  }

  .about h3 {
    font-size: 42px;
    line-height: 1.4;
    padding-top: 20px;
  }
}

/* =========================
   スマホ
========================= */
@media screen and (max-width: 430px) {

  .container {
    flex-direction: column;
    align-items: center;
    gap: 340px;
  }

  .bg-img {
    top: 15%;
    width: 310px;
    height: 310px;
  }

  .eng {
    font-size: 68px;
    text-align: center;
    padding: 0;
  }

  .about{
    margin: 0 ;
    padding: 30px 24px auto 24px;
  }

  .about h3 {
    font-size: 28px;
    line-height: 1.5;
    
  }

  .about p {
    padding-top: 20px;
    font-size: 17px;
    line-height: 1.7;
   
  }
}


/* =========================
   アニメーション（テキスト用）
========================= */
@keyframes fadeInText {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  50% {
    opacity: 0.5;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   アニメーション（背景用）
========================= */
@keyframes fadeInBg {
  0% {
    opacity: 0;
    transform: translate(-50%, 40px);
  }
  50% {
    opacity: 0.5;
    transform: translate(-50%, 20px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
} */





/*-------------------------------
              作品紹介
/*-------------------------------*/

/* =========================
   ベース構造（PC：横並び）
========================= */

.column_container {
  max-width: 1200px;
  text-align: center;
  margin: 0 auto;
  padding-top: 100px;

}


.eng_w {
  position: relative;
  z-index: 2;
  font-size: 100px;
  font-weight: 700;
  line-height: 1.1;
  color: #808080;
  font-weight: lighter;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInText 1s forwards ease-out;
  animation-delay: 6.6s;
  text-align: center;
  padding-top: 80px;
}

/* =========================
   スマホ
========================= */
@media screen and (max-width: 430px) {

  .eng_w {
    font-size: 68px;
    text-align: center;
    padding-top: 60px;
  }
}










.work-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  padding: 80px 140px;
  max-width: 1200px;
  margin: 0 auto;
}

/*  Tablet */
@media screen and (max-width: 1024px) {

  .work-container {
    flex-direction: column;
    gap: 40px;
    padding: 40px 33px;
  }
}


/* 画像 */
.work_image {
  width: 420px;
  flex-shrink: 0;
}

/*  Tablet */
@media screen and (max-width: 1024px) {

  .work_image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}




.work_image img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト */

.work_text {
  max-width: 600px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInText 1s forwards ease-out;
  animation-delay: 7.0s;
  margin: 0 140px 0 0;
  flex: 1; /* ←左右の幅を揃える */
}

/*  Tablet */
@media screen and (max-width: 1024px) {
  .work_text {
    max-width: 500px;
    padding: 0;
    margin: 0;
    text-align: left;

  }
}




.work_text h4 {
  font-size: 20px;
  line-height: 80px;
  margin: 0;
}

.work_text p {
  font-size: 16px;
  line-height: 1.7;
}

/* =========================
   交互レイアウト（構造）
========================= */

/* 画像右・テキスト左 */
.work-container.reverse {
  flex-direction: row-reverse;
}

/*  Tablet reverse 無効化 */
@media screen and (max-width: 1024px) {
  .work-container.reverse {
    flex-direction: column;
  }
}


/* =========================
   reverse 時の初期化
   （通常指定の打ち消し）
========================= */

/* 画像：通常時の余白をリセット */
.reverse .work_image {
  margin: 0;
}

/* 画像サイズは共通（念のため明示） */
.reverse .work_image img {
  width: 100%;
}


/* =========================
   テキスト余白（レイアウト用）
========================= */

/* reverse：テキストを画像から離す */
.reverse .work_text {
  margin-right: 0;
  margin-left: 140px;
}

/*  Tablet */
@media screen and (max-width: 1024px) {
  .reverse .work_text {
    margin: 0;
    padding: 0;
  }

}


/* =========================
   バランス微調整
========================= */

/* 通常：画像左・文字右 */
.work-container:not(.reverse) .work_text {
  padding-left: 40px;
}

/* reverse：画像右・文字左 */
.work-container.reverse .work_text {
  padding-right: 60px;
}

/*  Tablet */
@media screen and (max-width: 1024px) {
/* 通常：画像左・文字右 */
.work-container:not(.reverse) .work_text {
  padding-left: 0px;
}

/* reverse：画像右・文字左 */
.work-container.reverse .work_text {
  padding-right: 0px;
}




}



/* =========================
   背景
========================= */
.bg-color {
  background-color: #FAF1E8;
  padding: 0;
  margin-top: 100px;
  border-radius: 40px;
}



/* =========================
   背景
========================= */
.bg-color {
  background-color: #FAF1E8;
  padding: 0;
  margin:0px;
  border-radius: 40px; /* 好きな丸さに変更 */
}


/* =========================
   波紋_button CSS
========================= */

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 350px;
  margin:40px 0 ;
  padding: .9em 2em;
  border: 1px solid #f57f18;
  border-radius: 25px;
  background-color: #fff;
  color: #f57f18;
  font-size: 1em;
}

.button:hover {
  animation: anima-button-30 1s;
}

@keyframes anima-button-30 {
  0% {
      box-shadow: 0 0 0 0 rgba(233, 168, 55, 0.5);
  }
  100% {
      box-shadow: 0 0 0 1.2em rgb(0 0 0 / 0%);
  }
}

.button::after {
  transform: rotate(45deg);
  width: 5px;
  height: 5px;
  margin-left: 10px;
  border-top: 2px solid #f57f18;
  border-right: 2px solid #f57f18;
  content: '';
}





















