@charset "UTF-8";

/* ========================================
   aタグ / button 共通
======================================== */
@media (any-hover: hover) {
  a:hover,
  button:hover {
    opacity: 0.75;
  }
}

a,
button {
  transition-property: all;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  transition-delay: 0s;
  text-decoration: none;
}

/* ========================================
   基本設定 / リセット補助
======================================== */
:root {
  --z-bg: 1;
  --z-content: 10;
  --z-side: 50;
  --z-fixed: 80;
  --z-modal: 1000;
}

html {
  font-size: 62.5%;
  color: #101010;
  scroll-behavior: smooth;
}

body {
  -webkit-text-size-adjust: 100%;
  font-size: 1.4rem;
  font-family: "Hiragino Kaku Gothic Std", "ヒラギノ角ゴ ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
}

img {
  display: block;
  margin: 0 auto;
}

ul {
  list-style: none;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

summary {
  display: block;
  list-style: none;
}

summary::-webkit-details-marker,
summary::marker {
  display: none;
}

/* ========================================
   レイアウト / wrapper
======================================== */
#wrapper {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.35);
}

/* ========================================
   レスポンシブ用クラス
======================================== */
.sp {
  display: none;
}

.pcnav,
.side-image-left,
.pagetop {
  display: none;
}

@media screen and (max-width: 767px) {
  .sp {
    display: block !important;
  }
}

/* PC 背景画像 */
@media screen and (min-width: 768px) {
  body {
    background-image: url("../images/PC_bg.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
  }
}

/* PC 固定メニュー・サイド画像・ページトップ */
@media screen and (min-width: 1440px) {
  .pcnav {
    display: block;
    position: fixed;
    top: 47px;
    left: calc(50% + 375px + 30px);
    width: 230px;
    height: 100vh;
    z-index: var(--z-side);
    overflow-y: auto;
  }

  .pcnav-title {
    margin-bottom: 30px;
  }

  .pcnav-item {
    margin-bottom: 20px;
  }

  .side-image-left {
    display: flex;
    position: fixed;
    bottom: 0;
    right: calc(50% + 375px);
    max-width: 345px;
    z-index: var(--z-bg);
    pointer-events: none;
    align-items: center;
  }

  .side-image-left img {
    width: auto;
    max-height: 100vh;
    display: block;
  }

  .pagetop {
    display: block;
    width: 220px;
    height: 228px;
    position: fixed;
    bottom: 0;
    right: 20px;
    background-image: url("../images/top.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: 0.3s ease;
    text-indent: -9999px;
    opacity: 1;
  }

  .pagetop:hover {
    background-image: url("../images/top_hover.png");
    opacity: 1 !important;
  }
}

/* ========================================
   header
======================================== */
header .logo {
  width: 106.5px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  header .logo {
    width: 213px;
  }
}

/* ========================================
   CTA
======================================== */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-top: 41px;
  padding-bottom: 15px;
  margin: -26px auto 0;
  background: #f5cb1d;
}

.cta_2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: #f5cb1d;
}

.cta_voice {
  width: 100%;
  margin: 30px auto 10px;
}

/* CTA ボタン */
.cta_btn01,
.cta_btn02 {
  display: block;
  width: 87%;
  aspect-ratio: 750 / 141;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: 0.3s ease;
  text-indent: -9999px;
}

.cta_btn01 {
  background-image: url("../images/cta_btn01.png");
  margin: 0 auto 15px;
}

.cta_btn01:hover {
  background-image: url("../images/cta_btn01_hover.png");
  opacity: 1 !important;
}

.cta_btn02 {
  background-image: url("../images/cta_btn02.png");
}

.cta_btn02:hover {
  background-image: url("../images/cta_btn02_hover.png");
  opacity: 1 !important;
}

/* CTA テキストリンク */
.cta_textlink {
  display: flex;
  margin-top: 15px;
  font-size: clamp(1.6rem, 3.2vw, 3.2rem);
  font-weight: 400;
  color: #101010;
  text-decoration: none;
}

.cta_text {
  position: relative;
  display: inline-block;
  text-align: center;
}

.cta_text::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 100%;
  height: 1px;
  transform: translateX(-50%);
  background: #101010;
}

.icon {
  display: inline-block;
  width: clamp(19px, 3.8vw, 38px);
  height: clamp(19px, 3.8vw, 38px);
  margin-left: 5px;
  background: url("../images/icon.png") no-repeat center/contain;
}

@media screen and (min-width: 768px) {
  .cta {
    padding-top: 82px;
    padding-bottom: 30px;
    margin: -52px auto 0;
  }

  .cta_2 {
    padding: 40px 0;
  }

  .cta_voice {
    margin: 60px auto 20px;
  }

  .cta_btn01 {
    margin-bottom: 30px;
  }

  .cta_textlink {
    margin-top: 30px;
  }

  .cta_text::after {
    bottom: 0;
    height: 2px;
  }

  .icon {
    margin-left: 10px;
  }
}

/* ========================================
   main / sections
======================================== */
.fv {
  position: relative;
  z-index: 3;
  width: 100%;
}

/* FEEL HOUSEとは */
.section-about {
  margin-top: 50px;
  margin-bottom: 10px;
}

/* 動画セクション共通 */
.section-movie {
  position: relative;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 4%;
  background-image: url("../images/sec02-img1.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center 10px;
}

/* 動画枠 */
.movie-wrap {
  position: relative;
  z-index: var(--z-content);
  width: 45%;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  background: #101010;
}

.movie-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* SP用動画サムネイル */
@media screen and (max-width: 768px) {
  .movie-wrap {
    display: none;
  }

  .sp-video-thumb {
    display: block;
    position: relative;
    width: 45%;
    max-width: 340px;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    cursor: pointer;
    z-index: 200;
  }

  .sp-video-thumb .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    transform: translate(-50%, -50%);
    background: url("../images/play-icon.png") no-repeat center/75%;
  }
}

@media screen and (min-width: 769px) {
  .sp-video-thumb {
    display: none !important;
  }
}

/* 企業理念・メッセージなど */
.section-philosophy {
  margin-top: 50px;
}

.section-message {
  margin-top: -1px;
}

.section-lookingfor {
  margin-top: 50px;
}

.section-recruit {
  margin-top: -85px;
}

/* スクロール位置調整 */
#interview {
  scroll-margin-top: 25px;
}

#recruit {
  scroll-margin-top: -100px;
}

/* インタビューセクション */
.section-interview-wrap,
.interview-item,
.interview-item-large {
  position: relative;
  width: 100%;
  background-color: #f2cede;
}

.section-interview-wrap {
  padding-bottom: 30px;
}

.interview-item {
  padding: 4% 0;
}

.interview-item-large {
  padding: 4% 0;
  padding-top: 4%;
}

.section-interview-title {
  display: block;
}

@media screen and (min-width: 768px) {
  .section-about {
    margin-top: 100px;
    margin-bottom: 20px;
  }

  .section-movie {
    background-position: center 20px;
  }

  .section-philosophy {
    margin-top: 100px;
  }

  .section-lookingfor {
    margin-top: 100px;
  }

  .section-recruit {
    margin-top: -170px;
  }

  .section-interview-wrap {
    padding-bottom: 60px;
  }
}

/* ========================================
   モーダル（動画）
======================================== */
body.modal-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.8);
  z-index: var(--z-modal);
}

.video-modal.active {
  display: flex;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: calc(var(--z-modal) + 1);
  font-size: 2.4rem;
  color: #fff;
}

.modal-inner {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 9 / 16;
  background: #000;
}

.modal-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ========================================
   Q&A
======================================== */
.QAtitle {
  margin-top: 50px;
  margin-bottom: 20px;
}

.inner {
  width: 100%;
  max-width: 88%;
  margin: 0 auto;
}

.q_box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 48px 12px 12px;
  border: 3px solid #000;
  border-radius: 10px;
}

.q_box.active .q_text::after {
  transform: translateY(-50%) rotate(-180deg);
  transition: transform 0.3s ease;
}

.q_text {
  display: inline-flex;
  align-items: center;
  width: 100%;
  max-width: 500px;
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 600;
}

.q_text::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: clamp(45px, 9vw, 90px);
  height: clamp(45px, 9vw, 90px);
  margin-right: 18px;
  background: url("../images/Q.png") no-repeat center/contain;
}

.q_text::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: clamp(30px, 6vw, 60px);
  height: clamp(30px, 6vw, 60px);
  transform: translateY(-50%);
  background: url("../images/arrow.png") no-repeat center/contain;
  transition: transform 0.3s ease;
}

.a_box {
  overflow: hidden;
  display: flex;
  margin-top: 20px;
  border-radius: 10px;
  background-color: #fadfde;
  max-height: 0;
  opacity: 0;
}

.a_box.open {
  margin-bottom: 20px;
  max-height: 600px;
  opacity: 1;
}

.a_text {
  display: inline-flex;
  align-items: center;
  padding: 15px;
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 156%;
}

.a_text::before {
  content: "";
  flex-shrink: 0;
  width: clamp(45px, 9vw, 90px);
  height: clamp(45px, 9vw, 90px);
  margin-right: 18px;
  background: url("../images/A.png") no-repeat center/contain;
}

@media screen and (min-width: 768px) {
  .QAtitle {
    margin-top: 100px;
    margin-bottom: 30px;
  }

  .q_box {
    padding: 24px 48px 24px 24px;
    border: 6px solid #000;
    border-radius: 20px;
  }

  .q_text::after {
    right: 30px;
  }

  .a_box {
    margin-top: 30px;
    border-radius: 20px;
  }

  .a_box.open {
    margin-bottom: 30px;
  }

  .a_text {
    padding: 30px;
  }
}

/* ========================================
   footer
======================================== */
.footer_bg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 25px;
  gap: 15px;
  background: #489b16;
}

.footer_row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer_row2 {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.footer_box {
  display: inline-flex;
  width: 85px;
  padding: 3px 5px;
  border: 2px solid #fff;
  border-radius: 10px;
}

.footer_title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-size: clamp(1.4rem, 2.8vw, 2.8rem);
  font-weight: 600;
  color: #fff;
}

.footer_text {
  display: inline-block;
  font-size: clamp(1.4rem, 2.8vw, 2.8rem);
  font-weight: 400;
  line-height: 160%;
  color: #fff;
}

.footer_text2 {
  display: inline-block;
  font-size: clamp(1.2rem, 2.4vw, 2.4rem);
  font-weight: 400;
  color: #fff;
}

.footer_link_bg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(35px, 7vw, 70px);
  padding: 10px;
  gap: 30px;
  background: #c7edb0;
}

.footer_copy_bg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(35px, 7vw, 70px);
  background: #266004;
}

@media screen and (min-width: 768px) {
  .footer_bg {
    padding: 50px;
    gap: 30px;
  }

  .footer_box {
    width: 170px;
    padding: 4px 11px;
    border: 4px solid #fff;
    border-radius: 15px;
  }
}

/* ========================================
   アクセシビリティ（見出しテキスト隠し）
======================================== */
.section-title .text {
  position: absolute !important;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
