@charset "utf-8";

/* ========================================
   form-common.css (Common Styles)
   ======================================== */

/* ----------------------------------------
   Common Styles
   ---------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 62.5%;
  line-height: 1.6;
  color: #000;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

a {
  color: #000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

button {
  font-family: inherit;
}

.sp-only {
  display: none;
}

.pc-only {
  display: block;
}

.liquid-only {
  display: none;
}

.container img {
  width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  font-size: 0;
  vertical-align: bottom;
}

/* ----------------------------------------
   Main Styles
   ---------------------------------------- */

/* ----------------------------------------
   Header & Logo Styles
   ---------------------------------------- */
.main-logo {
  width: 250px;
  margin: 0 auto 30px;
  padding-top: 50px;
}

/* ----------------------------------------
   Title Styles
   ---------------------------------------- */
.main-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 50px;
  text-align: center;
  color: #000;
}

.main-title:after {
  content: "";
  display: block;
  margin: 0 auto;
  width: 58px;
  height: 2px;
  margin-top: 30px;
  background-color: #000;
}

/* ----------------------------------------
   Introductory Section
   ---------------------------------------- */
.main-container {
  background-color: #f1f1ee;
  margin: 0 auto;
  padding: 80px 0;
}

.main-intro {
  margin-bottom: 40px;
}

.main-description {
  margin-bottom: 0;
  line-height: 2.2;
  color: #000;
  font-size: 1rem;
  text-align: center;
}

/* ----------------------------------------
   Required Tag Styles
   ---------------------------------------- */
.main-inner {
  max-width: 1080px;
  border-radius: 20px;
  padding: 70px 60px;
  margin: 0 auto;
  background-color: #FFF;
}

/* ----------------------------------------
   Logo Styles
   ---------------------------------------- */
.footer-logo {
  text-align: center;
  margin-bottom: 24px;
}

.footer-logo img {
  max-width: 200px;
  height: auto;
  display: inline-block;
}

/* ----------------------------------------
   Footer Styles
   ---------------------------------------- */
footer {
  background-color: #000;
  color: #fff;
  padding: 40px 0;
  text-align: center;
  position: relative;
}
.footer__pagetop {
  position: absolute;
  display: block;
  right: 20px;
  top: -82px;
  font-size: 0;
  width: 62px;
  height: 62px;
  background-color: #fff;
  border-radius: 50%;
  border: 3px solid #000;
}
.footer__pagetop::before, 
.footer__pagetop::after {
  content: "";
  display: block;
  position: absolute;
  top: 56%;              /* 頂点位置調整 */
  width: 12px;
  height: 5px;           /* 線の太さ */
  background: #111;  
  border-radius: 5px;
}
.footer__pagetop::before {
  left: 21px;
  transform-origin: left center;
  transform: rotate(-45deg);
}
.footer__pagetop::after {
  right: 21px;
  transform-origin: right center;
  transform: rotate(45deg);
}
.footer-text {
  margin: 0;
  font-size: 0.875rem;
}

[data-formrun-show-if-error] {
  margin-top: 10px;
  
}

/* ----------------------------------------
   Liquid Styles (1250px and below)
   ---------------------------------------- */
@media (max-width: 1250px) {
  .liquid-only {
    display: block;
  }
  
  .main-inner {
    margin: 0 6%;
    padding: 5% 5%;
  }

  /* ----------------------------------------
     Header & Logo Styles
     ---------------------------------------- */
  .main-title:after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 32px;
    height: 2px;
    margin-top: 30px;
    background-color: #000;
  }
}

/* ----------------------------------------
   Smartphone Styles
   ---------------------------------------- */
@media (max-width: 768px) {
  .sp-only {
    display: block;
  }

  .pc-only {
    display: none;
  }
  .liquid-only {
    display: none;
  }
  
  /* ----------------------------------------
     Introductory Section
     ---------------------------------------- */
  .main-logo {
    width: 150px;
    margin: 0 auto 20px;
    padding-top: 25px;
  }

  /* ----------------------------------------
     Title Styles
     ---------------------------------------- */
  .main-title {
    font-size: 1.3125rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #000;
  }

  .main-container {
    background-color: #f1f1ee;
    margin: 0 auto;
    padding: 40px 0;
  }

  .main-inner {
    border-radius: 0;
    padding: 30px 20px;
    margin: 0 auto;
    background-color: #FFF;
  }

  .form-intro {
    margin-bottom: 30px;
  }

  .form-description {
    font-size: 0.75rem;
  }

  footer {
    padding: 25px 0;
  }
  .footer__pagetop {
    display: none;
  }
  .footer-logo {
    margin-bottom: 5px;
  }

  .footer-logo img {
    max-width: 160px;
  }

  .footer-text {
    font-size: 0.5rem;
  }
}
