body {
  font-family: "Noto Sans JP", sans-serif;
  color: #585858;
}

.wrapper {
  background-color: #e6e6e6;
}
body.is-fixed {
  overflow: hidden;
}

.button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 6px 10px 6px 30px;
  width: 160px;
  margin: 0 auto;
}
.button__icon {
  width: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.button__icon-path {
  fill: #fff;
}
.button__text {
  color: #fff;
  font-size: 14px;
  margin-left: 10px;
  letter-spacing: 0.08em;
  color: #fff;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 998;
}
.header__container {
  width: 100%;
  position: relative;
}
.header__menu-button {
  position: fixed;
  top: 10px;
  right: 20px;
  border: none;
  overflow: hidden;
  width: 30px;
  height: 36px;
  color: transparent;
  background: url(../img/bg_menu.png) center center no-repeat;
  background-size: 100% auto;
  z-index: 999;
}
.header__menu-button.is-checked {
  background: url(../img/bg_menu-close.png) center center no-repeat;
  background-size: 100% auto;
  z-index: 999;
}
.header__contents {
  background: #4a4a4a;
  display: block;
  position: fixed;
  top: 0;
  height: 100vh;
  right: -100%;
  width: 100%;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.header__contents.is-actived {
  right: 0;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  z-index: 99;
}
.header__logo {
  font-family: "Lora", serif;
  display: inline-block;
  padding: 14px 24px;
  font-size: 20px;
  text-decoration: underline;
  color: #fff;
}
.header__logo img {
  width: 35%;
  position: absolute;
  top: -15px;
  left: -10px;
}
.header__nav-list {
  padding: 85px;
}
.header__nav-item + .header__nav-item {
  margin-top: 24px;
}
.header-pc {
  display: none;
}

.fv {
  position: relative;
  height: 500px;
}
.fv img {
  position: absolute;
  top: 0;
  left: 0;

  opacity: 0;
  transition: all 2s ease;
  max-width: 100%;
}

img.active {
  opacity: 1;
}

.fv__heading {
  position: absolute;
  top: 380px;
  left: 0px;
  font-family: "Caveat";
  font-size: 50px;
  padding: 10px;
  color: #ffffff;
  line-height: 1;
}

.fv__bottom {
  text-align: center;
  margin-top: 60px;
}

.section {
  padding: 30px 0;
  color: #585858;
}
.section__inner {
  padding: 0 15px;
}
.section__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-bottom: 32px;
}
.section__head--center {
  text-align: center;
}
.section__head-main {
  font-family: "Sanchez";
  font-size: 40px;
  margin: 50px 0 0 0;
  text-align: center;
}

.section__head-main--about {
  font-family: "Sanchez";
  text-align: left;
  margin: 40px 0 0 0;
  font-size: 40px;
}
.section__head-sub--about {
  font-family: "Sanchez";
  font-size: 20px;
  text-align: left;
}
.section__head-sub {
  text-align: center;
}
.section__lead-text {
  font-size: 16px;
  line-height: 1.6;
}
.section__contents {
  margin-top: 40px;
}

.service {
  background: #e6e6e6;
}
.service__item {
  text-align: center;
}
.service__item img {
  max-width: 70%;
}
.service__item-img {
  margin-bottom: 14px;
}
.service__item-name {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
  position: relative;
  top: 45px;
  left: 0;
}
.service__item-name--3 {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  position: relative;
  top: 45px;
  left: 0;
}
.service__item-text {
  text-align: center;
  align-items: center;
  font-size: 11px;
  line-height: 1.5;
  position: relative;
  top: -100px;
  left: 0;
}

.works {
  background-color: #e6e6e6;
}
.works__list {
  padding-top: 40px;
}
.works__item {
  text-align: center;
}
.works__item + .works__item {
  margin-top: 70px;
}
.works__item-img {
  margin-bottom: 12px;
}
.works__item-img img {
  -webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  max-width: 80%;
}
.works__item-name {
  font-size: 16px;
}

.about {
  background: #e6e6e6;
}
.about__container {
}
.about__img {
  margin-bottom: 32px;
  width: 200px;
  height: auto;
  margin: auto;
}
.about__img img {
  -webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.about__text--name {
  text-align: center;
  font-weight: bold;
  margin-bottom: 30px;
  margin-top: 30px;
}
.about__text {
  font-size: 16px;
  line-height: 1.6;
}
.about__text + .about__text {
  margin-top: 10px;
}

.about__modal-link {
  display: flex;
  justify-content: center; /* 真ん中に寄せる */
  gap: 10px; /* 間隔 */
  border: none;
  background-color: transparent;
  font-family: "Sanchez", serif;
  color: #fff;
  cursor: pointer;
  margin-top: 40px;
}

.sakura-item {
  position: relative;
  width: 100px;
  height: 100px;
}

.sakura-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sakura-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  pointer-events: none; /* クリックを邪魔しない */
  font-size: 12px;
  text-align: center;
  text-shadow: 0 0 4px #000;
}

.modal {
  display: none; /* 最初は非表示 */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  padding: 60px; /* ← 中の余白を増やす */
  min-height: 400px;
  width: 70%;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.7);
  padding: 14px;
  border-radius: 30px;
  margin: 20px;
  color: #333;
  width: 90%;
  height: 80%;
  font-size: 14px;
}

.modal-content--title {
  font-size: 38px;
  font-weight: bold;
}

.modal-content--sub {
  font-size: 12px;
  margin-top: 10px;
}

.modal-content--main {
  margin-top: 20px;
  font-size: 14px;
}

.modal-content--main + .modal-content--main {
  margin-top: 20px;
}

.modal2-content {
  padding: 60px; /* ← 中の余白を増やす */
  min-height: 400px;
  width: 70%;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.7);
  padding: 14px;
  border-radius: 30px;
  margin: 20px;
  color: #333;
  width: 90%;
  height: 80%;
  font-size: 14px;
  max-height: 80vh; /* 画面の8割の高さまでに制限 */
  overflow-y: auto; /* 縦スクロールを有効にする */
  padding-right: 10px; /* スクロールバーの分だけ余白 */
}

.modal-content--text {
  font-size: 14px;
  margin-top: 20px;
}

.modal-history__list {
  display: flex;
  gap: 20px;
}

.close-btn {
  display: block;
  margin: 25px auto 0;
  padding: 10px 20px;
  border: none;
  background: #415a77;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
}

.flow {
  background: #e6e6e6;
}
.flow__list {
  margin-top: 64px;
}
.flow__item {
  position: relative;
  border: 1px solid #808080;
  padding: 46px 16px 24px;
}
.flow__item + .flow__item {
  margin-top: 46px;
}
.flow__item-num {
  position: absolute;
  top: -24px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  font-size: 24px;
  background-color: #4a4a4a;
  color: #fff;
  width: 48px;
  height: 48px;
  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;
}
.flow__item-img {
  margin-bottom: 24px;
  text-align: center;
}
.flow__item-name {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}
.flow__item-text {
  font-size: 14px;
  line-height: 1.6;
}

.message {
  background: #e6e6e6;
}
.message__img {
  margin-bottom: 32px;
}
.message__img img {
  -webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.page-bottom {
  color: #fff;
}
.page-bottom__item {
  padding: 40px;
}
.page-bottom__item--contact {
  background-color: #6f6f6f;
}
.page-bottom__item--twitter {
  background-color: #4a4a4a;
}

.contact {
  background: #e6e6e6;
  padding: 48px 0;
}
.attentionForm {
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 50px;
}

.box-dl {
  margin-top: 20px;
}

.form-input {
  margin-top: 10px;
  border-radius: 10px;
  border: none;
  padding: 10px;
  -webkit-box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.15);
  font-family: "Noto Sans JP", sans-serif;
}

.textarea {
  margin-bottom: 50px;
  display: block;
  margin-top: 10px;
  border-radius: 10px;
  border: none;
  padding: 10px;
  -webkit-box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.15);
  padding: 16px;
  width: 100%;
  font-family: "Noto Sans JP", sans-serif;
}

.submit-btn {
  background-color: #4a4a4a;
  color: #fff;
  display: block;
  margin: auto;
  border: none;
  width: 50%;
  padding: 10px 0;
  cursor: pointer;
}

.footer {
  background: #4a4a4a;
  text-align: center;
  padding: 20px 0;
}
.footer__company-name img {
  max-width: 20%;
}
.footer__sns-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 20px;
}
.footer__privacy {
  margin-top: 10px;
  margin-bottom: 15px;
  text-decoration: underline;
  color: #fff;
  font-size: 12px;
}
.footer__copy {
  font-size: 11px;
  padding: 15px;
  color: #888;
  font-family: "Noto Sans JP", sans-serif;
}

/*-------------------
//pc
-------------------*/
@media screen and (min-width: 768px) {
  .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .main {
    -ms-flex-preferred-size: 79.2%;
    flex-basis: 79.2%;
  }
  .header {
    display: none;
  }
  .header__container {
    display: none;
  }
  .header__menu-button {
    display: none;
  }
  .header-pc {
    display: block;
    -ms-flex-preferred-size: 20.8%;
    flex-basis: 20.8%;
    position: relative;
    background: #4a4a4a;
    text-align: center;
  }
  .header__logo-pc img {
    max-width: 50%;
  }
  .header__inner {
    width: 160px;
    position: sticky;
    top: 50px;
    display: block;
  }
  .header__menu-list {
    padding: 60px;
  }
  .header__menu-item + .header__menu-item {
    margin-top: 24px;
  }
  .button {
    -webkit-transition: background 0.3s, color 0.3s, opacity 0.3s;
    transition: background 0.3s, color 0.3s, opacity 0.3s;
  }
  .button:hover {
    background-color: #fff;
  }
  .button:hover .button__photo-path {
    fill: #4a4a4a;
  }
  .button:hover .button__text-p {
    color: #4a4a4a;
  }
  .button__text-p {
    color: #fff;
    font-size: 14px;
    margin-left: 10px;
    letter-spacing: 0.08em;
  }
  .button__photo {
    width: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .button__photo-path {
    fill: #fff;
  }
  .section__inner {
    max-width: 944px;
    margin: 0 auto;
  }
  .section__head {
    margin-bottom: 24px;
  }
  .section__head-main {
    text-align: left;
    font-size: 40px;
  }

  .section__head-sub {
    font-size: 20px;
    writing-mode: vertical-lr;
  }
  .fv__contents {
    background: url(../img/bg_fv.png) center center no-repeat;
    background-size: 100% auto;
    bottom: 100px;
    left: 0;
    max-width: 627px;
    height: 174px;
    padding-top: 24px;
    padding-left: 96px;
  }
  .fv__heading {
    font-size: 110px;
  }
  .message__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    gap: 40px;
  }
  .service__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8%;
  }
  .service__item img {
    max-width: 80%;
  }
  .service__item + .service__item {
    margin-top: 0;
  }
  .works__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8%;
  }
  .works__item + .works__item {
    margin-top: 0;
  }
  .about__container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
  }
  .flow__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .flow__item + .flow__item {
    margin-top: 0;
  }
  .contact {
    padding: 100px 0;
  }
  .form-input {
    width: 100%;
  }
  .submit-btn {
    width: 40%;
    padding: 1rem 0;
  }
  .footer__compayn-name {
    max-width: 15%;
  }
  .footer__sns-link {
    gap: 35px;
  }
}
/*-------------------
//tb
-------------------*/
.section__head-main {
  font-size: 54px;
}

.fv__contents {
  bottom: 50%;
  -webkit-transform: translateY(50%);
  transform: translateY(50%);
}

.flow__list {
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 16px;
}
