@charset "UTF-8";

:root {
  --main-color: #FFDA3B;
  --sub-color: #C2C2C2;
}

body {
  font-family: "Noto Sans JP", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  color: #111;
  font-feature-settings: "palt";
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

h2, h3 ,h4 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
}

/* googleフォント
font-family: 'EB Garamond', serif;
font-family: 'Noto Emoji', sans-serif;
font-family: 'Noto Sans JP', sans-serif;
font-family: 'Zen Kaku Gothic New', sans-serif;
*/

p {
  margin-bottom: 10px;
}

.large__text {
  font-size: 17px;
}
.small__text {
  font-size: 13px;
}

/*--------------------------------
 共通レイアウト
---------------------------------*/
.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 30px;
}
.section {
  padding: 24px 0;/*20px 0*/
}

.section--color-reverse .section__inner {
  padding: 40px 0;
  background-color: var(--main-color);
}

.section__heading {
  margin-bottom: 30px;
}

.section-border-top {
  transform: translateY(1px);
}
.section-border-bottom {
  transform: translateY(-1px);
}

/*--------------------------------
 スクロールエフェクト
---------------------------------*/
.fadeUpEffect {
  opacity: 0;
}
.fadeUp {
  opacity: 0;
  animation-name: fadeUp;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*--------------------------------
 ボタン
---------------------------------*/
.btn {
  display: inline-block;
  width: 100%;
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.06em;
  color: #111;
  text-align: center;
  padding: 12px 10px;
  transition: all 0.3s;
  border-radius: 50px;
  background-color: var(--main-color);
}

.btn--color-reverse {
  color: var(--main-color);
  background-color: #fff;
}

.btn--center {
  display: block;
  max-width: 300px;
  margin: 0 auto;
}

/*--------------------------------
 見出し
---------------------------------*/
.heading-primary {
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  color: #111;
}

.heading-primary__subtitle {
  display: block;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  color: var(--main-color);
  font-family: 'EB Garamond', serif;
}

.heading-primary--color-reverse,
.heading-primary--color-reverse .heading-primary__subtitle {
  color: #fff;
}

/*--------------------------------
header
---------------------------------*/
.header {
  display: flex;
  position: fixed;
  z-index: 100;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 60px;
  padding: 0 20px;
  transition: 0.3s;
}

.header__logo {
  font-family: 'EB Garamond', serif;
  font-size: 24px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.header__cta {
  display: none;
}
.header__cta-btn {
  font-size: 12px;
  padding: 12px 15px;
}
.header--active {
  background-color: #fff;
  box-shadow: 0 3px 6px rgb(0 0 0 / 8%);
}
.header--active .header__cta {
  display: block;
}

/*--------------------------------
 mv メインビジュアル
---------------------------------*/
.mv {
  position: relative;
  height: 410px;
  margin: 0 auto;
  padding-top: 140px;
  padding-left: 20px;
}
.mv__title {
  font-size: 30px;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 20px;
}
.mv__text-bg-color {
  background-color: #fff;
}

.mv__img {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  opacity: 0;
  width: 70%;
  height: 410px;
  border-radius: 0 0 0 50px;
  background-image: url(../img/bg_mv.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  animation: 1s fadeInMvImg 0.2s forwards;
}
@keyframes fadeInMvImg {
  100% {
    opacity: 1;
  }
}

.mv__btn .btn {
  width: 220px;
}

/*アニメーション*/
.bgextend {
  position: relative;
  opacity: 0;
  overflow: hidden;
  animation-name: bgextendAnimeBase;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}
@keyframes bgextendAnimeBase {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.bgappear {
  opacity: 0;
  animation-name: bgextendAnimeSecond;
  animation-duration: 1s;
  animation-delay: 0.6s;
  animation-fill-mode: forwards;
}
@keyframes bgextendAnimeSecond {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.bgLRextend::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--main-color);
  animation-name: bgLRextendAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}
@keyframes bgLRextendAnime {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }
  50% {
    transform: scaleX(1);
    transform-origin: left;
  }
  50.001% {
    transform-origin: right;
  }
  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

.bgappearTrigger,
.bgLRextendTrigger {
  opacity: 0;
}

/*--------------------------------
 リード　intro
---------------------------------*/
.intro {
  margin-top: 40px;
  padding: 0 20px;
}

.intro__title {
  font-size: 22px;
  letter-spacing: 0.04em;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 28px;
}

.intro__text {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.06em;
}
.intro__text p {
    text-align: left;
}


/*--------------------------------
about　サービス一覧
---------------------------------*/
.about-list {
  display: grid;
  row-gap: 40px;
}
.about-box__img-wrapper {
  width: 100%;
}

.about-box__desc {
  position: relative;
  margin: -20px 20px;/*-10px 20px*/
  padding: 40px 30px 30px 30px;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.about-box__subtitle {
  font-size: 14px;
  letter-spacing: 0.06em;
  font-family: 'EB Garamond', serif;
  color: #222;
  margin-bottom: 8px;
  position: relative;
}
.about-box__subtitle::before {
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 40px;
  height: 2px;
  content: '';
  border-radius: 1px;
  background: var(--main-color);
}

.about-box__title {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 15px;
}
.about-box__text {
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.about-box__text ul {
  margin: 0;
  padding: 0 0 0 10px;
  position: relative;
}
.about-box__text ul li {
  list-style: none;
  padding-bottom: 4px;
}
.about-box__text ul li::before {
  position: absolute;
  left: -4px;
  content: "arrow_right";
  font-family: "Material Icons Round";
  color: var(--main-color);
}

/*--------------------------------
 FAQ
---------------------------------*/
.accordion {
  margin-top: -20px;
}
.accordion__item {
  border-bottom: 1px solid #eee;
}
.accordion__question {
  position: relative;
  font-weight: normal;
  padding: 20px 30px 15px 0;
  cursor: pointer;
}
.accordion__question::after {
  display: block;
  content: "expand_more";
  position: absolute;
  top: 50%;
  right: 0;
  font-family: "Material Icons Round";
  font-size: 28px;
  color: var(--sub-color);
  transform: translateY(-50%);
}

.accordion__question.active::after {
  content: "expand_less";
}
.accordion__answer {
  display: none;
  padding-bottom: 15px;
}
.accordion__answer.active {
  display: block;
}
.accordion__question-inner,
.accordion__answer-inner {
  display: flex;
  column-gap: 15px;
}
.accordion__label {
  font-family: 'EB Garamond', serif;
  flex: 0 0 28px;
  font-size: 28px;
  font-weight: 500;
  color: var(--main-color);
  text-align: center;
}
.accordion__text {
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}


/*--------------------------------
 profile　プロフィール・実績
---------------------------------*/
.profile__text {
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}

.works__text {
  margin-bottom: 24px;
}
.works__text h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.works__text ul {
  margin: 0;
  padding: 0 0 24px 12px;
  position: relative;
  padding-bottom: 24px;
}
.works__text ul li {
  list-style: none;
  padding-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.works__text ul li::before {
  position: absolute;
  left: -4px;
  content: "arrow_right";
  font-family: "Material Icons Round";
  color: var(--main-color);
}



/*--------------------------------
 CTA　お問い合わせ
---------------------------------*/
.cta {
  padding-top: 40px;
}

.cta__body {
  text-align: center;
  padding: 50px 20px;
  background-image: url(../img/cta_bg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.cta__text {
  font-size: 14px;
  text-align: left;
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.cta__mail {
  max-width: 347px;
  margin-inline: auto;
}

/*--------------------------------
 footer
---------------------------------*/
.footer {
  display: grid;
  padding: 40px 20px;
  background-color: #111;
  color: #fff;
  place-items: center;
}

.footer__logo {
  font-family: 'EB Garamond', serif;
  font-size: 24px;
  letter-spacing: 0.06em;
}

.footer__text {
  margin-bottom: 16px;
}

.page-top {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
}

.page-top__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.page-top__icon {
  font-size: 20px;
  color: #222;
}

.page-top__link:hover {
  opacity: 0.8;
}

.link__text {
  margin-top: 24px;
  font-size: 15px;
  color: var(--sub-color);
  text-decoration: underline;
  margin-bottom: 12px;
}
.copyright__text {
    font-size: 12px;
    color: var(--sub-color);
}


/*--------------------------------
 privacy
---------------------------------*/
.privacy {
  padding-top: 80px;
}

.privacy__text {
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.privacy__text h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.privacy__text p {
  margin-bottom: 24px;
}
.privacy__text a {
  text-decoration: underline;
  transition: .3s;
}
.privacy__text a:hover {
  color: var(--sub-color);
}


/*600px以上 タブレット
----------------------------------------------------*/
@media screen and (min-width: 600px) {
  .header__cta-btn {
    width: 200px;
  }
  .mv {
    height: 500px;
    padding-left: 5%;
  }
  .mv__img {
    height: 500px;
  }
  .intro__title-br {
    display: none;
  }
  .intro__text {
    max-width: 720px;
    text-align: center;
    margin: 0 auto;
  }
}

/*1025px以上 PC
----------------------------------------------------*/
@media screen and (min-width: 1025px) {
  body {
    font-size: 16px;
  }
  .large__text {
    font-size: 20px;
  }

  .mv {
    max-width: 1600px;
    margin: 0 auto;
  }

  .about {
    max-width: 1300px;
    margin: 0 auto;
  }

  .section {
    padding: 60px 0;
  }

  .btn {
    font-size: 20px;
    padding: 24px;
  }
  .btn:hover {
    opacity: 0.8;
  }
  .btn--center {
    max-width: 320px;/*360px*/
  }

  .heading-primary {
    font-size: 32px;
  }

  .heading-primary__subtitle {
    font-size: 28px;
    margin-top: 10px;
  }

  /* header */
  .header {
    height: 80px;
    padding: 0 35px;
  }
  .header__logo {
    font-size: 36px;
  }
  .header__cta .btn {
    width: 220px;
    font-size: 15px;
    padding: 15px;
  }

  /* MV */
  .mv {
    max-width: 1800px;
    height: 680px;
    padding-top: 180px;
    padding-left: 12%;
  }
  .mv__img {
    height: 680px;
    border-radius: 0 0 0 90px;
  }
  .mv__title {
    margin-bottom: 30px;
    font-size: 60px;
    line-height: 1.6;
  }
  .mv__btn .btn {
    width: 320px;
  }

  /* intro */
  .intro__title {
    font-size: 32px;
    margin-bottom: 28px;
  }
  .intro__text {
    font-size: 16px;
    line-height: 2;
  }

  /* about */
  .about-list {
    row-gap: 100px;
  }
  .about-box {
    position: relative;
  }
  .about-box__img-wrapper {
    width: 70%;
  }
  .about-box__desc {
    position: absolute;
    right: 20px;
    bottom: -20px;
    width: 740px;
    margin: 0;
    padding: 60px;
  }
  .about-box__subtitle {
    font-size: 18px;
  }
  .about-box__title {
    font-size: 32px;
  }
  .about-box__text {
    font-size: 15px;
    line-height: 1.9;
  }
  .about-box--reverse {
    display: flex;
    justify-content: right;
  }
  .about-box--reverse .about-box__desc {
    left: 20px;
  }

  /* profile */
  .profile__text {
    max-width: 80%;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.04em;
  }

  /* CTA */
  .cta {
    padding-top: 60px;
  }
  .cta__title {
    font-size: 36px;
    margin-bottom: 15px;
  }
  .cta__body {
    padding: 100px 20px;
  }
  .cta__text {
    text-align: center;
  } 

  /* フッター */
  .footer {
    padding: 60px 20px;
  }
  .page-top__link {
    width: 60px;
    height: 60px;
  }
  .page-top__icon {
    font-size: 36px;
  }

  /* privacy */
  .privacy.section {
    padding-top: 120px;
  }
  .privacy__text {
    max-width: 80%;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.04em;
  }

}