#container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#content-area {
  flex: 1;
}

/* ----------------------------------
* Header
---------------------------------- */
.header-logo a {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 0 auto;
}

#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gnav_lv1 {
  letter-spacing: .04em;
}

.gnav_lv2 li a {
  position: relative;
}

.gnav_lv2 li a::before {
  background-image: url("../img/icon/arrow_forward.png");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  content: "";
  height: 16px;
  width: 16px;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.gnav_lv1>li>a span,
.gnav_lv1>li>span span {
  display: inline-block;
}

#gnav .lang a {
  display: block;
  text-decoration: none;
  padding: 1px 8px 0 0;
}

#gnav .lang a ul {
  border-radius: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--en);
  position: relative;
}

#gnav .lang li:not(.current) {
  color: #B2B2B2;
  transition: .4s;
}

#gnav .lang a:hover li:not(.current) {
  color: var(--main);
}

#drawer {
  background-color: #FFF;
  box-shadow: 0 0 20px rgba(0, 0, 0, .2);
  width: 100%;
  position: fixed;
  top: -100%;
  left: 0;
  transition: .5s;
  z-index: 10;
}

#drawer.show {
  top: 0;
  background-color: rgba(255, 255, 255, 0.8);
}

#header.drawer {
  height: 64px;
}

#header.drawer .header-logo a {
  width: 230px;
}

@media print,
screen and (min-width: 768px) {
  #header-area {
    width: 100%;
    position: fixed;
    z-index: 10;
  }

  .brand-logo a {
    height: 45px;
    width: 187px;
  }

  #header {
    gap: 30px;
    font-size: clamp(1.4rem, 1.33vw, 1.6rem);
    height: 80px;
    background-color: rgba(255, 255, 255, 0.8);
  }

  html[lang="en"] #header {
    font-size: clamp(1.4rem, 1.33vw, 1.8rem);
  }

  .header-logo {
    padding-left: 20px;
  }

  .header-logo a {
    display: block;
    width: clamp(148px, 17.13vw, 218px);
  }

  #header .trigger {
    display: none;
  }

  #header .gnav-area {
    height: 100%;
  }

  #gnav {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: clamp(25px, 3.47vw, 50px);
    height: 100%;
    padding-right: 20px;
    position: relative;
  }

  .gnav_lv1 {
    display: flex;
    gap: clamp(25px, 3.47vw, 50px);
    margin-top: 23px;
  }

  .gnav_lv1>li {
    cursor: pointer;
    padding-bottom: 9px;
    position: relative;
    min-width: 5.5em;
  }

  .gnav_lv1>li>a,
  .gnav_lv1>li>span {
    display: inline-block;
    line-height: 1.3;
    font-weight: 500;
    height: 42px;
    position: relative;
  }

  .gnav_lv1>li>a::after,
  .gnav_lv1>li>span::after {
    background-color: var(--main);
    content: "";
    height: 3px;
    width: 100%;
    position: absolute;
    bottom: 1px;
    left: 0;
    transform: translateY(10px);
    opacity: 0;
    transition: .4s;
  }

  .gnav_lv1>li:hover>a::after,
  .gnav_lv1 li:hover>span::after {
    transform: translateY(0);
    opacity: 1;
  }

  .gnav_lv1>li>span span {
    display: inline-block;
  }

  .gnav_lv2 {
    background-color: var(--gray1);
    padding: 8px 0;
    width: 214px;
    position: absolute;
    top: 100%;
    left: 0;
    visibility: hidden;
    opacity: 0;
    transition: .5s;
  }

  .gnav_lv1>li:hover .gnav_lv2 {
    visibility: visible;
    opacity: 1;
  }

  .gnav_lv2 li+li {
    border-color: var(--gray2);
    border-style: solid;
    border-width: 1px 0 0;
  }

  .gnav_lv2 li a {
    display: block;
    font-size: clamp(1.3rem, 1.04vw, 1.5rem);
    line-height: 1.5;
    padding: 8px 20px 8px 40px;
    text-decoration: none;
    transition: .3s;
  }

  .gnav_lv2 li a::before {
    left: 16px;
  }

  .gnav_lv2 li a:hover {
    color: #999;
  }

  #gnav li.gnav_contact span {
    background-color: var(--main);
    color: #FFF;
    width: auto;
    height: 24px;
    text-align: center;
    line-height: 24px;
    border-radius: 12px;
    font-size: 0.8em;
    padding: 0 16px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #gnav li.gnav_contact a::after {
    display: none;
  }

  #gnav li.contact {
    padding: 0;
    position: absolute;
    bottom: 0;
    right: 0;
  }

  #gnav li.contact>span {
    background-color: var(--main);
    border-radius: 0 0 0 40px;
    color: #FFF;
    font-weight: var(--fw-bold);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    width: clamp(130px, 12.5vw, 180px);
    text-decoration: none;
    transition: .4s;
  }

  #gnav li.contact>span::after {
    display: none;
  }

  #gnav li.contact:hover>span {
    background-color: var(--sub);
  }

  #gnav li.contact .gnav_lv2 {
    width: 235px;
    left: calc(clamp(130px, 12.5vw, 180px) - 235px);
  }

  #gnav .lang {
    position: absolute;
    top: 0;
  }

  #gnav .lang a ul {
    gap: 22px;
    font-size: 1.4rem;
    line-height: 1.57;
    height: 27px;
  }

  #gnav .lang a ul::after {
    background-color: var(--main);
    content: "";
    height: 1px;
    width: 100%;
    position: absolute;
    bottom: 1px;
    left: 0;
    transform: translateY(10px);
    opacity: 0;
    transition: .4s;
  }

  #header.drawer .gnav_lv1 {
    margin-top: 16px;
  }

  #header.drawer .gnav_lv1>li {
    padding-bottom: 0;
    font-weight: var(--fw-mid);
  }

  #header.drawer .gnav_lv1>li>a::after #header.drawer .gnav_lv1>li>span::after {
    bottom: 8px;
  }

  #header.drawer #gnav .contact span {
    border-radius: 0;
    height: 64px;
  }

  #header.drawer #gnav .lang {
    display: none;
  }

  /* ヘッダーのスライド用（初期状態） */
  #header {
    /* ヘッダーが上にスライドするアニメーション */
    transition: transform 220ms ease, opacity 220ms ease;
    will-change: transform;
  }

  /* 隠す状態：上に押し上げる */
  #header.is-header-hidden {
    transform: translateY(-100%);
    opacity: 0;
    /* 任意（フェードも足す） */
  }
}

/* ----------------------------------
* Main
---------------------------------- */
.sample #page-title {
  background: url(/img/bg_Image_about.jpg) no-repeat center center;
  background-size: cover;
  width: 100%;
}

.aboutus #page-title,
.policy #page-title,
.onlinestore #page-title {
  background: url(../img/bg_Image_about.jpg) no-repeat center center;
  background-size: cover;
  width: 100%;
}

.service #page-title,
.results #page-title
 {
  background: url(../img/bg_Image_service.jpg) no-repeat center center;
  background-size: cover;
  width: 100%;
  margin-top: 80px;
}

.mission #page-title {
  background: url(../img/bg_Image_mission.jpg) no-repeat center center;
  background-size: cover;
  width: 100%;
  margin-top: 80px;
}

.company #page-title,
.message #page-title {
  background: url(../img/bg_Image_company.jpg) no-repeat center center;
  background-size: cover;
  width: 100%;
  margin-top: 80px;
}

.partner #page-title {
  background: url(../img/bg_Image_partner.jpg) no-repeat center center;
  background-size: cover;
  width: 100%;
  margin-top: 80px;
}

.contact #page-title {
  background: url(../img/bg_Image_contact.jpg) no-repeat center center;
  background-size: cover;
  width: 100%;
  margin-top: 80px;
}

.recruit #page-title,
.interview #page-title,
.requirements #page-title{
  background: url(../img/bg_Image_recruit.jpg) no-repeat center center;
  background-size: cover;
  width: 100%;
  margin-top: 80px;
}

.info #page-title {
  background: url(../img/bg_Image_contact.jpg) no-repeat center center;
  background-size: cover;
  width: 100%;
  margin-top: 80px;
}

#page-title h1 {
  width: 30%;
  background-color: var(--main);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3.8rem;
  font-weight: var(--fw-normal);
  letter-spacing: .04em;
  line-height: 1.66;
  min-height: 155px;
  text-align: center;
}

@media (max-width:768px){
#page-title h1 {
  width: 60%;
  background-color: var(--main);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3.8rem;
  font-weight: var(--fw-normal);
  letter-spacing: .04em;
  line-height: 1.66;
  min-height: 155px;
  text-align: center;
}

#page-title {
  background: url(../img/bg_Image_contact.jpg) no-repeat center center;
  background-size: cover;
  width: 100%;
  margin-top: 0 !important;
}
}

.inner {
  max-width: calc(var(--max) + 40px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

#breadcrumb {
  margin: 17px 0 95px 0;
}

#breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
}

#breadcrumb ol li {
  font-size: 1.2rem;
  position: relative;
  padding: 0 5px 0 11px;
  color: #4d4d4d;
}

#breadcrumb ol li a {
  text-decoration: underline;
}

#breadcrumb ol li:first-child {
  padding-left: 24px;
  background: url("../img/icon/ic_home.svg") no-repeat center left;
  background-size: 16px;
}

#breadcrumb ol li:after {
  position: absolute;
  top: 0;
  left: 0;
  content: ">";
}

#breadcrumb ol li:first-child:after {
  content: "";
}


#company .button-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 25px;
  width: 60%;
  margin: 0 auto;
  /* 行間 25px、列間 25px（お好みで調整OK） */
}

@media (max-width:768px){
  #company .button-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 25px;
  width: 60%;
  margin: 0 auto;
  /* 行間 25px、列間 25px（お好みで調整OK） */
}
}

/*採用情報背景画像*/
#OurMission {
  background: url(../img/top/top_bg001.jpg);
  padding-top: 50px;
  padding-bottom: 50px;
  background-size: cover;
}


#OurMission h2,
#OurMission a {
  color: var(--light);
}

/* 画像リンクのラッパー */
.thumb-card {
  position: relative;          /* 子の絶対配置の基準にする */
  display: inline-block;       /* 必要なら block にしてもOK */
  line-height: 0;              /* 画像の下に出る隙間を消す（任意） */
}

/* 画像は横幅に合わせて可変にしたい場合（任意） */
.thumb-card img {
  display: block;
  width: 100%;                 /* 固定幅なら削除してOK */
  height: auto;
}

/* 青い帯（テキストラベル） */
.thumb-label {
  position: absolute;
  left: 0px;                  /* 画像の左端からの余白 */
  top: 47%;                    /* 縦位置。%指定だと画像比率に追従 */
  transform: translateY(-50%); /* 垂直中央寄せの調整 */
  background: #274a92;         /* 濃い青（サイトに合わせて変更可） */
  color: #fff;
  padding: 12px 40px 12px 16px;/* 右は矢印分を多めに */
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  border-radius: 2px;          /* 角丸はお好みで */
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  max-width: calc(100% - 32px);/* 左右の余白分を差し引く */
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ▼ ここが“CSSだけ”で作る「>」アイコン */
.thumb-label::after {
  content: "";
  width: 10px;
  height: 10px;
  /* 2辺だけ線を引いて45度回転 → シェブロンに見せる */
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: translateX(0) rotate(45deg);      /* 右向き「>」 */
  flex: none;                        /* 伸縮しない */
  /* 視認性調整用の軽いぼかし(任意) */
  /* filter: drop-shadow(0 1px 0 rgba(0,0,0,.15)); */
  transition: transform .25s ease;
}

/* ホバー/フォーカスで“少しだけ右へ”動かす（控えめ演出） */
.thumb-card:hover .thumb-label::after,
.thumb-card:focus-visible .thumb-label::after {
  transform: translateX(10px) rotate(45deg);
}


/* 画像カードの土台：はみ出した分を隠す */
.thumb-card {
  position: relative;
  display: block;             /* リンク全体をクリック領域に */
  overflow: hidden;           /* 拡大した画像がはみ出さないように */
  border-radius: 4px;         /* 任意：角丸がある場合 */
  line-height: 0;             /* 画像下の隙間を無くす */
}

/* 画像：スムーズに拡大縮小 */
.thumb-card img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1);        /* 初期状態 */
  transition: transform .4s ease; /* アニメ時間は好みで */
  will-change: transform;     /* わずかに描画を最適化 */
}

/* ホバーでズーム（PC想定） */
.thumb-card:hover img {
  cursor: pointer;
  transform: scale(1.06);     /* 6%拡大（好みで 1.03〜1.1 ） */
}

/* タッチ端末や“ホバーなし”環境ではズーム無効化（誤作動防止） */
@media (hover: none) and (pointer: coarse) {
  .thumb-card:hover img {
    transform: none;
  }
}

/* 動きを抑えたいユーザー配慮（アクセシビリティ） */
@media (prefers-reduced-motion: reduce) {
  .thumb-card img {
    transition: none;
  }
}

#Instagram .thumb-card {
  width: 50%;
}

#Instagram .instagram {
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1);
    transition: transform .4s ease;
    will-change: transform;
}

/* アンカー全体をズームの基準に */
#Instagram .thumb-card {
  position: relative;
  display: inline-block;   /* ブロックにしたい場合は block; */
  width: 50%;
  overflow: hidden;        /* 拡大時のはみ出しを隠す */
  border-radius: 8px;      /* 角丸がある見た目なら合わせて設定 */
  text-decoration: none;   /* 任意：下線を消す */
  cursor: pointer;         /* 任意：マウスで“押せる”感 */
}

/* 画像：通常時 */
#Instagram .instagram {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform .4s ease; /* ズームのアニメーション */
  will-change: transform;
}

/* ▼ホバーとキーボードフォーカス時にズーム */
#Instagram .thumb-card:hover .instagram,
#Instagram .thumb-card:focus-visible .instagram {
  transform: scale(1.06); /* 1.04〜1.1 くらいで微調整 */
}

/* スマホ向け幅調整（既存を活かしつつ overflow を維持） */
@media (max-width: 768px) {
  #Instagram .thumb-card {
    width: 80%;
  }
  /* transform/transition はすでに指定済みなので再指定は不要 */
}

/* 動きに弱い利用者への配慮（任意） */
@media (prefers-reduced-motion: reduce) {
  #Instagram .instagram {
    transition: none;
  }
}


@media (max-width:768px) {
  #Instagram .thumb-card {
  width: 80%;
}

  #Instagram .instagram {
    display: block;
    width:100%;
    height: auto;
    transform: scale(1);
    transition: transform .4s ease;
    will-change: transform;
}
}


/* ----------------------------------
* Footer Contact
---------------------------------- */
.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 28px;
}

.footer-contact a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: min(250px, 92vw);
  padding: 18px 28px;
  background: var(--footer-pill);
  color: var(--footer-pill-text);
  border-radius: 999px;
  box-shadow: var(--footer-shadow);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.footer-contact a {
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 15px);
  line-height: 1.2;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
}

.footer-contact a:hover {
  color: var(--main) !important;
}

.footer-contact a br {
  content: "";
}

.footer-contact a::after {
  display: block;
  margin-top: 6px;
  font-weight: 500;
  font-size: clamp(12px, 1.5vw, 16px);
  color: #6C7AAE;
  letter-spacing: .06em;
}

.link-btn {
  display: inline-block;
  font-size: 1.6rem;
  line-height: 1.6;
  border-radius: 25px;
}

.center-position .link-btn {
  display: inline-block;
}

/* ----------------------------------
* Footer
---------------------------------- */
#footer-area {
  position: relative;
  margin-top: auto;
  height: 100%;
  width: 100%;
}

#footer {
  background-color: var(--main);
  background-size: cover;
  height: calc(100% - 1px);
}

.footer-nav-area {
  display: relative;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  max-width: calc(var(--max) + 40px);
  padding: 80px 20px;
  color: #fff;
  text-align: center;
}

.footer-nav-area>p {
  margin: 0 0 22px 0;
  font-size: 14px;
  letter-spacing: .08em;
}

.footer-contact .ontact-btn {
  background-color: var(--light);
  color: var(--main);
  text-decoration: none;
}

.footer-nav-area a {
  color: #fff;
  text-decoration: none;
}

.footer-nav-area a:hover {
  color: var(--light);
}

#footer-nav,
#footer-nav ul {
  display: flex;
  justify-content: center;
  padding-top: 16px;
}

#footer-nav ul li a {
  font-size: clamp(1.3rem, 1.04vw, 1.5rem);
  position: relative;
  display: block;
  text-decoration: none;
  transition: color .3s linear;
  color: #fff;
}

#footer-nav ul li a img {
  padding-right: 20px;
}

.footer-copy {
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  height: 80px;
}

#pagetop {
  position: absolute;
  right: 16px;
  bottom: 223px;
}

#pagetop.fixed {
  position: fixed;
  bottom: 16px;
}

#pagetop a {
  background-color: #FFF;
  box-shadow: 0 6px 10px rgba(0, 143, 248, .08);
  border-radius: 100%;
  height: 56px;
  width: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media print,
screen and (min-width: 768px) {
  .footer-logo a {
    display: block;
    margin-right: 4.3%;
  }

  #footer-nav ul li a::after {
    content: "";
    height: 1px;
    width: 100%;
    position: absolute;
    bottom: -12px;
    left: 0;
    visibility: hidden;
    transition: 0.3s;
    opacity: 0;
  }

  #footer-nav ul li a:hover::after {
    bottom: -7px;
    visibility: visible;
    opacity: 1;
  }

  #footer-nav ul li+li,
  .footer-linkedin {
    margin-left: 25px;
  }
}


/* ----------------------------------
* Clearfix
--------------------------------------- */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}








/* ======================================================
* parts_pc.css
* ------------------------------------------------------
* @media print, screen and (min-width: 768px)
* - lead
* - caution
* - link-anchor
* - headline
* - headline2
* - headline3
* - headline4
* - layout pattern
* - link
* - link-btn
* - Back
* - ul list
* - ol list
* - dl
* - table
* - news list
* - news detail
* - indexList
* - pagination
* - accordion
* - anchor-link
* - about us
========================================= */


/* ---------------------------------------
* lead
--------------------------------------- */
.lead {
  font-size: 2.2rem;
  font-weight: var(--fw-normal);
  text-align: center;
}

/* ---------------------------------------
* caution
--------------------------------------- */
p.caution::before,
ul.caution li::before,
span.caution::before {
  content: "※";
  color: var(--caution);
  font-size: .8em;
  position: absolute;
  left: -1.4em;
}

.caution {
  color: var(--caution);
  font-size: 14px;
  margin-left: 1.1em;
  position: relative;
}

span.caution::before {
  top: .1em;
  left: -1.3em;
}

ul.caution li {
  list-style: none;
  margin-bottom: 10px;
  line-height: 1.8;
  position: relative;
}

p.caution::before,
ul.caution li::before {
  top: .3em;
}

p.caution_n::before,
ul.caution_n li::before,
span.caution_n::before {
  display: none;
}

.caution_n {
  color: var(--caution);
  font-size: 14px;
  margin-left: 0;
}


/* ---------------------------------------
* headline
--------------------------------------- */
.headline {
  margin: 0 0 40px 0;
  color: var(--main);
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.headline:not(.headline--center) {
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.headline:not(.headline--center)>span {
  display: inline-block;
  min-width: 0;
}

.headline:not(.headline--center)::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background-color: currentColor;
  opacity: 0.7;
  transform: translateY(0.03em);
}

.headline.headline--center {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.8em;
  text-align: center;
}

.headline.headline--center::before,
.headline.headline--center::after {
  content: "";
  height: 1px;
  background-color: currentColor;
  opacity: 0.7;
}

.headline.headline--center>span {
  display: inline-block;
  min-width: 0;
  white-space: nowrap;
}

.headline.headline--center::before,
.headline.headline--center::after {
  min-width: 24px;
}

@media (max-width: 360px) {
  .headline.headline--center {
    gap: 0.6em;
    grid-template-columns: 0.6fr auto 0.6fr;
  }
}

@media (max-width: 768px) {
  .headline.headline--center::after {
  display: none;
}
}


/* ---------------------------------------
* headline2
--------------------------------------- */
.headline2 {
  color: var(--main);
  font-size: 2.3rem;
  font-weight: var(--fw-mid);
  letter-spacing: .04em;
  line-height: 1.8;
  margin-bottom: 10px;
}

.headline2 .headline2-s {
  display: inline-block;
  font-size: 1.6rem;
}

*:not(.headline)+.headline2 {
  margin-top: 72px;
}

/* ---------------------------------------
* headline3
--------------------------------------- */
.headline3 {
  color: var(--main);
  font-size: 1.8rem;
  font-weight: var(--fw-mid);
  letter-spacing: .04em;
  line-height: 1.75;
  margin-bottom: 10px;
}

.headline3.line {
  border-bottom: 1px solid var(--gray2);
  padding-bottom: 6px;
  margin-bottom: 15px;
}

*:not(.headline):not(.headline2)+.headline3 {
  margin-top: 72px;
}

.headline2+.headline3 {
  margin-top: 20px;
}

/* ---------------------------------------
* headline4
--------------------------------------- */
.headline4 {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 30px 0 10px 0;
}

.headline2+.headline4,
.headline3+.headline4 {
  margin-top: 0;
}

html[lang="en"] .headline,
html[lang="en"] .headline2,
html[lang="en"] .headline3 {
  letter-spacing: 0;
  line-height: 1.4;
}

html[lang="en"] .headline2 {
  font-weight: var(--fw-bold);
  margin-bottom: 15px;
}

html[lang="en"] .headline2 .headline2-s {
  font-weight: var(--fw-mid);
}

/* ---------------------------------------
* layout pattern
--------------------------------------- */
.caption {
  line-height: 1.5 !important;
}

figure img {
  vertical-align: middle;
}

figure+.caption {
  font-size: .9em;
  margin-top: -.4em;
}

@media print,
screen and (min-width: 768px) {
  .right-col {
    float: right;
  }

  .left-col {
    float: left;
  }

  [class*="pattern1-"],
  [class*="pattern2-"],
  [class*="pattern3-"],
  [class*="pattern4-"] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 4em;
    row-gap: 4em;
  }

  [class*="pattern1-"] .left-col,
  [class*="pattern2-"] .left-col,
  [class*="pattern3-"] .left-col,
  [class*="pattern4-"] .left-col {
    float: none;
    order: 0;
  }

  [class*="pattern1-"] .right-col,
  [class*="pattern2-"] .right-col,
  [class*="pattern3-"] .right-col,
  [class*="pattern4-"] .right-col {
    float: none;
    order: 1;
  }

  [class*="pattern1-"] figure img,
  [class*="pattern2-"] figure img,
  [class*="pattern3-"] figure img,
  [class*="pattern4-"] figure img {
    margin: 0 auto;
    display: block;
  }

  figure.right-position img,
  figure.left-position img {
    margin: 0 !important;
    display: inline-block !important;
  }

  /* ----- pattern1-1 ----- */
  .pattern1-1 .left-col,
  .pattern1-1 .right-col,
  .pattern1-1 .col {
    width: 47.91%;
  }

  /* ----- pattern1-2(2-1) ----- */
  .pattern1-2 .left-col,
  .pattern2-1 .right-col {
    width: 33.333%;
  }

  .pattern1-2 .right-col,
  .pattern2-1 .left-col {
    width: 62.5%;
  }

  /* ----- pattern2-3(3-2) ----- */
  .pattern2-3 .left-col,
  .pattern3-2 .right-col {
    width: 37.5%;
  }

  .pattern2-3 .right-col,
  .pattern3-2 .left-col {
    width: 58.333%;
  }

  /* ----- pattern1-3(3-1) ----- */
  .pattern1-3 .left-col,
  .pattern3-1 .right-col {
    width: 22%;
  }

  .pattern1-3 .right-col,
  .pattern3-1 .left-col {
    width: 73.5%;
  }

  /* ----- pattern1-1-1 ----- */
  .pattern1-1-1 {
    justify-content: flex-start;
    column-gap: 4.25%;
  }

  .pattern1-1-1 .col {
    width: 30.5%;
  }

  /* ----- pattern1-1-1-1 ----- */
  .pattern1-1-1-1 {
    justify-content: flex-start;
    column-gap: 4%;
  }

  .pattern1-1-1-1 .col {
    width: 22%;
  }
}

[class*="pattern"] [class*="col"]:last-of-type,
[class*="pattern"] [class*="col"]> :last-child {
  margin-bottom: 0;
}

/* ---------------------------------------
* caption
--------------------------------------- */
.caption {
  line-height: 1.5 !important;
}

/* ---------------------------------------
* link
--------------------------------------- */
.link,
ul.link-list li {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-top: 1rem;
}

.link-wrap {
  margin-top: 50px;
}

.link-inner {
  position: relative;
  display: inline-block;
}

ul.link-list li {
  position: relative;
}

.link .link-inner,
ul.link-list li {
  padding: 0 0 0 30px;
}

.link .link-inner::before,
ul.link-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 23px;
  height: 100%;
  content: "";
  background: url("../img/icon/ic_arrow.svg") no-repeat center center;
  background-size: 23px;
}

.link-inner.link-back::before {
  transform: scaleX(-1);
}

.link-inner a,
ul.link-list li a {
  background: linear-gradient(#000, #000) 1px 100%/100% 1px no-repeat;
  transition: all .3s;
}

.link-inner a:hover,
ul.link-list li a:hover {
  background-size: 100% 0px;
}

a.txt-link {
  text-decoration: underline;
}

a.txt-link:hover {
  text-decoration: none;
}

/* ---------------------------------------
* link-btn
--------------------------------------- */
/* 親はレイアウト用だけ。背景は持たせない */
.link-btn {
  display: inline-block;
  font-size: 1.6rem;
  line-height: 1.6;
  border-radius: 25px;
}

.center-position .link-btn {
  display: inline-block;
}

/* 実体は a */

.link-btn a {
  /* 色（必要に応じて変数名は既存に合わせてください） */
  --btn-main: var(--main);
  /* 枠・塗りのメイン色（紺/青） */
  --btn-light: var(--light);
  /* 初期の薄い背景色 */
  --btn-bw: 2px;
  /* 枠の太さ */

  /* 背景は2レイヤー：
     1) 上層：左→右に伸びるメイン色（初期は幅0%）
     2) 下層：初期の薄い全面色 */
  background:
    linear-gradient(90deg, var(--btn-main), var(--btn-main)) left / 0% 100% no-repeat,
    var(--btn-light);

  /* 枠は border ではなく “inset の内側シャドウ” で描く（境界スキマ対策） */
  border: 0;
  box-shadow: 0 0 0 var(--btn-bw) var(--btn-main) inset;

  color: var(--btn-main);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: var(--fw-mid);
  letter-spacing: .04em;
  line-height: 1.5;
  padding: .5em 1em;
  min-height: 45px;
  min-width: 206px;

  position: relative;
  border-radius: 25px;
  overflow: hidden;
  /* 角丸に沿って確実にクリップ */
  background-origin: padding-box;
  /* 背景の基準を内側へ */
  background-clip: padding-box, padding-box;
  /* 2レイヤーともパディング内に限定 */

  /* アニメーション */
  transition: color .25s ease, background-size .45s ease;
}

/* ホバーで上層レイヤーの幅を 100% に→“左から溜まる” */
.link-btn a:hover,
.link-btn a:focus-visible {
  background-size: 100% 100%, auto;
  color: #fff;
  /* テキストは白に */
}

/* フォーカスリング（任意） */
.link-btn a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--btn-main) 45%, transparent);
  outline-offset: 3px;
}

/* 動きを少なく設定しているユーザー配慮（任意） */
@media (prefers-reduced-motion: reduce) {
  .link-btn a {
    transition: color .01s linear, background-size .01s linear;
  }
}

/* .link-btn 配下の a にホバーしている間だけ、白み（透過/フィルタ）を無効化 */
.link-btn a:hover,
.link-btn a:focus,
.link-btn a:focus-visible,
.link-btn a:active {
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal;
  /* 念のための保険：混色指定があっても素直に描画 */
}

input[type="submit"].link-btn {
  /* 色（必要に応じて変数名は既存に合わせてください） */
  --btn-main: var(--main);
  /* 枠・塗りのメイン色（紺/青） */
  --btn-light: var(--light);
  /* 初期の薄い背景色 */
  --btn-bw: 2px;
  /* 枠の太さ */

  /* 背景は2レイヤー：
     1) 上層：左→右に伸びるメイン色（初期は幅0%）
     2) 下層：初期の薄い全面色 */
  background:
    linear-gradient(90deg, var(--btn-main), var(--btn-main)) left / 0% 100% no-repeat,
    var(--btn-light);

  /* 枠は border ではなく “inset の内側シャドウ” で描く（境界スキマ対策） */
  border: 0;
  box-shadow: 0 0 0 var(--btn-bw) var(--btn-main) inset;

  color: var(--btn-main);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: var(--fw-mid);
  letter-spacing: .04em;
  line-height: 1.5;
  padding: .5em 1em;
  min-height: 45px;
  min-width: 206px;

  position: relative;
  border-radius: 25px;
  overflow: hidden;
  /* 角丸に沿って確実にクリップ */
  background-origin: padding-box;
  /* 背景の基準を内側へ */
  background-clip: padding-box, padding-box;
  /* 2レイヤーともパディング内に限定 */

  /* アニメーション */
  transition: color .25s ease, background-size .45s ease;
  cursor: pointer;
}

input[type="submit"].link-btn:hover {
    background-size: 100% 100%, auto;
  color: #fff;
  /* テキストは白に */
}

html[lang="en"] .link-btn a {
  letter-spacing: 0;
}

.link-btn.btn-white {
  background-color: transparent;
}

.link-btn.btn-white a {
  color: var(--main);
}

.link-img figure {
  overflow: hidden;
}

.link-img img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.link-img a:hover img {
  transform: scale(1.05);
}

/*
.link-img .caption {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: var(--fw-mid);
  letter-spacing: .04em;
}
.link-img .caption::after {
  content: "";
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: var(--main);
  background-image: url("../img/icon/ic_arrow_white.svg");
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  transition: transform 0.3s ease;
}
.link-img a:hover .caption::after {
  transform: translateY(-50%) translateX(5px);
}
*/

.link-img .caption {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: var(--fw-mid);
  letter-spacing: .04em;
}

.link-img .caption::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background-color: var(--main);
  background-image: url("../img/icon/ic_arrow_white.svg");
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  transition: transform 0.3s ease;
  margin-left: 8px;

}

.link-img a:hover .caption::after {
  transform: translateX(5px);
}


/* ---------------------------------------
* Back
--------------------------------------- */
.back {
  text-align: center;
}

.back-inner {
  position: relative;
  display: inline-block;
  padding: 0 35px;
}

.back-inner::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 30px;
  height: 100%;
  content: "";
  transform: rotate(-180deg);
  background: url("../img/icon/ic_arrow.svg") no-repeat center center;
  background-size: 30px;
}

.back-inner a {
  position: relative;
}

.back-inner a::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  transition: 0.3s;
  background: var(--normal);
}

.back-inner a:hover::before {
  background: none;
}

/* ---------------------------------------
* ul list
--------------------------------------- */
ul.list {
  margin-top: .7em;
}

ul.list>li,
ul.list ul li {
  line-height: 1.7;
  position: relative;
  padding-left: 1em;
  list-style-type: none;
}

ul.list>li:before,
ul.list ul li::before {
  position: absolute;
  top: 0.7em;
  left: .2em;
  display: block;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--main);
}

ul.list li+li,
ul.list ul,
ul.list ol {
  margin-top: .3em;
}

ul.list li>*:last-child {
  margin-bottom: 0 !important;
}

/* ---------------------------------------
* ol list
--------------------------------------- */
ol.list {
  margin-top: .7em;
  counter-reset: li;
}

ol.list>li,
ol.list ol>li {
  line-height: 1.7;
  list-style: none;
  padding-left: 2em;
  position: relative;
}

ol.list>li:before,
ol.list ol>li::before {
  position: absolute;
  top: 0;
  left: .2em;
  content: counter(li) ".";
  counter-increment: li;
  color: var(--main);
}

ol.list li+li,
ol.list ol,
ol.list ul {
  margin-top: .3em;
}

ol.list li>*:last-child {
  margin-bottom: 0 !important;
}

/* ---------------------------------------
* dl
--------------------------------------- */
dl dt,
dl dt[class*="headline"] {
  font-weight: var(--fw-mid);
  border-color: var(--gray2);
  border-style: solid;
  border-width: 0 0 1px;
  padding-bottom: .4em;
  margin-bottom: .8em;
}

/* ---------------------------------------
* table
--------------------------------------- */
table.table {
  background: #fff;
  border-spacing: 0;
  border-collapse: collapse;
  border-color: #000;
  border-style: solid;
  border-width: 1px 1px 0 0;
  width: 100%;
}

table.table th,
table.table td {
  border-color: #000;
  border-style: solid;
  border-width: 0 0 1px 1px;
  padding: 0.5em;
}

html[lang="en"] table.table th,
html[lang="en"] table.table td {
  line-height: 1.7;
}

table.table th {
  background: var(--gray1);
  font-weight: bold;
  text-align: left;
}

table.table .sub-head {
  background-color: #E6F1F8;
  color: var(--normal);
  font-weight: var(--fw-normal);
}

/* ---------------------------------------
* news list
--------------------------------------- */
.info-area ul li:not(#pagination ul li) {
  border-bottom: 1px solid #CCC;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.info-area ul li:first-of-type {
  padding-top: 0;
}

.info-area .date-cate {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.info-area .date-cate .date {
  width: 8.4em;
  line-height: 1.4;
}

.info-area .date-cate .cate {
  background-color: var(--main);
  color: #FFF;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  padding: .25em .3em .3em;
  text-align: center;
  width: 120px;
}

.info-area ul li .title {
  padding-left: 1.2em;
  width: calc(100% - 8.4em - 120px);
  position: relative;
  top: -3px;
}

/* ---------------------------------------
* news detail
--------------------------------------- */
.news-detail-area {
  margin-bottom: 70px;
}

.news-detail-area>*:last-child {
  margin-bottom: 0 !important;
}

.news-detail-area *:not(.link):not(.link-inner) a {
  color: var(--main);
  text-decoration: underline;
}

.news-detail-area p {
  line-height: 1.8;
  margin-bottom: 2em;
}

.news-detail-area .date-cate {
  margin-bottom: 18px;
}

.news-detail-area h2 {
  border-bottom: 2px solid #000;
  font-size: 3.1rem;
  font-weight: bold;
  line-height: 1.7;
  margin-bottom: 1.4em;
  padding: 18px 0 20px;
  text-align: left;
}

.news-detail-area h2::after {
  display: none;
}

.news-detail-area h3 {
  margin-bottom: .9em;
}

.news-detail-area :not(h2)+h3 {
  margin-top: 2em;
}

.news-detail-area h4 {
  margin-bottom: .9em;
}

.news-detail-area .link,
.news-detail-area ul.list,
.news-detail-area ol.list,
.news-detail-area table.table {
  margin: 0 0 2em;
}

/* ---------------------------------------
* indexList
--------------------------------------- */
.indexList figure img {
  vertical-align: middle;
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* ---------------------------------------
* pagination
--------------------------------------- */
#pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px;
  flex: 0 0 100%;
  margin-top: 20px;
}

#pagination .p_prev,
#pagination .p_next {
  margin: 0 10px;
  padding: 2px 7px;
  background-color: var(--main);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: default !important;
}

#pagination li:not(.p_current):not(.p_next) {
  display: flex;
  cursor: pointer;
  margin: 0px 10px;
}

#pagination .p_current {
  font-weight: bold;
  text-decoration: underline;
  margin: 0 10px;
}

#pagination ul {
  display: flex;
  gap: 8px;
  list-style: none;
}

#pagination li {
  display: flex;
  align-items: center;
}

/* ---------------------------------------
* accordion
--------------------------------------- */
dl.accordion {
  border-bottom: 1px solid var(--gray2);
}

dl.accordion dt {
  border-width: 1px 0 0;
  color: var(--main);
  cursor: pointer;
  font-size: 2.3rem;
  letter-spacing: .04em;
  line-height: 1.4;
  margin: 0;
  padding: 24px 60px 24px 8px;
  position: relative;
}

html[lang="en"] dl.accordion dt {
  letter-spacing: 0;
}

dl.accordion dt .icon {
  height: 16px;
  width: 16px;
  position: absolute;
  top: 30px;
  right: 20px;
  transition: .4s;
}

dl.accordion dt .icon::before,
dl.accordion dt .icon::after {
  background-color: #666;
  content: "";
  height: 16px;
  width: 3px;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

dl.accordion dt .icon::after {
  transform: rotate(90deg);
}

dl.accordion dt.open .icon {
  transform: rotate(-45deg);
}

dl.accordion dd {
  display: none;
  margin-top: -8px;
  padding: 0 8px 24px;
}

dl.accordion .box.bgc-gray {
  line-height: 1.7;
  padding: 16px;
}

/* ---------------------------------------
* anchor-link
--------------------------------------- */
.anchor-link ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 385px));
  justify-content: center;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.anchor-link li {
  margin: 0;
}

.anchor-link li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em 45px;
  background-color: var(--gray1);
  color: var(--main);
  font-weight: var(--fw-mid);
  white-space: normal;
  word-break: break-word;
  height: 100%;
  text-align: center;
  position: relative;
}

.anchor-link li a::before {
  content: "";
  background: url(../img/icon/ic_arrow.svg) no-repeat;
  height: 24px;
  width: 24px;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  transform: rotate(90deg);
}

/* ---------------------------------------
* scroll-box
--------------------------------------- */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5em;
}

.table-wrapper table.scroll-box {
  min-width: 800px;
  border-collapse: collapse;
}

.table-wrapper table.scroll-box th,
.table-wrapper table.scroll-box td {
  white-space: nowrap;
}

/* ---------------------------------------
* form-area
--------------------------------------- */
.form-area div.row {
  border-bottom: 1px solid #E0E0E0;
  display: flex;
  align-items: stretch;
  width: 100%;
  position: relative;
}

.form-area div.cell1,
.form-area div.cell2 {
  line-height: 1.5;
  vertical-align: top;
}

.form-area div.cell1 {
  color: var(--main);
  font-weight: var(--fw-mid);
  padding: 25px 17px 25px 0;
  width: 260px;
  position: relative;
  min-height: 80px;
  font-size: 16px;
}

.form-area div.cell2 {
  padding: 25px 25px 25px;
  width: calc(100% - 260px);
}

.form-area div.cell1 .required {
  background-color: var(--error);
  color: #FFF;
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  line-height: 24px;
  padding-left: 3px;
  text-align: center;
  width: 53px;
  position: absolute;
  top: 25px;
  right: 29px;
}

.form-area div.cell2>*:last-child {
  margin-bottom: 0 !important;
}

.form-area p.caution {
  font-size: 14px !important;
  margin-top: .5em;
}

.form-area input,
.form-area select,
.form-area textarea {
  font-family: var(--gothic);
  font-size: 15px;
}

.form-area input[type="text"],
.form-area input[type="email"],
.form-area input[type="tel"],
.form-area input[type="zipcode"],
.form-area input[type="address"] {
  -webkit-appearance: none;
  background-color: var(--light);
  border: 1px solid var(--sub);
  border-radius: 0;
  box-shadow: 2px 2px 5px 0 var(--sub) inset;
  height: 38px;
  padding: 0 0.5em;
  width: 100%;
}

.form-area input[type="tel"],
.form-area input[type="zipcode"] {
  width: 300px;
}

.form-area input::placeholder {
  color: #666;
  font-size: 15px;
}

.form-area input.text-s {
  width: 230px;
}

.form-area input.text-s {
  width: 230px;
}

.form-area textarea {
  -webkit-appearance: none;
  background-color: var(--light);
  border: 1px solid var(--sub);
  border-radius: 0;
  box-shadow: 2px 2px 5px 0 var(--sub) inset;
  line-height: 1.8;
  height: auto;
  min-height: 150px;
  padding: .5em;
  resize: vertical;
  width: 100%;
  margin: 0;
}

.form-area .zipcode {
  min-width: 300px;
  max-width: 95%;
}

.form-area select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  background: var(--light) url(../img/icon/icon_arrow.svg) no-repeat right -1px top -1px / auto calc(100% + 2px);
  border: 1px solid var(--sub);
  box-shadow: 2px 2px 5px 0 var(--sub) inset;
  color: #666;
  height: 2.5em;
  min-width: 300px;
  max-width: 95%;
  padding: 0 40px 0 .5em;
  border-radius: 0 !important;
}

#main-content select::-ms-expand {
  display: none;
}

.form-area select::-ms-expand {
  display: none;
}

.form-area ul.form-checkbox,
.form-area ul.form-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  row-gap: 1em;
}

.form-area ul.form-checkbox li,
.form-area ul.form-list li {
  min-width: calc(100% / 4);
}

.form-area input[type="radio"],
.form-area input[type="checkbox"] {
  display: inline-block;
  margin-right: .5em;
}

.form-area input[type="radio"]~label,
.form-area input[type="checkbox"]+label,
.form-area input[type="checkbox"]~[class*="label"] {
  position: relative;
  display: inline-block;
  margin-right: 1em;
  line-height: 1.4;
  vertical-align: middle;
  cursor: pointer;
}

@media (min-width: 1px) {

  /* 〜IE8は適用外*/
  .form-area input[type="radio"],
  .form-area input[type="checkbox"] {
    display: none;
    margin: 0;
  }

  .form-area input[type="radio"]~label,
  .form-area input[type="checkbox"]+label,
  .form-area input[type="checkbox"]~[class*="label"] {
    padding: 0 0 0 26px;
  }

  .form-area input[type="radio"]~label::before,
  .form-area input[type="checkbox"]+label::before,
  .form-area input[type="checkbox"]~[class*="label"]::before {
    background: #FFF;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    content: "";
    display: block;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
  }

  .form-area input[type="radio"]~label::before {
    background-color: var(--light);
    border: 1px solid var(--sub);
    border-radius: 30px;
    box-shadow: 2px 2px 5px 0 var(--sub) inset;
    height: 18px;
    width: 18px;
    top: calc((1.4em - 18px) / 2);
    bottom: auto;
  }

  .form-area input[type="checkbox"]+label::before,
  .form-area input[type="checkbox"]~[class*="label"]::before {
    background-color: var(--light);
    border: 1px solid var(--sub);
    box-shadow: 2px 2px 5px 0 var(--sub) inset;
    height: 16px;
    width: 16px;
  }

  .form-area input[type="radio"]:checked~label::after,
  .form-area input[type="checkbox"]:checked+label::after,
  .form-area input[type="checkbox"]:checked~[class*="label"]::after {
    content: "";
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    position: absolute;
    top: 50%;
  }

  .form-area input[type="radio"]:checked~label::after {
    background: var(--main);
    border-radius: 8px;
    height: 8px;
    width: 8px;
    left: 5px;
    top: calc((1.4em - 8px) / 2);
    bottom: 0;
  }

  .form-area input[type="checkbox"]:checked+label::after,
  .form-area input[type="checkbox"]:checked~[class*="label"]::after {
    left: 2px;
    width: 12px;
    height: 7px;
    margin-top: -8px;
    border-left: 3px solid var(--main);
    border-bottom: 3px solid var(--main);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: calc(50% + 3px);
  }
}

.form-area.error input,
.form-area.error textarea,
.form-area.error select,
.form-area input.inputError,
.form-area textarea.inputError,
.form-area select.inputError {
  border: 2px solid var(--error);
}

.form-area div.error-msg {
  color: var(--error);
  font-weight: var(--fw-mid);
  line-height: 1.5;
  margin-bottom: .5em;
}

.form-area div.error-msg~input,
.form-area div.error-msg~textarea {
  border: 2px solid var(--error);
}

.form-area .form-btn {
  background-color: var(--light);
  border: 1px solid var(--main);
  overflow: hidden;
  position: relative;
  font-weight: var(--fw-mid);
}

.form-btn button {
  background: transparent;
  border: none;
  color: var(--main);
  cursor: pointer;
  font-family: var(--gothic);
  font-size: 18px;
  font-weight: var(--fw-mid);
  letter-spacing: .02em;
  line-height: 1.2;
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.form-btn button::before {
  background-color: #FFF;
  border-radius: 100%;
  content: "";
  height: 30px;
  width: 30px;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.form-btn button::after {
  border-color: var(--main);
  border-style: solid;
  border-width: 1px 1px 0 0;
  content: "";
  height: 6px;
  width: 6px;
  position: absolute;
  top: calc((100% - 6px) / 2);
  right: 33px;
  transform: rotate(45deg);
}

.form-btn button:not(:disabled):hover {
  background-color: var(--main);
  color: #fff !important;
}

.form-btn.btn-confirm {
  border-radius: 40px;
  height: 80px;
  width: 380px;
  margin: 0 auto;
}

.form-btn.btn-confirm button {
  letter-spacing: .05em;
  font-size: 22px;
  padding: 0 20px 5px 0;
}

.form-btn.btn-confirm button span {
  display: block;
  font-size: 15px;
  font-weight: var(--fw-normal);
  letter-spacing: .05em;
  margin-bottom: .2em;
}

.form-btn.btn-confirm button:disabled {
  /*cursor: default;*/
  opacity: 0.5;
}

.form-btn.btn-confirm button:hover {
  background-color: var(--main);
  color: #fff !important;
  opacity: 1;
}

.form-btn button.btn-back::before {
  left: 20px;
  right: auto;
}

.form-btn button.btn-back::after {
  border-width: 0 0 1px 1px;
  left: 33px;
  right: auto;
}

.form-area .form-btn-area {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.form-btn-area .form-btn {
  border-radius: 30px;
  margin: 0 40px 0 0;
  height: 60px;
  width: 300px;
}

.form-btn-area .form-btn:last-child {
  margin-right: 0;
}

.form-area .error-box p {
  border: 2px solid var(--error);
  font-size: 20px;
  font-weight: var(--fw-bold);
  padding: 25px 25px;
  text-align: center;
}

.form-area .error-box {
  color: var(--error);
}

.form-area .upload-btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--main);
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-weight: var(--fw-min);
  text-align: center;
}

.form-area span#file-name {
  margin-left: .5em;
}

/* ---------------------------------------
* fv
--------------------------------------- */
.fv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.fv-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
}

.fv-bg .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  animation: fadeCycle 20s infinite ease-in-out;
  transform: scale(1.02);
}

.fv-bg .slide.s1 {
  background-image: url("../img/top/top_fv001.jpg");
  animation-delay: 0s;
}

.fv-bg .slide.s2 {
  background-image: url("../img/top/top_fv002.jpg");
  animation-delay: 5s;
}

.fv-bg .slide.s3 {
  background-image: url("../img/top/top_fv003.jpg");
  animation-delay: 10s;
}

.fv-bg .slide.s4 {
  background-image: url("../img/top/top_fv004.jpg");
  animation-delay: 15s;
}

.fv-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
}

.fv-content h1 {
  font-family: "A-OTF Ryumin Pro M-KL", "A-OTF リュウミン Pro M-KL", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.06em;
  line-height: 1.3;
  margin: 0;
  font-size: clamp(24px, 4vw, 48px);
  position: relative;
  text-shadow:
    0 0 2px rgba(255, 255, 255, 0.35),
    0 0 8px rgba(255, 255, 255, 0.25),
    0 0 22px rgba(180, 210, 255, 0.22),
    0 0 36px rgba(120, 170, 255, 0.18);
}

.fv-content h1::after {
  content: "";
  position: absolute;
  inset: -12% -8% -12% -8%;
  z-index: -1;
  background: radial-gradient(circle at 50% 60%,
      rgba(200, 220, 255, 0.20) 0%,
      rgba(200, 220, 255, 0.12) 35%,
      rgba(160, 190, 255, 0.06) 60%,
      rgba(120, 150, 220, 0.00) 100%);
  filter: blur(20px);
  opacity: 0.9;
  pointer-events: none;
}

.fv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
}

.fv-content {
  position: relative;
  z-index: 2;
}


@keyframes fadeCycle {
  0% {
    opacity: 0;
  }

  6% {
    opacity: 1;
  }

  24% {
    opacity: 1;
  }

  30% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fv-bg .slide {
    animation: none;
    opacity: 1;
  }

  .fv-bg .slide:not(.s1) {
    display: none;
  }
}


/* ---------------------------------------
* home
--------------------------------------- */
.home .inner_w {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 80px 40px 40px;
  margin: 80px 40px;
}

.home #WhoWeAre .inner_w {
  margin: 0 40px 80px;
}

.home section#Infomation,
.home section#Form {
  margin: 0;
}

.home #Infomation .inner_w,
.home #Form .inner_w {
  margin: 0;
  padding: 80px 40px;
}

.animate-section {
  opacity: 0;
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
  will-change: opacity, transform;
}

.fade-up {
  transform: translateY(50px);
}

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

.slide-right {
  transform: translateX(100px);
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-left {
  transform: translateX(-100px);
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.zoom-in {
  transform: scale(0.8);
}

.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

.zoom-out {
  transform: scale(1.2);
}

.zoom-out.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---------------------------------------
* contact
--------------------------------------- */
.contact_text h1,
.contact_text h2,
.contact_text p {
  padding-left: 1rem;
}

.contact_text {
  margin-bottom: 25px;
}

.contact_text h1:first-of-type {
  position: relative;
  padding-left: 40px; /* 四角の分だけ余白を追加 */
}

.contact_text h1:first-of-type::before {
  content: "";
  width: 20px;
  height: 20px;
  background-color:var(--main);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.contact_text h1 {
  font-size: 3rem;
}

.contact_text h2 {
  font-size: 2rem;
}

/* タブヘッダー */
.tabs {
  display: flex;
  gap: 8px;
  margin: 24px 0 16px;
}
.tab {
  --btn-main: var(--main);
  --btn-light: var(--light);
  border: 1px solid var(--btn-main);
  background: var(--btn-light);
  color: var(--btn-main);
  padding: .5em 1em;
  border-radius: 999px;
  cursor: pointer;
}
.tab.is-active,
.tab:focus-visible {
  background: var(--btn-main);
  color: var(--btn-light);
  outline: none;
}

/* パネルの表示/非表示 */
.tabpanel[hidden] { display: none !important; }
.tabpanel.is-active { display: block; }

/* 既存の中央寄せ */
.center-position { display: flex; justify-content: center; }

/* 「inputのみ」に当てるボタン装飾（前回案） */
input[type="submit"].link-btn {
  --btn-main: var(--main);
  --btn-light: var(--light);
  --btn-bw: 2px;

  background:var(--main);
  color: #fff;
  border: 0;
  box-shadow: 0 0 0 var(--btn-bw) var(--btn-main) inset;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: var(--fw-mid);
  letter-spacing: .04em;
  line-height: 1.5;
  padding: .5em 1em;
  min-height: 45px;
  min-width: 206px;
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  background-origin: padding-box;
  background-clip: padding-box, padding-box;
  transition: color .25s ease, background-size .45s ease;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

input[type="submit"].link-btn:hover,
input[type="submit"].link-btn:focus-visible {
  background-size: 100% 100%, 100% 100%;
  color: var(--btn-light);
  outline: none;
}

input[type="submit"].link-btn:active { transform: translateY(1px); }

input[type="submit"].link-btn:disabled,
input[type="submit"].link-btn[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
  background-size: 0% 100%, 100% 100%;
  color: var(--btn-main);
}

.form_area {
    width: 100rem;
    margin: 50px auto;
    font-size: 1.8rem;
}

.form_area .radiobutton label {
    display: flex;
    margin-bottom: 1rem;
    cursor: pointer;
}

.form_area dd input[type="radio"] {
    width: 2rem;
    margin-top: 6px;
    margin-right: 10px;
    cursor: pointer;
}

.form_area dl {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #707070;
    padding: 2rem 0;
}

.form_area dt {
    width: calc(40% - 2rem);
    display: flex;
    position: relative;
    padding: 0 1rem;
    border-width: 0;
}

.contact .form_area dd {
    width: calc(60% - 2rem);
    padding: 0 1rem;
}

.form_area dt span {
    position: absolute;
    right: 3rem;
    top: 0;
    display: inline-block;
    padding: 0 1rem;
    border-radius: 5px;
    background: var(--main);
    color: #fff;
}

.form_area dd input {
    display: block;
    width: 100%;
    border: 1px solid #707070;
    border-radius: 5px;
    font-size: 1.8rem;
    padding: 1rem;
    background: #ebf0ed;
    color: #707070;
}

.bikou textarea {
    font-size: 1.8rem;
    width: 100%;
    padding: 1rem;
    border: 1px solid #707070;
    background: #ebf0ed;
    border-radius: 5px;
    color: #707070;
    font-family: "Montserrat", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}

.form_area dd select {
    display: block;
    width: 20rem;
    border: 1px solid #707070;
    border-radius: 5px;
    font-size: 1.8rem;
    padding: 1rem;
    background: #ebf0ed;
    color: #707070;
}

.form_area .center-position{
  display: flex;
  justify-content: center;

}

:root{
  /* 既存の設計に合わせて色・角丸を調整してください */
  --c-main: var(--main, #0b66c3);
  --c-light: var(--light, #fff);
  --c-border: color-mix(in srgb, var(--c-main), #000 25%);
  --radius: 8px;
  --tab-gap: 16px;      /* タブ間隔 */
  --tab-lift: 10px;     /* アクティブが持ち上がる量（=パネルと重なる感） */
  --tab-h: 44px;        /* タブ高さ（お好みで） */
}

/* タブ列をパネルの上に配置するための余白設計 */
.tabs--index{
  display: flex;
  gap: var(--tab-gap);
  margin: 24px 0 0;          /* 上の余白のみ */
  position: relative;
  z-index: 2;                /* パネルより上に */
}

/* タブボタンの見た目（非アクティブ） */
.tabs--index .tab{
  appearance: none;
  border: 1px solid var(--c-border);
  border-bottom: none;                   /* 下は切っておく（パネル枠に繋げる） */
  background: #f7f9fc;                   /* 非アクティブの面色 */
  color: #222;
  padding: 0 16px;
  height: var(--tab-h);
  line-height: calc(var(--tab-h) - 2px);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  cursor: pointer;
  position: relative;
  z-index: 1;
  box-shadow: 0 1px 0 rgba(0,0,0,.04) inset;
}

/* ホバー時の軽い反応 */
.tabs--index .tab:hover{
  background: #eef3fb;
}

/* アクティブタブ：上に持ち上げ、パネルと同一背景に */
.tabs--index .tab.is-active{
  background: var(--c-light);
  color: #000;
  z-index: 3;                              /* 一番上 */
  transform: translateY(calc(var(--tab-lift) * -1));
  /* 下の辺を描いてしまうと境界が出るので bottom は描かない */
  border-bottom: none;
  box-shadow:
    0 0 0 1px var(--c-border),             /* 全体の輪郭を補強 */
    0 2px 0 var(--c-light);                /* タブ下端に panel 背景を被せて境界を消すトリック */
}

/* パネル外枠 */
.panel-wrap{
  position: relative;
  margin-top: calc(0px - var(--tab-lift)); /* タブを持ち上げた分だけパネルを近づける */
  z-index: 1;
}

/* パネル本体（デフォは非表示にしている想定なら display: none でも可） */
.tabpanel{
  border: 1px solid var(--c-border);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--c-light);
  display: none;
}

/* 表示中のパネル */
.tabpanel.is-active{ display: block; }

/* パネルの上辺の線を“タブの下に潜らせる”ための補強線（任意） */
.panel-wrap::before{
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 1px;
  background: var(--c-border);
  z-index: 0;                 /* タブ（z-index:2/3）の下になる */
}

/* タブ列の下に細いベースラインを引いて見出し感を出す（任意） */
.tabs--index::after{
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--c-border);
  z-index: 0;
}

/* 狭い画面用（タブを折り返し可に・重なり量を弱める） */
@media (max-width: 640px){
  :root{ --tab-lift: 6px; --tab-gap: 8px; --tab-h: 40px; }
  .tabs--index{ flex-wrap: wrap; }
}

/* タブコンテナ */
.tabs {
  display: flex;
  gap: 0;
  margin-bottom: -1px; /* パネルの枠とつなげる */
  position: relative;
}

/* タブの基本形（シンプル） */
.tab {
  font-size: 2rem;
  background: #f2f4f8;
  border: 1px solid #b5c0d3;
  border-bottom: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  position: relative;
  z-index: 1; /* 全部同じ高さ */
  margin-right: -8px; /* ←重なりの量（調整可） */
}

/* 最後のタブだけ margin-right を戻す */
.tab:last-child {
  margin-right: 0;
}

/* ホバー（軽く） */
.tab:hover {
  background: #e9edf3;
}

/* アクティブタブは前に出す */
.tab.is-active {
  font-size: 2rem;
  background: var(--main); /* パネルと同じ */
  color: #fff;
  z-index: 5;
  border-bottom: none;
  font-weight: 600;
}

/* パネル（枠） */
.panel-wrap {
  border: 1px solid #b5c0d3;
  border-radius: 0 8px 8px 8px;
  background: #ffffff;
  padding: 24px;
}

.tabpanel {
  display: none;
}

.tabpanel.is-active {
  display: block;
}

#service3 {
  scroll-margin-top: 120px; /* 固定ヘッダーの高さより少し大きめに */
}

#service2 {
  scroll-margin-top: 120px; /* 固定ヘッダーの高さより少し大きめに */
}

#service1 {
  scroll-margin-top: 120px; /* 固定ヘッダーの高さより少し大きめに */
}


/* ---------------------------------------
* info
--------------------------------------- */
.news_title {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 6rem;
    text-align: left;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.5em;
    color: var(--main);
    border-bottom: var(--main) solid 1px;
    margin-bottom: 10px;
    clear: both;
}

.news_img a img {
    max-width: 330px;
    max-height: 330px;
    object-fit: contain;
    margin-right:10px;
    margin-bottom:10px;
}

.news_img {
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
}

.info .info-area {
    border-bottom: 1px solid #CCC;
    padding: 1.1em .7em 1em;
}

.news_text {
  margin-bottom: 10px;
}

@media print,screen and (max-width: 767px) {
  .news_img {
    width: 100%;
    margin-bottom: 2rem;
    display: block;
}
}