@charset "UTF-8";
body {
  font-family: "Quicksand", "Noto Sans JP", sans-serif;
}
body.is-fixed {
  overflow: hidden;
}

.header {
  background-color: #98bcc9;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.header__logo {
  display: inline-block;
}

.header__logo-style {
  position: relative;
  padding: 1rem 2rem calc(1rem + 10px);
  background: #fff;
  margin: 25px 35px;
  font-size: 23px;
  width: 180px;
  font-weight: bold;
}

.header__logo-style:before {
  position: absolute;
  top: -7px;
  left: -7px;
  width: 100%;
  height: 100%;
  content: "";
  border: 4px solid #000;
}

.header__menu-button {
  border: none;
  position: absolute;
  top: 50px;
  right: 35px;
  width: 40px;
  height: 50px;
  overflow: hidden;
  color: transparent;
  background: url(../img/bg_menu.png) center center no-repeat;
  background-size: 100% auto;
}

.header__menu-button.is-checked {
  background: url(../img/bg_menu-close.png) center center no-repeat;
  background-size: 100% auto;
}

.header__contents {
  display: none;
  height: calc(100vh - 150px);
}

.header__nav-item {
  width: 150px;
  margin: 15px auto;
  padding: 15px;
  text-align: center;
}

.button__text {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
}

main {
  background-color: #d8e2e6;
}

.fv {
  margin-top: 130px;
  margin-bottom: 25px;
  position: relative;
  /* 子要素の absolute の基準にする */
}

.fv__img img {
  width: 100%;
  display: block;
}

.fv__text {
  position: absolute;
  top: 40px;
  right: 110px;
  background-color: rgba(255, 255, 255, 0.65);
  /* 白背景の半透明 */
  padding: 6px 15px;
  border-radius: 8px;
  line-height: 1.5;
  color: #000;
}

.fv__text-bold {
  top: 160px;
  right: 20px;
  font-size: 1.3rem;
  font-weight: bold;
}

.section__inner {
  padding: 60px 20px;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.section__inner2 {
  position: relative;
  border: 1px solid #000;
  padding: 50px 24px;
  background-color: #fff;
  border-radius: 8px;
}

.section__head {
  position: absolute;
  top: -24px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  font-size: 24px;
  background-color: #000;
  color: #fff;
  width: 120px;
  height: 48px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.section__lead-text {
  margin-top: 10px;
}

.text-line {
  text-align: center;
  margin-top: 20px;
}

.gallery__item {
  margin-top: 35px;
}
.gallery__item-name {
  margin-top: 10px;
  font-weight: bold;
}

.gallery__list {
  text-align: center;
}

.service__item {
  margin-top: 35px;
}
.service__item .service__item-img {
  text-align: center;
}
.service__item .service__item-name {
  margin-top: 10px;
  font-weight: bold;
  text-align: center;
}
.service__item .service__item-text {
  margin-top: 20px;
  font-size: 14px;
}

.about__text {
  margin-top: 10px;
}

.about__lead-more {
  display: none;
}

.about__text-sub {
  margin: 30px 0;
  font-size: 13px;
}

.about__img {
  margin-top: 30px;
}

.readmore-btn {
  margin-top: 30px;
}

.contact__head {
  display: block;
  text-align: center;
}

.contact__head-main {
  color: #fff;
  background: #98bcc9;
  display: block;
  font-size: 24px;
  padding: 6px;
  margin: 40px auto 20px;
  width: 200px;
  height: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.contact__head-sub {
  display: block;
  text-align: center;
  letter-spacing: 0.1em;
  margin-top: 40px;
}

.contact__form {
  width: 70%;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.contact__form-item {
  margin-top: 5px;
}

.contact__form-input {
  margin-top: 2px;
}

.contact__form-submit {
  width: 90px;
  height: 30px;
  margin: 30px auto;
  font-family: "Quicksand", "Noto Sans JP", sans-serif;
  font-size: 16px;
  letter-spacing: 4px;
  background-color: #fff;
  border: 1px solid #000;
  color: #000;
}

.footer {
  background-color: #d8e2e6;
  text-align: center;
  padding: 10px;
  letter-spacing: 2px;
}

/*----------------------------------
  PC
----------------------------------*/
@media screen and (min-width: 768px) {
  .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .main {
    -ms-flex-preferred-size: 78%;
        flex-basis: 78%;
  }
  .header {
    position: relative;
    -ms-flex-preferred-size: 22%;
        flex-basis: 22%;
  }
  .header__container {
    width: 250px;
    margin: 0 auto;
    position: sticky;
    top: 0;
  }
  .header__logo {
    margin-top: 30px;
  }
  .header__menu-button {
    display: none;
  }
  .header__contents {
    display: block;
  }
  .button__text {
    padding-bottom: 5px;
    position: relative;
  }
  .button__text::before {
    background: #fff;
    content: "";
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    -webkit-transform-origin: right top;
            transform-origin: right top;
    -webkit-transform: scale(0, 1);
            transform: scale(0, 1);
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
  }
  .button__text:hover::before {
    -webkit-transform-origin: left top;
            transform-origin: left top;
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
  }
  .fv {
    margin-top: 0;
  }
  .fv__img-wrapper {
    height: 450px;
    /* 任意の高さ */
    overflow: hidden;
  }
  .fv__img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    top: -120px;
    /* ← 上にずらす（上120px分をカット） */
  }
  .fv__text {
    top: 150px;
    right: 110px;
    background-color: rgba(255, 255, 255, 0.55);
    padding: 6px 15px;
    border-radius: 8px;
    line-height: 1.5;
    color: #000;
  }
  .fv__text-bold {
    top: 60px;
    right: 180px;
    font-size: 2rem;
    font-weight: bold;
  }
  .section__inner {
    padding: 60px 50px;
  }
  .section__inner2 {
    padding: 50px 50px;
  }
  .gallery__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 40px;
  }
  .service__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 40px;
  }
  .service__item {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
  .about__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 40px;
  }
  .about__box {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
  .readmore-btn:hover {
    cursor: pointer;
  }
  .contact__head {
    width: 350px;
    text-align: right;
    margin-left: 40px;
  }
  .contact__form {
    padding: 0;
    width: 50%;
  }
  .contact__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .footer {
    padding-bottom: 20px;
  }
}
/*----------------------------------
  TB
----------------------------------*/
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .gallery__list {
    display: block;
  }
  .gallery__item {
    text-align: center;
  }
  .service__list {
    display: block;
  }
  .about__container {
    display: block;
  }
  .contact__item {
    display: block;
  }
  .contact__form {
    padding: 30px;
    width: 80%;
    margin: 0 auto;
  }
}