@charset "utf-8";

/* ページ内リンクの移動を滑らかに */
html {
  scroll-behavior: smooth;
}
/* ------------------
 グローバル変数
------------------ */
:root {
  /* 色 */
  --main-color: #164EC8;
  --sub-color: #FFDF64;
  --dark-blue: #5290CD;
  --light-blue: #DEF4FB;
  --var-color: #000;

  /* コンテンツ幅 */
  --contents-w: 1200px;

  /* 文字サイズ */
  --font-48: 4.8rem;
  --font-42: 4.2rem;
  --font-32: 3.2rem;
  --font-24: 2.4rem;
  --font-20: 2.0rem;
  --main-txt: 1.6rem;

  /* 行間 */
  --letter-96: 9.6px;
  --letter-64: 6.4px;
  --letter-48: 4.8px;
  --letter-32: 3.2px;
  --letter-10: 1px;
  --letter-08: 0.8px;

  /* 余白 */
  --space-65: 65px;
  --space-45: 45px;
  --space-30: 30px;
  --space-20: 20px;
  @media screen and (max-width: 767px) {
    /* 文字サイズ */
    --font-48: 3.2rem;
    --font-42: 2.6rem;
    --font-32: 2.2rem;
    --font-24: 1.8rem;
    --font-20: 1.7rem;
    --main-txt: 1.5rem;

    /* 行間 */
    --letter-96: 4.8px;
    --letter-64: 3.2px;
    --letter-48: 2.4px;
    --letter-32: 1.6px;
    --letter-10: 0.5px;
    --letter-08: 0.4px;

    /* 余白 */
    --space-65: 40px;
    --space-45: 30px;
    --space-30: 20px;
    --space-20: 15px;
  }
}
/* 色 */
*[data-color="main"] {--var-color: var(--main-color);}
*[data-color="white"] {--var-color: #fff;}
*[data-color="black"] {--var-color: #000;}
*[data-color="sub"] {--var-color: var(--sub-color);}

body {
  font-family: 'M PLUS Rounded 1c','Helvetica Neue',Arial,'Hiragino Kaku Gothic ProN','Hiragino Sans',Meiryo,sans-serif;
  font-size: var(--main-txt);
  @media screen and (max-width: 1279px) {
    width: 1280px;
  }
  @media screen and (max-width: 767px) {
    width: 100%;
  }
  @media print {
    width: 1280px;
    zoom: 0.68;
    -webkit-print-color-adjust: exact;
  }
}
:where(a) {
  color: var(--var-color);
  &:hover {
    opacity: 0.8;
  }
}
:where(p) {
  line-height: 2;
}
/* スマホ閲覧時のみ表示 */
.sp_block {display: none;}
@media screen and (max-width: 767px) {
  .sp_block {display: block;}
  .pc_block {display: none;}
}
p {
  transform: rotate(0.05deg); 
}
/* ------------------
 SVGスプライト
------------------ */
.fill_color {
  fill: var(--var-color, var(--main-color));
}
.stroke_color {
  stroke: var(--var-color, var(--main-color));
}
/* ------------------
ヘッダー
------------------ */
.spNav_btn,.spNav_panel {display: none;}
.header {
  height: 74px;
  @media screen and (max-width: 767px) {height: 66px;}
}
.hd_inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  @media screen and (max-width: 767px) {height: 66px;}
}
.hd_logo {
  display: flex;
  align-items: center;
  font-size: var(--main-txt);
  gap: var(--space-20);
  padding-left: 30px;
  font-weight: 400;
  @media screen and (max-width: 767px) {
    width: 80%;
    padding: 0 15px;
    white-space: nowrap;
    img {
      width: 130px;
    }
  }
}
.pc_nav {
  display: flex;
   align-items: stretch;
  gap: var(--space-20);
}
.pc_nav--item {
  display: flex;
  a {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    text-decoration: none;
    &::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 2px;
      border-bottom: 2px solid var(--main-color);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .3s ease;
    }
    &:hover::after {
      transform: scaleX(1);
    }
  }
}
.hd_recruit a {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  background: var(--sub-color);
  padding: 22px 30px;
}
/* スマホ閲覧時 */
@media screen and (max-width: 767px) {
  .pc_nav {display: none;}
  /* ------------------
  スマホメニュー
  ------------------ */
  /* ボタン */
  .spNav_btn {
    display: block;position: absolute; width: 56px;height: 56px;background: var(--main-color);top:0;right: 0;transition: all 0.5s;z-index: 100;border-radius: 50%;top: 5px;right: 5px;position: fixed;
    span {position: absolute;display: block;height: 2px;background: #fff;margin: auto;}
    
    /* 閉じた状態 */
    &[aria-pressed="false"] span {width: 30px;transition: all 0.5s;}
    &[aria-pressed="false"] span:nth-child(1) {top: 18px;left: 0;right: 0;}
    &[aria-pressed="false"] span:nth-child(2) {top: 50%;left: 0;right: 0; transform: translateY(-50%);}
    &[aria-pressed="false"] span:nth-child(3) {bottom: 18px;left: 0;right: 0;}
    
    /* 開いた状態 */
    &[aria-pressed="true"] span {width: 30px;transition: all 0.5s;}
    &[aria-pressed="true"] span:nth-child(1) {top: 50%;transform: translateY(-1.5px) rotate(45deg);left: 13px;}
    &[aria-pressed="true"] span:nth-child(2) {display: none;}
    &[aria-pressed="true"] span:nth-child(3) {bottom: 50%;transform: translateY(1.5px) rotate(-45deg);left: 13px;}
  }

  /* メニューパネル */
  .spNav_panel {
    display: block;
    height: 100vh;
    width: 260px;
    position: fixed;
    top: 0;
    right: 0;
    transition: all 0.5s;
    background: var(--main-color);
    box-shadow: -8px 0px 8px -1px rgba(0, 0, 0, 0.2);
    overflow: auto;
    z-index: 99;
    
    /* パネルが閉じている状態 */
    &[aria-hidden="true"] {
      visibility: hidden;
      pointer-events: none;
      transform: translateX(100%);
    }

    /* パネルが開いている状態 */
    &[aria-hidden="false"] {
      visibility: visible;
      transform: translateX(0);
    }
  }

  /* メニューパネル内の項目 */
  .spNav_list {
    width: 100%;
    padding: 56px 0 0;
    font-size: 1.5rem;
  }
  .spNav_list--item {
    border-bottom: 1px solid #fff;
    a {
      display: block;
      padding: 12px 20px;
      color: #fff;
    }
  }
  .spNav_accordion--title {
    width: 100%;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    &::after {
      display: inline-flex;
      justify-content: center;
      align-items: center;
    }
    
    /* アコーディオン開閉時の状態表示 */
    &[aria-expanded="false"]::after {content: "+";}
    &[aria-expanded="true"]::after {content: "-";}

    /* アコーディオン内の項目 */
    &[aria-expanded="false"] + .spNav_accordion {
      max-height: 0;
      height: auto;
    }
    &[aria-expanded="true"] + .spNav_accordion {
      max-height: 1000px;
    }
  }
  .spNav_accordion {
    overflow: hidden;
    background: #fff;
    transition: all 0.5s;
    a {
      padding-left: 15%;
      color: var(--main-color);
      border-bottom: 1px dashed #ccc;
    }
  }
  /* bodyをタッチ不可に */
  #onbody {position: absolute;height: 100%;width: 100%; top: 0;left: 0;background: rgba(0, 0, 0, 0.6);z-index: 98;overflow: hidden;pointer-events: none;}
  body:has(#onbody[aria-hidden="true"]) {height: 100%; overflow: hidden;}
}

/* ------------------
メイン
------------------ */
.center_txt {
  text-align: center;
}
.txt20 {
  font-size: var(--font-20);
  line-height: 200%;
}
.bold_txt {
  font-weight: bold;
}
/* ボタン */
.more_btn {
  display: flex;
  justify-content: center;
  a {
    display: flex;
    justify-content: center;
    background: #fff;
    max-width: 305px;
    width: 100%;
    padding: 5px;
    align-items: center;
    border-radius: 20px;
    gap: var(--space-20);
    font-weight: bold;
    @media screen and (max-width: 767px) {
      max-width: 226px;
    }
  }
}
.btn_blue {
  a {
    background: var(--main-color);
    color: #fff;
  }
  .more_btn--arrow {
    background: #fff;
  }
}
.btn_yellow {
  a {
    background: var(--sub-color);
    padding: 12px;
    border-radius: 100px;
  }
  .more_btn--arrow {
    background: var(--main-color);
    transform: rotate(90deg);
  }
}
.more_btn--arrow {
  background: var(--main-color);
  border-radius: 50%;
  min-width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding-left: 3px;
}
.cmn_container {
  width: 90%;
  max-width: var(--contents-w);
  padding-block: var(--space-65);
  margin: 0 auto;
}
.hgroup:has(.cmn_heading), hgroup:has(.cmn_heading)  {
  text-align: center;
  margin-bottom: var(--space-30);
}
.cmn_heading,
.page_heading {
  font-size: var(--font-32);
  font-weight: 900;
  color: var(--main-color);
  letter-spacing: var(--letter-64);
  &[data-color="white"] {color: #fff;}
}
.cmn_heading--txt {
  font-weight: 400;
  letter-spacing: var(--letter-32);
}
/* アンカーリンク */
.anchor_links {
  display: flex;
  justify-content: center;
  gap: var(--space-20);
  max-width: var(--contents-w);
  flex-wrap: wrap;
  margin: 0 auto;
  @media screen and (max-width: 767px) {
    gap: 10px;
    width: 90%;
    .more_btn {
      width: calc(50% - 5px);
      a {
        max-width: none;
        min-width: 0;
        width: 100%;
      }
    }
  }
}
/* テーブル */
.cmn_table {
  width: 100%;
  max-width: 1015px;
  margin: auto;
}
.cmn_table tr {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--dark-blue);
  &:last-child {
    border-bottom: 1px solid var(--dark-blue);
  }
}
.cmn_table--th {
  width: 220px;
  padding: 1.5em 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-blue);
  text-align: center;
  font-weight: normal;
  letter-spacing: 0.05em;
  @media screen and (max-width: 767px) {
    width: 100%;
    padding: 0.5em 1.5em;
  }
}
.cmn_table--td {
  width: 100%;
  padding: 0.5em 2em;
  display: flex;
  align-items: center;
  max-width: calc(100% - 220px);
  gap: 70px;
  img {
    padding: var(--space-20);
  }
  @media screen and (max-width: 767px) {
    max-width: 100%;
    flex-direction: column;
    gap: 10px;
    padding: 1em 1.5em 1.5em;
  }
}





/* ------------------
フッター
------------------ */
.ft_inner {
  max-width: var(--contents-w);
  padding: 125px 0;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: var(--font-32);
  @media screen and (max-width: 767px) {
    width: 80%;
    flex-direction: column;
    padding: 30px 0;
  }
}
.ft_address {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-30);
  @media screen and (max-width: 767px) {
    align-items: flex-start;
  }
}
.address_logo {
  display: flex;
  align-items: center;
  gap: var(--space-30);
  font-size: var(--font-20);
  font-weight: 800;
  @media screen and (max-width: 767px) {
    align-items: center;
    white-space: nowrap;
    font-size: 1.6rem;
  }
}
.ft_txt {
  margin-bottom: 10px;
}
.nav_flex {
  display: flex;
  gap: var(--space-20);
  @media screen and (max-width: 767px) {
    display: block;
  }
}
.ft_nav--top {
  align-items: end;
  display: flex;
  line-height: normal;
  @media screen and (max-width: 767px) {
    padding-bottom: 8px;
  }
}
.ft_nav {
  display: flex;
  align-items: end;
  gap: var(--space-20);
  @media screen and (max-width: 767px) {
    flex-wrap: wrap;
    align-items: start;
    gap: 8px var(--space-20);
  }
}
.copyright {
  width: 100%;
  background: var(--main-color);
  color: #FFF;
  text-align: center;
  font-size: 1.4rem;
  small {
    display: inline-flex;
    line-height: 1;
    align-items: center;
    padding: 15px;
    @media screen and (max-width: 767px) {
      flex-direction: column;
      gap: 5px;
      line-height: 1.5;
    }
  }
}
/* ------------------
  Backtop
------------------ */
#backtop {
  position: fixed;
  display: block;
  width: 50px;
  height: 50px;
  right: 3%;
  bottom: 50px;
  border-radius: 50%;
  background: rgba(225,223,100,0.9);
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
  z-index: -10;
  &::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--main-color);
    border-right: 2px solid var(--main-color);
    transform: translateY(-25%) rotate(-45deg);
    top: 50%;
    left: 0;
    right: 0;
    margin-inline: auto;
  }
  &.active {
    opacity: 0.8;
    visibility: visible;
    z-index: 50;
  }
}

@media screen and (min-width: 768px) {
/* PCの場合はtelリンクを無効 */
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}
@page {
  size: A4;
  margin: 5px;
}
