:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
  all: unset;
  display: revert;
}

*,
::after,
::before {
  box-sizing: border-box;
}

a,
button {
  cursor: revert;
}

menu,
ol,
ul {
  list-style: none;
}

img {
  max-inline-size: 100%;
  max-block-size: 100%;
}

table {
  border-collapse: collapse;
}

input,
textarea {
  -webkit-user-select: auto;
}

textarea {
  white-space: revert;
}

meter {
  -webkit-appearance: revert;
  appearance: revert;
}

:where(pre) {
  all: revert;
}

::placeholder {
  color: unset;
}

::marker {
  content: initial;
}

:where([hidden]) {
  display: none;
}

:where([contenteditable]:not([contenteditable="false"])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

:where([draggable="true"]) {
  -webkit-user-drag: element;
}

:where(dialog:modal) {
  all: revert;
}

html {
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.7;
  overflow-x: clip;
}

body {
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  width: 100%;
  vertical-align: middle;
}

.pc {
  display: block;
  /* または inline, flex など表示形式に合わせて指定 */
}

@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
}

.sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp {
    display: block;
  }
}

p>a {
  color: #87bad1;
  text-decoration: underline;
}

p>a::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("../../assets/images/link.svg");
  background-size: contain;
  margin-right: 4px;
  transform: translateY(2px);
}

/* --- 共通スタイル --- */
header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 16px;
}

.header_left {
  display: flex;
  align-items: center;
}

.header_logo {
  max-width: 140px;
  margin-right: 16px;
  flex-shrink: 0;
}

.header_ttl {
  font-size: 12px;
}

.header_ttl .pc {
  display: inline;
}

.header_right {
  position: relative;
}

/* --- デフォルトスタイル (主にPC向け) --- */

/* ハンバーガーボタンはデフォルトで非表示 */
.header_menu_btn {
  display: none;
}

/* ナビゲーションメニュー (PC) */
.header_menu {
  max-width: 100%;
  visibility: visible;
  position: static;
  width: auto;
  background: none;
  padding: 0;
  opacity: 1;
  transform: none;
  transition: none;
}

.header_menu ul {
  display: flex;
  /* メニューを横並びに */
  list-style: none;
  padding: 0;
  margin: 0;
}

.header_menu li {
  margin-left: 8px;
}

.header_menu li:first-child {
  margin-left: 0;
}

.header_menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px;
  border: none !important;
  /* SP用のボーダーを無効化 */
  font-size: 13px;
  white-space: nowrap;
  letter-spacing: 0.1em;
}

.header_menu a:hover {
  color: #7caac1;
  background: none;
}

.header_menu span {
  font-size: 0.8em;
  padding-right: 0;
  margin-bottom: 4px;
}

/* 画面幅1200px以下のPCでのフォントサイズ調整 */
@media (max-width: 1200px) {
  .header_left {
    flex-wrap: wrap;
    width: 30%;
    margin-right: 24px;
  }

  .header_left a {
    width: 100%;
    margin-bottom: 8px;
  }

  .header_menu ul {
    flex-wrap: wrap;
  }

  .header_menu li {
    margin-left: 0;
  }
}

/* タブレット */
@media (max-width: 983px) {}


/* --- スマートフォン向けスタイル (768px以下) --- */
@media (max-width: 768px) {

  /* ハンバーガーボタンを表示 */
  .header_menu_btn {
    display: block;
    /* PCでは非表示なので表示させる */
    position: relative;
    background: #87bad1;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 0;
    z-index: 20;
  }

  /* ハンバーガーボタンの線 */
  .header_menu_btn span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 0;
    background: #fff;
    width: 45%;
    margin-bottom: 0;
    /* PC用のマージンをリセット */
  }

  .header_menu_btn span:nth-of-type(1) {
    top: 13px;
  }

  .header_menu_btn span:nth-of-type(2) {
    top: 19px;
  }

  .header_menu_btn span:nth-of-type(3) {
    top: 25px;
  }

  .header_menu_btn span:nth-of-type(3)::after {
    content: "Menu";
    position: absolute;
    top: 5px;
    left: -2px;
    color: #fff;
    font-size: 0.6rem;
    text-transform: uppercase;
  }

  /* ハンバーガーボタン active時 (×印) */
  .header_menu_btn.active span:nth-of-type(1) {
    top: 14px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }

  .header_menu_btn.active span:nth-of-type(2) {
    opacity: 0;
  }

  .header_menu_btn.active span:nth-of-type(3) {
    top: 26px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }

  .header_menu_btn.active span:nth-of-type(3)::after {
    content: "Close";
    position: absolute;

    /* top/leftでの位置指定はリセット */
    top: 0;
    left: 0;

    /* transformで回転と移動をまとめて指定します。
		  以下のtranslateXとtranslateYの数値を調整してください。
		*/
    transform: rotate(-45deg) translateY(8px) translateX(0px);
  }

  /* ナビゲーションメニュー (SP) */
  .header_menu {
    visibility: hidden;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    padding: 85px 16px 16px;
    transition: all 0.5s;
    opacity: 0;
    transform: translateY(-20px);
    text-align: center;
  }

  .header_menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  /* PC用の横並びを解除 */
  .header_menu ul {
    display: block;
  }

  /* PC用のマージンをリセット */
  .header_menu li {
    margin-left: 0;
  }

  .header_menu span {
    font-size: 0.9em;
    color: #87bad1;
    padding-right: 8px;
  }

  /* PC用のスタイルを上書き・リセット */
  .header_menu a {
    display: block;
    flex-direction: initial;
    width: 100%;
    padding: 8px;
    border-top: 1px solid #00000030;
    letter-spacing: 0.1em;
    font-size: 16px;
    /* vw指定をリセット */
    white-space: normal;
  }

  .header_menu li:last-of-type a {
    border-bottom: 1px solid #00000030;
  }
}

.fixed_btn_list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: fixed;
  z-index: 100;
  bottom: 16px;
  right: 0;
}

.fixed_btn_item {
  display: block;
  writing-mode: vertical-rl;
  padding: 16px 8px;
  border-radius: 8px 0 0 8px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.fixed_btn_item.contact_btn {
  color: white;
  background: #bfb79f;
}

.fixed_btn_item.inspection_btn {
  color: #87bad1;
  background: white;
  border: 2px solid #87bad1;
}

.fixed_btn_item.application_btn {
  color: white;
  background: #87bad1;
}

@media screen and (max-width: 768px) {
  .header_left {
    width: 80%;
    margin-right: 5%;
  }

  .header_left a {
    width: auto;
    margin-bottom: 0;
  }

  .header_logo {
    width: auto;
    height: 30px;
    margin-right: 8px;
  }

  .header_ttl {
    display: block;
    font-size: 11px;
  }

  .fixed_btn_list {
    flex-direction: row;
    left: 0;
    bottom: 0;
  }

  .fixed_btn_item {
    flex: 1;
    height: auto;
    writing-mode: inherit;
    border-radius: 8px 8px 0 0;
  }
}

#hero {
  background: url("./top.jpg");
  background-size: cover;
  background-position: center center;
}

/* アニメーションを適用する親コンテナ */
.zoom-container {
  /* これが重要！拡大された背景がはみ出さないようにする */
  overflow: hidden;
}

/* 背景画像とアニメーションの本体 */
.zoom-bg {
  /* 背景画像をきれいに見せるための設定 */
  width: 100%;
  height: 100%;
  background-size: cover;
  /* 要素全体を覆うように拡大・縮小 */
  background-position: center;
  /* 中央を基準に表示 */

  /* 初期状態：1.1倍に拡大 */
  transform: scale(1.1);

  /* アニメーションの設定：transformプロパティを1.2秒かけて変化させる */
  transition: transform 1s ease-out;
}

/* JavaScriptによって付与されるクラス */
.zoom-bg.is-visible {
  /* 最終状態：元のサイズに戻る */
  transform: scale(1);
}

.hero_wrapper {
  display: flex;
  align-items: stretch;
  flex-direction: row;
  max-width: 1200px;
  height: 100%;
  min-height: 640px;
  margin: 0 auto;
  position: relative;
}

.hero_cover {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 36px 36px 72px 36px;
}

.hero_img {
  width: 360px;
}

.hero_ttl {
  margin-bottom: 16px;
  font-size: 52px;
  color: white;
  letter-spacing: 0.1em;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  font-family: "Zen Maru Gothic";
  font-weight: 700;
}

.hero_txt {
  color: white;
  font-size: 16px;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  font-family: "Zen Maru Gothic";
}

.hero_btn_primary {
  display: inline-block;
  margin: 8px;
  padding: 8px 16px;
  width: fit-content;
  color: white;
  background: #87bad1;
  border-radius: 50px;
  font-size: 1.2em;
  text-align: center;
  box-shadow: 0 5px 0 #5e8292;
}

.hero_btn_secondary {
  display: inline-block;
  margin: 8px;
  padding: 4px 24px 4px 16px;
  width: fit-content;
  color: #87bad1;
  border-bottom: 2px solid #87bad1;
  text-align: center;
  position: relative;
}

.hero_btn_secondary::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #87bad1;
  border-right: 2px solid #87bad1;
  position: absolute;
  top: 50%;
  right: 8px;
  transform: rotate(45deg) translateY(-50%);
}

.hero_fixed_txt {
  padding: 8px 16px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  font-size: 1.5em;
  position: absolute;
  bottom: 16px;
  left: 0;
}

.hero_fixed_txt span {
  font-size: 2em;
}

@media screen and (max-width: 768px) {
  #hero {
    height: 56vh;
  }

  .hero_wrapper {
    min-height: inherit;
  }

  .hero_cover {
    width: 100%;
    padding: 120px 3vw 64px;
  }

  .hero_ttl {
    font-size: 6.8vw;
    margin-bottom: 8px;
  }

  .hero_txt {
    font-size: 14px;
  }

  .hero_fixed_txt {
    font-size: 1em;
    bottom: inherit;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero_txt {
    font-size: 14px;
  }
}

.sec_ttl {
  margin: 0 auto;
  width: 240px;
  height: 143px;
  background: url("../../assets/images/frame3.svg");
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
}

.sec_ttl_en,
.sec_ttl_jp {
  width: 100%;
  position: absolute;
  font-size: 1.5em;
  text-align: center;
  letter-spacing: 0.1em;
}

.sec_ttl_en {
  bottom: 48%;
  font-family: Montserrat;
}

.sec_ttl_en:after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: #333;
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
}

.sec_ttl_jp {
  top: 60%;
  font-size: 12px;
}

.sec_ttl_en2,
.sec_ttl_jp2 {
  position: relative;
  font-size: 1.5em;
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.sec_ttl_en2 {
  font-family: Montserrat;
}

.sec_ttl_en2:after,
.sec_ttl_jp2:after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: #333;
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
}

.sec_lead_txt {
  margin: 32px 0;
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 2;
  font-weight: 400;
  font-size: 15px;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 48px;
}

@media screen and (max-width: 768px) {
  .sec_ttl {
    width: 78vw;
    height: 33.4vw;
    background-position: center center;
  }

  .sec_ttl_en {
    font-size: 22px;
  }

  .sec_ttl_en:after {
    bottom: -2px;
  }

  .sec_ttl_jp {
    font-size: 12px;
  }

  .sec_lead_txt {
    margin: 28px 0;
    font-size: 14px;
    text-align: left;
  }

  .wrapper {
    padding: 32px 5%;
  }
}

.banner {
  max-width: 640px;
  margin: 32px auto;
}

.cta {
  background: white;
}

.cta_ttl {
  margin: 32px auto;
  font-size: 1.5em;
  text-align: center;
  position: relative;
  letter-spacing: 0.1em;
}

.cta_ttl::after {
  content: url("../../assets/images/ttl_bar.png");
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
}

.cta_list {
  display: flex;
  margin: 32px auto;
  max-width: 1000px;
  gap: 32px;
}

.cta_list_item {
  width: calc(100%);
  letter-spacing: 0.1em;
}

.cta_list_item_ttl {
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.1em;
}

.cta_list_item_btn {
  display: block;
  padding: 16px 16px;
  margin: 16px 0;
  border-radius: 100px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1em;
}

.cta_list_item_btn.contact {
  color: white;
  background: #bfb79f;
}

.cta_list_item_btn.apply {
  color: white;
  background: #87bad1;
}

.cta_list_item_btn.inspection {
  color: #87bad1;
  background: white;
  border: 2px solid #87bad1;
}

.cta_list_item_txt {
  font-size: 0.9em;
  text-align: center;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 768px) {
  .cta_list {
    flex-direction: column-reverse;
    align-items: center;
  }

  .cta_list_item {
    padding-bottom: 32px;
    border-bottom: 2px solid #00000030;
  }

  .cta_list_item:last-of-type {
    padding-top: 32px;
    border-top: 2px solid #00000030;
  }
}

#about {
  background: #fcf9f5;
}

/* .about_copy {
  text-align: center;
  font-size: 2em;
  margin: 32px;
  padding-bottom: 8px;
  letter-spacing: 0.1em;
}
.about_copy span {
  border-bottom: 5px solid #a6c4d6;
} */

.about_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  counter-reset: about 0;
  max-width: 800px;
  margin: 48px auto 16px;
}

.about_list_item {
  width: calc((100% - 32px * 3) / 4);
  padding: 16px;
  background: white;
  border: 2px solid #222;
  box-shadow: 8px 8px 0 #00000010;
  position: relative;
}

.about_list_item::before {
  font-family: Montserrat;
  counter-increment: about 1;
  content: "0" counter(about);
  width: 42px;
  height: 42px;
  line-height: 42px;
  font-size: 16px;
  text-align: center;
  color: white;
  background: #87bad1;
  border-radius: 50%;
  position: absolute;
  top: -12px;
  left: -12px;
  letter-spacing: 0.05em;
}

.about_list_item_icon {
  text-align: center;
  margin: 8px 0 16px;
}

.about_list_item_icon img {
  width: auto;
  height: 80px;
}

.about_list_item_txt {
  text-align: center;
  letter-spacing: 0.05em;
  font-size: 14px;
  font-weight: 500;
}

.about_list_item_popup {
  display: none;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: #00000050;
  z-index: 5;
}

.about_list_item_popup_wrapper {
  position: fixed;
  max-width: 600px;
  padding: 32px;
  background: white;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.about_list_item_popup_ttl {
  margin: 16px 0;
  padding-left: 60px;
  font-size: 1.2em;
  line-height: 48px;
  position: relative;
}

.about_list_item_popup_ttl::before {
  content: "0" counter(about);
  width: 48px;
  height: 48px;
  line-height: 48px;
  font-size: 24px;
  text-align: center;
  color: white;
  background: #87bad1;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
}

.about_list_item_popup_txt {
  text-align: justify;
}

.about_list_item_popup_close {
  display: block;
  width: 36px;
  height: 36px;
  background: #333;
  border-radius: 50%;
  position: absolute;
  top: 4px;
  right: 4px;
}

.about_list_item_popup_close::before {
  content: "";
  display: block;
  height: 2px;
  width: 24px;
  background: white;
  transform: rotate(45deg);
  position: absolute;
  top: 17px;
  right: 6px;
}

.about_list_item_popup_close::after {
  content: "";
  display: block;
  height: 2px;
  width: 24px;
  background: white;
  transform: rotate(-45deg);
  position: absolute;
  top: 17px;
  right: 6px;
}

@media screen and (max-width: 768px) {
  .about_copy {
    margin: 32px auto;
    font-size: 8.5vw;
  }

  .about_list {
    justify-content: flex-start;
    padding: 0 8px;
    gap: 16px;
  }

  .about_list_item {
    width: calc((100% - 16px) / 2);
  }

  .about_list_item::before {
    font-size: 16px;
    width: 34px;
    height: 34px;
    line-height: 32px;
  }

  .about_list_item_icon img {
    height: 50px;
  }

  .about_list_item_popup_wrapper {
    padding: 16px;
    width: 100%;
  }

  .about_list_item_popup_ttl {
    line-height: 1.7;
  }

  .about_list_item_txt {
    font-size: 12px;
  }
}

#facility {
  position: relative;
  width: 100%;
}

#facility:before {
  background: url(../../assets/images/idesk_facility_bg.jpg);
  background-position: 50%;
  background-size: cover;
  border-radius: inherit;
  content: "";
  height: 100%;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  transition: inherit;
  width: 100%;
  filter: brightness(0.15);
}

#facility .sec_ttl {
  color: #fff;
  background-image: url("../../assets/images/frame3_wh.svg");
}

#facility .sec_ttl_en:after {
  background: #fff;
}

#facility .sec_lead_txt {
  color: #fff;
}

.facility_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.facility_list_item {
  width: calc((100% - 72px) / 4);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.facility_list_item_img {
  box-shadow: 8px 8px 0 #00000010;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.facility_list_item_txt {
  margin: 16px 8px;
  font-size: 0.9em;
  text-align: justify;
}

@media screen and (max-width: 768px) {
  .facility_list {
    gap: 16px;
    padding: 16px;
  }

  .facility_list_item {
    width: calc((100% - 16px) / 2);
    aspect-ratio: 1 / 1;
  }
}

#price {
  background: #fcf9f5;
}

.price_table {
  margin: 32px auto;
  max-width: 800px;
  background: white;
}

.price_table>* {
  margin-bottom: 16px;
  line-height: 2;
  letter-spacing: 0.05em;
  font-size: 14px;
}

.price_table>.has-medium-font-size {
  font-size: 16px !important;
}

figcaption {
  text-align: right;
}

@media screen and (max-width: 768px) {
  .price_table {
    font-size: 0.9em;
    padding: 8px;
  }
}

#voice {
  position: relative;
  width: 100%;
}

#voice:before {
  background: url(../../assets/images/idesk_voice_bg.jpg);
  background-position: 50%;
  background-size: cover;
  border-radius: inherit;
  content: "";
  height: 100%;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  transition: inherit;
  width: 100%;
  filter: brightness(0.15);
}

#voice .sec_ttl {
  color: #fff;
  background-image: url("../../assets/images/frame3_wh.svg");
}

#voice .sec_ttl_en:after {
  background: #fff;
}

.voice_contents {
  margin: 32px 0;
}

.voice_contents_inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  counter-reset: about 0;
  max-width: 1000px;
  margin: 48px auto 16px;
}

.voice_contents_inner li {
  width: calc((100% - 32px * 2) / 3);
  padding: 24px 16px;
  background: white;
  border: 1px solid #333;
  position: relative;
}

.voice_ttl {
  font-size: 16px;
  letter-spacing: 0.1em;
  background: url("../../assets/images/voice_bk_circle.svg") no-repeat left center;
  background-size: 38px 38px;
  padding: 14px 8px 16px 50px;
  border-bottom: 1px solid #333;
  margin-bottom: 12px;
  font-weight: 500;
}

.voice_txt {
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 2;
}

.more_btn_wrap {
  margin-top: 58px;
}

.more_btn {
  display: block;
  width: 200px;
  margin: 0 auto;
  padding: 8px 0;
  text-align: center;
  border: 1px solid #333;
  border-radius: 50px;
  transition: 0.3s;
  font-size: 16px;
  letter-spacing: 0.05em;
  background: transparent;
}

.more_btn:hover {
  background: #333;
  color: #fff;
}

.more_btn_wrap_wh .more_btn {
  color: #fff;
  border-color: #fff;
}

.more_btn_wrap_wh .more_btn:hover {
  background: #fff;
  color: #333;
}

@media screen and (max-width: 768px) {
  .voice_contents_inner {
    gap: 24px
  }

  .voice_contents_inner li {
    width: 100%;
    padding: 5%;
  }

  .more_btn_wrap {
    margin-top: 32px;
  }
}

#flow {
  background: url("../../assets/images/bg_craft.png");
}

.flow_list {
  margin-top: 32px;
}

.flow_list_item {
  display: flex;
  gap: 16px;
  margin: 32px;
}

.flow_list_item_container {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 32px;
  background: white;
  box-shadow: 8px 8px 0 #00000010;
  position: relative;
}

.flow_list_item:not(:last-of-type) .flow_list_item_container {
  margin-bottom: 32px;
}

.flow_list_item:not(:last-of-type) .flow_list_item_container::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 24px 24px 0 24px;
  border-color: #00000030 transparent transparent transparent;
  position: absolute;
  bottom: -48px;
  left: 50%;
  transform: translateX(-50%);
}

.flow_list_item_container._sub {
  width: 60%;
  align-items: flex-start;
}

.flow_list_item_number {
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  color: white;
  background: #87bad1;
  border-radius: 50%;
  flex-shrink: 0;
  font-family: Montserrat;
}

.flow_list_item_content {
  margin-left: 24px;
  padding: 8px;
  padding-left: 24px;
  border-left: 1px solid #00000030;
}

.flow_list_item_container._sub .flow_list_item_content {
  border: none;
  margin: 0;
  padding-left: 8px;
}

.flow_list_item_ttl {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.flow_list_item_txt {
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 2;
}

.flow_about_inspection {
  text-align: center;
}

.flow_about_inspection_ttl {
  padding: 32px 0;
  font-size: 1.5em;
  font-weight: 600;
  position: relative;
}

.flow_about_inspection_ttl::after {
  content: url("../../assets/images/ttl_bar.png");
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
}

.flow_about_inspection_txt {
  font-size: 1.1em;
}

@media screen and (max-width: 768px) {
  .flow_list {
    margin-top: 48px;
  }

  .flow_list_item {
    flex-direction: column;
    margin: 16px;
  }

  .flow_list_item_container {
    position: relative;
  }

  .flow_list_item_container._sub {
    width: 100%;
  }

  .flow_list_item:not(:last-of-type) .flow_list_item_container::after {
    display: none;
  }

  .flow_list_item:has(._sub) .flow_list_item_container:not(._sub) {
    margin-bottom: 0;
  }

  .flow_list_item_number {
    position: absolute;
    left: 50%;
    top: -24px;
    transform: translateX(-50%);
  }

  .flow_list_item_content {
    margin-left: 0;
    padding: 8px 0;
    border: none;
  }
}

#voice {
  background: url("../../assets/images/bg_wood.png");
  position: relative;
}

.voice_list {
  margin: 32px auto 0;
  max-width: 1200px;
  padding: 0 160px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.voice_list_item {
  width: calc((100% - 48px) / 4);
  padding: 16px;
  background: white;
  box-shadow: 8px 8px 0 #00000010;
  font-size: 0.9em;
}

.voice_list_item_txt {
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 2px solid #00000030;
  text-align: justify;
}

.voice_list_btn {
  width: 80px;
  height: 80px;
  text-align: center;
  border-radius: 50%;
  border: 1px solid #222;
  position: absolute;
  top: calc(50% + 66px);
  transform: translateY(-50%);
}

.voice_list_btn._prev {
  left: calc(50% - 512px);
}

.voice_list_btn._next {
  right: calc(50% - 512px);
}

@media screen and (max-width: 768px) {
  .voice_list {
    padding: 16px;
    padding-bottom: 120px;
  }

  .voice_list_item {
    width: calc((100% - 16px) / 2);
  }

  .voice_list_btn {
    top: inherit;
    bottom: 0;
  }

  .voice_list_btn._prev {
    left: 16px;
  }

  .voice_list_btn._next {
    right: 16px;
  }
}

#faq {
  background: #fcf9f5;
}

.faq_list {
  max-width: 800px;
  margin: 32px auto 0;
  padding: 32px;
  background: white;
}

.faq_list_item {
  flex-direction: column;
  padding: 16px 8px;
  border-bottom: 2px solid #00000030;
}

.faq_list_item:last-of-type {
  border-bottom: none;
}

.faq_list_item_ttl,
.faq_list_item_txt {
  display: block;
  position: relative;
  padding: 8px 8px 8px 40px;
  width: 100%;
  letter-spacing: 0.05em;
  line-height: 2;
}

.faq_list_item_ttl {
  font-size: 16px;
}

.faq_list_item_ttl::before {
  background: url("../../assets/images/question_icon.png");
}

.faq_list_item_txt {
  font-size: 14px;
}

.faq_list_item_txt::before {
  background: url("../../assets/images/answer_icon.png");
}

.faq_list_item_ttl::before,
.faq_list_item_txt::before {
  position: absolute;
  top: 8px;
  left: 0;
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background-size: cover;
}

@media screen and (max-width: 768px) {
  .faq_list {
    padding: 8px;
  }
}

#access {
  position: relative;
  width: 100%;
}

#access:before {
  background: url(../../assets/images/idesk_access_bg.jpg);
  background-position: 50%;
  background-size: cover;
  border-radius: inherit;
  content: "";
  height: 100%;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  transition: inherit;
  width: 100%;
  filter: brightness(0.15);
}

#access .sec_ttl {
  color: #fff;
  background-image: url("../../assets/images/frame3_wh.svg");
}

#access .sec_ttl_en:after {
  background: #fff;
}

.access_container {
  margin-top: 32px;
  padding: 32px;
  background: white;
}

.access_info {
  display: flex;
  align-items: stretch;
  gap: 16px;
  min-height: 400px;
}

.access_info_left {
  flex: 1;
}

.access_info_left iframe {
  width: 100%;
  height: 100%;
}

.access_info_right {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 16px;
  flex: 1;
}

.access_info_ttl {
  margin-bottom: 16px;
  font-size: 1.5em;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.access_info_ttl span {
  margin-left: 8px;
  font-size: 0.9rem;
  color: #87bad1;
  white-space: nowrap;
  font-family: Montserrat;
  letter-spacing: 0.05em;
}

.access_info_item {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid #00000030;
}

.access_info_item:first-of-type {
  border-top: 1px solid #00000030;
}

.access_info_list_ttl {
  width: 80px;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 14px;
}

.access_info_list_txt {
  width: calc(100% - 96px);
  letter-spacing: 0.05em;
  font-size: 14px;
}

.access_route {
  padding: 36px;
}

.access_route_ttl {
  margin: 16px 0 32px;
  font-size: 22px;
  text-align: center;
  letter-spacing: 0.1em;
}

.access_route_list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  counter-reset: access 0;
}

.access_route_item {
  width: calc((100% - 32px) / 3);
  position: relative;
}

.access_route_item_txt {
  display: flex;
  gap: 8px;
  text-align: justify;
  padding: 8px;
  letter-spacing: 0.05em;
  font-size: 14px;
  line-height: 2;
}

.access_route_item_txt::before {
  counter-increment: access 1;
  content: "0" counter(access);
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  color: white;
  background: #87bad1;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .access_container {
    padding: 16px;
  }

  .access_info {
    flex-direction: column-reverse;
  }

  .access_info_right {
    padding: 0;
  }

  .access_info_ttl {
    text-align: center;
  }

  .access_info_left iframe {
    height: 300px;
  }

  .access_info_item {
    flex-direction: column;
    gap: 8px
  }

  .access_info_list_txt {
    width: 100%;
  }

  .access_route {
    padding: 16px 0;
  }

  .access_route_ttl {
    font-size: 16px;
  }

  .access_route_item {
    width: calc((100% - 16px) / 2);
  }

  .access_route_item_img {
    height: auto;
  }

  .access_route_item_txt {
    padding: 8px 0;
    font-size: 12px;
    line-height: 1.6;
  }
}

#insta_news {
  background: #fcf9f5;
  padding: 58px 0;
}

.insta_news_contents {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 36px;
  gap: 24px;
}


.insta_news_contents .more_btn_wrap {
  margin-top: 32px;
}

.insta_news_contents .insta_contents {
  max-width: 460px;
  width: 100%;
}

.insta_news_contents .insta_contents_inner {
  padding: 32px;
  background: white;
  box-shadow: 8px 8px 0 #00000010;
  position: relative;
}

.insta_news_contents .news_contents {
  max-width: 460px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.insta_news_contents .info_item_news {
  padding: 32px;
  background: white;
  box-shadow: 8px 8px 0 #00000010;
  position: relative;
  flex-grow: 1;
}

.info_item_news .info_item_news_list {
  flex-grow: 1;
  /* 空いたスペースを埋めるように伸びる */
}


#info {
  background: #fcf9f5;
}

.info_vacancy {
  margin: 32px auto;
  padding: 16px;
  max-width: 800px;
  background: white;
}

.info_vacancy_ttl {
  font-size: 1.2em;
  text-align: center;
}

.info_list {
  display: flex;
  max-width: 800px;
  margin: 32px auto;
  gap: 32px;
}

.info_item {
  width: calc(50% - 16px);
  padding: 16px;
  background: white;
}

.info_item_ttl {
  margin: 16px 0;
}

.info_item_ttl_en {
  font-size: 0.9em;
  text-align: center;
}

.info_item_ttl_jp {
  font-size: 1.1em;
  text-align: center;
}

.info_item_btn {
  display: block;
  margin: 16px auto;
  padding: 8px 16px;
  width: 240px;
  text-align: center;
  border: 1px solid #333;
  border-radius: 100px;
}

.info_item_news_item {
  padding: 8px 16px;
  border-top: none;
  border-bottom: 1px solid #00000030;
}

.info_item_news_item a {
  display: flex;
  justify-content: space-between;
}

.info_item_news_date {
  width: 100px;
  font-size: 0.9em;
  letter-spacing: 0.05em;
}

.info_item_news_ttl {
  width: calc(100% - 100px);
  font-size: 14px;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.info_vacancy {
  padding: 16px 32px;
}

.info_vacancy_ttl {
  margin: 16px 0;
}

.info_vacancy_table p {
  text-align: center;
  margin-top: -16px;
}

.info_vacancy_table table {
  margin: 16px 0;
  width: 100%;
}

.info_vacancy_table table th {
  padding: 8px 16px;
  color: white;
  background: #333;
  text-align: center;
  vertical-align: middle;
  border: 2px solid white;
}

.info_vacancy_table table td {
  padding: 8px 16px;
  text-align: center;
  vertical-align: middle;
  border: 2px solid white;
  background: #fcf9f5;
}

.info_vacancy_table table thead th {
  color: white;
  background: #87bad1;
}

@media screen and (max-width: 768px) {
  #insta_news {
    padding: 48px 5% 32px;
  }

  .insta_news_contents {
    padding: 0;
    gap: 48px;
  }

  .info_list {
    flex-direction: column;
  }

  .info_item {
    width: 100%;
  }
}

.footer_wrapper {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px;
}

.footer_left {}

.footer_logo {
  width: 160px;
  margin-bottom: 8px;
}

.footer_txt {
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  font-size: 14px;
}

.footer_link_list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer_link_item a {
  letter-spacing: 0.05em;
  font-size: 14px;
}

.footer_sns_list {
  display: flex;
  gap: 8px;
}

.footer_sns_item {
  width: 32px;
  padding: 4px;
}

.footer_right {
  text-align: right;
  text-decoration: underline;
}

.copyright {
  padding: 4px;
  color: white;
  background: #87bad1;
  text-align: center;
  font-size: 0.9em;
}

@media screen and (max-width: 768px) {
  .footer_wrapper {
    padding: 16px 16px 76px;
    flex-direction: column;
  }
}

.page figure {
  margin: 60px 0 32px;
}

.faq_accordion_btn,
.faq_accordion_btn_close {
  padding: 36px;
  text-align: center;
}

.faq_accordion_btn span,
.faq_accordion_btn_close span {
  color: white;
  background: #87bad1;
  padding: 8px 16px;
  border-radius: 100px;
  display: inline-block;
  width: 200px;
}

/* フェードインの初期状態 */
.fade-in {
  opacity: 0;
  /* 少し下から表示されるように */
  transform: translateY(20px);
  /* アニメーションの時間と変化の速度を指定 */
  transition: opacity 1s ease, transform 1s ease;
}

/* 画面内に入ったときに付与されるクラス */
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.modal-wrapper {
  /* displayは常にflexにしておく */
  display: flex;

  /* 見た目とレイアウト */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  z-index: 1000;

  /* ↓ アニメーションのための設定 ↓ */

  /* 初期状態は透明で見えなくする */
  opacity: 0;
  visibility: hidden;

  /* opacityとvisibilityの変化を0.3秒かけて行う */
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-wrapper.is-visible {
  /* 表示状態：不透明で見えるようにする */
  opacity: 1;
  visibility: visible;
}

#modal-image {
  /* 常にこのスタイルが適用されるようにする */
  width: auto;
  max-width: 90%;
  /* 念のため横幅の最大値も指定しておくと安心です */
  max-height: 80vh;
  /* ← 80vhに統一 */
  object-fit: contain;
}


.form_wrapper {
  max-width: 100%;
  padding-top: 0;
  padding-bottom: 50px;
}

.bg_header_wrap {
  position: relative;
  width: 100%;
  padding: 82px 0;
}

.form_wrapper .bg_header_wrap:before {
  background: url("../../assets/images/idesk_form_bg.jpg");
  background-position: 50%;
  background-size: cover;
  border-radius: inherit;
  content: "";
  height: 100%;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  transition: inherit;
  width: 100%;
  filter: brightness(0.3);
}

.form_wrapper .sec_ttl {
  color: #fff;
  background-image: url("../../assets/images/frame3_wh.svg");
}

.form_wrapper .sec_ttl_en:after {
  background: #fff;
}

/* フォームコンテンツ全体の基本設定 */
.form_contents {
  color: #333;
  /* 基本のテキストカラー（お好みで調整してください） */
  font-size: 16px;
}

/* 段落（pタグ）の行間と下余白 */
.form_contents p {
  line-height: 1.8;
  /* 複数行になった時や<br>で改行した時に読みやすい行間 */
  margin: 1em 0;
  /* 次の要素との間隔 */
}

/* 最後のpタグの下余白は消す（レイアウト崩れ防止） */
.form_contents p:last-child {
  margin-bottom: 0;
}

/* H2見出しの調整（01 会員登録 など） */
.form_contents h2.wp-block-heading {
  font-size: 18px;
  font-weight: 500;
  margin-top: 48px;
  /* 上に少し広めの余白を取って区切りを分かりやすく */
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ccc;
  /* 構造が分かりやすいようにシンプルな下線 */
}

/* 最初のH2は上余白を少し狭くする */
.form_contents h2.wp-block-heading:first-of-type {
  margin-top: 32px;
}

/* H3見出しの調整（【カード決済の場合】 など） */
.form_contents h3.wp-block-heading {
  font-size: 16px;
  font-weight: 500;
  margin-top: 32px;
  margin-bottom: 12px;
}

.form_wrapper .form_note {
  margin: 32px auto 48px;
  max-width: 800px;
  text-align: left;
}

.form_wrapper .form_note h3 {
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.1em;
  line-height: 2;
  margin-bottom: 32px;
  text-align: center;
}

.form_wrapper .form_note p {
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 2;
}

.form_contents {
  max-width: 800px;
  margin: 0 auto;
}

.form_contents form dl>div {
  display: block;
}

.form_contents form dt {
  width: 100%;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  font-size: 16px;
  font-weight: 500;
}

.form_contents form dd {
  width: 100%;
  letter-spacing: 0.05em;
  font-size: 16px;
}

.form_contents form input,
.form_contents form textarea,
.form_contents form select {
  padding: 8px;
  color: #333;
  margin: 0;
}

.form_contents form .date_area p {
  display: flex;

}

.form_contents form .date_area p span {
  margin-right: 8px;
}

.form_contents form .required {
  position: relative;
}

.form_contents form .required:after {
  content: "*";
  color: rgb(236, 57, 57);
  margin-left: 12px;
}

.form_contents form .submit {
  margin-top: 24px;
  text-align: center;
}

.form_contents form .submit .wpcf7-submit {
  color: #fff;
  padding: 12px 24px;
  width: 250px;
  font-weight: 500;
  cursor: pointer;
}

.wpcf7-spinner {
  position: absolute;
}

.form_contents form .birth .select_wrapper,
.form_contents form .observe .select_wrapper {
  width: auto;
  margin-right: 12px;
}

.form_contents form .birth .select_wrapper p,
.form_contents form .observe .select_wrapper p {
  display: flex;
  align-items: center;
  gap: 7px;
}

.form_contents form .zip {
  display: block;
}

.form_contents form .zip .zip_content {
  margin-bottom: 24px;
}

.form_contents form .zip .zip_content p {
  display: flex;
  align-items: center;
}

.form_contents form .zip .zip_content .zip_ttl {
  width: 100px;
}

.form_contents form .zip .zip_content .zip_ttl input {
  width: 100%;
}

.form_contents form .zip .zip_content .zip_txt {
  width: calc(100% - 100px);
}

.form_contents form .zip .zip_content .zip_txt input {
  width: 100%;
}

@media screen and (max-width: 768px) {

  .form_contents>h2,
  .form_contents>h3,
  .form_contents>p,
  .form_contents>ul,
  .form_contents>ol {
    padding: 0 16px;
  }

  .form_wrapper .form_note p {
    width: 90%;
    margin: 0 auto;
    text-align: left;
  }

  .form_contents form .observe .select_wrapper {
    margin-right: 0;
  }

}