/* ===== CSS カスタムプロパティ ===== */
:root {
  --color-primary: #e07020;
  --color-primary-dark: #c05a10;
  --color-bg: #ffffff;
  --color-bg-orange: #F3C7A8;
  --color-text: #333333;
  --color-text-light: #444444;
  --color-border: #cccccc;
  --font-body: "Hiragino Kaku Gothic ProN",
  "Noto Sans JP",
  "Yu Gothic",
  sans-serif;
  --max-width: 480px;
}

/* ===== リセット ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 16px;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== ヘッダー ===== */
.header {
  background: var(--color-primary);
  height: 48px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  width: 100%;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
}

.header__logo-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header__logo-icon svg {
  width: 18px;
  height: 18px;
}

.header__logo-name{
  font-size:18px;
  font-weight:600;
  text-align:end;
  line-height: .9;
}

.header__logo-name_small{
  font-size:12px
}




/* ===== バーガーボタン（スマホのみ表示） ===== */
.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

/* バーガー → ✕ アニメーション */
.header__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.header__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== ドロワーメニュー（スマホ） ===== */
.header__drawer {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  background: var(--color-primary);
  z-index: 99;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.header__drawer.is-open {
  max-height: 400px;
}

.header__drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0 16px;
}

.header__drawer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}

.header__drawer-nav a:last-child {
  border-bottom: none;
}

.header__drawer-nav a:hover {
  background: rgba(255,255,255,0.1);
}

.header__drawer-nav .instagram-link {
  gap: 10px;
}

/* PCナビ（スマホでは非表示） */
.header__nav {
  display: none;
}

.header__nav a {
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  white-space: nowrap;
}

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #1a2a3a;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('img/header_sp.webp');
  background-size: cover;
  background-position: center;
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.hero__title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero__infinity {
  height: 3em;
  width: 2em;
  vertical-align: middle;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4))
        drop-shadow(0 4px 16px rgba(0,0,0,0.3));
}


/* ===== セクション共通 ===== */
.section {
  padding: 40px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 24px;
}

.section-title__main {
  font-size: 21px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  color: var(--color-text);
}

.section-title__main .accent {
  color: var(--color-primary);
}

.section-title__sub {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* ===== PRODUCTセクション ===== */
.product {
  background: var(--color-bg);
}

/* SVG bracket wrapper */
.product__bracket-wrap {
  position: relative;
}

.product__bracket-img {
  display: block;
  width: 100%;
}

.product__bracket-inner{
  padding: 16px 18px;
}

.product__item {
  margin-bottom: 20px;
}

.product__item:last-child {
  margin-bottom: 0;
}

.product__item-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--color-text);
}

.product__item-title::before {
  content: '・';
  color: var(--color-primary);
}

.product__item-text {
  font-size: 13px;
  color: var(--color-text-light);
  margin-left: 12px;
}

.product__sub-list {
  margin: 8px 0 8px 12px;
}

.product__sub-list li {
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.8;
}

/* ===== RECRUITセクション ===== */
.recruit {
  background: var(--color-bg-orange);
}

/* スマホ：縦並び */
.recruit__layout {
  display: flex;
  flex-direction: column;
}

.recruit__title-col {
  margin-bottom: 0;
}

/* コンテンツ全体を左の縦線で挟む */
.recruit__box {
  border-left: 3px solid var(--color-primary);
  padding-left: 16px;
}

.recruit__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.recruit__item {
  margin-bottom: 16px;
}

.recruit__item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.recruit__item-text {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.recruit__note {
  font-size: 13px;
  color: var(--color-text-light);
  margin: 20px 0;
  line-height: 1.7;
}

/* ===== CTAエリア ===== */
.cta {
  position: relative;
  overflow: hidden;
  padding: 32px 20px;

  background-image: url('img/inquiry.webp');
  background-size: cover;
  background-position: center;
}

.cta__buttons {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
}

.cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex: 1;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing:2px;
  padding: 8px;
  text-align: center;
  transition: background 0.2s;
}

.cta__btn:hover {
  background: var(--color-primary-dark);
}

.cta__btn-sub {
  font-size: 12px;
  font-weight: 400;
}

.cta__btn-sub img{
  display:inline;
  width:1.2em;
  height:1.2em;
  vertical-align:middle;
  margin-right:4px;
  margin-bottom: 2px;
}

/* ===== ABOUT USセクション ===== */
.about {
  background: var(--color-bg);
}

.about__bracket-wrap {
  position: relative;
}

.about__bracket-inner{
  padding: 16px 18px;
}

.about__item {
  margin-bottom: 18px;
}

.about__item:last-child {
  margin-bottom: 0;
}

.about__item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
  letter-spacing: 0.1em;
}

.about__item-text {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ===== Inquiryセクション ===== */
.inquiry {
  background: var(--color-bg-orange);
}



/* スマホ：縦並び */
.inquiry__layout {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}

.inquiry__title-col {
  margin-bottom: 0;
}

.inquiry__form {
  border-left: 3px solid var(--color-primary);
  padding-left: 16px;
}

.inquiry__field {
  margin-bottom: 16px;
}

.inquiry__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.inquiry__required {
  font-size: 11px;
  font-weight: 400;
  color: #e04040;
}

.inquiry__input,
.inquiry__select,
.inquiry__textarea {
  width: 100%;
  padding: 8px 10px;
  background: #fff;
  border: none;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--color-text);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.inquiry__select-wrap {
  position: relative;
}

.inquiry__select-wrap::after {
  content: '▼';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--color-text-light);
  pointer-events: none;
}

.inquiry__textarea {
  height: 140px;
  resize: vertical;
}

.inquiry__submit {
  display: block;
  width: 60%;
  margin: 24px auto 0;
  padding: 14px;
  background: var(--color-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing:2px;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}

.inquiry__submit:hover {
  background: var(--color-primary-dark);
}

/* ===== フッター ===== */
.footer {
  background: var(--color-primary);
  padding: 16px 20px;
  text-align: center;
}

.footer__text {
  color: #fff;
  font-size: 12px;
  letter-spacing:2px;
}

/* ===== PCレイアウト (min-width: 1024px) ===== */
@media (min-width: 1024px) {
  body {
    font-size: 15px;
  }

  /* ヘッダー */
  .header {
    height: 56px;
  }

  .header__inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .header__burger {
    display: none;
  }

  .header__drawer {
    display: none;
  }

  .header__nav {
    display: flex;
    gap: 42px;
  }

  .header__nav a {
    font-size: 12px;
  }

  /* ヒーロー */
  .hero {
    height: 420px;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__title .infinity {
    font-size: 52px;
  }

  /* セクション */
  .section {
    padding: 64px 40px;
    max-width: 900px;
    margin: 0 auto;
  }

  .section-title__main {
    font-size: 28px;
  }

  /* プロダクト */
  .product .section {
    max-width: 860px;
  }

  /* リクルート */
  .recruit .section {
    max-width: 860px;
  }

  .recruit__layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }

  .recruit__title-col {
    flex-shrink: 0;
    width: 180px;
  }

  .recruit__title-col .section-title {
    margin-bottom: 0;
  }

  .recruit__content-col {
    flex: 1;
  }

  /* CTA */
  .cta {
    padding: 75px;
  }

  .cta__buttons {
  gap:16%;
  }

  .cta__btn {
    flex: 0 1 220px;
    font-size: 16px;
    padding:6px;
  }

  /* Inquiry：PC 2カラム */
  .inquiry .section {
    max-width: 860px;
  }

  .inquiry__layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }

  .inquiry__title-col {
    flex-shrink: 0;
    width: 180px;
  }

  .inquiry__title-col .section-title {
    margin-bottom: 0;
  }

  .inquiry__form-col {
    flex: 1;
  }
}