@charset "utf-8";

/* 共通
============================== */
.inner {
  width: calc(100% - 40px);
  margin-inline: auto;
}
.bottom_lead {
  text-align: center;
  font-size: 21px;
  font-size: clamp(1.5rem, 0.85rem + 1.626vw, 2.1rem);
  letter-spacing: 0.1em;
  line-height: 1.8;
  font-weight: 500;
}
sup,
sub {
  font-size: small;
}
sup.top {
  vertical-align: super;
}
sub.top {
  vertical-align: super;
}
sub.low {
  vertical-align: text-top;
}

@media only screen and (max-width:767px) {
  sup,
  sub {
    font-size: 10px;
  }
  sub.low {
  vertical-align: bottom;
}
}

/* link_area
=============================== */
@media (min-width: 768px) {
  .link_area {
    position: -webkit-sticky;
    position: sticky;
    top: 10px;
    z-index: 1000;
  }
}
.link_area {
  width: calc(100% - 40px);
  max-width: 1000px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 30px;
}
.link_item {
  position: relative;
  background-color: #dfe9eb;
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  font-size: clamp(1.3rem, 0.411rem + 1.157vw, 1.8rem);
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: #4d5b91;
  font-weight: 500;
  border-radius: 20px 0;
  box-shadow: rgba(37, 44, 69, 0.1) 6px 10px 10px 2px;
  transition: 0.4s;
}
.link_item::before {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background-color: #4d5b91;
  border-radius: 100%;
  transition: 0.4s;
}
.link_item.active {
  background-color: #4d5b91;
  color: #fff;
}
.link_item.active::before {
  background-color: #fff;
}
.link_item:hover {
  background-color: #4d5b91;
  color: #fff;
}
.link_item:hover::before {
  background-color: #fff;
}

@media only screen and (max-width: 767px) {
  .link_area {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .link_item {
    height: 70px;
    font-weight: 500;
  }
  .link_item::before {
    bottom: 8px;
    width: 4px;
    height: 4px;
  }
}

/* トップへ戻るボタン
=============================== */
.crm--pageTop {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: block;
}
.crm--pageTop.on {
  opacity: 1;
  visibility: visible;
}
.crm--pageTop a {
  transition: all 0.4s;
}
.crm--pageTop a:hover {
  opacity: 0.8;
}

@media only screen and (max-width: 767px) {
  .crm--pageTop {
    right: 10px;
    bottom: 25px;
    width: 52px;
  }
}

/* header
=============================== */
.header {
  position: relative;
  padding-top: 24px;
  padding-bottom: 40px;
}
.header .inner {
  max-width: 1000px;
}
.header_wrap {
  display: flex;
  align-items: end;
  column-gap: 60px;
}
.header_logo {
  flex-shrink: 0;
}
.header_logo a {
  display: block;
  width: 100%;
  max-width: 137px;
  transition: all 0.4s;
}
.header_logo a:hover {
  opacity: 0.7;
}
.header_lead {
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: #4c4c4c;
}

@media only screen and (max-width: 767px) {
  .header {
    padding-top: 24px;
    padding-bottom: 20px;
  }
  .header_wrap {
    align-items: start;
    flex-direction: column;
    row-gap: 14px;
  }
  .header_logo a {
    max-width: 120px;
  }
  .header_lead {
    font-size: 14px;
  }
}

/* ========== ハンバーガー共通 ========== */
.header_wrap_sp {
  display: flex;
  align-items: start;
  flex-direction: column;
  row-gap: 14px;
  padding: 20px;
}
/* ボタン本体 */
.openbtn {
  position: fixed;
  right: 16px;
  top: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  z-index: 10010;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px,
              rgba(0, 0, 0, 0.07) 0px 2px 2px,
              rgba(0, 0, 0, 0.07) 0px 4px 4px,
              rgba(0, 0, 0, 0.07) 0px 8px 8px,
              rgba(0, 0, 0, 0.07) 0px 16px 16px;
}
.openbtn:focus-visible {
  outline: 2px solid #0099ff;
}
.openbtn span {
  position: absolute;
  left: 50%;
  width: 24px;
  height: 1px;
  background: #000;
  border-radius: 1px;
  transform: translateX(-50%);
  transition: all 0.35s ease;
}
.openbtn span:nth-child(1) {
  top: 20px;
}
.openbtn span:nth-child(2) {
  bottom: 20px;
}
.openbtn.is-active span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.openbtn.is-active span:nth-child(2) {
  bottom: 50%;
  transform: translate(-50%, 50%) rotate(-45deg);
}
.openbtn:active {
  transform: scale(0.95);
}

/* ========== ナビ本体 ========== */
#g-nav {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#g-nav-list {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: url(../images/common/sp_bg.jpg) no-repeat top center / cover;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  box-shadow: -6px 0 18px rgba(0, 0, 0, 0.08);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#g-nav.is-open {
  opacity: 1;
  visibility: visible;
}
#g-nav.is-open #g-nav-list {
  transform: translateX(0%);
}
.g-nav_inner {
  padding: 20px 18px 28px;
}
.g-nav_items {
  display: grid;
  gap: 14px;
}
.g-nav_item_main {
  position: relative;
  display: block;
  padding: 12px 6px;
  font-size: 15px;
  letter-spacing: 0.03em;
  line-height: 1.5;
  color: #000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  padding-bottom: 18px;
}
.g-nav_item_main::before {
  content: "＞";
  position: absolute;
  top: 42%;
  -webkit-transform: translate(0, -50%) scale(0.6, 1);
  right: 0;
  transform: translate(0, -50%) scale(0.6, 1);
  font-size: 22px;
  color: #333333;
}
body.is-nav-open {
  overflow: hidden;
  touch-action: none;
}
.sp_sns {
  margin-top: 30px;
  width: 60%;
  margin-inline: auto;
  padding-bottom: 60px;
}
.sp_sns_title {
  text-align: center;
  font-size: 18px;
  letter-spacing: normal;
  line-height: 1.2;
  color: #4c4c4c;
}
.sp_sns_wrap {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 14px;
}
.sp_sns_item {
  display: block;
  text-align: center;
  transition: all 0.4s;
}
.sp_sns_item:hover {
  opacity: 0.7;
}
.sp_sns_text {
  margin-top: 6px;
  text-align: center;
  font-size: 14px;
  letter-spacing: normal;
  line-height: 1.2;
  color: #4c4c4c;
}

@media (max-width: 767px) {
  .openbtn {
    display: inline-flex;
  }
}
@media (min-width: 768px) {
  #g-nav {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .header {
    padding-bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .openbtn,
  #g-nav,
  #g-nav-list {
    transition: none !important;
  }
}

/* footer
================================= */
.footer {
  padding-top: 130px;
  padding-bottom: 30px;
  background: #f5f7fa;
  background: linear-gradient(
    0deg,
    rgba(245, 247, 250, 1) 0%,
    rgba(195, 207, 226, 1) 100%
  );
}
.footer .inner {
  max-width: 1000px;
}
.footer_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 30px;
}
.footer_wrap_left {
  width: 78%;
  display: flex;
  align-items: center;
  column-gap: 80px;
  column-gap: clamp(3rem, -5.889rem + 11.574vw, 8rem);
  border-right: 1px solid #4c4c4c;
}
.footer_title {
  flex-shrink: 0;
  font-size: 28px;
  font-size: clamp(2.2rem, 1.133rem + 1.389vw, 2.8rem);
  letter-spacing: normal;
  line-height: 1.2;
  color: #4c4c4c;
  transition: .4s;
}
.footer_title:hover {
  opacity: 0.7;
}
.footer_nav_wrap {
  display: flex;
  flex-direction: column;
  row-gap: 18px;
  padding-right: 20px;
}
.footer_nav {
  display: block;
  font-size: 16px;
  font-size: clamp(1.4rem, 1.044rem + 0.463vw, 1.6rem);
  letter-spacing: normal;
  line-height: 1.2;
  color: #4c4c4c;
  transition: all 0.4s;
}
.footer_nav:hover {
  opacity: 0.7;
}
.footer_sns {
  width: 22%;
}
.footer_sns_title {
  text-align: center;
  font-size: 16px;
  font-size: clamp(1.4rem, 1.044rem + 0.463vw, 1.6rem);
  letter-spacing: normal;
  line-height: 1.2;
  color: #4c4c4c;
}
.footer_sns_wrap {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 20px;
  column-gap: clamp(1.2rem, -0.222rem + 1.852vw, 2rem);
}
.footer_sns_item {
  display: block;
  text-align: center;
  transition: all 0.4s;
}
.footer_sns_item:hover {
  opacity: 0.7;
}
.footer_sns_text {
  margin-top: 6px;
  text-align: center;
  font-size: 16px;
  font-size: clamp(1.2rem, 0.489rem + 0.926vw, 1.6rem);
  letter-spacing: normal;
  line-height: 1.2;
  color: #4c4c4c;
}
.footer_bottom {
  margin-top: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 40px;
}
.footer_bottom a {
  transition: all 0.4s;
}
.footer_bottom a:hover {
  opacity: 0.7;
}
.footer_bottom_logo {
  display: block;
  width: 100%;
  max-width: 107px;
}
.footer_bottom_nav_wrap {
  display: flex;
}
.footer_bottom_nav {
  display: block;
  font-size: 16px;
  letter-spacing: normal;
  line-height: 1;
  color: #4c4c4c;
  padding-inline: 10px;
  border-right: 1px solid #4c4c4c;
}
.footer_bottom_nav:last-child {
  border-right: none;
}
.footer_copy {
  margin-top: 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 100;
}

@media only screen and (max-width: 767px) {
  .footer {
    padding-top: 70px;
    padding-bottom: 20px;
  }
  .footer_wrap {
    flex-direction: column;
    row-gap: 20px;
  }
  .footer_wrap_left {
    width: 100%;
    align-items: center;
    flex-direction: column;
    row-gap: 30px;
    border-right: none;
    border-bottom: 1px solid #4c4c4c;
    padding-bottom: 20px;
  }
  .footer_title {
    font-size: 22px;
  }
  .footer_nav_wrap {
    width: 100%;
    padding-right: 0px;
  }
  .footer_sns {
    width: 60%;
    margin-inline: auto;
  }
  .footer_sns_wrap {
    margin-top: 16px;
    column-gap: 20px;
  }
  .footer_sns_item {
    display: block;
    text-align: center;
    transition: all 0.4s;
  }
  .footer_sns_text {
    font-size: 14px;
  }
  .footer_bottom {
    margin-top: 50px;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
  }
  .footer_bottom_logo {
    display: block;
    width: 100%;
    max-width: 130px;
  }
  .footer_bottom_nav_wrap {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .footer_bottom_nav {
    font-size: 12px;
    padding-inline: 4px;
    padding-block: 3px;
  }
  .footer_copy {
    margin-top: 20px;
    font-size: 14px;
  }
}
