@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&family=Noto+Serif+JP:wght@400;500;600&display=swap");

:root {
  --window-max-size: 1400px;
  --clr-bg: #fff;
  --primary-color: #333333;
  --active-color: #0a3190;

  /* --section-gray-bg: #f5f5f5; */
  --footer-bg-color: #f2f2f2;
  --section-gray-bg: #f4f3ed;
  --section-title-bg-color: #f4f3ed;
  --section-example-bg-color: #edebeb;
  --section-top-products-bg-color: #f7f6f2;
  --section-top-special-bg-color: #f7f6f2;
  --section-top-qa-bg-color: #f2f0f0;
  --section-top-news-bg-color: #f2f5f7;

  --bt-color: #0a3190;
  --bt-font-size: clamp(0.75rem, 0.659rem + 0.3883vw, 1.125rem);
  --bt-padding-block: 12px;
  --main-border: 2px solid #cdcdcd;

  --font-family: "Noto Sans JP", Arial, メイリオ, Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Helvetica, Verdana, sans-serif;
  --font-family-serif: "Noto Serif JP", 游明朝体, "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  --primary-font-color: #333333;
  --headline-font-color: #333333;
  /* 375/12-1920/26 */
  --primary-font-size: clamp(0.75rem, 0.5376rem + 0.9061vw, 1.625rem);
  --original-container-width: 1480px;
  --original-padding-width: 20px;
  --original-content-width: calc(var(--original-container-width) - var(--original-padding-width) * 2);

  --footer-center-font-size: clamp(0.75rem, 0.5528rem + 0.8414vw, 1.5625rem);

  --footer-link-font-size: clamp(0.75rem, 0.6135rem + 0.5825vw, 1.3125rem);

  --footer-copyright-font-size: clamp(0.6875rem, 0.551rem + 0.5825vw, 1.25rem);
}
@media (max-width: 800px) {
  :root {
    --original-padding-width: 10px;
  }
}
@media (max-width: 767px) {
  :root {
    --original-container-width: 100%;
    --original-padding-width: 15px;
    --original-content-width: calc(var(--original-container-width) - var(--original-padding-width) * 2);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
  font-weight: 400;
  font-feature-settings: "palt";
}

html {
  height: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding: 90px;
}
@media (max-width: 767px) {
  html {
    scroll-padding: 50px;
  }
}
body {
  margin: 0;
  background-color: var(--clr-bg);
  width: 100%;
  height: 100%;
  position: relative;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

body.page-loaded {
  opacity: 1;
}

a {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--headline-font-color);
  font-family: var(--font-family);
}

p {
  color: var(--primary-font-color);
  font-family: var(--font-family);
  font-size: var(--primary-font-size);
  line-height: 1.8;
  letter-spacing: 0;
}

img {
  max-width: 100%;
}
sub {
  vertical-align: sub;
  margin-left: 0.1em;
  margin-right: 0.1em;
}
#contentsWrapper {
  width: 100%;
  height: 100%;
  margin-inline: auto;
  z-index: 0;
}

/* 共通 */
main {
  background-color: #fff;
  padding-bottom: 150px;
}
@media (max-width: 767px) {
  main {
    padding-bottom: 100px;
  }
}
.pconly {
  display: block;
}

.sponly {
  display: none;
}

.bt {
  /* --bt-contect-font-size: 24px; */
  display: block;
  margin-inline: auto;
  width: 80%;
  /* height: 30px; */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--bt-font-size);
  font-family: var(--font-family);
  font-feature-settings: "palt";
  color: var(--primary-color);
  font-weight: 400;
  position: relative;
  letter-spacing: 1px;
  transition: 0.5s;
  padding: 0.8em 1em;
  border: 1px solid #333;
}
.bt::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid var(--bt-color);
  margin-left: 1em;
  background: none;
  vertical-align: middle;
}

.bt:hover {
  background-color: var(--active-color);
  color: #fff;
}
.bt:hover::after {
  border-left: 10px solid #fff;
}

.bt-contact {
  margin-inline: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--bt-font-size);
  font-family: var(--font-family);
  color: #000;
  font-weight: 300;
  background-color: #fff;
  position: relative;
  letter-spacing: 1px;
  transition: 0.5s;
  padding-block: var(--bt-padding-block);
  text-decoration: none !important;
}
.bt-contact::after {
  width: 15px;
  height: 15px;
}
.bt-contact:hover {
  background-color: var(--active-color) !important;
  color: #fff;
}
.bt-contact:hover::after {
  border-left: 10px solid #fff;
}
header {
  width: 100%;
  /* max-width: var(--original-container-width); */
  background-color: #fff;
  /* position: fixed; */
  position: relative;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding-top: 80px;
  margin-inline: auto;
  padding-inline: var(--original-padding-width);
  padding-bottom: 20px;
}

@media (min-width: 768px) {
  header.fixed {
    position: fixed;
    z-index: 100;
    top: 0;
    animation: header-fixed 0.5s ease-in-out;
  }
  @keyframes header-fixed {
    from {
      top: -80px;
    }
    to {
      top: 0;
    }
  }
}

header .head-inner {
  width: 100%;
  height: 70px;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
}

header .head-inner h1 {
  width: calc(182 / 1240 * 100%);
  min-width: 100px;
  max-width: 182px;
}

header .head-inner h1 a {
  display: block;
}

header .head-inner ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2em;
}
@media (max-width: 900px) {
  header .head-inner ul {
    gap: 1em !important;
  }
}
header .head-inner ul li a {
  /* font-size: clamp(0.75rem, 0.5795rem + 0.7273vw, 1.125rem); */
  font-size: calc(12.78481px + 0.15823vw);
  font-weight: 500;
  font-family: var(--font-family);
  letter-spacing: 0.03em;
  white-space: nowrap;
  line-height: 1;
  transition: 0.3s;
  text-decoration: underline;
  text-underline-offset: 3px;
}
header .head-inner ul li a:hover {
  /* opacity: 0.6; */
  color: var(--active-color);
}
header .head-inner ul li:last-child a:hover {
  color: #fff;
}

@media (min-width: 768px) {
  header.fixed {
    padding-block: 10px;
  }
  header.fixed .head-inner {
    justify-content: flex-start;
  }
  header.fixed .head-inner .navi {
    margin-left: auto;
    margin-right: 20px;
  }

  header button {
    display: none;
  }
  /** header .head-inner .navi a を目立たせるために白いドロップシャドウを追加 */
  header .head-inner .navi a:not(.bt-contact) {
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.8));
    transform: translateZ(0);
    will-change: filter;
    color: #fff;
  }
  header .head-inner .navi a.bt-contact {
    text-shadow: none;
    filter: none;
    transform: none;
    will-change: none;
    background-color: rgba(255, 255, 255, 0.4);
  }
  header.fixed .head-inner .navi a {
    text-shadow: none;
    filter: none;
    transform: none;
    will-change: none;
    background-color: transparent;
    color: initial;
  }
  body:not(#index) header .head-inner .navi a:not(.bt-contact):hover {
    color: var(--active-color);
  }
}

/* ヘッダー */

header .head-inner .sns-icons {
  height: 80px;
  gap: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 0;
  top: 0;
  padding-right: var(--original-padding-width);
}
header.fixed .head-inner .sns-icons {
  position: relative !important;
  padding-right: 0;
}
.sns-icon {
  width: 40px;
  height: 40px;
  display: block;
  text-indent: -9999px;
  overflow: hidden;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.sns-icon.facebook,
.sns-icon.instagram {
  display: block;
  width: 40px;
  height: 40px;
}
.sns-icon img {
  display: block;
  width: 100%;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.sns-icon:hover img {
  opacity: 1;
}
header .head-inner .btn-contact {
  background-color: #333;
  color: #fff;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s;
}

header .head-inner .btn-contact:hover {
  background-color: #000;
}

/* TOPへ戻るボタン */
p#back-top a {
  position: fixed;
  width: 45px;
  height: 45px;
  font-size: 21px;
  line-height: 1;
  z-index: 100;
  right: 30px;
  bottom: 30px;
  display: grid;
  place-items: center;
  transition: 0.5s;
  color: #fff;
  border-radius: 50%;
  background-color: var(--active-color);
  opacity: 0.7;
}

p#back-top a:hover {
  opacity: 1;
}

p#modal-top a {
  position: absolute;
  width: 45px;
  height: 45px;
  font-size: 21px;
  line-height: 1;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  transition: 0.5s;
  color: #fff;
  border-radius: 50%;
  opacity: 0.7;
}

p#modal-top a:hover {
  opacity: 1;
}

/* フッター */
footer {
  background-color: var(--footer-bg-color);
  color: #000;
  padding: 20px 0 0;
}

.footer-upper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-block: 0 20px;
  padding-inline: var(--original-padding-width);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  width: 33%;
}
.footer-left img {
  width: 200px;
}
.footer-center {
  width: 35%;
  text-align: center;
}

.footer-company {
  font-size: var(--footer-center-font-size);
  color: #000;
  letter-spacing: 0.2em;
}
.footer-company span {
  display: block;
  font-weight: 300;
  font-size: 90%;
  letter-spacing: 0.05em;
}
.footer-right {
  width: 32%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-link {
  display: block;
  font-size: var(--footer-link-font-size);
  color: #666 !important;

  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s;
  margin-right: 40px;
}

.footer-link:hover {
  opacity: 0.7;
}

.footer-sns {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.footer-copyright {
  width: 100%;
  background-color: #000;
  text-align: center;
  font-size: var(--footer-copyright-font-size);
  color: #fff;
  padding: 15px;
}
/* レスポンシブ対応 */

@media (max-width: 767px) {
  main {
    margin-top: 55px;
  }
  .pconly {
    display: none;
  }

  .sponly {
    display: block;
  }

  .bt {
    height: 45px;
    font-size: 16px;
  }

  #contentsWrapper {
    width: 100%;
    padding: 0;
  }

  footer p {
    font-size: 10px;
    letter-spacing: 1px;
    color: #fff;
  }

  p#back-top a {
    position: fixed;
    width: 35px;
    height: 35px;
    font-size: 12px;
    line-height: 1;
    z-index: 100;
    right: 15px;
    bottom: 10px;
    display: grid;
    place-items: center;
    transition: 0.5s;
    color: #fff;
    border-radius: 50%;
    background-color: var(--active-color);
    opacity: 0.7;
  }
}
@media (max-width: 767px) {
  footer {
    background-color: #f2f2f2;
    color: #000;
    padding: 20px 0 0;
  }
  .footer-upper {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 15px 15px 20px;
  }
  .footer-center {
    order: 1;
    width: 100%;
  }
  .footer-left {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .footer-left img {
    width: 50%;
  }
  .footer-right {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
  }
  .footer-company {
    font-size: 21px;
    color: #000;
    letter-spacing: 0.2em;
  }
  .footer-link {
    font-size: 13px;
    margin-bottom: 0;
  }
  .sns-icon.facebook,
  .sns-icon.instagram {
    display: block;
    width: 30px;
    height: 30px;
  }
  .footer-copyright {
    width: 100%;
    background-color: #000;
    text-align: center;
    font-size: var(--footer-copyright-font-size);
    color: #fff;
    padding: 10px;
  }
}

/* ハンバーガーメニュー */
@media (max-width: 767px) {
  header,
  header.fixed {
    position: fixed;
    height: 50px;
    padding: 0;
    background-color: transparent;
  }

  header.open {
    width: 100%;
    min-height: 100vh;
    height: 100vh;
  }
  header .head-inner {
    height: 50px;
    padding: 0 !important;
    position: relative;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    top: 0;
    transition: height 0.5s;
  }
  header.open .head-inner {
    height: 100vh;
    background-color: #fff;
  }

  header ul.navi,
  header .sns-icons {
    display: none !important;
  }

  header .head-inner h1 {
    position: absolute;
    top: 10px;
    left: 15px;
  }
  header button {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    /* background-color: #fff; */
    border: none;
    cursor: pointer;
    z-index: 100;
    padding: 0;
  }
  .icon-state__primary,
  .icon-state__secondary {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    opacity: 0;
    transition: opacity 0.4s, display 0.4s;
    transition-behavior: allow-discrete;
  }
  .icon-state__secondary {
    top: -2px;
  }
  header button[data-controls="closed"] .icon-state__primary {
    display: block;
    opacity: 1;
    @starting-style {
      opacity: 0;
    }
  }
  header button[data-controls="closed"] .icon-state__secondary {
    display: none;
    opacity: 0;
  }
  header button[data-controls="open"] .icon-state__primary {
    display: none;
    opacity: 0;
    @starting-style {
      opacity: 0;
    }
  }
  header button[data-controls="open"] .icon-state__secondary {
    display: block;
    opacity: 1;
  }

  header .head-inner .navi {
    position: relative;
    top: initial;
    left: initial;
    transform: translate(0);
    display: flex !important;
    flex-direction: column;
    gap: 8vh;
    z-index: 100;
    opacity: 0;
    transition: 0;
    transition-behavior: allow-discrete;
    pointer-events: none;
  }
  header.open .head-inner .navi {
    opacity: 1;
    transition: 1s;
    pointer-events: all;
    transition-behavior: allow-discrete;
    @starting-style {
      opacity: 0;
    }
  }
  header.fixed .head-inner .sns-icons {
    width: 100%;
    height: auto;
    position: relative !important;
    opacity: 0;
    transition: 0;
    transition-behavior: allow-discrete;
  }
  header.open .head-inner .sns-icons {
    gap: 25px;
    padding-right: 0;
    margin-top: 8vh;
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: relative;
    right: inherit;
    top: initial;
    z-index: 200;
    opacity: 1;
    transition: 1s;
    transition-behavior: allow-discrete;
    @starting-style {
      opacity: 0;
    }
  }
}

/* --------------------------------
	ページ遷移のギミック
-------------------------------- */
/* ページ遷移中のオーバーレイ */
#page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

#page-transition-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ページ遷移中のbody */
body.page-transitioning {
  overflow: hidden;
}
