/*
 * Typography Scale CSS
 * Generated with Type Scale Generator
 */

html {
  scroll-behavior: smooth;
}


:root {
  --base-size: 16px;
  --scale-ratio: 1.2;
  --body-font: "Inter";
  --body-weight: 500;
  --body-line-height: 1.5;
  --body-letter-spacing: 0.9px;
  --body-color: #222222;
  --body-background: #FFFFFF;

  --heading-font: var(--body-font);
  --heading-weight: 700;
  --heading-line-height: 1.25;
  --heading-letter-spacing: normal;
  --heading-color: var(--body-color);

  scroll-padding: 200px;
  /* scroll-behavior: smooth; */
}

/* Base styles */
body {
  font-family: var(--body-font);
  font-size: var(--base-size);
  line-height: var(--body-line-height);
  letter-spacing: var(--body-letter-spacing);
  color: var(--body-color);
  background: var(--body-background);
}

/* Type scale */
.smallest {
  font-size: 0.694rem;
}

.caption {
  font-size: 0.833rem;
  color: #4D4D4D;
}

.body {
  font-size: 1rem;
  color: #000000;
}

h6 {
  font-size: 1.2rem;
}

h5 {
  font-size: 1.44rem;
}

h4 {
  font-size: 1.728rem;
}

h3 {
  font-size: 2.074rem;
}

h2 {
  font-size: 2.488rem;
}

h1 {
  font-size: 2rem;
  margin: 0;
  padding: 0;
}

/* Headings */
h6,
h5,
h4,
h3,
h2,
h1 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  line-height: var(--heading-line-height);
  letter-spacing: var(--heading-letter-spacing);
  color: var(--heading-color);
}

a:link,
a:visited {
  color: #ffffff;
  text-decoration: none;
}

/*************************
*ふんわり
*************************/
body,
#wrap {
  animation: fadeIn 2s ease 0s 1 normal;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

/*************************/

#wrap {
  width: 100%;
  margin: 0 auto;
  padding-top: 118px;
}

* {
  box-sizing: border-box;
}

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

@media (max-width: 799px) {
  .pconly {
      display: none;
  }
}

@media (min-width: 800px) {
  .sponly {
      display: none;
  }
}

body {
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

/*　heighは調整したい高さ（固定ヘッダーの高さ）、margin-topはheightと同じ分のネガティブマージン */
/* section:before {
    content: "";
    display: block;
    height: 125px;
    margin-top: -125px;
    visibility: hidden;
} */

header {
  position: fixed;
  width: 100%;
  background-color: #0A1428;
  height: 118px;
  display: flex;
  align-items: center;
  z-index: 100;
}

.headWrap {
  width: 80%;
  max-width: 1100px;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0 auto;
}

header ul {
  display: flex;
  list-style: none;
}

header li {
  margin: 0 2em;
  font-weight: 200;
  font-size: 13px;
  letter-spacing: 2px;
}

header li span {
  font-size: 15px;
}

header img {
  width: 40%;
}

nav {
  margin-left: auto;
}

nav a:link, a:visited {
  color: #ffffff;
  text-decoration: none;
}



footer {
  width: 100%;
  background-color: #0A1428;
  color: #ffffff;
}

.fWrap {
  width: 60%;
  max-width: 1100px;
  min-width: 550px;
  margin: 0 auto;
  padding-bottom: 3em;
}

.fTitle {
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(30px, calc(1.875rem + ((1vw - 3.2px) * 1.5254)), 48px);
  min-height: 0vw;
  line-height: 1.6;
  text-align: center;
  padding-top: 3em;
  margin-bottom: 2em;
  letter-spacing: 5px;
}

.formWrap {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 6em;
}

.formBox {
  width: 45%;
  min-width: 260px;
}

.formBox p {
  text-indent: 0.5em;
  letter-spacing: 1px;
  font-size: clamp(0.75rem, 0.659rem + 0.45vw, 1rem);
}

.formBox_title {
  border: 1px solid #ffffff;
  border-radius: 30px;
  width: 100%;
  text-align: center;
  line-height: 2.5;
  letter-spacing: 3px;
  margin-bottom: 2em;
  font-size: clamp(0.875rem, 0.784rem + 0.45vw, 1.125rem);
  /* 14-18/320-1200 */
}

.creditBox {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.credit {
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  color: #8489A2;
}


/* transition */
.scroll_up {
  transition: 0.3s ease-in-out;
  transform: translateY(50px);
  opacity: 0;
}

.scroll_up.on {
  transform: translateY(0);
  opacity: 1.0;
}

.timing02 {
  transition-delay: .2s;
}

.timing03 {
  transition-delay: .3s;
}

.timing04_b {
  transition-delay: .4s;
}

.timing04 {
  transition-delay: .5s;
}

.timing05 {
  transition-delay: .6s;
}

.timing06 {
  transition-delay: .7s;
}

.timing07 {
  transition-delay: .8s;
}

.timing08 {
  transition-delay: .9s;
}


@media screen and (max-width:799px) {

  header {
    display: none;
  }

  #wrap {
    padding-top: 0;
  }

  .fWrap {
    width: 90%;
    max-width: 799px;
    min-width: auto;
    padding-bottom: 1em;
  }

  .formBox {
    min-width: auto;
  }

  .formBox_title {
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0;
    font-size: 12px;
  }

  .formBox p {
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
    text-indent: -1.5em;
    padding-left: 1.5em;
    text-align: left;
  }

  .creditBox {
    font-size: 12px;
  }
}