@charset "utf-8";

/*--------------------------------------------------------------*/
/* 下記はreset.cssに記載済み

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

html {
  font-size: 62.5%;
}

1rem = 10pxとなります。
6px→1.6rem、
24px→2.4rem、
48px→4.8rem
のように記述できます。

/*--------------------------------------------------------------*/
:root {
  --color-primary: #333;
  --color-main: #e60012;
  --color-wht: #fff;
  --color-black: #000;
  --color-contrast: #ffd400;
  --color-hi-contrast: #fff33f;
  --color-bg-light: #f9f9f9;
  --color-bg: #f5f5f5;
  --color-bg-gray: #f1f1f1;
  --color-img-bg: #efefef;
  --color-tag: #454545;
  --color-text-sub: #666;
  --color-tab: #e5e5e5;
  --color-tab-active: #f5aa18;
}
/* ------------------------------------------------------------ */
/* 基本指定 */
/* ------------------------------------------------------------ */
html {
  overflow-x: hidden;
}

/* ナビ表示のときはスクロールしないように 
ただし、ページ内でposition:stickyをつかうときは注意 */
html.is-locked {
  overflow-y: hidden;
}

body {
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 400;
  font-style: normal;
  font-family:
    "Noto Sans JP", "M PLUS 1p", YuGothic, "Yu Gothic Medium", "Yu Gothic", "Helvetica Neue", HelveticaNeue, Meiryo,
    sans-serif;
  overflow-wrap: break-word;
  text-size-adjust: 100%;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#header {
  /*表示崩れのため明示的に記述(読み込みコンポーネントのため例外的にidで指定)*/
  background-color: var(--color-wht);
}

.container {
  /*表示区連れのため明示的に記述*/
  width: 100%;
  background: var(--color-wht);
}

div#breadcrumb_container {
  /*表示崩れのため明示的に記述(読み込みコンポーネントのため例外的にidで指定)*/
  width: 100%;
}

.pc {
  display: none;
}

.tab_pc {
  display: none;
}

@media screen and (min-width: 768px) {
  /*電話番号リンクをスマホのみ有効にする*/
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

/* ------------------------------------------------------------ */
/* font */
.noto {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* ------------------------------------------------------------ */
/* common layouts */
.wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.content_inner,
.content_inner_s,
.content_inner_ss,
.content_inner_l {
  width: 100%;
  margin: 0 auto;
}

.content_inner {
  max-width: 1000px;
}

.content_inner_s {
  max-width: 800px;
}

.content_inner_ss {
  max-width: 600px;
}

.content_inner_l {
  max-width: 1200px;
}

.inner {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  clear: both;

  @media screen and (min-width: 1024px) {
    max-width: 1000px;
  }
}
.inner::after {
  content: "";
  clear: both;
  display: block;
}

.content {
  position: relative;
  color: var(--color-black);
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0 auto;
}
.base {
  position: relative;
  width: 100%;
  padding: 6rem 2rem;
  margin: 0 auto;

  @media screen and (min-width: 768px) {
    padding: 8rem 4rem;
  }

  @media screen and (min-width: 1024px) {
    padding: 8rem 0;
  }
}

/* 配置 */
.center {
  text-align: center;
}

.flx_box {
  display: flex;
  flex-direction: column;
  gap: 4rem;

  @media screen and (min-width: 1024px) {
    flex-direction: row;
    align-items: flex-start;
  }
}

.flx_item {
  width: 100%;

  @media screen and (min-width: 1024px) {
    flex: 1 1 0;
    min-width: 0;
  }
}

.pc_block {
  display: none;

  @media screen and (min-width: 1024px) {
    display: block;
  }
}

.sp_block {
  display: block;

  @media screen and (min-width: 1024px) {
    display: none;
  }
}

/* ---------------------- */
/* img */
.img img {
  width: 100%;
}

/* ---------------------- */
/* btn */
.btn_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 4.2rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 220px;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  color: var(--color-wht);
  background: var(--color-main);
  border: 2px solid var(--color-main);
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
  padding: 1.6rem 1.8rem;

  &:link,
  &:visited {
    color: var(--color-wht);
  }

  &:hover,
  &:active {
    color: var(--color-main);
    background: var(--color-wht);
  }
}

.btn_square {
  border-radius: 6px;
}

.btn_round {
  border-radius: 30px;
  padding: 1.6rem 3.8rem;
}

/* ---------------------- */
/* ttl（見出し）※見出しのスタイルはここにまとめて記述
  基本　：ttl          … 20px / 太字（すべての見出しに付ける）
  サイズ：ttl_16〜ttl_40 … 2px刻み（spanに付けて一部だけ大きくすることも可）
  配置　：ttl_center   … 中央揃え
  装飾　：ttl_underline（下線）/ ttl_line（左線）
  例）<h2 class="ttl ttl_32 ttl_center ttl_underline">見出し</h2>
*/
.ttl {
  position: relative; /* 装飾用の疑似要素を付けるとき用 */
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 2rem;
}

/* サイズ */
.ttl_16 {
  font-size: 1.6rem;
}

.ttl_18 {
  font-size: 1.8rem;
}

.ttl_20 {
  font-size: 2rem;
}

.ttl_22 {
  font-size: 2.2rem;
}

.ttl_24 {
  font-size: 2.4rem;
}

.ttl_28 {
  font-size: 2.8rem;
}

.ttl_32 {
  font-size: 3.2rem;
}

.ttl_36 {
  font-size: 3.6rem;
}

.ttl_40 {
  font-size: 4rem;
}

/* 24px以上の見出しは行間を詰める（spanに付けた場合は見出しの行間のまま） */
.ttl.ttl_24,
.ttl.ttl_28,
.ttl.ttl_32,
.ttl.ttl_36,
.ttl.ttl_40 {
  line-height: 1.34;
}

/* 装飾 */
.ttl_underline {
  border-bottom: 2px solid var(--color-main);
  padding: 0.8rem 0;
}

.ttl_line {
  border-left: 5px solid var(--color-black);
  padding: 0.8rem 2rem;
}

/* ---------------------- */
/* text */
.txt {
  font-size: 1.6rem;
  margin: 0 0 1rem;
}

.txt_l {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.txt span {
  text-align: left;
}

.notice_list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.notice {
  display: flex;
  gap: 0.8rem;
  font-size: 1.2rem;
  line-height: 1.5;

  &::before {
    content: "※";
    flex-shrink: 0;
  }
}

.highlight_red {
  font-size: 1.8rem;
  color: var(--color-main);
  font-weight: 700;
}

.highlight_marker {
  display: inline-block;
  font-size: 1.8rem;
  background-color: var(--color-hi-contrast);
  font-weight: 700;
  padding: 0 0.4rem;
}

.asterisk {
  font-size: 1.2rem;
  color: var(--color-contrast);
}

/* ---------------------- */
/* list */
.list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;

  & li {
    position: relative;
    line-height: 1.5;
    padding-left: 2.8rem;
  }

  & li::before {
    position: absolute;
    content: "";
    top: 9px;
    left: 10px;
    width: 6px;
    height: 6px;
    background: var(--color-main);
    border-radius: 50%;
  }
}

/* ---------------------- */
/* bg_box */
.bg_box {
  background-color: var(--color-bg-gray);
  padding: 2rem;
  margin: 0 0 2rem;
}

/* ---------------------- */
/* box_img */
.box_img img {
  width: 100%;
  aspect-ratio: 380 / 260;
  object-fit: cover;
  background: var(--color-bg);
}

/* ---------------------- */
/* circle_card */
.circle_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  width: 100%;
  max-width: 261px;
  line-height: 1.6;
  text-align: center;

  @media screen and (min-width: 768px) {
    flex: 1 1 0;
    min-width: 200px;
  }

  & img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
  }
}

/* ---------------------- */
/* card / tag */
.card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 340px;
}

.card_img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--color-img-bg);
}

.card_body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: flex-start;
  gap: 1rem;
  min-height: 179px;
  background: var(--color-bg-light);
  padding: 1rem;
}

.card_text {
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--color-text-sub);
}

.tag {
  display: inline-block;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--color-wht);
  background: var(--color-tag);
  border-radius: 4px;
  padding: 0 1rem;
}

/* ---------------------- */
/* table_content */
.table_content {
  border-bottom: 1px solid var(--color-black);

  & th,
  & td {
    line-height: 1.5;
    vertical-align: top;
    padding: 1.2rem 0;
  }

  & th {
    width: 110px;
    padding-right: 2.2rem;
  }
}

/* ---------------------- */
/* accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;

  & .accordion_item {
    display: flex;
    flex-direction: column;
  }

  & .box {
    position: relative;
    display: flex;
    width: 100%;
    border-bottom: 1px solid var(--color-black);
    padding: 1rem 0 1rem 5.4rem;

    &::before {
      position: absolute;
      content: "";
      top: 10px;
      left: 0;
      background: no-repeat center / contain;
    }
  }

  & .box_text {
    flex: 1 1 0;
    line-height: 1.74;
    padding-top: 0.4rem;
  }

  & .box_q {
    justify-content: space-between;
    align-items: flex-start;
    font-weight: 600;
    text-align: left;

    &::before {
      width: 27px;
      height: 27px;
      background-image: url(../img/badge_q.svg);
    }

    &::after {
      content: "";
      flex-shrink: 0;
      width: 40px;
      height: 33px;
      background: url(../img/icon_arrow.svg) no-repeat center / contain;
      transition: transform 0.4s ease;
    }
  }

  & .box_a {
    display: none;
    margin-top: 1.4rem; /* 質問との間隔(slideToggleで一緒に伸縮させるためgapではなくmarginで指定) */

    &::before {
      width: 26px;
      height: 22px;
      background-image: url(../img/badge_a.svg);
    }
  }

  & .box_q.is-open::after {
    transform: rotate(180deg);
  }

  & .box_a.is-open {
    display: flex;
  }
}

/* ---------------------- */
/* tabs */
.tabs_list {
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.tabs_button {
  flex-shrink: 0;
  min-width: 180px;
  padding: 2.4rem;
  border: none;
  background: var(--color-tab);
  cursor: pointer;
}

.tabs_button.is-active {
  background: var(--color-tab-active);
}

.tabs_panel {
  display: none;
}

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

/* ---------------------- */
/* mainvisual */
.mainvisual {
  position: relative;
}

/* ==============================================================
 以下、独自スタイル
================================================================= */

/* ---------------------- */
/* section_catch */
.section_catch {
  & .content_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6.6rem;
    text-align: center;
  }

  & .text_catch {
    font-size: 2.2rem;
    line-height: 1.73;
  }
}

/* ---------------------- */
/* section_type03 */
.section_type03 {
  background: var(--color-bg-gray);

  & .ttl {
    margin-bottom: 3rem;
  }

  & .wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    padding: 2rem 0;

    @media screen and (min-width: 768px) {
      flex-direction: row;
      justify-content: center;
      align-items: flex-start;
    }

    @media screen and (min-width: 1024px) {
      gap: 11rem;
    }
  }
}

/* ---------------------- */
/* section_normal */
.section_normal {
  & .content_inner_s > .ttl {
    margin: 1rem 0 3rem;
  }

  & .content_inner_s > .ttl_line {
    padding: 0.4rem 2rem;
  }

  & .text {
    line-height: 1.74;
  }

  & .content_inner_s > .text {
    margin: 1rem 0;
  }

  & .notice_list {
    padding: 1rem 0;
  }

  & .box_text {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
  }
}

/* ---------------------- */
/* section_slider */
.section_slider {
  & .content_inner {
    text-align: center;
  }

  & .text_catch {
    display: inline-block;
    vertical-align: top;
    font-size: clamp(1.6rem, 4.2vw, 1.8rem);
    line-height: 1.54;
    white-space: nowrap;
    padding: 1rem 0 2rem;
    margin-bottom: 1rem;

    & span {
      position: relative;
    }

    & span::before {
      position: absolute;
      content: "";
      top: 50%;
      left: -1.2em;
      width: 1px;
      height: 30px;
      background: var(--color-black);
      transform: translateY(-50%) rotate(-35deg);
    }

    & span::after {
      position: absolute;
      content: "";
      top: 50%;
      right: -1.2em;
      width: 1px;
      height: 30px;
      background: var(--color-black);
      transform: translateY(-50%) rotate(35deg);
    }
  }

  & .card_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    text-align: left;

    @media screen and (min-width: 590px) {
      flex-direction: row;
      flex-wrap: wrap;
      align-items: stretch;
    }
  }

  & .card {
    @media screen and (min-width: 590px) {
      width: calc((100% - 1.8rem) / 2);
    }

    @media screen and (min-width: 1024px) {
      width: calc((100% - 5.4rem) / 4);
    }
  }
}

/* ---------------------- */
/* 表示切替 */
.sp-only {
  @media screen and (min-width: 768px) {
    display: none;
  }
}
