@charset "UTF-8";
/* 松陰：全ページ共通 */
html {
  scroll-behavior: smooth;
}

:root {
  --color-br: #3b3f3d;
  --color-sub: #5e6a70;
  --color-sky: #c3d4d5;
  --color-bule: #92aab7;
  --color-brown: #bd956e;
}

/*------------------------------------------------------------
	ヘッダー
------------------------------------------------------------*/
header {
  position: fixed;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 30px 55px 0;
  height: 70px;
  z-index: 1;
}

.single header {
  padding-top: 0;
}

.mk-header__logo {
  display: block;
  width: 80px;
  height: auto;
}

.header-logo {
  display: inline-block;
}

.header-logo img {
  display: block;
  width: 80px;
  height: auto;
}

.mk-header__buttons {
  display: flex;
  gap: 10px;
}

.page-id-3332 header .mk-header__buttons {
  margin-left: auto;
}

.mk-header__tel {
  margin-right: 14px;
}

.mk-header__tel.--sp {
  display: none;
}

.mk-header__tel a {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}

.mk-header__tel a {
  text-decoration: none;
}

.mk-header__tel img {
  width: 20px;
  height: 20px;
}

.mk-header__tel-num {
  color: var(--color-br);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.mk-header__tel-note {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-bule);
  line-height: 1;
}

.mk-header__btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 170px;
  height: 40px;
  font-size: 15px;
  border-radius: 4px;
  color: #fff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.mk-header__btn a.--sp {
  display: none;
}

.mk-header__btn.--visit a {
  background: var(--color-bule);
  border: solid 1px var(--color-bule);
}

.mk-header__btn.--visit:hover a {
  color: var(--color-bule);
  background: #fff;
}

.mk-header__btn.--materials a {
  background: var(--color-brown);
  border: solid 1px var(--color-brown);
}

.mk-header__btn.--materials:hover a {
  color: var(--color-brown);
  background: #fff;
}

@media (max-width: 1100px) {
  header {
    padding: 0 40px;
  }

  .page-id-3332 header {
    padding-top: 30px;
  }

  .mk-header__logo {
    width: 68px;
  }
}

@media (max-width: 896px) {
  .mk-header__buttons {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    padding-bottom: env(
      safe-area-inset-bottom
    ); /* iPhoneの下のバーと重ならないように */
    gap: 0;
  }

  /* 3つのボタンを半分ずつの幅に */
  .mk-header__btn,
  .mk-header__tel.--sp {
    flex: 1;
  }

  .mk-header__btn a.--pc {
    display: none;
  }

  .mk-header__btn a.--sp {
    display: block;
  }

  .mk-header__btn a,
  .mk-header__tel.--sp a {
    width: 100%;
    height: 40px;
    font-size: 14px;
    border-radius: 0;
  }

  .mk-header__btn a.--sp {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mk-header__tel.--pc {
    display: none;
  }

  .mk-header__tel.--sp {
    display: block;
    margin-right: 0;
  }

  .mk-header__tel.--sp a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-bule);
    background: #fff;
    border: solid 1px var(--color-bule);
    transition: all 0.3s ease;
    margin-bottom: 0;
  }

  .mk-header__tel.--sp:hover a {
    background: var(--color-bule);
    color: #fff;
  }

  /* 固定ボタンの高さ分、ページの下に余白をあけて、内容が隠れないようにする */
  body {
    padding-bottom: 40px;
  }

  .mk-fv {
    height: calc(100svh - 40px);
  }
}

@media (max-width: 640px) {
  header {
    padding: 0 35px;
  }

  .mk-header__logo {
    width: 56px;
  }
}

/*------------------------------------------------------------
	フッター
------------------------------------------------------------*/
footer {
  height: 48px;
  font-size: 12px;
  line-height: 48px;
  text-align: center;
}

@media (max-width: 480px) {
  footer {
    height: 32px;
    line-height: 32px;
  }
}

/*------------------------------------------------------------
	共通部分
------------------------------------------------------------*/
/* ---------- コンテンツ幅 ---------- */
.wrapper {
  width: 100%;
  max-width: 1090px;
  margin: 0 auto;
  padding: 80px 20px 100px;
}

@media (max-width: 896px) {
  .wrapper {
    padding: 64px 20px 80px;
  }
}

@media (max-width: 480px) {
  .wrapper {
    padding: 48px 20px 64px;
  }
}

/* ---------- 下層ページFV ---------- */
.other-fv {
  position: relative;
  height: 450px;
  overflow: hidden;
  background-image:
    linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 100%),
    url("../../image/matsukage/fv-img-pc.webp");
  background-position: bottom center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 30px;
  margin: 30px 30px 0 30px;
}

.other-fv__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  text-align: center;
}

.fv-title__en {
  font-size: 44px;
  font-weight: 500;
  margin-bottom: 16px;
  font-family: "Inter";
}

.fv-title__jp {
  font-size: 16px;
}

@media (max-width: 1100px) {
  .other-fv {
    height: 350px;
    border-radius: 24px;
    margin: 20px 20px 0 20px;
  }

  .fv-title__en {
    font-size: 40px;
    margin-bottom: 12px;
  }
}

@media (max-width: 640px) {
  .other-fv {
    height: 240px;
  }

  .fv-title__en {
    font-size: 32px;
  }

  .fv-title__jp {
    font-size: 14px;
  }
}
