body {
  font-family: "Noto Sans JP", sans-serif;
}
.pc-only {
  display: block;
}
.sp-only {
  display: none;
}
#pc-nav {
  font-family: 'Shippori Mincho', serif;
}
#sp-nav {
  font-family: 'Shippori Mincho', serif;
  display: none;
}
#header-image-wrapper {
    background-image: url("./images/header.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 50vh;
    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;

}

h2 {
  font-family: 'Shippori Mincho', serif;
  width: 100%;
  max-width: 1200px;
  margin: 1em auto;
  padding: 0 !important;
  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: 1.5em;
}

h3 {
  font-size: 2em;
  letter-spacing: 0.1em;
  line-height: 1.75em;
  font-weight: bold;
  text-align: center;
  margin: 1.5em 0 0.5em;
}
h3.worry {
  text-decoration: underline;
}


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;
  background: rgba(255, 255, 255, 0.5);
}
#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;
}

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

.full-bg-grey {
  background-color: #f5f5f5;
  padding: 2em;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
}
.full-bg-grey h3 {
  margin-top: 0;
}
.full-bg-grey>div {
  max-width: 1200px;
  text-align: center;
  margin: auto;
}


.text-wrapper {
  transform: translateX(0);
  background-color: white;
  width: 100%;
  padding: 1em;
  margin: auto;
  text-align: center;
  box-shadow: none!important;
  border: 1px solid grey;
  border-radius: 0;
}
.text-wrapper p {
  line-height: 1.75em;
  text-align: center;
}

.worries {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 120px;
}
.worries li {
  width: calc(100% / 4);
  text-align: left;
  padding: 0.5em;
  display: flex;
}
.worries div {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 50%;
  background-color: #BF0E49;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.worries div:after {
  content: '';
  position: absolute;
  bottom: -80px;
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-top: 40px solid #2E75B7;
}
.worries p {
  line-height: 1.75em;
  text-align: center;
  font-size: 1.2em;
  color: white;
  font-weight: bold;
}
.worries img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 5rem;
}

.marker {
  font-size: 2em;
  position: relative;
}
.marker:before {
  content: '';
  background-color: #FBE080;
  position: absolute;
  bottom: -0.2rem;
  left: 0;
  width: 100%;
  height: 50%;
  z-index: -1;
}

.solutions {
  padding: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: white;
  border-radius: 20px;
  border: #a4a4a4 dashed 2px;
}
.solutions li {
  width: 100%;
  text-align: left;
  padding: 0 0.5em;
  text-align: center;
}
.solutions div {
  padding: 1em;
}
.solutions img {
  width: 7rem;
}
.solutions h4 {
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 0.5em;
  color: #2E75B7;
}
.solutions p {
  line-height: 1.75em;
  text-align: left;
  font-size: 1em;
  text-align: center;
  margin-bottom: 0.5rem;
}

.price-table {
  width: 100%;
  margin-bottom: 3rem;
}
.price-table th, .price-table td {
  width: 50%;
  border: 1px solid #333;
  text-align: center;
  font-size: 1.5rem;
  vertical-align: middle;
  height: 7rem;
}
.price-table th {
  background: #8EA8DB;
  color: white;
}
.price-table td {
}
.price-num {
  font-size: 5rem;
  font-weight: bold;
  color: #2E75B7;
  letter-spacing: 1rem;
}
.text-blue {
  color: #2F76B6;
  font-weight: bold;
}
.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.buttons a {
  margin: 1rem;
  width: 100%;
  color: white;
  padding: 2.5rem 1rem;
  font-size: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
.buttons a:hover{
  opacity: 0.8;
}
.btn-blue {
  background-color: #2E75B7;
  
}
.btn-yellow {
  background-color: #F9C002;
}

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

/* smp style */
@media screen and (max-width: 767px) {
  .sp-only {
    display: block;
  }
  .pc-only {
    display: none;
  }
  #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);
  }
  #header-image-wrapper {
    height: 50vh;
  }
  #header-image-wrapper h1 {
    font-size: 1.2em;
    text-shadow: 0 0 20px white;
  }
  #brand-logo img {
    height: 60px;
  }
  h2 {
    padding: 0 1rem !important;
    font-size: 2em;
    line-height: 1.3em;
  }
  h2 span {
    font-size: 1em;
  }

  section {
    padding: 0 1rem !important;
    margin-bottom: 2em;
  }
  .worries {
    margin-bottom: 80px;
  }
  .marker {
    line-height: 1.5em;
  }
  .marker:before {
    display: none;
  }
  .full-bg-grey h3 {
    padding-top: 1rem;
    line-height: 1.5em;
  }
  .price-table th, .price-table td {
    font-size: 1.25rem;
  }
  .price-num {
    font-size: 4rem;
    letter-spacing: 0.2rem;
  }
  .buttons a {
    padding: 2rem 1rem;
    font-size: 1.2rem;
  }
  .image-wrapper img {
    width: 100%;
  }

  .text-wrapper {
    width: 100%;
  }

  .text-wrapper p {
    font-size: 0.9em;
  }

  .worries {
    justify-content: center;
  }
  .worries li{
    width: 80%;
    max-width: 380px;
    margin-bottom: 1rem;
  }
  .worries li div:after {
    display: none;
  }
  .worries li:nth-child(3) div:after {
    display: block;
  }

  footer {
    font-size: 0.9em;
  }

    /* 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;
    }
  
    /* ^^^ ハンバーガーメニュー ^^^ */

  .solutions li {
    width: 100%;
    padding: 0.5rem 0 !important;
  }
}
.a-image img {
  height: 30px;
  object-fit: cover;
  object-position: top;
}
section{
  margin-left:auto;
  margin-right:auto;
}
