@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@300;400;500;700&display=swap');

html, body, div, span, applet, object, iframe, figure,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, legend, caption,
tbody, tfoot, thead, table, label, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  outline: 0;
  vertical-align: baseline;
  list-style: none;
  font-family: 'M PLUS 1p', "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif; }

* {
  box-sizing: border-box; }

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none; }

html {
  margin-top: 0 !important;
  font-size: 62.5%; }

body {
  background-color: #fff;
  color: #75808b;
  font-size: 1.4rem;
  line-height: 1.8;
  overflow-x: hidden; }
  body:not(.home) {
    padding-top: 80px; }

a {
  color: inherit;
  text-decoration: none; }
  a:hover {
    text-decoration: none; }

p:empty {display: none;}

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

input {
  border: none;
  /* Google Chrome, Safari, Opera 15+, Android, iOS */
  /* Firefox 18- */
  /* Firefox 19+ */
  /* IE 10+ */ }
  input:placeholder-shown {
    color: #a8a8a8; }
  input::-webkit-input-placeholder {
    color: #a8a8a8; }
  input:-moz-placeholder {
    color: #a8a8a8;
    opacity: 1; }
  input::-moz-placeholder {
    color: #a8a8a8;
    opacity: 1; }
  input:-ms-input-placeholder {
    color: #a8a8a8; }

  /* iOSでのデフォルトスタイルをリセット */
  input[type="submit"],
  input[type="button"] {
    border-radius: 0;
    -webkit-box-sizing: content-box;
    -webkit-appearance: button;
    appearance: button;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
  }
  input[type="submit"]::-webkit-search-decoration,
  input[type="button"]::-webkit-search-decoration {
    display: none;
  }
  input[type="submit"]::focus,
  input[type="button"]::focus {
    outline-offset: -2px;
  }

textarea {
  /* Google Chrome, Safari, Opera 15+, Android, iOS */
  /* Firefox 18- */
  /* Firefox 19+ */
  /* IE 10+ */ }
  textarea:placeholder-shown {
    color: #a8a8a8; }
  textarea::-webkit-input-placeholder {
    color: #a8a8a8; }
  textarea:-moz-placeholder {
    color: #a8a8a8;
    opacity: 1; }
  textarea::-moz-placeholder {
    color: #a8a8a8;
    opacity: 1; }
  textarea:-ms-input-placeholder {
    color: #a8a8a8; }

.mt10 {margin-top: 1rem;}
.mt20 {margin-top: 2rem;}
.mt30 {margin-top: 3rem;}
.mt40 {margin-top: 4rem;}
.mt50 {margin-top: 5rem;}
.mt60 {margin-top: 6rem;}
.mt70 {margin-top: 7rem;}
.mt80 {margin-top: 8rem;}

#wpadminbar {
  display: none !important; }

#copyright {
  height: 40px;
  padding: 0 4rem;
  background-color: #f1f1f9;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  text-align: center; }

#orb-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important; /* 親ではなく、ブラウザの表示幅を基準にする */
    height: 100vh !important;
    z-index: -1;
    background-color: #ffffff;
    pointer-events: none;
    
    /* 左右に勝手に余白（margin: auto等）がつかないように固定 */
    margin: 0 !important;
    transform: none !important;
}

#orb-container canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    /* 最後の手段：もし数ピクセル隙間があるなら、1.02倍にして端を隠す */
    scale: 1.02; 
}

.area-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  padding: 0 3.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1; }
  /* .area-header__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
  } */
  .area-header__logo {
    width: 160px; }
    .area-header__logo img {
      display: block; }
    .area-header__logo a {
      transition: opacity .7s; }
      .area-header__logo a:hover {
        opacity: .7;
      }

.prt-headerlogo {
  line-height: 1; }
  .prt-headerlogo a {
    display: flex;
    align-items: flex-end;
    transition: opacity .3s; }
    .prt-headerlogo a:hover {opacity: .6;}
    .prt-headerlogo a > span {
      margin-left: .8rem;
      font-size: 1.8rem; }

/* --- ハンバーガーボタン本体 --- */
.prt-hamburger {
  display: block;
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 100;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}

.prt-hamburger__line {
  display: block;
  position: absolute;
  left: 7px;
  width: 30px;
  height: 2px;
  background-color: #414e5d;
  transition: all 0.4s;
}

.prt-hamburger__line:nth-child(1) { top: 13px; }
.prt-hamburger__line:nth-child(2) { top: 21px; }
.prt-hamburger__line:nth-child(3) { top: 29px; }

/* ×ボタンへの変形 */
.is-active .prt-hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.is-active .prt-hamburger__line:nth-child(2) {
  opacity: 0; /* 真ん中の線を消す */
}
.is-active .prt-hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- メニューパネルの開閉制御 --- */
.prt-headermenupanel {
  position: fixed;
  top: 0;
  right: -100%; /* 初期状態は画面外 */
  width: 300px;
  height: 100vh;
  padding: 8rem 4rem;
  background-color: rgba(255,255,255,.95);
  opacity: 0;
  transition: right 0.5s ease, opacity 0.5s ease;
  z-index: 90;
}

/* トップページ用の初期スタイル（トップはスライドさせない場合） */
.prt-headermenupanel--top {
  position: fixed;
  right: 0;
  opacity: 1;
  height: auto;
  padding-top: 4rem;
  background-color: transparent;
}

/* 開いた時の状態 */
.prt-headermenupanel.is-open {
  right: 0;
  opacity: 1;
}

.prt-headermenu {
  color: #75808b;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2rem;
  font-size: 1.6rem;
  letter-spacing: .05em;
  line-height: 1;
  text-align: center; }
  .prt-headermenu li a {
    padding: 1rem 0;
    display: block;
    position: relative;
    transition: opacity .3s; }
    .prt-headermenu li a[href$="/contact/"] {
      padding: 1rem;
      background-color: #414e5d;
      color: #fff;
    }
    .prt-headermenu li a:not([href$="/contact/"])::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 0;
      width: 0;
      height: 1px;
      background-color: #75808b;
      transform: translateY(-50%);
      transition-property: width;
      transition-duration: .4s; }
    .prt-headermenu li a:hover {
      opacity: .6; }
      .prt-headermenu li a:hover::after {
        width: 100%; }
    .prt-headermenu li a > span {
      display: block;
      font-size: 1.4rem; }

.area-mv {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center; }
  .area-mv__catch {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    color: #414e5d;
    font-size: 5rem;
    font-weight: bold;
    font-style: italic;
    line-height: 1.3; }
  .area-mv__scroll {
    position: absolute;
    bottom: 30px; /* 下からの位置 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

.area-mv__scroll {
    position: absolute;
    bottom: 30px; 
    left: 50%;
    transform: translateX(-50%);
    /* flex設定を解除し、線の長さを確保 */
    width: 1px;
    height: 80px;
    z-index: 1;
}

/* SCROLLのテキスト（縦書き・線の右側に配置） */
.area-mv__scroll span {
    position: absolute;
    top: 0;
    left: 8px; /* 線の右側からの距離 */
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    color: #414e5d;
    writing-mode: vertical-rl;
    font-family: sans-serif;
    font-weight: 500;
    white-space: nowrap;
}

/* 縦線の枠 */
.area-mv__scroll::after {
    content: "";
    display: block;
    width: 1px;
    height: 100%; /* 親要素(80px)いっぱいに伸ばす */
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
}

/* 動く線のアニメーション（擬似要素） */
.area-mv__scroll::before {
    content: "";
    position: absolute;
    top: 0; /* bottomからtopに変更してアニメーションと整合性をとる */
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(65, 78, 93, 0) 0%, rgba(65, 78, 93, 1) 50%, rgba(65, 78, 93, 0) 100%);
    z-index: 2;
    animation: scroll-line 2.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

/* アニメーションの内容は変更なし */
@keyframes scroll-line {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
    }
    30% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }
    70% {
        transform: scaleY(1);
        transform-origin: bottom;
        opacity: 1;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
        opacity: 0;
    }
}

.area-section {
    padding: 6rem 2rem; }
    .area-section__h {
        margin-bottom: 4rem;
        text-align: center; }
        .area-section__h__jp {
            margin-bottom: 1.6rem;
            font-size: 2rem;
            font-weight: bold; }

.prt-boxbnr {
    margin-top: 6rem;
    line-height: 1.4;
    text-align: center; }
    .prt-boxbnr a {
        width: 220px;
        padding: 2rem;
        border: 1px solid #898989;
        display: inline-block; }

.area-about {
  /* background: url("/wp-content/themes/blankslate02/assets/bg_about.jpg") no-repeat center/cover; */ }
  .area-about__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 4rem; }
  .area-about__catch {
    margin-bottom: 6rem;
    background: linear-gradient(to right, #598cac 0%, #6fa0c0 50%, #98c8e4 100%);
    /* 背景を文字の形に切り抜く */
    -webkit-background-clip: text;
    background-clip: text;
    /* 文字自体の色を透明にする（背景を透けさせるため） */
    color: transparent;
    display: inline-block;
    font-size: 3.4rem; }

.prt-about2col {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  line-height: 2; }
  .prt-about2col__text {
    color: #75808b;
    font-size: 1.6rem; }
    .prt-about2col__text + .prt-about2col__text {
      margin-top: 2.4rem; }

.prt-bnrunderbar {
  color: #75808b;
  font-size: 1.8rem;
  line-height: 1.4; }
  .prt-bnrunderbar--center {
    display: flex;
    justify-content: center; }
  .prt-bnrunderbar a {
    padding: 0 4rem 1rem 0;
    /* 元の border-bottom を消し、ベースとなる薄い線や透明な線を指定 */
    border-bottom: 1px solid rgba(117, 128, 139, 0.3); 
    font-weight: bold;
    position: relative;
    display: inline-block; /* 幅をテキストに合わせるため */
    transition: color 0.3s; }
    .prt-bnrunderbar a::before {
      content: "→";
      position: absolute;
      top: 50%;
      right: 0;
      transform: translateY(calc(-50% - 4px)); }
    .prt-bnrunderbar a::after {
      content: "";
      position: absolute;
      bottom: -1px; /* 親のborder-bottomと同じ位置に重ねる */
      left: 0;
      width: 100%;
      height: 1px; /* 線の太さ */
      background-color: #75808b; /* アニメーションする線の色 */
      
      /* 初期状態：左側に縮めておく */
      transform: scaleX(0);
      transform-origin: left top; 
      transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }

      /* ホバー時の挙動 */
      .prt-bnrunderbar a:hover {
        color: #476578; /* お好みでテキスト自体の色を変えても綺麗です */
      }

      .prt-bnrunderbar a:hover::after {
        /* ホバー時に右に向かって100%伸びる */
        transform: scaleX(1);
      }

.area-topnews {
  padding: 7rem 4rem; }

.prt-topnewslist {
  max-width: 700px;
  margin: 2rem auto;
  padding: 4rem;
  background: rgba(255,255,255,.3);
}

.prt-topnewslist__item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.prt-topnewslist__date {
    font-size: 1.4rem;
    color: #75808b;
}

/* 共通のカテゴリラベルスタイル */
.prt-topnewslist__cat {
    min-width: 95px;
    padding: 2px 10px;
    font-size: 1.2rem;
    color: #fff;
    border-radius: 3px;
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
}

/* カテゴリスラッグごとの色分け */
/* スラッグが 'event' の場合 */
.prt-topnewslist__cat--event {
    background-color: #ff6b6b; /* 赤系 */
}

/* スラッグが 'update' の場合 */
.prt-topnewslist__cat--update {
    background-color: #4ecdc4; /* 青緑系 */
}

/* スラッグが 'info' の場合 */
.prt-topnewslist__cat--info {
    background-color: #598cac; /* 前のグラデーションに合わせた青系 */
}

.prt-topnewslist__title {
    font-size: 1.6rem;
    color: #75808b;
    text-decoration: none;
    transition: opacity .4s;
}

.prt-topnewslist__title:hover {
  opacity: .7;
}

.area-footer {
  background-color: rgba(255,255,255,.5);
  color: #898989;
}

.area-contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem;
  border-bottom: 1px solid #e1e1e9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.area-contact__col {
  max-width: 600px;
}

.area-contact__h {
  color: #414e5d;
  font-size: 5.6rem;
  font-style: italic;
  font-weight: bold;
  letter-spacing: .1em;
}

.area-contact__bnr a {
  width: 300px;
  margin: 0 auto;
  padding: 1rem;
  background-color: #414e5d;
  color: #fff;
  display: block;
  text-align: center;
  transition: opacity .4s;
}
.area-contact__bnr a:hover {
  opacity: .7;
}

.prt-footermenu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: center;
}
.prt-footermenu li {
  width: calc(calc(100% - 6rem) / 3);
}

.prt-footermenu a {
  transition: opacity .4s;
}
.prt-footermenu a:hover {
  opacity: .7;
}

.area-footer2col {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 4rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.area-footer2col__col {
  width: 50%;
}
.area-footer2col__logo {
  width: 200px;
}

.prt-footersnslist {
  display: flex;
  gap: 3rem;
}
.prt-footersnslist__item {
  width: 32px;
}

.prt-footerbar {
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.4;
}
.prt-footerbar__link {
  font-size: 1.2rem;
  opacity: .7;
  text-decoration: underline;
  transition: opacity .4s;
}
.prt-footerbar__link:hover {
  opacity: .5;
  text-decoration: underline;
}

.area-work {
  padding: 8rem 4rem;
}

.prt-worklist {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
}
.prt-worklist__item {
  padding: 2rem 0;
  background-color: rgba(255,255,255,.3);
  display: flex;
  transition: opacity .4s;
}
.prt-worklist__item + .prt-worklist__item {
  border-top: 1px solid #e1e1e9;
}

.prt-worklist__more {
  margin-top: 3rem;
  display: flex;
  justify-content: flex-end;
  text-align: center;
}
.prt-worklist__more a {
  min-width: 160px;
  padding: .6rem 3rem .6rem 1rem;
  display: block;
  border: 1px solid #75808b;
  position: relative;
}
.prt-worklist__more a::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}
.prt-worklist__more a:hover {
  opacity: .7;
}

.prt-worklist__thumb {
  width: 500px;
  min-width: 500px;
}
.prt-worklist__thumb img {
  display: block;
}
.prt-worklist__content {
  padding: 2rem;
  flex-grow: 1;
}
.prt-worklist__title {
  color: #414e5d;
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.4;
}
.prt-worklist__indextext {
  font-size: 1.6rem;
  color: #414e5d;
}
.prt-worklist__text {
  line-height: 1.8;
}
.area-section__h {
  margin-bottom: 6rem;
  color: #414e5d;
  text-align: center;
}
.area-section__h__jp {
  font-size: 3.2rem;
  font-weight: bold;
  letter-spacing: .1em;
}
.area-section__h__en {
  margin-top: 1.6rem;
  font-size: 1.4rem;
  letter-spacing: .2em;
}

.area-post-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 2rem;
}

.area-post-detail__body p {
  margin-bottom: 2.4rem;
}
.area-post-detail__body > *:last-child {
  margin-bottom: 0;
}

.area-post-detail__body a {
  text-decoration: underline;
  transition: opacity .4s;
}

.area-post-detail__body a:hover {
  opacity: .7;
}

/* --- 投稿詳細（single.php）用スタイル --- */

/* タイトル：サイズ 2.6rem、下余白 1.4rem */
.area-post-detail__title {
    font-size: 2.6rem;
    margin-bottom: 1.4rem;
    font-weight: bold;
    color: #414e5d;
}

/* 日付：下余白 3rem */
.area-post-detail__date {
    display: inline-block; /* 余白を確実に持たせるため */
    margin-bottom: 3rem;
    font-size: 1.4rem;
    color: #75808b;
}

/* 画像：ブロック要素化 ＋ 左右中央配置 */

.area-post-detail__thumb {
  margin-bottom: 3rem;
}

.area-post-detail__thumb img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

.prt-infolist {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.prt-infolist__item {
  width: 100%;
}

.prt-infolist__link {
  padding: 2rem;
  background: rgba(255,255,255,.3);
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  transition: opacity .4s;
}
.prt-infolist__item a:hover {
  opacity: .7;
}

.prt-infosearch {
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 2rem;
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
}

.prt-infosearchlist {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
}

.prt-infosearchlist__item a {
    display: block;
    padding: 0.8rem 2rem;
    background: #fff;
    border: 1px solid #598cac;
    color: #598cac;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.prt-infosearchlist__item a:hover,
.prt-infosearchlist__item.is-active a {
    background: #598cac;
    color: #fff;
}

.prt-infolist__thumb {
  flex: 0 0 300px;
  position: relative;
}

.prt-infolist__thumb img {
  display: block;
}

.prt-infolist__content {
    flex: 1;                 /* 空いているスペースをすべて占有 */
}

.prt-infolist__cat {
  min-width: 95px;
  padding: 2px 10px;
  font-size: 1.2rem;
  color: #fff;
  border-radius: 3px;
  text-align: center;
  font-weight: bold;
  white-space: nowrap;
  position: absolute;
  right: 1rem; bottom: 1rem;
}

.prt-infolist__cat--event {
    background-color: #ff6b6b; /* 赤系 */
}

/* スラッグが 'update' の場合 */
.prt-infolist__cat--update {
    background-color: #4ecdc4; /* 青緑系 */
}

/* スラッグが 'info' の場合 */
.prt-infolist__cat--info {
    background-color: #598cac; /* 前のグラデーションに合わせた青系 */
}

.prt-infolist__date {
  display: block;
  line-height: 1;
}

.prt-infolist__title {
  margin-top: 1rem;
  color: #414e5d;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.4;
}

.area-faq {
  padding: 8rem 4rem;
}

.prt-faqtaxlist {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}
.prt-faqtaxlist__title {
  max-width: 800px;
  margin: 0 auto 4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #75808b;
  color: #414e5d;
  font-size: 2.6rem;
  font-weight: bold;
}

.prt-faqlist {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  font-size: 1.8rem;
}

.prt-faqlist__q {
  color: #414e5d;
  display: flex;
  font-weight: bold;
}

.prt-faqlist__q__icon {
  margin-right: 1.6rem;
  color: #e50000;
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1;
}

.prt-faqlist__a {
  margin-top: 1.6rem;
  display: flex;
}

.prt-faqlist__a__icon {
  margin-right: 1.6rem;
  color: #214a97;
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1;
}

/* ページネーションのリスト（親要素） */
.prt-pagination__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  list-style: none; /* ドットを消す */
  padding: 0;
}

/* aタグ、spanタグ共通の正方形スタイル */
.prt-pagination__list .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4.4rem;  /* 正方形の幅 */
  height: 4.4rem; /* 正方形の高さ */
  border: 1px solid #e0e0e0;
  color: #75808b;
  font-size: 1.4rem;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: #fff;
}

/* ホバー時の挙動（aタグのみに適用） */
a.page-numbers:hover {
  border-color: #598cac;
  color: #598cac;
  background-color: #f9f9f9;
}

/* 現在のページ（span.current）のスタイル */
.prt-pagination__list .page-numbers.current {
  background-color: #598cac;
  border-color: #598cac;
  color: #fff;
  font-weight: bold;
}

/*可視範囲アニメーション*/
.fadein {
  opacity: 0;
  transform: translate(0, 100px);
  transition-property: opacity, transform;
  transition-duration: 1s;
  transition-delay: 0;
  transition-timing-function: ease-out; }
  .fadein.ani2 {
    transition-delay: .2s; }
 
.fadein.active {
  opacity : 1;
  transform : translate(0, 0); }

/* PCでのトップページはハンバーガーボタンを隠す */
@media (min-width: 768px) {
  .home .prt-hamburger {
    display: none;
  }

  .sp {
    display: none !important;
  }
}

/* スマホでは全ページ表示 */
@media (max-width: 767px) {

  .pc {
    display: none !important;
  }

  .prt-hamburger {
    top: 1rem;
    right: 1.4rem;
    display: block;
  }

  /* !important または クラスを重ねることで、
     .prt-headermenupanel--top の設定をスマホ時のみ強制上書きします 
  */
  .prt-headermenupanel,
  .prt-headermenupanel.prt-headermenupanel--top {
    position: fixed;
    top: 0;
    right: -100% !important; /* 強制的に画面外へ */
    width: 100%;
    height: 100vh;
    background-color: rgba(255,255,255,.98);
    opacity: 0 !important;   /* 強制的に透明に */
    padding-top: 10rem;
    transition: right 0.5s ease, opacity 0.5s ease;
    visibility: hidden;      /* 閉じている時はクリック不可にする */
  }

  /* 開いた時の状態を最優先で適用 */
  .prt-headermenupanel.is-open,
  .prt-headermenupanel.prt-headermenupanel--top.is-open {
    right: 0 !important;
    opacity: 1 !important;
    visibility: visible;
  }

  body:not(.home) {
    padding-top: 60px;
  }

  .area-header {
    height: 60px;
    padding: 0 1.6rem;
  }

  .area-header__logo {
    width: 120px;
  }

  .area-mv__catch {
    font-size: 3.2rem;
    text-align: center;
    padding: 0 1.6rem;
  }

  .area-about__inner {
    padding: 4rem 1.6rem;
  }

  .area-about__catch {
    margin-bottom: 2.4rem;
    font-size: 2.2rem;
    line-height: 1.6;
  }

  .prt-about2col {
    flex-direction: column;
    gap: 3rem;
  }
  .prt-about2col__col {
    width: 100%;
  }
  .prt-about2col__text {
    font-size: 1.4rem;
  }

  .prt-bnrunderbar {
    text-align: center;
  }

  .area-topnews {
    padding: 4rem 1.6rem;
  }

  .prt-topnewslist {
    padding: 2.4rem 1.6rem;
  }
  
  .prt-topnewslist__item {
    display: flex;
    flex-wrap: wrap;       /* 折り返しを許可する */
    align-items: center;   /* 垂直方向の中央揃え */
    gap: 1rem;             /* 要素間の余白（任意で調整） */
  }

  /* 前2つの要素（日付とカテゴリ）はそのまま横並び */
  .prt-topnewslist__date,
  .prt-topnewslist__cat {
    flex-shrink: 0;        /* 勝手に縮まないように固定 */
  }

  /* 最後の要素（タイトル）を幅いっぱいに強制する */
  .prt-topnewslist__title {
    flex-basis: 100%;      /* 幅を100%にする */
    width: 100%;           /* 念のため追加 */
    display: block;        /* aタグをブロック要素に */
  }

  .area-work {
    padding: 4rem 1.6rem;
  }
  .prt-worklist,
  .prt-infolist {
    flex-direction: column;
  }
  .prt-infolist__item {
    width: 100%;
  }
  .prt-worklist__item {
    width: 100%;
    padding: 2.4rem 1.6rem;
    flex-direction: column;
    gap: 1.5rem;
  }
  .prt-worklist__thumb {
    width: 100%;
    min-width: unset;
  }
  .prt-worklist__title {
    font-size: 2rem;
  }
  .prt-worklist__content {
    padding: 0;
  }
  .prt-worklist__more {
    margin-top: 2rem;
    justify-content: center;
  }

  .area-section__h {
    margin-bottom: 2.4rem;
  }
  .area-section__h__jp {
    font-size: 2.4rem;
    line-height: 1.6;
  }

  .prt-footermenu {
    padding: 2.4rem 0 0;
    flex-wrap: wrap;
    column-gap: 0;
    row-gap: 2.4rem;
    text-align: center;
  }
  .prt-footermenu > li {
    width: 50%;
  }

  .area-faq {
    padding: 4rem 1.6rem;
  }

  .prt-faqtaxlist {
    gap: 4rem;
  }
  .prt-faqtaxlist__title {
    margin-bottom: 2rem;
    font-size: 2rem;
    line-height: 1.4;
  }

  .prt-faqlist {
    padding: 0;
    font-size: 1.6rem;
    gap: 2.4rem;
  }

  .prt-infolist__link {
      flex-direction: column; /* スマホでは縦並びに切り替え */
      gap: 1.5rem;
      padding: 1.6rem;
  }

  .prt-infolist__thumb {
      flex: 0 0 auto;
      width: 100%;          /* スマホでは幅いっぱい */
  }

  .prt-infosearch {
    flex-direction: column;
    gap: 1rem;
  }
  .prt-infosearchlist {
    justify-content: center;
  }

  .area-contact {
    padding: 4rem 1.6rem;
    flex-direction: column;
    gap: 2rem;
  }

  .area-footer2col {
    padding: 4rem 1.6rem 2rem;
    flex-direction: column;
    align-items: center;
  }
  .area-footer2col__col {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .prt-infosearch {
    padding-left: 0;
    padding-right: 0;
  }
}