@charset "UTF-8";

/* ==========================================================
   767px以下（SP）は、デザイン幅414pxを基準に vw で指定する（px ÷ 414 × 100）
   ※1pxの枠線・影は px のまま
   line-height は単位なし（行の高さ ÷ 文字サイズ）
========================================================== */

/* ==========================================================
   リセット・ベース
========================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: #231815;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  background: #fff;
}

h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}


/* ==========================================================
   表示切り替え（PCのみ / SPのみ）
========================================================== */
@media (min-width: 768px) {
  .u-sp {
    display: none;
  }
}

@media (max-width: 767px) {
  .u-pc {
    display: none;
  }

  body {
    font-size: 3.865vw;
  }
}


/* ==========================================================
   ボタン：ホバーで外側から中心へ色反転（カメラの絞りが閉じる動き）
   通常：赤地・白文字 → ホバー：白地・赤文字
   ::before の赤い円を clip-path で中心に向かって絞る
========================================================== */
.c-btn-iris {
  position: relative;
  z-index: 0;
  overflow: hidden;
  color: #fff;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e71f38;
  transition: color .45s cubic-bezier(.7, 0, .3, 1);
}

.c-btn-iris::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #e71f38;
  clip-path: circle(75% at 50% 50%);
  transition: clip-path .45s cubic-bezier(.7, 0, .3, 1);
}

.c-btn-iris:focus-visible {
  color: #e71f38;
}

.c-btn-iris:focus-visible::before {
  clip-path: circle(0% at 50% 50%);
}

@media (any-hover: hover) {
  .c-btn-iris:hover {
    color: #e71f38;
  }

  .c-btn-iris:hover::before {
    clip-path: circle(0% at 50% 50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .c-btn-iris,
  .c-btn-iris::before {
    transition: none;
  }
}


/* ==========================================================
   テキスト：帯が下から通過したあとに表示（マスク）
   .c-mask > .c-mask__inner の構造。開始のずらし・帯の色は使う側（page-top.css）で指定
   html.fv-anim 時のみ動く
   padding/margin（10px）は text-shadow や画像のはみ出しを切らないための余白
========================================================== */
.c-mask {
  position: relative;
  display: block;
  width: fit-content;
  margin: -10px;
  padding: 10px;
  overflow: hidden;
}

.c-mask__inner {
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .fv-anim .c-mask__inner {
    opacity: 0;
  }

  .fv-anim .is-animated .c-mask__inner {
    opacity: 1;
    transition: opacity 0s .6s;
  }

  .fv-anim .c-mask::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #e71f38;
    transform: translate(0, 101%);
  }

  .fv-anim .is-animated .c-mask::after {
    animation: mask-band 1.2s cubic-bezier(.8, 0, .17, 1) forwards;
  }
}

/* 切り替え：.c-mask--slide を付けると帯なしで「下からぬるりと現れる」動きになる */
@media (prefers-reduced-motion: no-preference) {
  .fv-anim .c-mask--slide::after {
    content: none;
  }

  .fv-anim .c-mask--slide .c-mask__inner {
    transform: translateY(calc(100% + 10px));
  }

  .fv-anim .is-animated .c-mask--slide .c-mask__inner {
    transform: translateY(0);
    transition:
      opacity 1.2s cubic-bezier(.22, 1, .36, 1),
      transform 1.2s cubic-bezier(.22, 1, .36, 1);
  }
}

@keyframes mask-band {
  0% {
    transform: translate(0, 101%);
  }
  40%, 60% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(0, -101%);
  }
}


/* ==========================================================
   スクロールでセクションをフェードイン
   scroll-fade-in.js が画面に入った .animated__fadeIn に .js-show を付与
   html.fade-ready（header.php で付与）のときだけ最初に隠す
========================================================== */
@media (prefers-reduced-motion: no-preference) {
  .fade-ready .animated__fadeIn {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
  }

  .fade-ready .animated__fadeIn.js-show {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 767px) {
  .fade-ready .animated__fadeIn {
    transform: translateY(9.662vw);
  }
}


/* ==========================================================
   ヘッダー
========================================================== */
/* スクロールしても画面上部に固定（追尾） */
.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1232px;
  height: 79px;
  margin: 0 auto;
  padding: 0 16px;
}

.l-header__logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
}

.l-header__logo img {
  width: 62.61px;
  height: 44.36px;
}

.l-header__contact {
  display: flex;
  align-items: center;
  gap: 24px;
}

.l-header__tel {
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
}

.l-header__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.l-header__btn-icon {
  width: 21px;
  height: 15px;
  background-color: currentColor;
  -webkit-mask: url(../images/common/icon-mail.svg) no-repeat center / contain;
  mask: url(../images/common/icon-mail.svg) no-repeat center / contain;
}

@media (max-width: 767px) {
  .l-header__inner {
    height: 13.285vw;
  }

  .l-header__logo a {
    width: 19.324vw;
  }

  .l-header__tel {
    display: none;
  }

  .l-header__btn {
    gap: 1.208vw;
    height: 8.696vw;
    padding: 0 3.865vw;
    font-size: 3.14vw;
  }

  .l-header__btn-icon {
    width: 4.106vw;
    height: 2.899vw;
  }

  .l-header__inner {
    padding: 0 3.865vw;
  }

  .l-header__logo img {
    width: 15.123vw;
    height: 10.715vw;
  }

  .l-header__contact {
    gap: 5.797vw;
  }

  .l-header__tel {
    font-size: 4.348vw;
  }
}


/* ==========================================================
   フッター
========================================================== */
.l-footer {
  padding: 72px 16px 48px;
  color: #fff;
  background: #382c2f;
}

.l-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.l-footer__main {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  min-height: 231px;
  margin-bottom: 48px;
}

.l-footer__info {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.l-footer__logo img {
  width: 72.61px;
  height: 54.36px;
}

.l-footer__name {
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 16px;
  line-height: normal;
}

.l-footer__en {
  font-family: "EB Garamond", "Yu Mincho", YuMincho, serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}

/* .l-footer a の transition（opacity）に上書きされないよう、セレクタを強くする */
.l-footer .l-footer__sns a {
  display: block;
  transition: transform .3s ease;
}

.l-footer__sns img {
  width: 36px;
  height: 37px;
}

.l-footer__copy {
  padding: 28px 0 1px;
  border-top: 1px solid #fff;
  color: #e0e0e0;
  font-family: "EB Garamond", "Yu Mincho", YuMincho, serif;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  font-size: 13px;
}

.l-footer__copy small {
  font-size: 1em;
}

.l-footer a {
  transition: opacity .3s;
}

@media (any-hover: hover) {
  .l-footer a:hover {
    opacity: .7;
  }

  /* Instagramアイコンは薄くせず、少し大きくする */
  .l-footer .l-footer__sns a:hover {
    opacity: 1;
    transform: scale(1.15);
  }
}

@media (max-width: 767px) {
  .l-footer {
    padding: 9.662vw 3.865vw;
  }

  .l-footer__main {
    flex-direction: column;
    align-items: center;
    gap: 6.763vw;
    min-height: 0;
    margin-bottom: 6.763vw;
  }

  .l-footer__info {
    align-items: center;
    gap: 2.899vw;
  }

  .l-footer__logo {
    margin-bottom: 3.865vw;
  }

  .l-footer__logo img {
    width: 16.572vw;
    height: 11.198vw;
  }

  .l-footer__name,
  .l-footer__en {
    font-size: 3.623vw;
  }

  .l-footer__name {
    line-height: 1.6;
  }

  .l-footer__en {
    line-height: 1.333;
  }

  .l-footer__sns {
    display: flex;
    align-items: center;
    height: 18.116vw;
  }

  .l-footer__sns img {
    width: 11.111vw;
    height: 11.111vw;
  }

  .l-footer__copy {
    padding: 6.039vw 0 .483vw;
    font-size: 3.14vw;
  }

  .l-footer__copy small {
    font-size: 1em;
  }
}
