@charset "UTF-8";
body {
    overflow-x: hidden;
    width: 100%;
}
.info{
  background-color: #01081B;
  color: #ffffff;
  font-family: "Hina Mincho", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.9;
  font-size: 20px;
}
.area .description{
  font-size: 18px;
}
.info p.text-content, p.lead, p.text{
  font-size: 18px;
}
.info .beauty {
  /* 上から下へ流れるグラデーション */
  background: linear-gradient(#01081B, #003C71);
}
.area{
  background-color: #003C71;
  color: #ffffff;
  font-family: "Hina Mincho", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.9;
  font-size: 20px;
}
.area .main{
  background: linear-gradient(#01081B, #003C71);
}
/* トップ画像に文字を重ねる */
.info .top{
  position: relative;
}
.info .top p{
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
  -webkit-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
  transform: translate(-50%,-50%);/*センター寄せの修正*/
  color: #fff;
  margin: 0!important;/*文字がずれている場合や*/
  padding: 0!important;/*文字が折り返される場合*/
  font-size: 50px;
  writing-mode: vertical-rl;/*縦組み*/
}
/* ★タイトル文字一文字ずつ出現するアニメーション★ */
.info .top p.typing {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: #fff;
  font-size: 50px; /* ここが効いているか確認 */
  writing-mode: vertical-rl;
  white-space: nowrap;
  line-height: 1; /* 行間の余白をリセットしてサイズを安定させる */
}
/* JavaScriptで生成された各文字（span）の設定 */
.info .top p.typing span {
  font-size: 50px; /* ★ここにも同じサイズを明示的に指定する */
  display: inline-block;
  opacity: 0;
  animation: fadeInLetter 0.5s forwards;
}
/* フェードインのアニメーション定義 */
@keyframes fadeInLetter {
  0% {
    opacity: 0;
    transform: translateY(10px); /* 少し下から浮き上がる演出 */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ★タイトル文字一文字ずつ出現するアニメーション ここまで★　*/
.info .rogo{
  width: 200px;
  margin-left: 500px;
  margin-bottom: 50px ;
  padding-top: 50px;
}
.info .fuji .container{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 50px;
}
.info .fuji .container img{
  max-width: 180px;
}
.fuji .title-1{
  width: 300px;
  margin: 0 500px 0 auto;
  padding-bottom: 10px;
}
.tate-chu-yoko{
  text-combine-upright: all;/*縦組み*/
}
.fuji .text{
  writing-mode: vertical-rl;/*縦組み*/
  text-align: start;/*頭ゾロエ*/
}
.info .beauty-img{
  max-width: 700px;
  margin: 0 100px -250px auto;
}
.beauty .title-2{
  width: 300px;
  margin: 0 0 0 500px;
}
.beauty .text{
  writing-mode: vertical-rl;/*縦組み*/
  text-align: start;/*頭ゾロエ*/
  padding: 10px 0 50px 300px;
  position: relative;
  z-index: 9;
}
.perfect{
  position: relative;
}
.perfect .text {
  position: absolute;
  top: 120px;
  right: 50px;
  writing-mode: vertical-rl;/*縦組み*/
  z-index: 2;
}
.perfect .title-3{
  width: 300px;
  top: 20px;  /* 画像の上端からの距離（調整してください） */
  right: 50px;
  position: absolute;
  z-index: 3;
  text-align: right;
}
/* 商品紹介横並び */
.container{
	display: flex;
	flex-wrap:wrap;
  max-width: 1000px;
  margin: auto;
}
.container li {
	width: calc(100%/3);/*←画像を横に3つ並べる場合*/
	padding:0 5px;/*←画像の左右に5pxの余白を入れる場合*/
	box-sizing:border-box;
}
.container li img {
	max-width:100%; /*画像のはみだしを防ぐ*/
	height: auto; /*画像の縦横比を維持 */
}
.container li:hover img{
    opacity: 0.5;
}
/* 商品紹介横並びここまで */
.hightlight{
   background: linear-gradient(transparent 50%, #0071bc 50%);
   font-weight: 700;
   font-size: 110%;
}
h1{
    font-size: 32px;
    color: #0071bc;
    text-align: center;
    position: relative;
}
/* ｈ１に下線をひくここから */
.underline::after{
    content: "";
    width: 120px;
    height: 2px;
    background-color: #0071bc;
    margin: auto;
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
}
/* ｈ１に下線をひくここまで */
h2{
    font-size: 28px;
    color: #0071bc;
    background-color: #e7dcc1;
    text-align: center;
    width: fit-content;        /* 幅をコンテンツ（テキスト）の幅に合わせる */
    margin-left: auto;         /* 左右マージンを自動調整して中央揃え */
    margin-right: auto;
    padding: 1px 3px 1px 3px;
    margin-top: 20px
}
/*  左ゾロエ*/
.heading{
    font-size: 28px;
    color: #01081B;
    background-color: #e7dcc1;
    width: fit-content;        /* 幅をコンテンツ（テキスト）の幅に合わせる */
    padding: 1px 3px 1px 3px;
    margin-top: 20px
}
h4{
  font-size: 20px;
  color: #e7dcc1;
}
h5{
  font-size: 28px;
  color: #ff8a00;
  line-height: 1.5em;
}
.main .content{
  padding: 50px;
}
.main .content h5{
  text-align: center;
  padding-top: 20px;
}
.area .wrapper-top{
  background-color: #01081B;
padding-top: 30px;
padding-bottom: 30px;
}
/* 斜め背景　横並びここから */
.wrapper-left{
   background-color: #01081B;
   clip-path: polygon(0 0, 100% 0%, 100% 77%, 0 100%);
   padding: 10px 0 120px 0;
}
.wrapper-right{
    background-color: #01081B;
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 80%);
    padding: 120px 0;
    margin: -80px 0 80px;
}
.wrapper-left-2{
   background-color: #01081B;
   clip-path: polygon(0 0, 100% 20%, 100% 80%, 0 100%);
    padding: 120px 0;
    margin: -160px 0px -80px 0;
}
.wrapper-right-2{
    background-color: #01081B;
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 80%);
    padding: 120px 0;
    margin: -80px 0 80px;
}
.wrapper-item{
    display: flex;
    padding: 50px;
}
.wrapper-item .img{
    width: 50%;
    overflow: hidden;
}
.wrapper-item .img img{
    width: 100%;
    object-fit: cover;
    padding: 20px 30px;
    transition: transform 0.3s ease; /* 0.3秒かけて滑らかに変化 */
  cursor: pointer;
}
.wrapper-item .img:hover img{
  transform: scale(1.1);
}
.wrapper-item .text{
   width: 50%;
   padding: 20px 30px;
   margin-bottom: 20px;
}
/* 斜め背景　横並びここまで */
.footer{
  background-image: url(/img/liquor/kirinfuji/fuji_imgback01.jpg);
background-color:rgba(255,255,255,0.8);
background-blend-mode:lighten;
 background-size: cover; /* 全画面表示（縦横比維持） */
  background-repeat: no-repeat; /* 画像の繰り返しを禁止 */
  background-position: center; /* 画像の中心を基準に表示 */
  background-attachment: fixed; /* スクロールしても画像が動かない */
  min-height: 100vh; 
  background-size: cover;
  text-align: center;
}
.fuji_btn{
  width: 200px;
  margin: auto;
}
.footer-text{
  padding-top: 300px;
  margin-top: -300px;
  margin-bottom: 20px;
  color: #003C71;
  font-size: 18px;
  font-weight: 600;
}
.main .content .lead{
  max-width: 1000px;
  margin: auto;
  padding-bottom: 50px;
}
.sp-br {
   display: none;  /* PCは改行しない */
}
/* トップ富士山イメージ画像sp表示しない */
.img-pc{
  display: block;
}
.img-sp {
    display: none;
}
/* ----------------------------------
スマートフォンここから
---------------------------------- */
@media screen and (max-width: 768px){
/* トップ富士山イメージ画像pc表示しない */
.img-pc {
    display: none;
}
.img-sp {
    display: block;
}  
.info .top p.typing,
.info .top p.typing span {
  font-size: 25px; /* ★スマホで見やすいサイズ（適宜調整） */
}
.info .rogo{
  width: 150px;
  margin: auto;
  padding-bottom: 50px;
}
/* 富士がくれた恵みテキスト2段組み ここから*/
/* 1. 横並び(flex)を解除して縦に並べる */
  .info .fuji .container {
    display: block; /* もしくは flex-direction: column; */
    padding-bottom: 30px;
  }
  /* 2. 画像のサイズ調整（中央寄せなど） */
  .info .fuji .container img {
    max-width: 100%; /* スマホ幅に合わせて調整 */
    width: 150px;    /* 任意のサイズ */
    margin: 0 auto 50px; /* 下に余白を作りつつ中央寄せ */
    display: block;
  }
  /* 3. タイトル画像の設定変更 */
  .fuji .title-1 {
    width: 80%;      /* スマホで見やすいサイズに */
    margin: 0 auto 20px; /* 右寄せを解除して中央に */
    display: block;
  }
  /* 4. テキストを2段組みにする */
  .fuji .text {
    writing-mode: vertical-rl; /* 縦書きを維持 */
    height: 700px;             /* ★重要：高さを指定すると2段になります */
    column-count: 2;           /* ★重要：2段組みにする */
    column-gap: 10px;          /* 段の間の余白 */
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
/* 富士がくれた恵みテキスト2段組み ここまで*/
.info .beauty-img {
  max-width: 100%;    /* 最大幅の制限を解除 */
  width: 100%;        /* 画面幅いっぱいにする */
  margin: 0; /* PC用のマージン（特にマイナス値）をリセット */
}
.info .beauty-img img {
  width: 100%;        /* 中の画像も親要素に合わせて広げる */
  height: auto;       /* 比率を維持 */
  display: block;
}
.beauty .title-2{
width: 300px;
margin: auto;
}
.beauty .text{
  writing-mode: vertical-rl;/*縦組み*/
  text-align: start;/*頭ゾロエ*/
  padding: 10px;
  margin: auto;
  position: relative;
  z-index: 9;
}
/* 完璧を追求する　重なり・順番をを修正 */
.perfect {
  display: flex;
  flex-direction: column;
  position: static; /* 重なりを解除 */
}
/* 2. メイン写真を一番上に配置 */
.perfect > img {
  width: 100%;
  height: auto;
  margin-bottom: 15px; /* タイトルとの間の余白 */
  order: 1; /* ★1番目 */
}
/* 3. タイトル画像を二番目に配置 */
.perfect .title-3 {
  position: static;    /* absolute解除（重ねない） */
  width: 300px;          /* スマホでの適切なサイズ */
  margin: 0 auto 20px; /* 中央寄せにして、テキストとの間に余白 */
  order: 2; /* ★2番目 */
}
/* 4. テキストを三番目に配置 */
.perfect .text {
  position: static;    /* absolute解除 */
  writing-mode: vertical-rl; /* 縦書きを維持 */
  height: 350px;       /* 縦書きの折り返し地点を指定 */
  padding: 0 5px;
  margin: 0 auto;
  order: 3; /* ★3番目 */
}
/* 完璧を追求する　重なり・順番をを修正　ここまで */
/* spのみ改行する */
.sp-br {
    display: inline; /* スマホのみ改行する */
}
/* 本文のフォントサイズ小さく調整 */
/* 1. 富士がくれた恵みセクション */
  .fuji .text h5,
  .fuji .text .text-content {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
/* 2. 味わいまで美しいセクション */
  .beauty .text h5,
  .beauty .text .lead {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
  /* 3. 完璧を追求するセクション */
  .perfect .text {
    font-size: 14px !important;
    line-height: 1.7 !important;
    height: auto !important; /* 一旦高さをautoにして溢れを確認 */
    min-height: 400px;
  }
  /* 完璧を追求するセクション内のオレンジの大きな文字も小さくする */
  .perfect .text span {
    font-size: 18px !important; /* 28pxだとスマホの縦書きでは大きすぎてはみ出します */
  }
/* タイトルのフォントサイズ */
h1{
  font-size: 28px;
}
h5, .heading{
  font-size: 19px;
}
h4{
  font-size: 17px;
}
.area .description{
  font-size: 16px;
}
p.lead{
  font-size: 16px;
}
.flex{
  flex-direction: column;
}
.flex .image{
  padding: 10px 40px;
}
.flex .text{
  padding: 0px 40px;
}
/* 商品紹介の背景をグラデーション　上の方を短く濃くする */
.area .main{
  background: linear-gradient(#01081B 5%, #003C71 25%, #003C71 100%);
}
/* 商品紹介を縦並びにする */
.container{
  flex-direction: column;
}
.container {
  flex-wrap: nowrap; /* wrapは不要ですが、指定しなくてもOK */
  flex-direction: column; /* 縦並びにする */
  max-width: 450px; /* コンテナを画面幅いっぱいに */
  padding: 0 30px; /* 必要なら左右に余白 */
}
.container li {
  width: 100%; /* 横幅いっぱいに */
  padding: 5px 0; /* 上下に余白を入れる */
  box-sizing: border-box;
}
.container li img {
  width: 100%; /* 画像も横幅い    height: auto; /* 縦横比維持 */
}
.area .wrapper-top{
background-color: #01081B;
padding-top: 30px;
padding-bottom: 100px;
margin-bottom: -100px;
}
/* 富士ができるまでクリップパス　縦並び */
/*-------------------------------------------
wrapper-left
-------------------------------------------*/
.wrapper-left {
  clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
  padding: 80px 0;
}
.wrapper-left .wrapper-item {
  flex-direction: column;
}
  /*-------------------------------------------
wrapper-left-2
-------------------------------------------*/
.wrapper-left-2 {
  clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
  padding: 80px 0;
  margin: -50px 0px -80px 0;
}
.wrapper-left-2 .wrapper-item {
  flex-direction: column;
}
  /*-------------------------------------------
wrapper-right
-------------------------------------------*/
.wrapper-right {
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 90%);
  padding: 80px 0;
  margin: -20px 0 40px;
}
.wrapper-right .wrapper-item {
  flex-direction: column-reverse;
}
  /*-------------------------------------------
wrapper-right-2
-------------------------------------------*/
.wrapper-right-2 {
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 90%);
  padding: 80px 0;
  margin: 50px 0 40px;
}
.wrapper-right-2 .wrapper-item {
  flex-direction: column-reverse;
}
  /*-------------------------------------------
wrapper-left wrapper-right 共通
-------------------------------------------*/
.wrapper-item .img {
  width: 100%;
}
.wrapper-itemm .img img {
  object-fit: contain;
}
.wrapper-item .text {
  width: 100%;
}
.wrapper-item{
  padding: 30px;
}
.footer{
  background-image: url(/img/liquor/kirinfuji/fuji_imgback01_sp.jpg);
background-color:rgba(255,255,255,0.8);
background-blend-mode:lighten;
  background-size: 100% auto;
  text-align: center;
}
.beauty .title-2,
  .perfect .title-3 {
    max-width: 90%; /* 300px固定ではなく、画面幅に合わせる */
    height: auto;
  }
  .wrapper-right, .wrapper-left-2, .wrapper-right-2 {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.info .rogo, 
  .fuji .title-1, 
  .info .beauty-img, 
  .beauty .title-2,
  .beauty .text {
    margin-left: auto !important;
    margin-right: auto !important;
    left: auto !important;
    right: auto !important;
  }
}
/* スマートフォンここまで */
