@charset "UTF-8";
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
}

body {
  font-family: "Avenir", "Helvetica Neue", "Helvetica", "Arial", "Hiragino Sans", "ヒラギノ角ゴシック", YuGothic, "Yu Gothic", "メイリオ", Meiryo, "MS Ｐゴシック", "MS PGothic";
  line-height: 1.6;
  background-color: hsl(240, 100%, 99%);
  color: #333333;
}

img {
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.inner {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
}
@media (min-width: 768px) and (max-width: 1199px) {
  .inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 767px) {
  .inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.header {
  background-color: #333333;
  color: hsl(240, 100%, 99%);
  height: 70px;
  position: fixed;
  width: 100%;
  -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16);
          box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16);
  z-index: 999;
  top: 0;
  left: 0;
}
@media (max-width: 767px) {
  .header {
    height: 50px;
  }
}

.header__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: inherit;
}
@media (max-width: 767px) {
  .header__inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.header-nav__lang {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.header-nav__lang li {
  margin: 0 20px;
}
@media (max-width: 767px) {
  .header-nav__lang li {
    margin: 0 7px;
  }
}
.header-nav__lang li a {
  display: block;
  width: 40px; /* 画像の幅を指定 */
  height: 35px; /* 画像の高さを指定 */
}
@media (max-width: 767px) {
  .header-nav__lang li a {
    width: 30px;
    height: 25px;
    margin: 5px;
  }
}
.header-nav__lang li a:hover {
  opacity: 0.6;
}
.header-nav__lang li img {
  width: 100%;
  height: 100%;
}

.lang__country {
  padding: 5px 0;
}
.lang__country a:hover {
  opacity: 0.6;
}

.header__nav {
  margin-left: auto;
}
@media (max-width: 767px) {
  .header__nav {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
    background-color: #333333;
    -webkit-transition: ease 0.4s;
    transition: ease 0.4s;
  }
}

.nav__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 767px) {
  .nav__items {
    display: block;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
  }
}
@media (min-width: 1200px) {
  .nav__items li:not(:first-child) {
    margin-left: 60px;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .nav__items li:not(:first-child) {
    margin-left: 60px;
  }
}
.nav__items li a {
  position: relative;
  margin-bottom: 0;
}
.nav__items li a::after {
  position: absolute;
  content: "";
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #333333;
  opacity: 0;
}
.nav__items li a:hover::after {
  opacity: 1;
}
@media (max-width: 767px) {
  .nav__items li a {
    color: hsl(240, 100%, 99%);
    width: 100%;
    display: block;
    text-align: center;
    font-size: 20px;
    margin-bottom: 24px;
  }
  .nav__items li a:last-child a {
    margin-bottom: 0;
  }
  .nav__items li a:hover {
    opacity: 0.6;
  }
}

.header__hamburger {
  width: 48px;
  height: 100%;
  margin-left: auto;
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
}
.header__hamburger:hover {
  opacity: 0.6;
}
@media (min-width: 1200px) {
  .header__hamburger {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .header__hamburger {
    display: none;
  }
}

.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #fff;
  position: relative;
  -webkit-transition: ease 0.4s;
  transition: ease 0.4s;
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}

/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: -13px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.main-visual {
  height: 600px;
  width: 100%;
  background: url(../img/home-top.jpg) no-repeat center center/cover;
  position: relative;
  margin-top: 70px;
}
@media (max-width: 767px) {
  .main-visual {
    margin-top: 50px;
    height: 420px;
  }
}

.main-visual__content {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}

.main-visual__title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.3;
  color: aliceblue;
}
@media (max-width: 767px) {
  .main-visual__title {
    font-size: 32px;
  }
}

.section {
  padding: 100px 0 120px;
}
@media (max-width: 767px) {
  .section {
    padding-top: 50px;
    padding-bottom: 60px;
  }
}

.section-title {
  text-align: center;
  font-weight: 700;
  font-size: 48px;
  padding-bottom: 12px;
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  bottom: 0;
  width: 100px;
  height: 4px;
  background: #4169E1;
}
@media (max-width: 767px) {
  .section-title::after {
    width: 42px;
    height: 3px;
  }
}
@media (max-width: 767px) {
  .section-title {
    font-size: 26px;
    padding-bottom: 18px;
  }
}

.card__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding: 100px 0 30px;
}

.card__item {
  background: #fff;
  width: calc(25% - 18px);
  padding: 16px;
  border-radius: 4px;
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
          box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  position: relative;
}
.card__item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: -24px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  top: 50%;
  background: url(../img/triangle.png) no-repeat center/contain;
}
.card__item::after:not(:nth-child(1)) {
  margin-left: 24px;
}
@media (max-width: 767px) {
  .card__item::after {
    display: none;
  }
}
@media (min-width: 1200px) {
  .card__item:not(:nth-child(1)) {
    margin-left: 24px;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .card__item {
    width: calc(50% - 12px);
  }
  .card__item:not(:nth-child(2n+1)) {
    margin-left: 24px;
  }
  .card__item:nth-child(n+3) {
    margin-top: 24px;
  }
}
@media (max-width: 767px) {
  .card__item {
    width: 100%;
    margin-left: 0;
  }
  .card__item:nth-child(n+2) {
    margin-top: 24px;
  }
}

.card__item:nth-child(4)::after {
  display: none;
}

.card__img {
  width: 230px;
  height: 230px;
  margin: 0 auto;
}
.card__img img {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.card__title {
  padding-top: 20px;
  font-weight: 700;
  font-size: 20px;
}

.card__text {
  margin-top: 5px;
}

.purchase-flow__end {
  text-align: end;
}
@media (max-width: 767px) {
  .purchase-flow__end {
    font-size: 14px;
  }
}

.footer {
  background-color: #333333;
  padding: 24px 0 24px;
  color: hsl(240, 100%, 99%);
}
@media (max-width: 767px) {
  .footer {
    padding-top: 30px;
    padding-bottom: 14px;
  }
}

.footer__contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: inherit;
}
@media (max-width: 767px) {
  .footer__contents {
    display: block;
  }
}

@media (max-width: 767px) {
  .footer__left {
    width: 100%;
  }
}

.footer__logo {
  width: 205px;
}
.footer__right {
  margin-left: auto;
}
@media (max-width: 767px) {
  .footer__right {
    width: 100%;
    margin-top: 24px;
  }
}

.footer__tel {
  margin-top: 14px;
}
@media (max-width: 767px) {
  .footer__tel {
    margin-top: 7px;
  }
}

.footer__address, .footer__tel {
  font-size: 14px;
}

.footer__copy {
  text-align: center;
  font-size: 14px;
  margin-top: 46px;
}
@media (max-width: 767px) {
  .footer__copy {
    margin-top: 22px;
  }
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
}
@media (max-width: 767px) {
  .to-top {
    right: 12px;
    bottom: 12px;
  }
}
.to-top a {
  text-decoration: none;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.to-top a:hover {
  opacity: 0.6;
}
.to-top a img {
  width: 60px;
}
@media (max-width: 767px) {
  .to-top a img {
    width: 40px;
  }
}