/* Design tokens from Figma (仮サイト / pc frame) */
:root {
  --color-text: #231815;
  --color-black: #000;
  --color-line: #b8b8b8;
  --color-pink-bg: #ffe9e9;
  --color-pink-strong: #ff8b89;
  --color-pink-soft: #f7c7c6;
  --color-line-green: #06c755;
  --color-white: #fff;
  --font-jp: "Noto Sans JP", sans-serif;
  --font-lato: "Lato", sans-serif;
  --max-content: 1440px;
  --header-inner: 1326px;
  /* PC 固定ヘッダー分の余白（ロゴ行＋パディングの目安） */
  --site-header-sticky-offset: 128px;
  /* SP 下部固定コンタクトバーに隠れないようページ下に確保 */
  --site-mobile-contact-pad: calc(200px + env(safe-area-inset-bottom, 0px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}



html {
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
  background: var(--color-white);
}

p {
  margin: 0;
}

.page {
  min-width: 320px;
  width: 100%;
  overflow-x: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- Header ----- */
.site-header {
  position: relative;
  z-index: 2;
  padding: 23px 16px 0;
  max-width: var(--max-content);
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--header-inner);
  margin: 0 auto;
}

.site-header__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.site-header__logo {
  display: block;
  width: 200px;
  height: auto;
}

.site-header__logo--mobile {
  display: none;
}

.site-header__badge-text {
  font-size: 14px;
  line-height: 1.8;
  white-space: nowrap;
}

.site-header__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.site-header__tel-block {
  display: flex;
  align-items: center;
  gap: 15px;
}

.site-header__tel-icon {
  flex-shrink: 0;
  width: 74px;
  height: 74px;
  border-radius: 37px;
  background: var(--color-pink-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site-header__tel-icon span {
  font-size: 12px;
  line-height: 1.8;
  color: var(--color-white);
  font-weight: 500;
}

.site-header__tel-info {
  min-width: 0;
}

.site-header__tel-num {
  font-family: var(--font-lato);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  color: var(--color-pink-strong);
  margin-bottom: 4px;
}

.site-header__tel-hours {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
}

/* ----- LINE buttons ----- */
.btn-line {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--color-line-green);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 20px;
  min-height: 60px;
  width: 192px;
}

.btn-line--header {
  width: 192px;
  height: 60px;
  padding: 0 16px;
  overflow: hidden;
}

.btn-line--large {
  width: 292px;
  min-height: 83px;
  gap: 11px;
  padding: 12px 24px;
  display: none;
  @media (min-width: 768px) {
    display: inline-flex;
  }
}

.btn-line__icon {
  flex-shrink: 0;
  object-fit: contain;
}

.btn-line__icon--lg {
  width: 60px;
  height: 60px;
}

.btn-line__text {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}

.btn-line__text--lg {
  position: relative;
  min-height: 47px;
  width: 149px;
}

.btn-line__sub {
  font-family: "Roboto", var(--font-jp), sans-serif;
  font-size: 11px;
  font-weight: 400;
  white-space: nowrap;
}

.btn-line__text--lg .btn-line__sub {
  font-size: 16px;
}

.btn-line__title {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}

.btn-line__text--lg .btn-line__title {
  font-size: 24px;
  margin-top: 4px;
}

/* ----- Hero（PC・SP とも横幅 100vw / 画面いっぱい） ----- */
.hero {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: min(840px, 70vh);
  aspect-ratio: 1440 / 840;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__bg-img {
  position: absolute;
  object-fit: cover;
  max-width: none;
}

.hero__bg-img--desktop {
  display: block;
  width: 107.95%;
  height: 103.71%;
  left: -0.03%;
  top: -3.71%;
}

.hero__bg-img--mobile {
  display: none;
}

.hero__copy {
  position: absolute;
  z-index: 1;
  right: max(16px, calc(16.67% - 40px));
  top: 12%;
  width: min(116px, 8vw);
  height: auto;
  object-fit: contain;
}

.hero__copy--mobile {
  display: none;
}

/* ----- Sections ----- */
.section {
  padding: 70px 24px;
}

.section__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.section__inner--narrow {
  max-width: 543px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.section--contact {
  padding-top: 58px;
  padding-bottom: 80px;
}

.section--about {
  background: var(--color-pink-soft);
}

.section__inner--about {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  justify-content: center;
  align-items: flex-start;
  max-width: 1080px;
}

.about__left {
  flex: 1 1 280px;
  max-width: 504px;
}

.about__right {
  flex: 1 1 280px;
  max-width: 504px;
}

.about__panel-title {
  margin: 0 0 14px;
  padding: 10px;
  background: var(--color-pink-strong);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
}

.tag-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list__item {
  background: var(--color-pink-bg);
  padding: 5px 15px;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
}

.note {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}

.section--vision {
  padding-top: 48px;
  padding-bottom: 56px;
}

.section__inner--vision {
  max-width: 682px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.label-h3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 51px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.label-h3--accent {
  background: var(--color-pink-strong);
  color: var(--color-white);
}

.section--logo-story {
  padding-top: 0;
  padding-bottom: 56px;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.section__inner--logo {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 40px;
  justify-content: center;
  align-items: flex-start;
  max-width: 1100px;
  padding: 50px 0;
}

.logo-story__mark {
  flex: 0 0 auto;
  max-width: 325px;
}

.logo-story__mark img {
  display: block;
  width: 100%;
  height: auto;
}

.logo-story__body {
  flex: 1 1 300px;
  max-width: 536px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.etymology {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 373px;
}

.etymology__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.etymology__term {
  flex: 0 0 184px;
  max-width: 184px;
  margin: 0;
  padding: 5px 15px;
  background: var(--color-pink-bg);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
}

.etymology__desc {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.section--company {
  padding: 70px 24px 90px;
  background: linear-gradient(
    252.11deg,
    rgb(248, 198, 189) 5.36%,
    rgb(229, 194, 219) 96.73%
  );
}

.section__inner--company {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

.label-h3--on-gradient {
  background: var(--color-white);
  color: var(--color-text);
}

.company-card {
  background: var(--color-white);
  padding: 35px;
  width: 100%;
  max-width: 752px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
}

.company-table th,
.company-table td {
  padding: 10px 20px;
  vertical-align: middle;
  text-align: left;
  border-bottom: 1px solid var(--color-line);
}

.company-table th {
  width: 190px;
  border-bottom-width: 2px;
  font-weight: 500;
}

.company-table td p {
  margin: 0;
}

.company-table td p + p {
  margin-top: 0;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

/* Multi-line license cell */
.company-table tr:nth-last-child(2) th {
  vertical-align: top;
}

.company-table tr:nth-last-child(2) td {
  vertical-align: top;
}

/* ----- Typography ----- */
.heading-xl {
  margin: 0;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
}

.heading-xl--center {
  text-align: center;
  color: var(--color-black);
}

.heading-xl__line {
  display: block;
}

.body-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
}

.body-text--center {
  text-align: center;
  color: var(--color-black);
}

.section--vision .body-text--center {
  max-width: none;
  color: var(--color-text);
}

.vision-lead__text {
  margin: 0;
}

.cta-phone {
  text-align: center;
  width: 100%;
  display: none;
  @media (min-width: 768px) {
    display: block;
  }
}

.cta-phone__num {
  font-family: var(--font-lato);
  font-weight: 700;
  font-size: clamp(40px, 8vw, 64px);
  line-height: 1;
  color: var(--color-pink-strong);
}

.cta-phone__hours {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-pink-strong);
}

/* ----- Footer ----- */
.site-footer {
  padding: 40px 24px 80px;
  text-align: center;
}

.site-footer__copy {
  font-family: var(--font-lato);
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  color: var(--color-black);
}

@media (min-width: 768px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 16px clamp(16px, 3vw, 32px) 12px;
    background: var(--color-white);
    z-index: 100;
  }

  .site-header__inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 2vw, 28px);
    width: 100%;
    max-width: var(--header-inner);
    margin-left: auto;
    margin-right: auto;
  }

  /* 左右に同じ幅のエリアを取り、ブランドは左寄せ・コンタクトは右寄せ */
  .site-header__brand {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(10px, 1.4vw, 22px);
    flex: 1 1 0;
    min-width: 0;
    justify-content: flex-start;
  }

  .site-header__logo--desktop {
    width: clamp(148px, 15vw, 188px);
    height: auto;
    flex-shrink: 0;
  }

  .site-header__badge-text {
    font-size: clamp(11px, 1.05vw, 14px);
    line-height: 1.75;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-header__contact.site-header__contact--desktop {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(8px, 1.2vw, 15px);
    flex: 1 1 0;
    min-width: 0;
  }

  .site-header__tel-block {
    flex-shrink: 1;
    min-width: 0;
    gap: clamp(8px, 1vw, 15px);
  }

  .site-header__tel-icon {
    width: clamp(52px, 5.5vw, 68px);
    height: clamp(52px, 5.5vw, 68px);
    border-radius: 50%;
    flex-shrink: 0;
  }

  .site-header__tel-icon span {
    font-size: clamp(10px, 0.95vw, 12px);
  }

  .site-header__tel-num {
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1;
  }

  .site-header__tel-hours {
    font-size: clamp(10px, 0.95vw, 12px);
    line-height: 1.65;
    white-space: nowrap;
  }

  .site-header .btn-line--header {
    width: clamp(148px, 16vw, 188px);
    height: clamp(52px, 5.5vw, 60px);
    padding: 0 clamp(10px, 1.2vw, 16px);
    flex-shrink: 0;
  }

  .site-header .btn-line--header .btn-line__sub {
    font-size: clamp(10px, 0.95vw, 12px);
  }

  .site-header .btn-line--header .btn-line__title {
    font-size: clamp(15px, 1.5vw, 18px);
  }

  .site-header .btn-line--header .btn-line__icon {
    width: clamp(32px, 3.5vw, 40px);
    height: clamp(32px, 3.5vw, 40px);
  }

  .page {
    padding-top: var(--site-header-sticky-offset);
  }
}

@media (max-width: 767px) {
  .page {
    padding-bottom: var(--site-mobile-contact-pad);
  }

  /* ----- Header（Figma sp / 13:156） ----- */
  .site-header {
    padding: 13px 16px 0;
  }

  .site-header__inner {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    max-width: none;
  }

  .site-header__brand {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    max-width: 234px;
    text-align: center;
  }

  .site-header__logo--desktop {
    display: none;
  }

  .site-header__logo--mobile {
    display: block;
    width: 110px;
    height: auto;
  }

  .site-header__badge-text {
    white-space: normal;
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
  }

  .site-header__contact--desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    margin: 0;
    width: 100%;
    max-width: none;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--color-white);
    box-shadow: 0 -2px 16px rgba(35, 24, 21, 0.08);
    flex-wrap: nowrap;
  }

  .site-header__contact--desktop .site-header__tel-block {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .site-header__contact--desktop .btn-line--header {
    width: 100%;
    max-width: 308px;
  }

  /* ----- Hero SP：幅100%で画像の縦横比を維持して拡大縮小 ----- */
  .hero {
    margin-top: 12px;
    aspect-ratio: unset;
    min-height: 0;
    height: auto;
  }

  .hero__bg {
    position: relative;
    inset: unset;
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .hero__bg-img--desktop {
    display: none;
  }

  .hero__bg-img--mobile {
    display: block;
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
    left: auto;
    top: auto;
    object-fit: unset;
  }

  .hero__copy--desktop {
    display: none;
  }

  .hero__copy--mobile {
    display: block;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    top: clamp(12px, 6vw, 40px);
    width: min(73px, 18.7vw);
    height: auto;
  }

  /* ----- 会社概要テーブル ----- */
  .company-table th {
    display: block;
    width: 100%;
    border-bottom-width: 1px;
  }

  .company-table td {
    display: block;
    width: 100%;
    padding-top: 8px;
  }

  .company-table tr {
    display: block;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--color-line);
  }

  .company-table tr:last-child {
    border-bottom: 2px solid var(--color-line);
    margin-bottom: 0;
  }

  .company-table tr:last-child th,
  .company-table tr:last-child td {
    border-bottom: 1px solid var(--color-line);
  }

  .company-table tr:last-child td {
    border-bottom: 2px solid var(--color-line);
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section__inner--narrow {
    max-width: none;
  }

  .body-text--center {
    max-width: none;
  }

  .section--vision .vision-lead {
    align-self: stretch;
    width: 100%;
    text-align: left;
  }

  .section--vision .vision-lead__text {
    text-align: left;
  }

  .section--vision .vision-lead__break {
    display: none;
  }

  .cta-phone__hours {
    font-size: 18px;
  }
}
