@import url('./var.css');

/* <<<---------------- Primary ---------------->>> */

/* <クラス名>, 責務: デザイン */
/* <クラス名>.this, 責務: デザインとマージン以外 */
.mb-10 {
  margin-bottom: 10px
}

.mb-20 {
  margin-bottom: 20px
}

.mb-30 {
  margin-bottom: 30px
}

.mb-50 {
  margin-bottom: 30px
}

.blue {
  color: #103874
}

.fw-bold {
  font-weight: bold
}

.fw-bold {
  font-weight: bold
}

.mb-0 {
  margin-bottom: 0
}

.mb-5 {
  margin-bottom: 5px
}

.mb-10 {
  margin-bottom: 10px
}

.mb-20 {
  margin-bottom: 20px
}

.mb-30 {
  margin-bottom: 30px
}

.mb-40 {
  margin-bottom: 40px
}

.mb-50 {
  margin-bottom: 50px
}

.mb-80 {
  margin-bottom: 80px
}

.mb-100 {
  margin-bottom: 100px
}

.mr-20 {
  margin-right: 20px
}

.mr-50 {
  margin-right: 50px
}

.mr-80 {
  margin-right: 80px
}

.pb-10 {
  padding-bottom: 10px
}

.pt-10 {
  padding-top: 10px
}

.select p.fa-angle-right {
  text-align: right
}

.wrap {
  margin: 0 auto;
  width: 95%
}

.fs-lr,
h2 {
  font-size: 17px
}

@media screen and (min-width: 600px) {

  .fs-lr,
  h2 {
    font-size: 23px
  }
}

@media screen and (min-width: 1280px) {

  .fs-lr,
  h2 {
    font-size: clamp(1.625rem, .958rem + .83vw, 2rem)
  }
}

.fs-md {
  padding-top: 20px;
  padding-bottom: 20px;

}

.fs-md,
h3 {
  font-size: 14px
}

@media screen and (min-width: 600px) {

  .fs-md,
  h3 {
    font-size: 16px
  }
}

@media screen and (min-width: 1280px) {

  .fs-md,
  h3 {
    font-size: clamp(1.25rem, .139rem + 1.39vw, 1.875rem);
  }
}

.fs-lg,
h1 {
  font-size: 25px
}

@media screen and (min-width: 960px) {

  .fs-lg,
  h1 {
    font-size: 36px
  }
}

@media screen and (min-width: 1280px) {

  .fs-lg,
  h1 {
    font-size: clamp(2.25rem, 1.25rem + 1.25vw, 2.813rem)
  }
}

.sub-title {
  color: #4c4b4b;
  border-top: 3px solid #000;
  padding: 20px 0;
  background: #eee;
  text-align: center;
  border-bottom: gray solid 1px;
}

.items__inner {
  line-height: 2;
  padding: 20px 0 30px
}

.items__inner h2 {
  width: fit-content;
  border-bottom: 1px #000 solid;
}

/* ---------------- Title ---------------- */

.title {
  border-top: 0.125rem solid var(--border-navy);
  border-bottom: 0.0625rem solid var(--gray);
  text-align: center;
  color: var(--dark-gray);
  background-color: var(--light-gray);
}

.title.this {
  padding: 1em 0;
  font-size: var(--text-lg);
  font-weight: bold;
}

@media screen and (min-width: 600px) {
  .title.this {
    font-size: var(--text-2xl);
  }
}

@media screen and (min-width: 1280px) {
  .title.this {
    font-size: var(--text-3xl);
  }
}

* {
  letter-spacing: 0.03em;
}

body {
  font-size: var(--text-base);
}

a:hover,
button:hover,
input[type='button']:hover,
input[type='submit']:hover {
  opacity: 0.6;
}

input {
  background-color: #fff;
}

button.primary,
input[type='submit'].primary,
input[type='button'].primary {
  color: #fff;
  background: #3470b6;
  text-align: center;
}

.pc-img {
  display: none;
}

.circle {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.container-mb {
  margin-bottom: 1.125rem;
}

.inner-mx {
  width: 93%;
  margin-left: auto;
  margin-right: auto;
}

@keyframes cross1 {
  to {
    transform: translateY(14px) rotate(135deg) scale(0.95);
  }
}

@keyframes cross1-reverse {
  from {
    transform: translateY(14px) rotate(135deg) scale(0.95);
  }
}

.cross1 {
  animation: cross1 forwards ease-out 0.4s 1;
  left: 0px;
  top: -4px;
}

.cross1-reverse {
  animation: cross1-reverse forwards ease-out 0.4s 1;
}

@keyframes cross2 {
  to {
    transform: translateX(-100%);
  }
}

@keyframes cross2-reverse {
  from {
    transform: translateX(-100%);
  }
}

.cross2 {
  animation: cross2 forwards ease-out 0.4s 1;
}

.cross2-reverse {
  animation: cross2-reverse forwards ease-out 0.4s 1;
}

@keyframes cross3 {
  to {
    transform: translateY(-12px) rotate(-135deg) scale(0.95);
  }
}

@keyframes cross3-reverse {
  from {
    transform: translateY(-12px) rotate(-135deg) scale(0.95);
  }
}

.cross3 {
  animation: cross3 forwards ease-out 0.4s 1;
  left: 0px;
  top: 22px;
}

.cross3-reverse {
  animation: cross3-reverse forwards ease-out 0.4s 1;
}

/* ---------------- Header ---------------- */

header {
  position: fixed;
  top: 0;
  z-index: 25;
  width: 100vw;
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 0.1rem solid var(--border-navy);
  /* align-items: baseline; */
}

.header-container {
  display: flex;
  width: 97%;
  margin: 0 auto;
}

.header-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  flex-wrap: wrap;
}

.header-logo-wrapper .logo {
  width: 100%;
  max-width: 250px;
}

.header-tel-wrapper {
  display: none;
}

.hamburger-menu {
  position: fixed;
  top: 1vw;
  right: 0.5vw;
  height: 55px;
  width: 52px;
  padding: 15px 10px;
  background-color: unset;
  border: 0.5px solid var(--light-gray);
  border-radius: 5px;
  z-index: 30;
  transform: scale(0.8);
  margin: auto;
}

.hamburger-menu:hover {
  opacity: 1;
}

.hamburger-menu-inner {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.hamburger-menu-border {
  display: block;
  position: absolute;
  height: 0;
  width: 100%;
  border-bottom: 4px solid black;
  margin-bottom: 9px;
}

.hamburger-menu-border:nth-child(1) {
  /* top: 0;   */
}

.hamburger-menu-border:nth-child(2) {
  top: 0;
  bottom: 0;
  margin: auto 0;
}

.hamburger-menu-border:nth-child(3) {
  bottom: 0;
  margin-bottom: 0;
}

@keyframes falling {
  from {
    transform: translateY(-100%);
  }
}

.hamburger-list {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100vw;
  z-index: 20;
  background-color: #fff;
  text-align: center;
  animation: falling ease-out forwards 0.7s;
}

@keyframes rising {
  to {
    transform: translateY(-100%);
  }
}

.hamburger-rise-up {
  animation-name: rising;
}

.hamburger-list>li {
  border-bottom: 0.0625rem solid var(--light-gray);
  padding: 1em 0;
}

.header-list {
  display: none;
}

.outer {
  --sp-header-height: 3.3rem;
  --over-w600-header-height: 4.3rem;
  --over-w670-header-height: 4.4rem;
  --over-w960-header-height: 4rem;
  --over-w1600-header-height: 5.2rem;
  --headerless-margin-top: 3rem;

  margin-top: calc(var(--sp-header-height) + var(--headerless-margin-top));
}

/* ---------------- Side Navigation ---------------- */

.side-nav {
  display: none;
}

/* ---------------- Swiper ---------------- */

.swiper-slide>img {
  width: 100%;
}

.swiper-pagination {
  position: static;
}

/* ---------------- Title Container ---------------- */

.title-container .title {
  margin-bottom: 1.5em;
}

.title-container p {
  font-size: var(--text-base);
}

@media screen and (min-width: 600px) {
  .title-container p {
    font-size: var(--text-lg);
    line-height: 2;
  }
}

/* ---------------- Chosen Reason Section ---------------- */

/* ---------------- Contact Section ---------------- */

.contact>a {
  display: block;
}

.contact>a>img {
  width: 100%;
}

/* ---------------- FAQ List ---------------- */

.faq-list {
  --mark-size: 1.6em;
  --pl-from-mark: 1em;
}

.faq-title {
  --line-height: 1em;
  --pt: 1.3em;
  /* padding-top */

  /* padding: var(--pt) 0 var(--pt)
    calc(1em + var(--mark-size) + var(--pl-from-mark)); */
  padding: var(--pt) 10% var(--pt) 10%;
  line-height: var(--line-height);
  font-size: var(--text-lg);
  font-weight: bold;
}

.faq-answer {
  --line-height: 1.5em;
  --pt: 0.9em;
  /* padding-top */
  padding: var(--pt) 10% var(--pt) 10%;
  /* padding: var(--pt) 0 2.3em
    calc(0.5em + var(--mark-size) + var(--pl-from-mark)); */
  line-height: var(--line-height);
}

.qmark {
  backgroud: no-repeat url('../../assets/qmark.svg');
}

.amark {
  background: no-repeat url('../../assets/amark.svg');
}

.faq-title.qmark {
  background: var(--x-light-gray) no-repeat url('../../assets/qmark.svg');
  background-position-x: 1em;
}

.faq-answer.amark {
  background-position-x: 0.5em;
}

.faq-title.qmark,
.faq-answer.amark {
  background-size: var(--mark-size);
  background-position-y: calc(((var(--line-height) / 2) + var(--pt)) - var(--mark-size) / 2);
}

/* ---------------- Personal ---------------- */

.personal-information-title {
  font-size: small;
  text-align: center;
  margin-bottom: 0.5rem;
}

/* ---------------- Footer ---------------- */

footer {
  padding: 1.875rem 0;
  background-color: var(--light-gray);
}

.footer-lists {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 80%;
  margin: 0 auto 0.625rem auto;
}

.footer-list {
  display: flex;
  flex-basis: 100%;
  justify-content: space-around;
  flex-wrap: wrap;
}

.footer-list>li {
  margin-bottom: 0.625rem;
  font-size: var(--text-sm);
}

.footer-list>li>a:hover {
  text-decoration: underline;
}

.footer-logo-wrapper {
  text-align: center;
}

.footer-logo-wrapper .logo {
  display: inline-block;
  width: 15.625rem;
  vertical-align: bottom;
}

.company-name {
  padding: 0.625rem 0;
  text-align: center;
  font-size: var(--text-xs);
}

/* ---------------- Scroll Up Button ---------------- */

.scroll-up-btn {
  position: fixed;
  right: 35px;
  bottom: 100px;
  z-index: 11;
  display: inline-block;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  text-align: center;
  color: var(--dark-gray);
  background: #fff;
}

.scroll-up-btn:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 9.6px;
  height: 9.6px;
  border: solid currentColor;
  border-width: 2.88px 2.88px 0 0;
  color: inherit;
  transform: translateY(25%) rotate(-45deg);
}

/* <<<----------------【 MIN WIDTH 480PX 】---------------->>> */

@media screen and (min-width: 480px) {
  .sp-img {
    display: none;
  }

  .pc-img {
    display: block;
  }

  .footer-lists {
    width: 80%;
    flex-direction: row;
    justify-content: center;
  }

  .footer-list {
    flex-direction: column;
    align-items: flex-start;
    flex-basis: auto;
  }

  .footer-list:first-of-type {
    margin-right: 80px;
  }
}

/* <<<----------------【 MIN WIDTH 600PX 】---------------->>> */

@media screen and (min-width: 600px) {
  .outer {
    /* margin-top: calc(var(--over-w600-header-height) + var(--headerless-margin-top)); */
    margin: calc(var(--over-w600-header-height) + var(--headerless-margin-top)) auto 0 auto;
  }

  .header-container {
    width: 90%;
    height: auto;
  }

  .header-logo-wrapper>a>p:first-child {
    font-size: var(--text-xs);
  }

  .header-logo-wrapper .logo {
    width: 60%;
    max-width: 250px;
  }

  .hamburger-menu {
    transform: scale(1);
  }

  .faq-title {
    padding: var(--pt) 0 var(--pt) calc(1em + var(--mark-size) + var(--pl-from-mark));
  }

  .faq-answer {
    padding: var(--pt) 0 2.3em calc(0.5em + var(--mark-size) + var(--pl-from-mark));
  }


  .footer-logo-wrapper .logo {
    width: 18.75rem;
  }
}

/* <<<----------------【 MIN WIDTH 670PX 】---------------->>> */

@media screen and (min-width: 670px) {
  .outer {
    /* margin-top: calc(var(--over-w600-header-height) + var(--headerless-margin-top)); */
    margin: calc(var(--over-w670-header-height) + var(--headerless-margin-top)) auto 0 auto;
  }
}

/* <<<----------------【 MIN WIDTH 960PX 】---------------->>> */

@media screen and (min-width: 960px) {
  .outer {
    width: 90%;
    max-width: 87.5rem;
    margin: calc(var(--over-w960-header-height) + var(--headerless-margin-top)) auto 0 auto;
  }

  .inner-mx {
    width: 100%;
  }

  .header-container {
    padding: 0;
  }

  .header-logo-wrapper {
    /* padding-top: 1.875rem; */
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
  }

  .header-logo-wrapper {
    /* justify-content: flex-start; */
    justify-content: space-between;
  }

  .header-logo-wrapper .logo {
    width: 85%;
    max-width: 330px;
  }

  .hamburger-menu {
    display: none;
  }

  .header-tel-wrapper {
    display: block;
    font-size: var(--text-xs);
  }

  .header-tel-explain {
    text-align: right;
    height: 25%;
  }

  .header-tel-number {
    display: flex;
    justify-content: flex-end;
  }

  .header-tel-number>div {
    text-align: center;
    padding-right: 0.625rem;
  }

  .header-tel-number>div:last-child {
    padding-right: 0;
  }

  .header-tel-number>div>a>img {
    height: 3.3vw;
    /* max-height: 40px; */
    max-height: 35px;
  }

  .header-nav-container {
    border-top: 0.0625rem solid var(--light-gray);
    background-color: #fff;
  }

  .header-list {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  .header-list-item {
    flex-basis: 100%;
    border-left: 0.0625rem solid var(--light-gray);
    border-right: 0.0625rem solid var(--light-gray);
    text-align: center;
    font-weight: bold;
  }

  .header-list-item:hover {
    background-color: var(--light-gray);
    opacity: 0.6;
  }

  .header-list-item>a {
    display: block;
    /* padding: 15px 0; */
    padding: 6px 0;
    cursor: pointer;
  }

  .side-nav {
    display: block;
    float: left;
    width: 25%;
    padding: 0 1.875rem 0 0;
  }

  .side-nav>ul {
    margin-bottom: 1.25rem;
  }

  .side-nav>ul:last-child {
    margin-bottom: 0;
  }

  .side-nav-list-contact>li {
    margin-bottom: 0.625rem;
  }

  .side-nav-list-contact>li>a>img {
    display: inline-block;
    width: 100%;
  }

  .side-nav-list-contact>li>img:hover {
    opacity: 0.6;
  }

  .aside__ul li {
    margin-bottom: 15px;
  }

  .side-nav-list-title {
    padding-bottom: 0.625rem;
    border-bottom: 0.0625rem solid #5272a1;
    font-size: var(--text-xl);
  }

  .side-nav-list-mail-order>li,
  .side-nav-list-industry>li,
  .side-nav-list-support-info>li {
    border-bottom: 0.0625rem solid var(--light-gray);
  }

  .side-nav-list-mail-order>li>a,
  .side-nav-list-industry>li>a,
  .side-nav-list-support-info>li>a {
    display: inline-block;
    box-sizing: content-box;
    padding: 0.3125rem 0.3125rem;
  }

  .side-nav-list-mail-order>li>a:hover,
  .side-nav-list-industry>li>a:hover,
  .side-nav-list-support-info>li>a:hover {
    text-decoration: underline;
  }

  .main-wrapper {
    float: right;
    width: 75%;
  }

  .footer-list {
    flex-direction: row;
    justify-content: space-around;
  }

  .footer-list>li {
    width: auto;
    margin-right: 80px;
  }

  .footer-list>li:last-of-type {
    margin-right: 0;
  }

  .footer-logo-wrapper .logo {
    width: 21.875rem;
  }
}

/* <<<----------------【 MIN WIDTH 1280PX 】---------------->>> */
/* <<<----------------【 MIN WIDTH 1600PX 】---------------->>> */

@media screen and (min-width: 1600px) {
  .outer {
    width: 90%;
    max-width: 87.5rem;
    margin: calc(var(--over-w1600-header-height) + var(--headerless-margin-top)) auto 0 auto;
  }
}