@charset "UTF-8";
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Maru Gothic", sans-serif;
  color: #333;
  font-size: 16px;
}
body.is-fixed {
  overflow: hidden;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  background-color: #D9453C;
  color: #FFF;
  border-radius: 30px;
  font-weight: bold;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  cursor: pointer;
}
.button:hover {
  opacity: 0.7;
}
.button--x {
  background: #065B8B;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .button {
    text-align: center;
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .button {
    text-align: center;
    width: 100%;
  }
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* ← ここで暗さを調整 */
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  z-index: 10;
}
.overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/*-----------------------------
// header
-----------------------------*/
.header {
  background-color: #FFF;
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  -webkit-box-shadow: 0px 4px 12px rgba(173, 170, 170, 0.16);
          box-shadow: 0px 4px 12px rgba(173, 170, 170, 0.16);
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .header {
    height: 60px;
  }
}
@media screen and (max-width: 767px) {
  .header {
    height: 60px;
  }
}

.header__inner {
  max-width: 1440px;
  padding-inline: 40px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: inherit;
}
@media screen and (max-width: 767px) {
  .header__inner {
    padding-inline: 20px;
  }
}

.header__logo {
  font-size: 32px;
  font-weight: 900;
  color: #065B8B;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.header__logo:hover {
  opacity: 0.7;
}
@media screen and (max-width: 767px) {
  .header__logo {
    font-size: 28px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .header__nav {
    width: 50%;
    height: calc(100vh - 60px);
    background-color: #FFF;
    position: fixed;
    top: 60px;
    right: 0;
    z-index: 30;
    opacity: 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 40px 20px;
    pointer-events: none;
  }
  .header__nav.is-active {
    opacity: 1;
    pointer-events: auto;
  }
}
@media screen and (max-width: 767px) {
  .header__nav {
    width: 100%;
    height: calc(100vh - 60px);
    background-color: #FFF;
    position: fixed;
    top: 60px;
    right: 0;
    z-index: 30;
    opacity: 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 40px 20px;
    pointer-events: none;
  }
  .header__nav.is-active {
    opacity: 1;
    pointer-events: auto;
  }
}

.header__nav-list {
  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;
  gap: 25px;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .header__nav-list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
  }
}
@media screen and (max-width: 767px) {
  .header__nav-list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .header__nav-item {
    width: 100%;
  }
  .header__nav-item:not(:last-child) {
    padding-bottom: 20px;
    border-bottom: 1px solid #065B8B;
  }
}
@media screen and (max-width: 767px) {
  .header__nav-item {
    width: 100%;
  }
  .header__nav-item:not(:last-child) {
    padding-bottom: 20px;
    border-bottom: 1px solid #065B8B;
  }
}

.header__nav-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .header__nav-button {
    margin-top: 20px;
  }
}
@media screen and (max-width: 767px) {
  .header__nav-button {
    margin-top: 20px;
  }
}

.header__nav-link {
  font-weight: 700;
  color: #065B8B;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.header__nav-link:hover {
  opacity: 0.7;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .header__nav-link {
    position: relative;
    display: inline-block;
    width: 100%;
  }
  .header__nav-link::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    background: url(../img/sp/right-arrow.png) center center no-repeat;
    background-size: contain;
    width: 15px;
    height: 15px;
  }
}
@media screen and (max-width: 767px) {
  .header__nav-link {
    position: relative;
    display: inline-block;
    width: 100%;
  }
  .header__nav-link::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    background: url(../img/sp/right-arrow.png) center center no-repeat;
    background-size: contain;
    width: 15px;
    height: 15px;
  }
}

/*-----------------------------
// hamburger
-----------------------------*/
.drawer {
  display: none;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .drawer {
    display: block;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    width: 50px;
    height: 50px;
    position: fixed;
    top: 5px;
    right: 10px;
    z-index: 30;
  }
}
@media screen and (max-width: 767px) {
  .drawer {
    display: block;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    width: 50px;
    height: 50px;
    position: fixed;
    top: 5px;
    right: 10px;
    z-index: 30;
  }
}

.drawer__bar {
  width: 30px;
  height: 3px;
  background-color: #065B8B;
  display: inline-block;
  position: absolute;
  left: 10px;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  border-radius: 10px;
}
.drawer__bar:nth-of-type(1) {
  top: 16px;
}
.drawer__bar:nth-of-type(1).is-active {
  top: 24px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.drawer__bar:nth-of-type(2) {
  top: 25px;
}
.drawer__bar:nth-of-type(2).is-active {
  opacity: 0;
}
.drawer__bar:nth-of-type(3) {
  top: 34px;
}
.drawer__bar:nth-of-type(3).is-active {
  top: 24px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

/*-----------------------------
// fv
-----------------------------*/
.fv {
  position: relative;
  padding-top: 80px;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .fv {
    padding-top: 60px;
  }
}
@media screen and (max-width: 767px) {
  .fv {
    padding-top: 60px;
  }
}

.fv__contents {
  position: absolute;
  background: url(../img/bg_fv.png) center center no-repeat;
  background-size: cover;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  max-width: 627px;
  height: 174px;
  padding: 24px 24px 0 96px;
}
@media screen and (max-width: 767px) {
  .fv__contents {
    bottom: 26px;
    width: 100%;
    height: 209px;
    background: url(../img/sp/bg_fv.png) center center no-repeat;
    padding: 32px;
  }
}

.fv__heading-main {
  display: block;
  font-size: 40px;
  font-weight: 700;
  color: #065B8B;
}

.fv__heading-sub {
  margin-top: 12px;
  display: block;
  font-size: 16px;
}

/*-----------------------------
// section
-----------------------------*/
.section {
  scroll-margin-top: 80px;
  padding-block: 120px 100px;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .section {
    scroll-margin-top: 60px;
    padding-block: 100px 100px;
  }
}
@media screen and (max-width: 767px) {
  .section {
    scroll-margin-top: 60px;
    padding-block: 100px 100px;
  }
}

.section__inner {
  max-width: 944px;
  margin: 0 auto;
  padding: 0 32px;
}

.section__head {
  margin-bottom: 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .section__head {
    margin-bottom: 55px;
    text-align: center;
  }
}

.section__head-main {
  font-size: 36px;
  font-weight: 700;
  color: #065B8B;
  z-index: 10;
  position: relative;
}
@media screen and (max-width: 767px) {
  .section__head-main {
    font-size: 30px;
  }
}

.section__head-sub {
  font-size: 100px;
  font-weight: 900;
  color: #FCEEE1;
  position: absolute;
  top: -90px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  white-space: nowrap;
}
.section__head-sub--white {
  color: #FFF;
}
@media screen and (max-width: 767px) {
  .section__head-sub {
    top: -60px;
    font-size: 70px;
  }
}

.section__lead-text {
  font-size: 16px;
  line-height: 1.6;
}
.section__lead-text--center {
  text-align: center;
}

.section__contents {
  margin-top: 40px;
}

/*-----------------------------
// service
-----------------------------*/
.service__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3%;
}
@media screen and (max-width: 767px) {
  .service__list {
    grid-template-columns: repeat(1, 1fr);
  }
}

.service__item {
  border: 1px solid #e4e4e4;
  -webkit-box-shadow: 0 4px 15px 0 #e4f3fd;
          box-shadow: 0 4px 15px 0 #e4f3fd;
  border-radius: 10px;
  padding: 30px;
}

.service__item-img {
  text-align: center;
  margin-bottom: 14px;
}

.service__item-name {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: #065B8B;
}

.service__item-text {
  font-size: 14px;
  line-height: 1.6;
}

/*-----------------------------
// works
-----------------------------*/
.works {
  background-color: #F1F9FF;
}

.works__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8%;
}
@media screen and (max-width: 767px) {
  .works__list {
    grid-template-columns: repeat(1, 1fr);
    place-items: center;
  }
}

.works__item-img {
  margin-bottom: 12px;
}
.works__item-img img {
  -webkit-box-shadow: 0 4px 15px 0 rgba(51, 51, 51, 0.15);
          box-shadow: 0 4px 15px 0 rgba(51, 51, 51, 0.15);
  border-radius: 10px;
}

.works__item-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #065B8B;
}

.works__item-link {
  text-decoration: underline;
  font-size: 14px;
}

/*-----------------------------
// works
-----------------------------*/
.about__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: 60px;
}
@media screen and (max-width: 767px) {
  .about__container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    gap: 0;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

@media screen and (max-width: 767px) {
  .about__img {
    margin-top: 32px;
  }
}

.about__text {
  font-size: 16px;
  line-height: 1.6;
}
.about__text--name {
  font-size: 20px;
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  .about__text--name {
    font-size: 18px;
  }
}
.about__text--link {
  color: #065B8B;
  text-decoration: underline;
}
.about__text + .about__text {
  margin-top: 1em;
}

.about__twitter {
  text-align: right;
}

.about__twitter-img {
  width: 40px;
  height: 40px;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.about__twitter-img:hover {
  opacity: 0.7;
}

/*-----------------------------
// flow
-----------------------------*/
.flow {
  background-color: #F1F9FF;
}

.flow__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media screen and (max-width: 767px) {
  .flow__list {
    margin-top: 70px;
    grid-template-columns: repeat(1, 1fr);
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .flow__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 16px;
  }
}

.flow__item {
  position: relative;
  border: none;
  padding: 46px 16px 24px;
  background-color: #FFF;
  border-radius: 10px;
  -webkit-box-shadow: 0 4px 15px 0 #e4f3fd;
          box-shadow: 0 4px 15px 0 #e4f3fd;
}
@media screen and (max-width: 767px) {
  .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: #065B8B;
  color: #FFF;
  width: 48px;
  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;
  border-radius: 50%;
  font-weight: 700;
}

.flow__item-img {
  margin-bottom: 24px;
  text-align: center;
}

.flow__item-name {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: #065B8B;
}

.flow__item-text {
  font-size: 14px;
  line-height: 1.6;
}

/*-----------------------------
// contact
-----------------------------*/
/*-----------------------------
// form
-----------------------------*/
.form {
  margin-top: 45px;
  text-align: center;
}
.form input,
.form select,
.form textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 100%;
  padding: 15px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #F1F9FF;
  background-color: #F1F9FF;
  -webkit-transition: border-color 0.3s;
  transition: border-color 0.3s;
  font-family: "Zen Maru Gothic", sans-serif;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: #065B8B;
  outline: none;
}
.form input::-webkit-input-placeholder, .form select::-webkit-input-placeholder, .form textarea::-webkit-input-placeholder {
  font-family: "Zen Maru Gothic", sans-serif;
  color: #808080;
}
.form input::-moz-placeholder, .form select::-moz-placeholder, .form textarea::-moz-placeholder {
  font-family: "Zen Maru Gothic", sans-serif;
  color: #808080;
}
.form input:-ms-input-placeholder, .form select:-ms-input-placeholder, .form textarea:-ms-input-placeholder {
  font-family: "Zen Maru Gothic", sans-serif;
  color: #808080;
}
.form input::-ms-input-placeholder, .form select::-ms-input-placeholder, .form textarea::-ms-input-placeholder {
  font-family: "Zen Maru Gothic", sans-serif;
  color: #808080;
}
.form input::placeholder,
.form select::placeholder,
.form textarea::placeholder {
  font-family: "Zen Maru Gothic", sans-serif;
  color: #808080;
}
.form select {
  padding: 15px 40px 15px 15px;
  font-family: "Zen Maru Gothic", sans-serif;
  color: #808080;
  cursor: pointer;
  /* 背景にカスタム矢印を配置 */
  background-image: url(../img/down-arrow.png);
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
}
.form select option {
  color: #333;
}
.form select:not(:has(option:checked[value=""])) {
  color: #333;
}
.form textarea {
  height: 200px;
}

.form__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 60px;
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  .form__item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
  }
}

.form__title {
  -ms-flex-preferred-size: 25%;
      flex-basis: 25%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media screen and (max-width: 767px) {
  .form__title {
    gap: 10px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.form__description {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -ms-flex-preferred-size: 0;
      flex-basis: 0;
}
@media screen and (max-width: 767px) {
  .form__description {
    width: 100%;
  }
}

.form__required {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid #065B8B;
  background-color: #065B8B;
  color: #FFF;
  border-radius: 10px;
  font-size: 12px;
}

.form__button {
  margin-top: 20px;
  display: inline-block;
  padding: 20px;
  background-color: #e4e4e4;
  color: #333;
  border-radius: 30px;
  width: 300px;
  border: none;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.form__button:hover {
  background-color: #065B8B;
  color: #FFF;
  font-weight: bold;
}

/*-----------------------------
// footer
-----------------------------*/
.footer {
  text-align: center;
  padding: 10px;
  background-color: #F1F9FF;
  padding-block: 20px;
}

.footer__privacy {
  display: block;
  font-size: 14px;
  text-decoration: underline;
}

.footer__copy {
  display: block;
  font-size: 14px;
  margin-top: 10px;
}