/***
    The new CSS reset - version 1.7.2 (last updated 23.6.2022)
    GitHub page: https://github.com/elad2412/the-new-css-reset
***/
/*
    Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
    - The "symbol *" part is to solve Firefox SVG sprite bug
 */
*:where(:not(html, iframe, canvas, img, svg, video):not(svg *, symbol *)) {
  all: unset;
  display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Reapply the pointer cursor for anchor tags */
a, button {
  cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol, ul, menu {
  list-style: none;
}

/* For images to not be able to exceed their container */
img {
  max-width: 100%;
}

/* removes spacing between cells in tables */
table {
  border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input, textarea {
  -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
  white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
  -webkit-appearance: revert;
  appearance: revert;
}

/* reset default text opacity of input placeholder */
::placeholder {
  color: unset;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
  display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element*/
:where([contenteditable]:not([contenteditable=false])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable=true]) {
  -webkit-user-drag: element;
}

html {
  font-size: 0.79em;
  overflow: auto;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1;
}
body p {
  font-size: 1.4rem;
  line-height: 1.9;
  margin: 14px;
}
@media screen and (max-width: 414px) {
  body p {
    font-size: 1rem;
  }
}
body h2 {
  font-size: 2.2rem;
  font-weight: 500;
  margin: 60px 0;
}
@media screen and (max-width: 414px) {
  body h2 {
    font-size: 1.8rem;
  }
}
body a {
  text-decoration: underline;
}
body a:hover {
  text-decoration: none;
}

.section_padding {
  padding: 97px 0;
}
@media screen and (max-width: 414px) {
  .section_padding {
    padding: 60px 0;
  }
}

header {
  text-align: center;
  position: relative;
  background: url(/assets/img/bg_1.jpg) 50% 50% no-repeat;
  background-size: cover;
  height: 100vh;
  min-height: 640px;
  padding-top: 26vh;
}
header .fix_logo {
  position: fixed;
  top: 23px;
  left: 23px;
  opacity: 0;
  transition: all 0.65s;
}
header .fix_logo.isActive {
  opacity: 1;
}
header .fix_logo img {
  width: 145px;
}
@media screen and (max-width: 414px) {
  header .fix_logo {
    top: 14px;
    left: 14px;
    width: 110px;
  }
}
header h1#main_logo {
  position: relative;
  width: 90vmin;
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 10vmin;
}
@media screen and (max-width: 414px) {
  header h1#main_logo {
    margin-bottom: 60px;
  }
}
header .btn_1 a {
  display: block;
  background: url(/assets/img/btn_1.png) 0 0 no-repeat;
  width: 326px;
  height: 60px;
  margin: 37px auto;
  background-size: cover;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 60px;
  text-decoration: none;
  filter: drop-shadow(4px 4px 2px rgba(0, 0, 0, 0.2));
}
header .btn_1 a:hover {
  filter: none;
  transform: translateY(2px);
}
header p.point {
  color: #111;
  font-weight: 500;
  margin-top: 37px;
}
@media screen and (max-width: 768px) {
  header .only_pc {
    display: none;
  }
}
header .only_sp {
  font-weight: 500;
  font-size: 1.2rem;
  background: #fff;
  padding: 23px 14px;
  display: inline-block;
  color: #D22D26;
  border: solid 1px #D22D26;
  margin-bottom: 37px;
}
@media screen and (min-width: 769px) {
  header .only_sp {
    display: none;
  }
}

section h2:first-child {
  margin-top: 0;
}

#philosophy {
  background: url(/assets/img/bg_2.jpg) 50% 50% no-repeat;
  background-size: cover;
}
#philosophy .wrap {
  text-align: center;
}
#philosophy .wrap .slide iframe {
  display: block;
  width: 70vw;
  height: 40vw;
  margin: 37px auto 0;
}
@media screen and (max-width: 414px) {
  #philosophy .wrap .slide iframe {
    width: 95vw;
    height: 60vw;
    margin-top: 0;
  }
}

#terms {
  background: #f6f6f6;
}
#terms > div h2 {
  text-align: center;
}
#terms > div .terms_body {
  width: 600px;
  height: 600px;
  background: #fff;
  padding: 37px;
  margin: 0 auto;
  overflow: scroll;
}
@media screen and (max-width: 414px) {
  #terms > div .terms_body {
    width: 90%;
    height: 50vh;
  }
}
#terms > div .terms_body h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 23px 0 14px;
}
#terms > div .terms_body p {
  margin: 14px 0;
}
#terms > div .terms_body ul {
  list-style-type: disc;
}
#terms > div .terms_body ul.decimal {
  list-style-type: decimal;
}
#terms > div .terms_body ul li {
  margin: 14px 23px;
}
#terms > div .terms_body p, #terms > div .terms_body li {
  font-size: 1rem;
  line-height: 1.4;
}
#terms p.point {
  color: #111;
  font-weight: 500;
  margin-top: 37px;
  text-align: center;
}

footer {
  background: #111;
  text-align: center;
  font-size: 1rem;
}
footer .wrap1 {
  color: #fff;
  padding-top: 97px;
}
footer .wrap1 .company_logo img {
  width: 90px;
  margin-bottom: 14px;
}
footer .wrap1 ul.footer_nav {
  margin-top: 60px;
  line-height: 60px;
}
footer .wrap1 ul.footer_nav li {
  display: inline-block;
  border-left: solid 1px #fff;
  padding-left: 14px;
  margin-left: 14px;
  line-height: 1;
}
footer .wrap1 ul.footer_nav li:first-child {
  padding-left: 0;
  margin-left: 0;
  border: none;
}
footer .wrap1 ul.footer_nav li a {
  text-decoration: none;
}
footer .wrap1 ul.footer_nav li a:hover {
  text-decoration: underline;
}
footer .wrap2 {
  background: #fff;
  line-height: 60px;
  color: #777;
}