body {
  font-family: "Shippori Mincho", serif;
}
.pc-only {
  display: block;
}
.sp-only {
  display: none;
}
#sp-nav {
  display: none;
}
#header-image-wrapper {
    background-image: url("./images/header.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#header-image-wrapper h1 {
    font-size: 3rem;
    line-height: 1.75em;
    font-weight: bold;
    text-align: center;
    text-align: left;

    padding: 20px;
    width: 100%;
    max-width: 1200px;

}

h2 {
  width: 100%;
  max-width: 1200px;
  margin: 1em auto;
  margin-bottom: 0.5em;
  padding: 0 1em;
  font-size: 2em;
  letter-spacing: 0.1em;
  line-height: 1.75em;
  font-weight: bold;
  text-align: center;
  text-align: left;
}
h2 span { 
  color: #a4a4a4;
  display: block;
  font-size: 2em;
}

h3 {
  font-size: 1.25em;
  letter-spacing: 0.1em;
  line-height: 1.75em;
  font-weight: bold;
  text-align: center;
  text-align: left;
}


img {
  vertical-align: bottom;
}

#bg {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: url("./images/bg.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0.1;
}

nav#pc-nav {
  display: flex;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  justify-content: space-between;
  background-color: transparent;
  width: 100%;
  max-width: 1200px;
  height: 70px;
  z-index: 1040;
}
#pc-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  margin-right: 30px;
}
#pc-nav ul li {
  padding: 0 20px;
}

#brand-logo img{
  height: 70px;
  padding: 10px;
}

main {
  width: 100%;
  text-align: center;
  /* アンカー用 */
  padding-top: 60px;
  margin-top: -60px;
}

section {
  width: 100%;
  max-width: 1200px;
  margin:auto;
  text-align: center;
}

.image-wrapper {
  text-align: center;
}
.image-wrapper img{
  width: 70%;
  border-radius: 4px;
}

.text-wrapper {
  background-color: white;
  width: 60%;
  padding: 2em;
  text-align: left;
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  border-radius: 4px;
  margin-bottom: -40px;
}
.text-wrapper p {
  line-height: 1.75em;
  text-align: left;
}
.text-wrapper.right {
  margin-right: 2em;
  margin-left:auto;
}
.text-wrapper.left {
  margin-left: 2em;
  margin-right:auto;
}

.view-more {
  margin-top: 1em;
  text-align: right;
}
.view-more a {
  color: #C00;
  font-size: 1.25em;
  text-decoration: none;
  font-weight: bold;
}

footer {
  width: 100%;
  background-color: #333;
  color: white;
  padding: 2em 0;
  text-align: center;
}
footer h3 {
  font-weight: normal;
  text-align: center;
}
p.address {
  margin-top: 3px;
  margin-bottom: 1em;
}
footer a {
  margin: 0.5em;
  display: inline-block;
}

.supports {
  display: flex;
  justify-content: space-between;
}
.support {
  width: 31%;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.support img {
  width: 100%;
}
.support-img {
  aspect-ratio: 10 / 7;
  position: relative;
}
.support-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.support-img span {
  position: absolute;
  bottom:0;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  font-size: 1rem;
  text-align: center;
  padding: 0.5rem 1.5rem;
  background-color: #fff;
}
.support h3 {
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: bold;
  margin: 1.5rem 0 1em 0;
  color: #394FA9;
}
.support p {
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.7rem;
  padding: 0 1rem 1.5rem 1rem;
}


.contact-section {
  background-color: #f5f5f5;
  padding: 1rem 1rem 3rem 1rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 3em;
  max-width: none;
  line-height: 1.75rem;
}
.contact-section>div {
  max-width: 1200px;
  text-align: center;
  margin: auto;
}
.contact-section h2 {
  color: #333;
  font-size: 1.5rem;
}
.contact-section p {
  font-size: 1rem;
  margin-bottom: 2rem;
}
.contact-buttons {
  display: flex;
  margin-top: 1rem;
  justify-content: center;
  flex-direction: column;
}
.contact-button {
  position: relative;
  display: inline-block;
  width: 350px;
  padding: 1rem;
  margin:0 auto 1rem;
  color: #fff;
  font-weight: bold;
  background-color: #394FA9;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.contact-button:hover {
  opacity: 0.8;
  transition-duration: .3s;
}
.contact-button i {
  transform: translateY(-50%);
  position: absolute;
  top: 50%;
  left: 2rem;
  font-weight: normal;
  margin-right: 0.5rem;
}


/* smp style */
@media screen and (max-width: 767px) {
  .sp-only {
    display: block;
  }
  .pc-only {
    display: none !important;
  }
  #pc-nav {
    display: none !important;
  }
  #sp-nav {
    display: block;
    position: fixed;
    width: 100%;
    background: #fff;
    z-index: 1050;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, .2);
  }
  #brand-logo img {
    height: 60px;
  }
  #header-image-wrapper {
    height: 50vh;
  }
  #header-image-wrapper h1 {
    font-size: 1.2em;
    text-shadow: 0 0 20px white;
    padding: 0;
    width: auto;
  }

  h2 {
    font-size: 2em;
    line-height: 1.3em;
  }
  h2 span {
    font-size: 1em;
  }

  section {
    margin-bottom: 2em;
  }
  
  .image-wrapper img {
    border-radius: 0px;
    width: 100%;
  }

  .text-wrapper {
    width: 90%;
    transform: translateY(-10%);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  }
  .text-wrapper.right, .text-wrapper.left {
    margin-top: 0;
    margin: auto;
  }
  .text-wrapper p {
    font-size: 0.9em;
  }

  footer {
    font-size: 0.9em;
  }

  .supports {
    flex-wrap: wrap;
  }
  .support {
    width: 95%;
    margin:auto;
    margin-bottom: 2rem;
  }
  .contact-section {
    margin-top: 0rem;
    margin-bottom: 0rem;
  }

  /* vvv ハンバーガーメニュー vvv */
  .menu-btn {
    position: fixed;
    top: 0px;
    right: 0px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #444;
  }

  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: '';
    display: block;
    height: 1px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
  }

  .menu-btn span:before {
    bottom: 8px;
  }

  .menu-btn span:after {
    top: 8px;
  }

  #menu-btn-check:checked~.menu-btn span {
    background-color: rgba(255, 255, 255, 0);
    /*メニューオープン時は真ん中の線を透明にする*/
  }

  #menu-btn-check:checked~.menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #menu-btn-check:checked~.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  #menu-btn-check {
    display: none;
  }
  
  .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    /*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #444;
    transition: all 0.5s;
    /*アニメーション設定*/
  }

  .menu-content ul {
    padding: 70px 10px 0;
  }

  .menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
  }

  .menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
  }

  .menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
  }

  #menu-btn-check:checked~.menu-content {
    left: 0;
  }

  /* ^^^ ハンバーガーメニュー ^^^ */
}
