@charset "utf-8";
/* ===================================
   レスポンシブ表示制御クラス
   PC: 1025px以上
   Tablet: 751px～1024px  
   SP: 750px以下
=================================== */

/* PC表示用 (1025px以上で表示) */
.show-pc {
  display: block !important;
}

.show-pc-inline {
  display: inline !important;
}

.show-pc-inline-block {
  display: inline-block !important;
}

.show-pc-flex {
  display: flex !important;
}

.show-pc-inline-flex {
  display: inline-flex !important;
}

.show-pc-grid {
  display: grid !important;
}

.show-pc-table {
  display: table !important;
}

.show-pc-table-row {
  display: table-row !important;
}

.show-pc-table-cell {
  display: table-cell !important;
}

/* Tablet表示用 (751px～1024pxで表示) */
.show-tab,
.show-tab-inline,
.show-tab-inline-block,
.show-tab-flex,
.show-tab-inline-flex,
.show-tab-grid,
.show-tab-table,
.show-tab-table-row,
.show-tab-table-cell {
  display: none !important;
}

/* SP表示用 (750px以下で表示) */
.show-sp,
.show-sp-inline,
.show-sp-inline-block,
.show-sp-flex,
.show-sp-inline-flex,
.show-sp-grid,
.show-sp-table,
.show-sp-table-row,
.show-sp-table-cell {
  display: none !important;
}

/* 非表示クラス */
.hide-pc {
  display: none !important;
}

.hide-tab {
  display: block !important;
  /* デフォルトはblock */
}

.hide-sp {
  display: block !important;
  /* デフォルトはblock */
}

.hide-sp-inline {
  display: inline !important;
}

/* ===================================
   Tablet範囲 (751px～1024px)
=================================== */
@media (max-width: 1024px) {

  /* PC用を非表示 */
  .show-pc,
  .show-pc-inline,
  .show-pc-inline-block,
  .show-pc-flex,
  .show-pc-inline-flex,
  .show-pc-grid,
  .show-pc-table,
  .show-pc-table-row,
  .show-pc-table-cell {
    display: none !important;
  }

  /* Tablet用を表示 */
  .show-tab {
    display: block !important;
  }

  .show-tab-inline {
    display: inline !important;
  }

  .show-tab-inline-block {
    display: inline-block !important;
  }

  .show-tab-flex {
    display: flex !important;
  }

  .show-tab-inline-flex {
    display: inline-flex !important;
  }

  .show-tab-grid {
    display: grid !important;
  }

  .show-tab-table {
    display: table !important;
  }

  .show-tab-table-row {
    display: table-row !important;
  }

  .show-tab-table-cell {
    display: table-cell !important;
  }

  /* 非表示制御 */
  .hide-pc {
    display: initial !important;
    /* 元のdisplay値を復元 */
  }

  .hide-tab {
    display: none !important;
  }
}

/* ===================================
   SP範囲 (750px以下)
=================================== */
@media (max-width: 750px) {

  /* Tablet用を非表示 */
  .show-tab,
  .show-tab-inline,
  .show-tab-inline-block,
  .show-tab-flex,
  .show-tab-inline-flex,
  .show-tab-grid,
  .show-tab-table,
  .show-tab-table-row,
  .show-tab-table-cell {
    display: none !important;
  }

  /* SP用を表示 */
  .show-sp {
    display: block !important;
  }

  .show-sp-inline {
    display: inline !important;
  }

  .show-sp-inline-block {
    display: inline-block !important;
  }

  .show-sp-flex {
    display: flex !important;
  }

  .show-sp-inline-flex {
    display: inline-flex !important;
  }

  .show-sp-grid {
    display: grid !important;
  }

  .show-sp-table {
    display: table !important;
  }

  .show-sp-table-row {
    display: table-row !important;
  }

  .show-sp-table-cell {
    display: table-cell !important;
  }

  /* 非表示制御 */
  .hide-sp {
    display: none !important;
  }

  .hide-sp-inline {
    display: none !important;
  }
}

/* ---------------------------
    基本設定
----------------------------- */
/* html {
  font-size: 0.694444vw !important;
} */
html {
  font-size: 10px !important;
  -webkit-text-size-adjust: 100%;
  /* iOS対策 */
  -webkit-tap-highlight-color: transparent;
  /* タップ時のハイライト消去 */
}

@media (max-width: 750px) {
  html {
    font-size: 2.5641025641vw !important;
  }
}

/* ===================================
    CSS変数（カスタムプロパティ）
=================================== */
:root {
  /* カラー */
  --color-orange: #F56325;
  --color-darkgray: #4D4D4D;
  --color-light: #FCFAF7;

  /* フォント */
  --font-main: "Noto Sans JP", sans-serif;
  --font-en: "Inter", sans-serif;

  /* サイズ */
  --container-width: 980px;
  --container-padding: 8rem;

  /* トランジション */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===================================
    body設定
=================================== */
body {
  font-family: var(--font-main);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.075rem;
  font-weight: 400;
  color: var(--color-darkgray);
  background-color: var(--color-light);
  width: 100%;
  overflow-x: hidden;
  word-break: break-word;
  /* break-allより自然な改行 */
  -webkit-font-smoothing: antialiased;
  /* フォント滑らか表示 */
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt" 1;
  /* カーニング */
}

.font-en {
  font-family: var(--font-strong);
}

@media screen and (max-width: 750px) {
  body {
    font-size: 1.4rem;
    line-height: 1.65;
    letter-spacing: 0.07rem;
  }
}

/* ===================================
    ユーティリティクラス
=================================== */
.width-limiter {
  max-width: 960px;
  width: 100%;
  margin-inline: auto;
}

.width-limiter[data-width="1200"] {
  max-width: 1200px;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.font-strong {
  font-family: var(--font-strong);
}

/* ---------------------------
    header
----------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 10.3rem;
  z-index: 999;
  pointer-events: none;
  transition: 0.3s ease-in-out;
  background: var(--color-light);
  border-bottom: 2px solid var(--color-darkgray);
  display: flex;
  align-items: center;
}

.header.header__hidden {
  transform: translateY(-100%);
}

.header__inner {
  position: relative;
  z-index: 999;
  display: flex;
  align-items: center;
  padding: 0 4rem;
  pointer-events: all;
}

.header__logo {
  transition: 0.3s ease;
}

.header__logo:hover {
  opacity: 0.5;
}

@media screen and (max-width: 750px) {

  .header {
    height: 7.6rem;
  }

  .header__inner {
    padding: 0 2rem;
  }

  .header__logo {
    width: 28.1rem;
  }
}

/* ===================================
    フッター
=================================== */
.footer {
  background: var(--color-darkgray);
  padding: 12rem 4rem;
}

.footer__logo {
  transition: var(--transition-base);
}

.footer__logo:hover {
  opacity: 0.5;
}

.footer__bottom {
  margin-top: 8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom__links {
  display: flex;
  gap: 1.5rem;
}


.footer__bottom__link {
  color: var(--color-light);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.13rem;
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer__bottom__link::after {
  content: "";
  width: 0.2rem;
  height: 0.9rem;
  background: var(--color-light);
}

.footer__bottom__links li:last-child .footer__bottom__link:after {
  display: none;
}

.footer__bottom__link:hover {
  color: var(--color-orange);
}

.footer__copy {
  color: var(--color-light);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.13rem;
  opacity: .5;
}


@media screen and (max-width: 800px) {
  .footer__bottom__links {
    flex-direction: column;
    gap: 3rem;
  }

  .footer__bottom__link::after {
    display: none;
  }

  .footer__bottom {
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 3rem;
  }
}

@media screen and (max-width: 750px) {
  .footer {
    padding: 5rem 2rem 1rem;
  }

  .footer__logo {
    width: 15rem;
  }

  .footer__bottom {
    margin-top: 5rem;
    gap: 2rem;
  }

  .footer__bottom__links {
    gap: 2rem;
  }

  .footer__copy {
    font-size: 1rem;
  }

}

/* ===================================
    共通
=================================== */
.main {
  margin-top: 10.3rem;
}

.section__title {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section__title .en {
  color: var(--color-orange);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.03rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section__title .en::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--color-orange);

}

.section__title .ja {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.064rem;
}

/* サポートカテゴリー */
.category {
  margin-top: 0.8rem;
  border-radius: 0.8rem;
  background: #FFF;
  padding: 1.6rem;
}

.category h4 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.075rem;
}

.category-box {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
}

.category-item img {
  width: 2.4rem;
  aspect-ratio: 1/1;
}

.category-item span {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.075rem;
  padding-left: 0.2rem;
}

/* ボタン（戻るボタン） */

.btn-back {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 1.2rem 6.8rem 1.2rem 2.4rem;
  border: 2px solid var(--color-orange);
  border-radius: 10rem;
  color: var(--color-orange);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  cursor: pointer;
  transition: 0.5s;
}

.btn-back::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5.3rem;
  transform: translateY(-50%);
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background-color: #f56325;
  transition: 0.5s;
  z-index: -1;
}

.btn-back::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -4rem;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 1.8rem;
  background: url("../images/common/arrow-left.svg") no-repeat center / contain;
}

.btn-back:hover,
.btn-back:focus-visible {
  color: #fff;
  background-color: var(--color-orange);
}

.btn-back:hover::before,
.btn-back:focus-visible::before {
  width: 130%;
  height: 108%;
  border-radius: 10rem;
}

.btn-back:focus-visible {
  outline: 0.125rem solid var(--color-orange);
  outline-offset: 0.125rem;
}

/* ボタン（進むボタン） */

.btn-next {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 1.2rem 6.8rem 1.2rem 2.4rem;
  border: 2px solid var(--color-orange);
  border-radius: 10rem;
  color: var(--color-orange);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1;
  cursor: pointer;
  transition: 0.5s;
}

.btn-next::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -5.3rem;
  transform: translateY(-50%);
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background-color: var(--color-orange);
  transition: 0.5s;
  z-index: -1;
}

.btn-next::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -4rem;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 1.8rem;
  background: url("../images/common/arrow-right.svg") no-repeat center / contain;
}

.btn-next:hover,
.btn-next:focus-visible {
  color: #fff;
  background-color: var(--color-orange);
}

.btn-next:hover::before,
.btn-next:focus-visible::before {
  width: 120%;
  height: 110%;
  border-radius: 10rem;
}

/* ==============================
 * 検索モーダル
 * ============================== */
.search-modal {
  border: none;
  border-radius: 2rem;
  padding: 0;
  max-width: 60rem;
  width: 90%;
  max-height: 90vh;
  background-color: transparent;
  overflow: visible;
  /* ネイティブのアニメーション */
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), overlay 0.3s ease allow-discrete, display 0.3s ease allow-discrete;
  opacity: 0;
  transform: scale(0.7);
}

/* 背景（::backdrop） */
.search-modal::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  transition: var(--transition-base);
  opacity: 0;
}

/* 開いた状態 */
.search-modal[open] {
  opacity: 1;
  transform: scale(1);
}

.search-modal[open]::backdrop {
  opacity: 1;
}

/* @starting-style（開始前の状態を定義） */
@starting-style {
  .search-modal[open] {
    opacity: 0;
    transform: scale(0.7);
  }

  .search-modal[open]::backdrop {
    opacity: 0;
  }
}

.search-modal__content {
  background-color: var(--color-light);
  border-radius: 2rem;
  padding: 4rem;
  max-height: 90vh;
  overflow-y: auto;
  /* スクロールバーを非表示 */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE, Edge */
}

.search-modal__content::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

.search-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.search-modal__title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.32;
}

.search-modal__close {
  background: none;
  border: 2px solid var(--color-darkgray);
  border-radius: 10rem;
  padding: 1rem 2rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-base);
}

.search-modal__close:hover,
.search-modal__close:focus-visible {
  background-color: #f5f5f5;
}

.search-modal__form {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.search-modal__field {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-modal__label {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
}

.search-modal__select,
.search-modal__input,
.search-modal__date {
  border: 2px solid var(--color-darkgray);
  border-radius: 0.8rem;
  padding: 1.2rem 1.6rem;
  font-size: 1.6rem;
  line-height: 1.5;
  width: 100%;
  transition: 0.3s;
}

.search-modal__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 4rem;
  cursor: pointer;
  background-image: url('../images/common/chevron-down.svg');
  background-position: right 1.6rem center;
  background-size: 2.4rem 2.4rem;
  background-repeat: no-repeat;
}

.search-modal__input:focus,
.search-modal__date:focus {
  border-color: var(--color-orange);
  outline: none;
}

.search-modal__select:focus {
  outline: none;
}

.search-modal__select option {
  padding: 1.2rem 1.6rem;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--color-darkgray);
}

.search-modal__select option:hover {
  background-color: rgba(245, 99, 37, 0.1);
}

.search-modal__option-parent {
  font-weight: 700;
  color: #333;
  background-color: #f5f5f5;
  padding: 1.2rem 1.6rem;
}

.search-modal__option-child {
  padding-left: 3.2rem;
}

.search-modal__period {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-modal__period-separator {
  font-size: 1.6rem;
}

.search-modal__date {
  flex: 1;
  position: relative;
}

/* プレースホルダーのスタイル（PC用） */
.search-modal__date::-webkit-input-placeholder {
  color: #999;
}

.search-modal__date::-moz-placeholder {
  color: #999;
}

.search-modal__date::placeholder {
  color: #999;
}

/* カレンダーアイコンの表示を維持 */
.search-modal__date::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

/* スマホ（750px以下）の設定 */
@media (max-width: 750px) {
  /* 既存のプレースホルダーを非表示 */
  .search-modal__date::-webkit-input-placeholder {
    color: transparent;
  }

  .search-modal__date::-moz-placeholder {
    color: transparent;
  }

  .search-modal__date::placeholder {
    color: transparent;
  }

  /* ラッパー要素のスタイル */
  .search-modal__date-wrapper {
    position: relative;
    flex: 1;
  }

  /* JSで制御する擬似プレースホルダーをラッパーに表示 */
  .search-modal__date-wrapper.is-empty::before {
    content: '年/月/日';
    position: absolute;
    left: 1.6rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    z-index: 1;
  }

  /* フォーカス時は擬似要素を非表示 */
  .search-modal__date-wrapper:has(.search-modal__date:focus).is-empty::before {
    display: none;
  }
}

.search-modal__checkboxes {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.search-modal__checkbox-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-modal__checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  border: 1px solid var(--color-darkgray);
  border-radius: 0.4rem;
  position: relative;
  transition: all 0.2s ease;
  background-color: #fff;
}

.search-modal__checkbox:checked {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
}

.search-modal__checkbox:checked::after {
  content: "";
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 0.6rem;
  height: 1rem;
  border: solid #fff;
  border-width: 0 3px 3px 0;
}

.search-modal__checkbox-label {
  font-size: 1.6rem;
  line-height: 1.5;
  cursor: pointer;
}

.search-modal__buttons {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  margin-top: 1.6rem;
}

.search-modal__button {
  width: fit-content;
  border: none;
  border-radius: 10rem;
  padding: 1.4rem 2.4rem;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}

.search-modal__button--secondary {
  background-color: #fff;
  border: 2px solid #4d4d4d;
  color: #4d4d4d;
}

.search-modal__button--secondary:hover,
.search-modal__button--secondary:focus-visible {
  background-color: #f5f5f5;
}

.search-modal__button--primary {
  background-color: #fff;
  color: var(--color-orange);
  border: 2px solid var(--color-orange);
}

.search-modal__button--primary:hover,
.search-modal__button--primary:focus-visible {
  background-color: var(--color-orange);
  color: #fff;
  border: 2px solid var(--color-orange);
}

@media screen and (max-width: 750px) {
  .search-modal__content {
    padding: 2.4rem;
    max-height: 90svh;
  }

  .search-modal__header {
    margin-bottom: 2rem;
  }

  .search-modal__title {
    font-size: 2rem;
  }

  .search-modal__close {
    padding: 0.6rem 1.6rem;
    font-size: 1.2rem;
  }

  .search-modal__form {
    gap: 2rem;
  }

  .search-modal__field {
    gap: 0.8rem;
  }

  .search-modal__label {
    font-size: 1.6rem;
  }

  .search-modal__select,
  .search-modal__input,
  .search-modal__date {
    padding: 1rem 1.2rem;
    font-size: 1.6rem;
    min-height: 4.2rem;
  }

  .search-modal__period {
    flex-direction: column;
    align-items: stretch;
  }

  .search-modal__period-separator {
    text-align: center;
    font-size: 1.4rem;
  }

  .search-modal__checkboxes {
    margin-top: 1rem;
    gap: 1rem;
  }

  .search-modal__checkbox {
    width: 1.8rem;
    height: 1.8rem;
  }

  .search-modal__checkbox-label {
    font-size: 1.4rem;
  }

  .search-modal__buttons {
    margin-top: 0;
    flex-direction: column-reverse;
    align-items: center;
    gap: 1.2rem;
  }

  .search-modal__button {
    padding: 1rem 2rem;
    font-size: 1.4rem;
    width: 60%;
  }
}

@media screen and (max-width: 750px) {
  .main {
    margin-top: 7.6rem;
  }
}