* {
  padding: var(--size-fluid-0);
  margin: var(--size-fluid-0);
  box-sizing: border-box;
  font-family: var(--font-sans);
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:root { --vh: 1vh; }                   /* フォールバック */
@supports (height: 100svh) { :root { --vh: 1svh; } }
@supports (height: 100dvh) { :root { --vh: min(1svh, 1dvh); } }

h2, h3, p,dl{color:#030507;}

.spacer94 {
  height: 94px;
  width: 100%;
}
.cardo-regular {
  font-family: "Cardo", serif;
  font-weight: 400;
  font-style: normal;
}

.cardo-bold {
  font-family: "Cardo", serif;
  font-weight: 700;
  font-style: normal;
}

.cardo-regular-italic {
  font-family: "Cardo", serif;
  font-weight: 400;
  font-style: italic;
}

.cardo-bold-italic {
  font-family: "Cardo", serif;
  font-weight: 700;
  font-style: italic;
}
.noto-serif-jp-normal {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.noto-serif-jp-black {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

.zen-kaku-gothic-antique-regular {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.zen-kaku-gothic-antique-black {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 900;
  font-style: normal;
}

p,button{
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 400;
  font-style: normal;
}

header {
  text-align: center;
  padding: var(--size-fluid-0);
  z-index: 999;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
}
.index .header__logo{
  width: 50%;
  padding: 15px 31px;
}
.index .header__logo img{width: 90%; max-width: 344px;}
header .content {
  padding: 15px 40px;
  background: rgba(255, 255, 255, 1); 
  width: 50%;
  display: flex;
  justify-content: flex-end;
}
.nav-bar {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  z-index: 100;
}
.nav-bar ul{
  display: flex;
  white-space: nowrap;
}
.nav-bar ul li {
  display: flex;
  gap: 24px;
  list-style: none;
  margin-left: var(--size-5);
  padding: 0;
}
.nav-bar ul li a {
  color:#030507;
  font-size: 0.8em;
  text-decoration: none;
  transition: color var(--transition-1);
}
.nav-bar ul li a:hover {
  color:#495057;
}

/* ハンバーガー（デフォは非表示：PC用） */
.nav-bar .hamburger{
  display: none;
  width: 24px;
  height: 21px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.nav-bar .hamburger span{
  display: block;
  height: 3px;
  background: #111;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}

  /* 追加：iPad等の“タブレット縦”もハンバーガーにする */
@media (orientation: portrait) and (max-width: 1024px) {
  /* ハンバーガー表示 */
  .nav-bar .hamburger{ display: flex; }

  /* メニューはデフォルト非表示（スライド展開用にmax-height制御） */
  .nav-bar ul{
    position: absolute;
    left:106%;
    top: 100%;
    background: rgba(255, 255, 255, 1);
    border-bottom: 1px solid #eee;
    display: none;            /* 縦並びにするためblockに */
    padding: 8px 16px;
    max-height: 0;             /* 閉じている状態 */
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-bar ul li{
    border-top: 1px solid #f2f2f2;
  }
  .nav-bar ul li:first-child{
    border-top: none;
  }
  .nav-bar ul a{
    display: block;
    padding: 14px 4px;
    color:#030507;
    font-size: 0.8em;
    text-decoration: none;
    transition: color var(--transition-1);
    width: 100%;
    text-align: left;

  }
  .nav-bar ul li a {
    color:#495057;
  }


  /* 開いている状態（.is-open付与） */
  .nav-bar.is-open ul{
    max-height: 70svh;
    max-height: 70svh;
    right: -4px;
    left: unset;
    width: 63vw;
    display: block;          /* 内容に応じて展開（必要なら数値調整） */
  }

  /* ハンバーガー → × 変形 */
  .nav-bar.is-open .hamburger span:nth-child(1){
    transform: translateY(8.5px) rotate(45deg);
  }
  .nav-bar.is-open .hamburger span:nth-child(2){
    opacity: 0;
  }
  .nav-bar.is-open .hamburger span:nth-child(3){
    transform: translateY(-9.5px) rotate(-45deg);
  }

}
@media (orientation: landscape) and (max-width: 1400px){
  .nav-bar ul li a {
    color:#030507;
  }
}

main{
  position: relative;
  background: #fff;
}
.fv{
  height: calc(var(--vh) * 100); 
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  top: 0px;
  left: 0;
  background-image: url(../../assets/images/fv/fv-bg.webp);
  background-size: cover;
  background-position: right center; /* 中央寄せにしておくと無難 */
  background-repeat: no-repeat;
  overflow: clip;
}


.fv__title{
  width: 50%;
  background:rgba(33, 47, 68, 1);
}
.fv__recruit{
  position: absolute;
  bottom: 0rem;
  right: 10%;
  z-index: 1000;
}

.fv__recruit img {
  display: inline-block; /* 画像が block なら inline-block に */
  animation: swing 6s ease-in-out infinite;
    border-radius: 50%; /* 丸くする */
    box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.05),
    0 8px 16px rgba(0, 0, 0, 0.1);
}

.fv__recruit img:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}


@keyframes swing {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(5deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}


/* section */
section.sec{
  padding: var(--size-0);
  width: 100%;
    position: relative;
  z-index: 0;
}
.section-title {
  height: 425px;
  width: 100%;
  background-image: url(../../assets/images/h2__aboutus.webp);
  background-size: cover;
  background-position: left bottom;
  position: relative;
}
.section-title__h2{
  position: absolute;
  top:60%;
  left:8vw;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.2em;
}

.sec1__img-txt{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--size-5);
}
.sec1__img-txt__imgArea {
  width: 50%;
}
.sec1__img-txt__imgArea img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sec1__img-txt__textArea {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--size-3);
}
.sec1__img-txt__txtArea{
  width: 50%;
  font-size: var(--font-size-2);
  line-height: var(--font-lineheight-3);
  color:#030507;
  padding: var(--size-3) var(--size-9);
}
.sec1__img-txt__txtArea p {
  margin: 0;
  padding: 0;
  font-optical-sizing: auto;
  letter-spacing: 0.1em;
  line-height: 2;
  width: 90%;
  margin: 0 auto;
  max-inline-size: 600px;
  position: relative;
  z-index: 99;
}
.bt{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 94px 0;;
}
button{
    width: 60%;
  max-width: 288px;
  height: 60px;
  margin: 0 auto;
  padding: var(--size-2) var(--size-4);
  border: none;
  font-size: var(--font-size-2);
  cursor: pointer;
  transition: background-color var(--transition-1);
  position: relative;
  letter-spacing: 0.05em;
}
.blog-card__btn{
      bottom: 15%;
    left: 36%;
  background-color: unset;
}
.sec1__img-txt__txtArea button {
  background-color: #212F44;
  color: #fff;
  border: none;
}
.sec1__img-txt__txtArea button::before {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  left: 10%;
  width: 11px;
  height: 1px;
  border-radius: 9999px;
  background-color: #ffffff;
  transform-origin: calc(100% - 1px) 50%;
    transform: rotate(45deg);
}
.sec1__img-txt__txtArea button::after {
    content: "";
  position: absolute;
  top: calc(50% - 1px);
  left: 10%;
  width: 11px;
  height: 1px;
  border-radius: 9999px;
  background-color: #ffffff;
  transform-origin: calc(100% - 1px) 50%;
  transform: rotate(-45deg);
}

.sec1__img-txt__txtArea a{
  color: #fff;
}
.sec1__img-txt__txtArea button:hover,
.sec1__img-txt__txtArea button a:hover {
  background-color: var(--primary-hover);
  color: #212F44;
  border: 1px solid #212F44;
}
.sec1__img-txt__txtArea button:hover::after,
.sec1__img-txt__txtArea button:hover::before {
  background-color: #212F44;
  border: 1px solid #212F44;
}

.sec1__img{
  width: 100%;
  padding: 0 10%;
  background-image: url(../../assets/images/sec1_bg.webp);
  background-size: 100% 100%;
}
.sec1__img__box{
  width: 100%;
  max-width: 1080px;
  margin: 90px auto;
  position: relative;
  display: flex;
  flex-wrap: wrap;
}

.sec1__img-left{
  width: 50%;
      padding-top: 200px;
  position: relative;
}
.sec1__img-right{
    width: 50%;
    text-align: right;
  position: relative;
}
.sec1__img-right img{margin: 0 0 0 auto;}

.sec1__img-left img,
.sec1__img-right img {
  width: 80%;
  height: auto;
  max-width: 409px;
  max-height: 313px;
    object-fit: cover;
}
.sec1__cat{
  position: absolute;
  bottom: -8rem;
  left: 53%;
  transform: translateX(-50%);
  width: 25vw;
  max-width: 323px;
  height: auto;
  z-index: 5;
}

@media screen and (max-width:830px) {
  .sec1__cat{left: unset; right:0;}
}

.sec1__img04{margin-top:160px; width: 100%;height: auto; max-height: 400px; object-fit: cover;}

.sec2{
  width: 100%;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #E6E6E6 calc(100% - 1px)),
                    linear-gradient(90deg, transparent calc(100% - 1px), #E6E6E6 calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sec2 > .section-title {
  height: 425px;
  width: 100%;
  background-image: url(../../assets/images/h2__service.webp);
  background-size: 40% auto;
  background-position: 6vw 70%;
  position: relative;
}

.sec2__works{
  width: 100%;
  max-width: 1080px;
  margin: 160px auto 222px;
  position: relative;;
}
.sec2__works img{
  width: 100%;
  max-width: 1080px;
}
.sec2__cat{
  width: 100%;
  max-width: 1080px;
  position: absolute;
  left:10px;
  bottom:-220px;
  width: 150px;
  height: auto;
}
.sec2__recruit{
  width: 100%;
  height: 400px;
  position: relative;
}
.recruit__bk{
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.recruit__bktitle{
  width: 100%;
  max-width: 889px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -6px);
}
.recruit__title{
  position: absolute;
  color: #fff;
  top: 163px;
  left: 50%;
  transform: translate(-50%, 0px);
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem;
}
.sec2__recruit > .bt{
  position: absolute;
  bottom: 0;
}
.sec2__recruit > .bt > button{
    color: #fff;
    border: 1px solid #fff;
    background-color: unset;
}
.sec2__recruit > .bt > button::before {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    left: 10%;
    width: 11px;
    height: 1px;
    border-radius: 9999px;
    background-color: #ffffff;
    transform-origin: calc(100% - 1px) 50%;
    transform: rotate(45deg);
}
.sec2__recruit > .bt > button::after {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    left: 10%;
    width: 11px;
    height: 1px;
    border-radius: 9999px;
    background-color: #ffffff;
    transform-origin: calc(100% - 1px) 50%;
    transform: rotate(-45deg);
}

footer{
  width: 100%;
  background-color: #212F44;
}

/* 既存：上方向（下→上） */
/* @keyframes imgslideUp{
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
} */

/* 追加：下方向（上→下） */
/* @keyframes imgslideDown{
  from { transform: translateY(0); }
  to   { transform: translateY(50%); } 
} */



.footer__looping{
  width: 100%;
  height: 700px;

}
/* フッターアニメーション */
:root{
  --angle: -15deg; /* 左に15° */
  --v-gap: 4px;
}

.film-section{
  position: relative;
  height: 50svh;
  overflow: hidden;
}

.columns{
  position: absolute;
  inset: -25vmax;           /* 回転の欠け対策 */
  transform: rotate(var(--angle));
  display: flex;
  gap: 1rem;               /* 列間の隙間（お好みで） */
  z-index: 0;
    background-color: #C7D0DB;
}


/* ループ本体：初期は止める */
.col-2img .track{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: flex;                /* ← 追加 */
  flex-direction: column;       /* ← 追加 */
  row-gap: var(--v-gap);        /* ← 追加：画像と画像の間隔 */
  animation-name: marqueeY;
  animation-duration: var(--speed, 40s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-play-state: paused; /* 初期停止（JS連動） */
  will-change: transform;
  transform: translateZ(0);
}

/* 画像の見た目：ぼかしなし、重ねなし */
.col-2img img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  -webkit-mask-image: none;   /* 以前のぼかしを無効化 */
  mask-image: none;
  margin: 0;                  /* 以前の -1.5vmin などをリセット */
}

/* 奇数列＝通常方向（上→下に見せたいならreverse/normalを入れ替え可） */
.columns > .col-2img:nth-child(odd)  .track{ animation-direction: normal; }

/* 偶数列＝逆方向（下→上に見せる） */
.columns > .col-2img:nth-child(even) .track{ animation-direction: reverse; }

/* ★再生条件：フッターが画面内 かつ スクロール中だけ */
.film-section.is-inview.is-active .track{
  animation-play-state: running;
}

@media (prefers-reduced-motion: reduce){
  .col{ animation: none; }
}

.col-2img{
  position: relative;
  flex: 0 0 var(--w,20%);
  height: 200%;
  overflow: hidden;
    background-color: #C7D0DB;
}

.col-2img img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* @keyframes imgslideUp{
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
} */


/* ループは常に「半分(-50%)」移動させるだけ */
@keyframes marqueeY{
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }  /* 2巡分にしたHTML前提 */
}


/* ここまで */

.footer__contact{
  width: 80%;
  max-width: 1080px;
  background: #fff;
  margin: 0 auto;
padding: 36px 16px 16px 16px;
  position: absolute;
  top:48%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--size-3);
  border-radius: 17px;
  justify-content: space-between;
  justify-items: center;
  z-index: 99;
}

@media (min-width: 930px) {
  .footer__contact{
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer__contact h3{
  font-size: 4em;
  color:#030507;
  font-family: "Cardo", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.1em;
  text-align: left;
  margin-bottom: 0;
}

.footer__h3-p{
  font-size: 1.2em;
  color:#030507;
  font-family: "Cardo", serif;
  font-weight: 400;
  font-style: normal;
  margin-bottom: var(--size-8);
}

.footer__contact img{
  padding-top: 20px;
}

.footer__contact .bt{
padding: 47px 0 44px 0;
}
.footer__contact .bt button{
  width: 100%;
  max-width: 368px;
  margin: 0 auto 0 0;
  background-color: #212F44;
  color: #fff;
  border: none;
  padding-left: 4rem;
}
.footer__contact .bt button::before{
  content: "";
  display: inline-block;
  width: 36px;/*画像の幅*/
  height: 22px;/*画像の高さ*/
  background-image: url(../../assets/images/icon_mail.webp);
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  left: 24%;
  top: 32%;
}
.footer__menu{
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 328px 0 52px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--size-3);
  color: #fff;
}
@media (min-width: 930px) {
  .footer__menu{
    grid-template-columns: repeat(2, 1fr);
  }
  .film-section{
  height: 700px;
}
}

.footer__menu h2{
  margin-bottom: 4rem;
}
.footer__menu .footer__nav-bar{
  display: flex;
  gap: var(--size-3);
  justify-content: flex-end;
  padding-top: 2rem;
}
.footer__menu .footer__nav-bar ul{
  display: flex;
  flex-wrap: wrap;
  gap: var(--size-3);
  list-style: none;
  padding: 0;
  align-items: center;
align-content: center;
}
.footer__menu .footer__nav-bar ul li a{
  color: #fff;
  font-size: 0.9em;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.footer__copy{
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 84px 0 52px 0;
}
.footer__copy > p{
  color: #fff;
  font-size: 0.9em;
  margin: 0;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }
}


/* 1文字ずつ出てくるアニメーション */
/* .text-animate span {
  display: inline-block;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.text-animate span:nth-child(n) {
  animation-delay: calc(0.05s * var(--i));
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(0.5em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */

/* ふわっと */
.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s var(--ease-3), transform 1s var(--ease-3);
}

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

/* ホバーアニメーション */
a, .btn {
  transition: var(--transition-1);
  color: var(--link);
}

a:hover, .btn:hover {
  color: var(--link-hover);
  transform: scale(1.05);
}

/* 横にスライドアニメーション */
.slider {
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: flex;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

.slider-track img {
  width: 500px;
  height: auto;
  margin-right: var(--size-5);
  flex-shrink: 0;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* 縦表示アニメーション */
.english {
    transform: rotate(90deg);
    transform-origin: left bottom;
    font-size: 16svh;
    color: #e0ecf2;
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0rem;
    line-height: 1;
    bottom: 70svh;
}


.english span {
  /* display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInEnglish 0.6s ease-out forwards;
        font-family: "Cardo", serif;
  font-weight: 400;
  font-style: italic; */
  display: inline-block;
  opacity: 1;          /* ← 0 から 1 へ */
  transform: none;     /* ← 初期移動を無効化 */
  animation: none;     /* ← フェードイン無効化 */
  font-family: "Cardo", serif;
  font-weight: 400;
  font-style: italic;
}


/* @keyframes fadeInEnglish {
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */

.jp-group {
    /* 
  animation: fadeInGroup 0.5s ease-out forwards;
  animation-delay: var(--after-english, 4s); */
  display: flex;
    gap: 1.6rem;
    position: absolute;
    right: 58%;
    top: 10rem;
    align-items: flex-start;
      opacity: 0;
    animation: fadeInGroup 0.5s ease-out forwards;
  animation-delay: 0s;   /* ← 4s を 0s に */
}
@keyframes fadeInGroup {
  to {
    opacity: 1;
  }
}

/* 基本形（アニメOFF時でも見た目の初期値は保つ） */
.japanese {
  position: relative;
  overflow: hidden;
  background: transparent;     /* 背景は擬似要素で描画 */
  padding: 0.5em 0;
  opacity: 0;                  /* 初期は非表示 */
  writing-mode: vertical-rl;
  font-size: 4svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
/* @keyframes expandBg {
  to{
    height: auto;
    opacity: 1;
  }
} */

/* 以前の expandBg は使わず、表示タイミングだけ同期 */
@keyframes showContainer {
  to { opacity: 1; }
}

/* 背景の縦ワイプ */
@keyframes wipeDown {
  to { transform: scaleY(1); }
}

/* 白背景の土台（初期は折りたたんでおく） */
.japanese::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: top center;
  transform: scaleY(0);
}

/* 初期はアニメ停止（準備ができるまで）。!important は使わない */
html:not(.anim-ready) .japanese,
html:not(.anim-ready) .japanese::before {
  animation: none;
}

/* 初期は見えない状態も明示しておくと安心 */
html:not(.anim-ready) .japanese {
  opacity: 0;
  visibility: hidden;
}

/* JSが .anim-ready を付けたら有効化＆表示 */
html.anim-ready .japanese {
  visibility: visible;
  animation: showContainer 0.01s linear forwards;
  animation-delay: var(--bg-delay, 0s);
}

html.anim-ready .japanese::before {
  animation: wipeDown 1.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: var(--bg-delay, 0s);
}

/* 擬似要素を“背景”に回す（テキストが隠れないように） */
.japanese { position: relative; z-index: 0; }
.japanese::before { position: absolute; inset: 0; background: #fff;
  transform-origin: top center; transform: scaleY(0); z-index: 0;
}
.japanese > * { position: relative; z-index: 1; }
/* ---- アニメ定義 ---- */
@keyframes showContainer { to { opacity: 1; } }
@keyframes wipeDown { to { transform: scaleY(1); } }

@keyframes gatherIn {
  to { opacity: 1; transform: translate(0,0) rotate(0deg) scale(1); }
}

@keyframes charInY {
  from { opacity: 0; transform: translateY(0.6em); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes charInX {
  from { opacity: 0; transform: translateX(0.6em); }
  to   { opacity: 1; transform: translateX(0); }
}

/* 文字のアニメ定義は従来どおり（delayはJSで付与） */
.japanese span {
  color: #0e2340;
  padding: 0.1em 0.4em 0.1em 0.4em;
  line-height: 1;
  display: inline-block;
  opacity: 0;
  /* transform は初期値を消しておく（keyframes側で与えるため） */
  /* transform: none; ←書かなくてOK（未指定でよい） */
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-name: charInY; /* ← 縦用をデフォルトに */
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-style: normal;
}

/* ===== JS が準備完了してから有効化するゾーン ===== */
.anim-ready .japanese {
  animation: showContainer 0.01s linear forwards;
  animation-delay: var(--bg-delay, 0s);    /* JSが入れる遅延 */
}
.anim-ready .japanese::before {
  animation: wipeDown 1.6s cubic-bezier(0.25,1,0.5,1) forwards;
  animation-delay: var(--bg-delay, 0s);    /* JSが入れる遅延 */
}





/* ブログカード */
.blog-card-Area{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 3rem;
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 600px) {
  .blog-card-Area {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  
  .blog-card-Area {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  margin-block-end: var(--size-5);
  transition: transform var(--animation-speed-1) var(--ease-3);
  max-width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

.blog-card:hover {
  transform: translateY(var(--size-1-negative));
  opacity: 0.8;
}

.blog-card__img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.blog-card__title {
  font-size: var(--font-size-4);
  width: 100%;
  text-align: center;
  color: #fff;
    font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
    position: absolute;
        top: 43%;
    left: 50%;
  transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.blog-card__description {
  font-size: var(--font-size-2);
  color:#495057;
  line-height: var(--font-lineheight-3);
}

.blog-card > button > svg {
  width: 56px;
  margin-left: 10px;
  transition: transform .3s ease-in-out;
    position: absolute;
    bottom: 23%;
    right: 5%;
}

.blog-card:hover > button svg {
  transform: translateX(8px);
}

.blog-card:active > button {
  transform: scale(0.8);
}



footer .footer__address p{
  color: #fff;
}

@media screen and (max-width: 1024px) {
.index .header__logo {
    width: 100%;
    padding: 6px 7px;
}
header h1 img{width: 90%;}
header .content {
    padding: 8px 4px;
    width: 66px;
}
.nav-bar{padding: 4px 12px;}
header ul{display: none;}
.fv { background-position: 98% 100%; background-size: 133%;}
.fv__title { 
  width: 100%;
  height: 60%;
}
.english {
    font-size: 10svh;
    bottom: 46%;
    top:unset;
    left: 4rem;
    transform: rotate(0deg);
    line-height: 1.2;
}
.jp-group {
    gap: 2rem;
    right: unset;
    left: 4rem;
    top: 7rem;
    flex-direction: column-reverse;
    padding: 0.1em;
}
.japanese {
    font-size: 3svh;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    padding: 0.1em;
  }
  .japanese span {
    animation-name: charInX; /* ← 横用へ切替 */
            padding: 0.1em;
  }
.fv__recruit {
    width: 24%;
}
.sec1__img-txt{flex-wrap: wrap;}

.sec1__img-txt__imgArea {width: 100%;}
.sec1__img-txt__txtArea {width: 100%;}
.sec1__img__box{ margin: -10px auto;}
.sec1__cat {width: 50vw;}
.footer__contact{top:32%;}

.sec2 > .section-title {
  background-size: 80% auto;
  background-position: 6vw 58%;
}

}



/* ページトップボタン */

/* デフォルト時（白背景想定） */
#page-top {
  background: rgba(33, 47, 68, 0.7);
  color: #212f44; /* 矢印色が#212f44になる */
}

/* 背景が#212f44の時 */
#page-top.dark {
  background: unset;
  color: #fff; /* 矢印色が白になる */
}
#page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 80px;
  height: 50px;
  padding: 10px;
  cursor: pointer;
  display: none;
  z-index: 1000;
}

@supports (height: 100svh) {
  /* .english { font-size: clamp(40px, 10svh, 220px); letter-spacing: 0.05em; line-height: 1.2;} */
  .japanese span {padding: 0.1em 0.2em 0.1em 0.4em;}
}


/* 画面が 3:4 より“背が高い”とき（iPad縦など）は高さにフィットさせる */
@media (max-aspect-ratio: 3/4) {
  .fv{
    /* background-size: cover; */
    /* background-position: center center; */
    /* background-size: contain; */
    background-position: 96% 103%;
  } 
      .english { font-size: clamp(40px, 10svh, 220px); }
  /* .jp-group {
    right: 66%;
    top: 10rem;
  } */
  .japanese {font-size: 3svh; text-align: center;}
  .japanese span {padding: 0.1em 0.2em 0.1em 0.4em;}
  .fv__recruit {bottom:0;}
}



/* それ以外（横長 or 一般PC/スマホ）は cover のまま */
@media (min-aspect-ratio: 4/3) {
  .fv{
    background-size: cover;
    /* background-position: right center; */
  }
      .japanese span {padding: 0.1em 0.2em}

}
@media screen and (max-width:700px) {
  .jp-group {
    left: 1rem;
    gap: 1rem;
  }
  .japanese {
    font-size: 3svh;
    padding: 0.1em;
  }
  .japanese span {
      padding: 0.1em;
  }
}

@media screen and (max-width:600px) {
  .fv{
    background-size: 155%;
    background-position: 98% 102%;
  }

  .english {
    font-size: clamp(40px, 9svh, 400px);
    letter-spacing: 0.05em;
    line-height: 1.2;
    top: unset;
    left: 1rem;
  }
  .sec1__img-txt__txtArea p,
  .sec1__img-txt__txtArea button{
    width: 100%;
  }
  .section-title__h2 {
    font-size: 2rem;
  }
  .section-title{
    background-image: url(../../assets/images/h2__aboutus_sp.webp);
  }

  
  .footer__contact .bt button::before{
    left:12%;
  }
  .footer__menu{
    padding: 380px 0 52px 0
  }

}