:root {
  --text-color: #212529;
  --bg-color: #fff;
  --link-color: #1473e6;
  --footer-color: #fff;
  --footer-bg-color: #222;
  --footer-child-nav-link-color: #ddd;
  --submit-color: #fff;
  --submit-bg-color: #1473e6;
  --submit-hover-color: #fff;
  --submit-hover-bg-color: #1161c3;

   /* Perfect Fourth */
   --font-size-h1: 4.209rem;
   --font-size-h2: 3.157rem;
   --font-size-h3: 2.369rem;
   --font-size-h4: 1.777rem;
   --font-size-h5: 1.333rem;

  /* Augmented Fourth */
  /* --font-size-h1: 5.653rem;
  --font-size-h2: 3.998rem;
  --font-size-h3: 2.827rem;
  --font-size-h4: 1.999rem;
  --font-size-h5: 1.414rem; */

  /* Perfect Fifth */
  /* --font-size-h1: 7.594rem;
  --font-size-h2: 5.063rem;
  --font-size-h3: 3.375rem;
  --font-size-h4: 2.25rem;
  --font-size-h5: 1.5rem; */
}

html {
  font-size: 100%;
} /*16px*/

body {
  background: white;
  /* font-family: "Noto Sans JP", sans-serif; */
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text-color, #333);
  font-weight: 400;
  line-height: 1.75;
  font-feature-settings: "palt";
  font-variant-ligatures: normal;
}

/* ------------------- layout ------------------- */
.main-container {
  max-width: 96%;
  margin: 0 auto;
  padding: 60px 12px;
}
@media (min-width: 1024px) {
  .main-container {
    max-width: 1000px;
  }
}

/* ---footer -- */
.footer {
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: var(--footer-bg-color);
  /* width: 100%; */
  /* padding: 0 20px; */
  /* display: inline-flex; */
  /* align-items: center; */
  /* justify-content: space-between; */
}
.footer__inner {
  /* max-width: 1000px; */
  padding-right: 55px;
  padding-left: 55px;
  margin-right: auto;
  margin-left: auto;
  /* position: relative; */
  display: flex;
  /* justify-content: space-around; */
  align-items: center;
  flex-direction: column;
}
@media (min-width: 1024px) {
  .footer__inner {
    flex-direction: row;
  }
}
.footer__logo {
  width: 250px;
  height: auto;
  margin: 0 40px;
  /* position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%); */
}
/* .footer-nav {
  flex-grow: 1;
} */
.footer-nav__inner {
  display: flex;
  /* justify-content: space-around; */
  /* justify-content: start; */
  /* margin-left: 40px; */
  margin: 0;
}
/* @media (min-width: 1024px) {
} */
.footer-nav__item {
  /* flex: 1; */
  text-align: center;
  margin: 0 20px;
}
.footer-nav__item > *:last-child {
  margin-bottom: 0;
}
.footer-nav__item:last-child .footer-nav__link::after {
  content: none;
}
.footer-nav__link {
  position: relative;
  display: block;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 10px;
  color: var(--footer-color);
  text-decoration: none;
}
.footer-nav__link:hover,
.footer-nav__link:active,
.footer-nav__link:visited,
.footer-nav__link:focus {
  color: var(--footer-color);
}
.footer-nav__link:hover {
  text-decoration: underline;
}
/* .footer-nav__link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 15px;
  background-color: currentColor;
  transform: translateY(-50%);
} */
/* .footer-child-nav { */
/* css-wipeではスタイリングなし */
/* } */
.footer-child-nav__item {
  margin-bottom: 10px;
}
.footer-child-nav__link {
  color: var(--footer-child-nav-link-color);
  font-size: 15px;
  text-decoration: none;
}
.footer-child-nav__link:focus,
.footer-child-nav__link:hover {
  text-decoration: underline;
}
.footer-copyright {
  display: block;
  color: var(--footer-child-nav-link-color);
  font-size: 0.8rem;
  text-align: center;
  width: 100%;
}

/* ------------------- text ------------------- */
h1,
h2,
h3,
h4,
h5 {
  margin: 3rem 0 1.38rem;
  font-weight: bold;
  line-height: 1.3;
}
h1 {
  /* margin-top: 0; */
  font-size: calc(var(--font-size-h1) * 0.8);
}
h2 {
  font-size: calc(var(--font-size-h2) * 0.8);
}
h3 {
  font-size: calc(var(--font-size-h3) * 0.8);
}
h4 {
  font-size: calc(var(--font-size-h4) * 0.8);
}
h5 {
  font-size: calc(var(--font-size-h5) * 0.8);
}
@media (min-width: 1024px) {
  h1 {
    font-size: var(--font-size-h1);
  }
  h2 {
    font-size: var(--font-size-h2);
  }
  h3 {
    font-size: var(--font-size-h3);
  }
  h4 {
    font-size: var(--font-size-h4);
  }
  h5 {
    font-size: var(--font-size-h5);
  }
}
p {
  margin: 0 0 0.87647rem;
}
@media (min-width: 1024px) {
  p {
    margin-bottom: 1.7rem;
  }
}
blockquote {
  border-left: 3px solid #000;
  padding-left: 1.33333rem;
  margin: 2rem 0.9rem 2rem 0;
}
@media (min-width: 1024px) {
  blockquote {
    padding-left: 2rem;
    margin: 2rem 0;
  }
}
code {
  display: block;
  font-size: inherit;
  color: #f8f9fa;
  background: #212529;
  margin-top: 0;
  margin-bottom: 1.33333rem;
  padding: 30px;
  overflow: auto;
  -ms-overflow-style: scrollbar;
  font-family: source-code-pro, monospace;
  font-size: 1em;
  border: none;
  border-radius: 0;
}
@media (min-width: 768px) {
  code {
    margin-bottom: 2rem;
  }
}
ol,
ul {
  margin: 0 0 18px;
  margin-left: 1.3rem;
  margin-bottom: 1.33333rem;
  padding: 0;
}
li ol,
li ul {
  margin-bottom: 0;
}
@media (min-width: 1024px) {
  ol,
  ul {
    margin-bottom: 2rem;
  }
  li ol,
  li ul {
    margin-bottom: 0;
  }
}
ol li,
ul li {
  margin-bottom: 0.6rem;
}

dl {
  margin: 0 0 18px;
  margin-bottom: 1.33333rem;
  padding: 0;
}
dl dt {
  font-weight: 600;
}
dl dd {
  margin-bottom: 0.6rem;
}
@media (min-width: 1024px) {
  dl {
    margin-bottom: 2rem;
  }
  dl dd {
    margin-bottom: 0.6rem;
  }
  dl dl {
    margin-bottom: 0;
  }
}

/* ------------------- text decoration ------------------- */
a {
  color: var(--link-color);
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}
/* a:not(.btn):not([href^="/jpg/"]):not([href^="/png/"]):not([href^="/jpeg/"]):not([href^="/svg/"]):hover {
  text-decoration: underline;
} */
a:hover,
a:active,
a:visited,
a:focus {
  text-decoration: underline;
  text-decoration-skip: objects;
}
a.no-decoration,
a.no-decoration:hover,
a.no-decoration:visited,
a.no-decoration:active,
a.no-decoration:focus {
  text-decoration: none !important;
}
small,
.text_small {
  font-size: 0.667rem;
}
.highlight {
  background: linear-gradient(transparent 40%, #ffff66 40%);
}
.display-none {
  display: none;
}

/* ------------------ parts ------------------ */
a.button {
  width: 100%;
  /* height: 60px; */
  /* margin: 1rem 0; */
  padding: 1rem;
  /* line-height: 1.8; */
  border-radius: 0.3rem;
  display: inline-block;
  text-align: center;
  font-size: 1.1em;
  /* height: auto;
  vertical-align: middle; */
}

/* ------------------- image ------------------- */
img {
  /* border: 1px solid #ddd; */
  border: none;
  margin: 1rem 0;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ------------------- form ------------------- */
form {
  text-align: left;
  width: 30rem;
  max-width: 100%;
  margin: 0 auto;
}
form p {
  margin-bottom: 1rem;
}
form .title {
  font-size: 1.1rem;
  font-weight: 600;
}
textarea,
input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"] {
  max-width: 100%;
  width: 30rem;
  line-height: 2.1;
  margin: 0.4rem 0;
  padding: 4px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="number"]:focus {
  border: 2px solid var(--submit-bg-color);
}
textarea {
  line-height: 1.2;
  height: calc(1.2em * 7);
}
form label {
  line-height: 2.2;
}
label,
input[type="checkbox"],
input[type="radio"] {
  margin-right: 0.6rem;
  cursor: pointer;
}
input[type="submit"] {
  /* color: #fff;
  background-color: #1473e6;
  border-color: #1473e6; */
  color: var(--submit-color);
  background-color: var(--submit-bg-color);
  border-color: var(--submit-bg-color);
  width: 100%;
  height: 60px;
  margin: 1rem 0;
  /* line-height: 1.8; */
  border-radius: 0.3rem;
  font-size: 1.32rem;
  font-weight: bold;
}
input[type="submit"]:hover {
  /* color: #fff;
  background-color: #1161c3; */
  /* border-color: #105cb7; */
  color: var(--submit-hover-color);
  background-color: var(--submit-hover-bg-color);
  border-color: var(--submit-hover-bg-color);
}
form .required::after {
  content: "必須";
  background: #ff7400;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 5px;
  margin-left: 0.5rem;
}

/* ------------------- appendix ------------------- */

/* break point */
/* mobile portrait */

/* mobile landscape */
@media (min-width: 640px) {
}

/* tablet portrait */
@media (min-width: 768px) {
}

/* tablet landscape */
@media (min-width: 1024px) {
}

/* laptop */
@media (min-width: 1280px) {
}
