/* ========== BASE ========== */
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
}
.header__logo img {
  height: 52px;
  width: auto;
}

/* ========== MAIN ========== */
.main {
  padding-top: 52px;
}

/* ========== IMAGE SECTIONS ========== */
/* デフォルト: 1100px中央寄せ */
.section-img {
  max-width: 1100px;
  margin: 0 auto;
  line-height: 0;
}
.section-img img {
  width: 100%;
  height: auto;
}
.section-img .img-sp {
  display: none;
}

/* 100%表示（hero, photo） */
.section-img--full {
  max-width: none;
}

/* 背景色付きセクション（求める人物像） */
.section-bg {
  width: 100%;
  line-height: 0;
}
.section-bg__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-bg__inner img {
  width: 100%;
  height: auto;
}
.section-bg__inner .img-sp {
  display: none;
}

/* ========== ENTRY BUTTON ========== */
.entry-section {
  text-align: center;
  padding: 40px 20px 200px;
  background: #fff;
}
.entry-btn {
  display: inline-block;
  position: relative;
  min-width: 300px;
  padding: 18px 48px;
  background: transparent;
  color: transparent;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: none;
  overflow: hidden;
  z-index: 1;
}
/* 4辺のライン共通 */
.btn-line {
  position: absolute;
  background: #34C8DC;
}
.btn-line--top {
  top: 0;
  left: 0;
  height: 1.5px;
  width: 0;
}
.btn-line--right {
  top: 0;
  right: 0;
  width: 1.5px;
  height: 0;
}
.btn-line--bottom {
  bottom: 0;
  right: 0;
  height: 1.5px;
  width: 0;
}
.btn-line--left {
  bottom: 0;
  left: 0;
  width: 1.5px;
  height: 0;
}
/* 背景スライド用 */
.entry-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #34C8DC;
  transform: scaleX(0);
  transform-origin: left;
  z-index: -1;
}
/* --- is-visible で発火 --- */
/* 上辺: 左→右 */
.entry-section.is-visible .btn-line--top {
  animation: lineHorizontal 0.2s ease forwards;
}
/* 右辺: 上→下 */
.entry-section.is-visible .btn-line--right {
  animation: lineVertical 0.2s ease 0.2s forwards;
}
/* 下辺: 右→左 */
.entry-section.is-visible .btn-line--bottom {
  animation: lineHorizontal 0.2s ease 0.4s forwards;
}
/* 左辺: 下→上 */
.entry-section.is-visible .btn-line--left {
  animation: lineVertical 0.2s ease 0.6s forwards;
}
/* 背景スライド */
.entry-section.is-visible .entry-btn::before {
  animation: bgSlide 0.3s ease 0.8s forwards;
}
/* 文字フェードイン */
.entry-section.is-visible .entry-btn {
  animation: textShow 0.2s ease 0.95s forwards;
}
@keyframes lineHorizontal {
  0% { width: 0; }
  100% { width: 100%; }
}
@keyframes lineVertical {
  0% { height: 0; }
  100% { height: 100%; }
}
@keyframes bgSlide {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
@keyframes textShow {
  0% { color: transparent; }
  100% { color: #fff; }
}
/* ホバー */
.entry-section.is-visible .entry-btn:hover {
  color: #34C8DC;
}
.entry-section.is-visible .entry-btn:hover::before {
  transform: scaleX(0);
}

/* ========== FOOTER ========== */
.footer {
  background: #fff;
  border-top: 1px solid #e8e8e8;
  text-align: center;
  padding: 24px 20px;
}
.footer__mail {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}
.footer__mail a {
  color: #4DC8C8;
}
.footer__copy {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.05em;
}

/* ========== FADE IN ========== */
/* ページロード時のフェードイン */
body {
  animation: pageLoad 0.8s ease both;
}
@keyframes pageLoad {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* スクロールフェードイン */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== SP (750px以下) ========== */
@media (max-width: 750px) {
  .header__inner {
    padding: 12px 16px;
  }
  .header__logo img {
    height: 36px;
  }
  .main {
    padding-top: 44px;
  }
  .section-img .img-pc {
    display: none;
  }
  .section-img .img-sp {
    display: block;
  }
  .section-bg__inner .img-pc {
    display: none;
  }
  .section-bg__inner .img-sp {
    display: block;
  }
  .entry-section {
    padding: 32px 16px 90px;
  }
  .entry-btn {
    min-width: 260px;
    padding: 16px 40px;
    font-size: 15px;
  }
  .footer {
    padding: 20px 16px;
  }
  .footer__copy {
    font-size: 11px;
  }
}