/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  --color-primary: #00af95;
  --color-brand-gradient: #c3d968;
  --color-foreground: #393939;
  --color-overlay: #333333;
  --color-bg-gray: #f8f8f8;
  --color-bg-blue-tint: #f5f9fe;
  --color-yellow: #fcc726;
  --color-border-gray: #8d8d8d;
  --color-accent: #d63384;

  --gradient-brand: linear-gradient(to right, var(--color-primary), var(--color-brand-gradient));
  --shadow-card: 0 0 12px rgba(128, 170, 218, 0.3);
  --shadow-header: 0 2px 16px rgba(128, 170, 218, 0.25);

  --font-jp: "Noto Sans JP", sans-serif;
  --font-en: "Poppins", var(--font-jp), sans-serif;

  --header-height: 80px;
  --content-max: 1200px;
  --content-max-wide: 1400px;
}

/* ==========================================================================
   Reset / Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--color-foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
.icon { width: 16px; height: 16px; flex-shrink: 0; }
.icon--sm { width: 20px; height: 20px; }
.icon--lg { width: 32px; height: 32px; }

main { display: block; padding-top: var(--header-height); }

.br_pc { display: none; }

@media (min-width: 1024px) {
  .br_pc { display: inline; }
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.section { padding: 100px 20px; overflow-x: hidden; }
.section--gray { background: var(--color-bg-gray); }
.section__container { max-width: var(--content-max); margin: 0 auto; }
.section__container--narrow { max-width: 800px; }
.section__lead {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin-top: 16px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 40px;
}
.section-heading__eyebrow {
  font-family: var(--font-en);
  font-size: 1.12rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-heading__title {
  font-family: var(--font-en);
   font-size: clamp(36px, calc(2.25rem + ((1vw - 3.2px) * 3.9773)), 64px);
  min-height: 0vw;
  font-weight: 700;
  line-height: 1.2;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

/* 自然な改行位置 */
 .section__lead, .issue-card__answer-title, .issue-card__question, .reason-card__title, .about__feature-title
 {
  word-break: keep-all;
  overflow-wrap: break-word; 
  
}



/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--yellow { background: var(--color-yellow); color: var(--color-foreground); }
.btn--white { background: #fff; color: var(--color-primary); }
.btn--gradient { background: var(--gradient-brand); color: #fff; height: 50px; padding: 0 40px; }
.btn--sm { height: 50px; padding: 0 24px; }
.btn--wide {
  width: 100%;
  min-width: 260px;
  height: 70px;
  justify-content: space-between;
  padding: 0 24px 0 32px;
  font-size: 18px;
  box-shadow: var(--shadow-card);
  transition: opacity 0.2s;
}
.btn--wide:hover { opacity: 0.9; }
.btn--wide span:first-child { flex: 1; text-align: center; }

.btn__icon-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn__icon-circle .icon { color: var(--color-primary); }
.btn--yellow .btn__icon-circle .icon { color: var(--color-foreground); }
.btn__icon-circle--primary { background: var(--color-primary); }
.btn__icon-circle--primary .icon { color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: #fff;
  box-shadow: var(--shadow-header);
  z-index: 100;
}
.header__inner {
  max-width: var(--content-max-wide);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo { display: block; width: 150px; height: 30px; flex-shrink: 0; }
.header__logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.header__nav { display: none; }
.header__nav-list { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 16px; }
.header__nav-list a { transition: color 0.2s; }
.header__nav-list a:hover { color: var(--color-primary); }
.header__cta { display: none; }
.header__menu-btn { display: block; }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(51, 51, 51, 0.9);
  color: #fff;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 0;
}
.mobile-menu__cta { width: 90%; padding: 16px; font-weight: 400; }

@media (min-width: 1024px) {
  .header__nav { display: block; }
  .header__cta { display: flex; align-items: center; }
  .header__menu-btn { display: none; }
  .header__logo { width: 185px; height: 35px;}
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--color-bg-gray); padding: 40px 20px 48px; }
.hero__inner { position: relative; z-index: 1; max-width: var(--content-max-wide); margin: 0 auto; }
.hero__lead {   font-size: clamp(24px, calc(1.5rem + ((1vw - 7.68px) * 1.1905)), 32px); min-height: 0vw; font-weight: 700; }
.hero__title { font-size: clamp(30px, calc(1.875rem + ((1vw - 7.68px) * 4.7619)), 62px); min-height: 0vw;  font-weight: 700; line-height: 1.3; margin: 4px 0 0; }
.hero__desc { margin-top: 1.3em; font-size: 15px; font-weight: 700; line-height: 1.7; }
.hero__image { margin: 24px -8px 0; border-radius: 8px; overflow: hidden; aspect-ratio: 6 / 5; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; }
.hero__buttons { margin-top: 32px; display: flex; flex-direction: column; gap: 32px; }
.hero__button-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__button-label { font-size: 14px; font-weight: 700; text-align: center; }
.hero__button-label--white { color: #fff; }

@media (min-width: 1024px) {
  .hero {
    padding: 0;
    min-height: calc(100vh - var(--header-height));
  }
  .hero__inner {
    display: flex;
    flex-direction: column;
    min-height: inherit;
    --hero-image-width: max(48%);
  }
  .hero__text {
    padding: 1.5em;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: calc(100% - var(--hero-image-width) - 48px);
  }
  .hero__desc { font-size: 19px; }

  .hero__image {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: auto;
    width: var(--hero-image-width);
    height: auto;
    aspect-ratio: auto;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
  }
  .hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
  }

  .hero__buttons { flex-direction: column; margin: 0 1.5em; margin-bottom: 56px; width: 400px; }
  .hero__button-item { width: 400px; }
  .hero__button-label { font-size: 18px; }
}


/* ==========================================================================
   Form modal
   ========================================================================== */

.form-modal { position: fixed; inset: 0; z-index: 9999; display: none; padding: 24px; }
.form-modal.is-open { display: flex; align-items: center; justify-content: center; }
.form-modal__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); }
.form-modal__dialog {
  position: relative;
  width: 90%;
  max-width: 800px;
  height: 710px;      /* フォームの実際の高さに近い固定値 */
  max-height: 90vh;   /* 画面が低い時はこちらが優先される */
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.form-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border-gray);
  cursor: pointer;
  z-index: 1;
}
.form-modal__iframe { width: 100%; height: 100%; border: 0; }
body.is-modal-open { overflow: hidden; }

@media (max-width: 767.98px) {
  .form-modal { padding: 0; }
  .form-modal__dialog {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
  .form-modal__close {
    top: 16px;
    right: 16px;
  }
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { padding: 40px 20px; background: var(--gradient-brand); }
.cta-band__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; justify-content: center; gap: 3em; padding: 0 2em; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about__row { display: flex; flex-direction: column; gap: 32px; }
.about__image { width: 100%; height: 280px; border-radius: 10px; overflow: hidden; }
.about__image img { width: 100%; height: 100%; object-fit: cover; }
.about__catch { font-size: 18px; font-weight: 600; letter-spacing: 0.03em; }
.about__features { margin-top: 24px; display: flex; flex-direction: column;}
.about__feature { padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--color-foreground); display: flex; flex-direction: column; gap: 16px; }
.about__feature-label { font-family: var(--font-en); font-size: 16px; font-weight: 700; color: var(--color-primary); letter-spacing: 0.05em; }
.about__feature-title { margin-top: 4px; font-size: 18px; font-weight: 900; color: var(--color-primary); line-height: 1.5; }
.about__feature-desc { font-size: 14px; line-height: 1.7; letter-spacing: 0.03em; }

.about__gallery {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 180px;
}
.about__gallery-item { width: 100%; height: 100%; overflow: hidden; }
.about__gallery-item img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 1024px) {
  .section--about { padding:100px 0 0; }
  .about__row { flex-direction: row; align-items: stretch; gap: 10%; padding: 0 2em;}
  .about__image { flex: 1; height: auto; }
  .about__content { flex: 1; }
  .about__gallery { grid-template-columns: repeat(6, 1fr); height: 350px; }
}

/* ==========================================================================
   Service
   ========================================================================== */
.service-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 24px; }
.service-card { padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.service-card__image { width: 100%; aspect-ratio: 325 / 216; border-radius: 10px; overflow: hidden; }
.service-card__image img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { text-align: center; color: var(--color-primary); }
.service-card__num { font-family: var(--font-en); font-size: 18px; font-weight: 700; }
.service-card__title { font-size: 20px; font-weight: 700; letter-spacing: 0.03em; margin-top: 4px; }
.service-card__desc { text-align: left; font-size: 14px; line-height: 1.65; letter-spacing: 0.03em; }

@media (min-width: 1024px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

/* ==========================================================================
   Issue
   ========================================================================== */
.issue-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr; gap: 24px; }
.issue-card { padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 24px; min-width: 0; max-width: 100%; }
.issue-card__head { display: contents; }
.issue-card__check { width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary); display: flex; align-items: center; justify-content: center; }
.issue-card__check .icon { color: #fff; }
.issue-card__question { text-align: center; font-weight: 800; font-size: 18px; letter-spacing: 0.03em; }
.issue-card__arrow { color: var(--color-primary); width: 24px; height: 24px; }
.issue-card__image { width: 100%; height: 220px; border-radius: 10px; overflow: hidden; }
.issue-card__image img { width: 100%; height: 100%; object-fit: cover; }
.issue-card__answer { width: 100%; display: flex; flex-direction: column; gap: 4px; }
.issue-card__answer-title { font-weight: 800; font-size: 18px; padding: 0 0.5em; color: var(--color-primary); letter-spacing: 0.03em; text-align: center; }
.issue-card__answer-desc { font-size: 14px; padding: 0.8em 0.5em 0; line-height: 1.65; letter-spacing: 0.05em; }
.issue-card__link { margin-top: 8px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; color: var(--color-primary); font-size: 13px; }
.issue-card__link span:first-child { text-align: right; }

@media (min-width: 1024px) {
  .issue-grid { grid-template-columns: repeat(3, 1fr); }
}



/* ==========================================================================
   Reason
   ========================================================================== */
.reason-list { margin-top: 40px; display: flex; flex-direction: column; gap: 32px; }
.reason-card { padding: 24px; display: flex; flex-direction: column; gap: 3rem; }
.reason-card__content { display: flex; flex-direction: column; gap: 24px; }
.reason-card__num { font-family: var(--font-en); font-size: 18px; font-weight: 700; background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reason-card__title { padding-bottom: 24px; border-bottom: 1px solid var(--color-brand-gradient); font-size: clamp(20px, calc(1.25rem + ((1vw - 7.68px) * 0.5952)), 24px);
  min-height: 0vw; font-weight: 700; line-height: 1.4; background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reason-card__desc { margin-top: 16px; font-size: 14px; line-height: 1.7; letter-spacing: 0.03em; }
.reason-card__list { margin-top: 16px; background: var(--color-bg-blue-tint); border-radius: 10px; padding: 16px 24px 16px 40px; list-style: disc outside; display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 700; }
.reason-card__image { width: 100%; height: 220px; border-radius: 10px; overflow: hidden; }
.reason-card__image img { width: 100%; height: 100%; object-fit: cover; }

.reason-list .reason-card:nth-child(2) .reason-card__image img { object-position: 55% center; }

@media (min-width: 1024px) {
  .reason-card { flex-direction: row; padding: 40px; }
  .reason-card__content { flex: 596; }
  .reason-card__image { flex: 500; height: auto; }
  .reason-card__list { margin-top: auto; }
}

/* ==========================================================================
   Flow
   ========================================================================== */
.flow-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.flow-step { display: flex; align-items: center; gap: 8px; }
.flow-step__card { flex: 1; padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.flow-step__head { display: flex; align-items: center; gap: 24px; width: 100%; min-height: 88px; }
.flow-step__head img { width: 60px; height: 60px; flex-shrink: 0; object-fit: contain; }
.flow-step__num { font-family: var(--font-en); font-size: 16px; font-weight: 700; color: var(--color-primary); }
.flow-step__title { font-size: 18px; font-weight: 700; color: var(--color-primary); }
.flow-step__desc { text-align: left; font-size: 14px; line-height: 1.7; letter-spacing: 0.03em; padding: 0 0.6em;}
.flow-list__arrow { display: none; color: var(--color-primary); flex-shrink: 0; }

/* @media (min-width: 1024px) {
  .flow-list { flex-direction: row; align-items: stretch; gap: 8px; }
  .flow-step { flex: 1; }
  .flow-step__card { height: 100%; }
  .flow-list__arrow { display: block;width: 24px; height: 24px; }
} */

@media (min-width: 1024px) {
  .flow-list { flex-direction: row; align-items: stretch; gap: 8px; }
  .flow-step { flex: 0 0 calc(25% + 2px); }
  .flow-step:last-child { flex: 0 0 calc(25% - 30px); }
  .flow-step__card { height: 100%; }
  .flow-list__arrow { display: block;width: 24px; height: 24px; }
}

/* ==========================================================================
   Product
   ========================================================================== */
.product-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.product-card { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.product-card__image { width: 100%; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.product-card__label { text-align: center; font-size: 14px; font-weight: 500; }

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(5, 1fr); gap: 24px; }
}

/* ==========================================================================
   Works
   ========================================================================== */
.works-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 24px; }
.works-card { padding: 24px; }
.works-card__image { width: 100%; height: 220px; border-radius: 10px; overflow: hidden; }
.works-card__image img { width: 100%; height: 100%; object-fit: cover; }
.works-card__tags { padding:1.5em 0.5em 0; display: flex; flex-direction: column; gap: 8px; }
.works-card__tag-row { display: flex; align-items: center; gap: 1em; font-size: 16px; }
.tag { display: inline-flex; align-items: center; justify-content: center; width: 80px; padding: 2px 0; border-radius: 999px; border: 1px solid var(--color-border-gray); color: var(--color-border-gray); font-size: 14px; font-weight: 700; }

@media (min-width: 1024px) {
  .works-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { margin-top: 24px; display: flex; flex-direction: column; gap: 24px; }
.faq-item { background: #fff; border-radius: 20px; box-shadow: var(--shadow-card); overflow: hidden; }
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 24px 24px;
  text-align: left;
}
.faq-item__question > span:nth-child(2) { flex: 1; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; }
.faq-item__q-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-item__toggle-icon { color: var(--color-primary); width: 24px; height: 24px; flex-shrink: 0; }
.faq-item__toggle-line--v { transform-box: fill-box; transform-origin: center; transition: transform 0.2s ease; }
.faq-item.is-open .faq-item__toggle-line--v { transform: scaleY(0); }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  font-size: 14px;
  line-height: 1.8;
}
.faq-item__answer p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 24px 24px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.faq-item__answer-icon { color: var(--color-accent); width: 25px; height: 23px; flex-shrink: 0; margin-top: 2px; }
.faq-item.is-open .faq-item__answer { max-height: 500px; }

@media (min-width: 1024px) {
  .faq-item__question { padding: 24px 40px; }
  .faq-item__answer p { margin: 0 40px 24px; }
}

/* ==========================================================================
   Contact (iframe)
   ========================================================================== */
.contact-form { margin-top: 32px; }
.contact-form__iframe {
  width: 100%;
  min-height: 900px;
  border: none;
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--color-overlay); color: #fff; padding: 56px 20px;letter-spacing: 1px; }
.footer__inner { max-width: var(--content-max); margin: 0 auto; }
.footer__top { display: flex; flex-direction: column; gap: 32px; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.footer__logo { display: block; width: 150px; height: 30px; }
.footer__logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.footer__company { font-size: 12px; }
.footer__address { font-size: 12px; line-height: 1.7; }
.footer__nav-wrap { display: flex; flex-direction: column; gap: 28px; }
.footer__nav { display: flex; flex-direction: column; gap: 20px; font-weight: 600; font-size: 14px; }
.footer__nav a:hover { color: var(--color-primary); }

.footer__bottom { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.3); }
.footer__copyright { font-size: 12px; }

@media (min-width: 1024px) {
  .footer__top { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 40px; }
  .footer__brand { width: 320px; }
  .footer__nav-wrap { align-items: flex-end; }
  .footer__nav { flex-direction: row; gap: 24px; }
  .footer__bottom { display: flex; justify-content: flex-end; align-items: center; }
}

/* ==========================================================================
   Tablet (768px〜1023px) レスポンシブ調整
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .section { padding: 56px 32px; }

.hero{padding: 0 0 50px;}
.hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* 画像の高さをテキストに揃える */
}

.hero__text {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 50%;
  padding: 1.5em 0 1.5em 1.5em;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 画像の高さに対して垂直センター */
}

.hero__image {
  flex: 0 0 calc(50% - 24px);
  width: calc(50% - 24px);
  height: auto;
  margin: 0 0 0 24px;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 0;
}

.hero__buttons {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  margin: 32px auto 0;
  flex-direction: row;       /* 縦並び→横並び */
  justify-content: center;
  gap: 10%;
  padding: 1em 10%;
}
.hero__button-item {
  width: auto;
  max-width: 400px;
  flex: 1 1 0;
}

.about__feature {gap: 0;}
.about__feature-desc { margin-top: 15px;}
  .about__row { flex-direction: row; align-items: stretch; gap: 40px; }
  .about__image { flex: 1; height: auto; }
  .about__image img { object-position: 67% center;}
  .about__content { flex: 1; }
  .about__gallery { grid-template-columns: repeat(3, 1fr); height: 300px; }

.issue-grid { grid-template-columns: 1fr; }

.issue-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-areas:
      "head head"
      "arrow arrow"
      "image answer";
    align-items: center;
    column-gap: 24px;
    row-gap: 16px;
    text-align: left;
  }
  .issue-card__head { grid-area: head; display: flex; align-items: center; justify-content: center; gap: 12px; }
  .issue-card__question { text-align: left; }
  .issue-card__arrow { grid-area: arrow; justify-self: center; }
  .issue-card__image { grid-area: image; height: 200px; }
  .issue-card__answer { grid-area: answer; align-self: start; }
  .issue-card__answer-title { text-align: left; }

  .reason-card { flex-direction: row; padding: 32px; gap: 2em;}
  .reason-card__content { flex: 50%; }
  .reason-card__image { flex: 500; height: auto; }
.reason-list .reason-card:nth-child(2) .reason-card__image img { object-position: 15% center; }

.flow-list { flex-direction: column; }
.flow-step { flex: 1 1 auto; }
.flow-list__arrow { display: none; }

.flow-step__card {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  column-gap: 24px;
  row-gap: 12px;
  padding: 24px;
}
.flow-step__head {
  grid-column: 1;
  grid-row: 1;
  width: 220px;
}
.flow-step__desc {
  grid-column: 2;
  grid-row: 1;
  padding: 0;
}
.flow-step__card .btn {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: end; /* 右寄せ＝右下配置 */
}

  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }

  .footer__top { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 24px; }
  .footer__brand { width: 260px; }
  .footer__nav-wrap { align-items: flex-end; }
  .footer__nav { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
}

/* ==========================================================================
   Service - 426px〜1023.98px は横並びカード（画像左・テキスト右）
   ========================================================================== */
@media (min-width: 426px) and (max-width: 1023.98px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    display: grid;
    grid-template-columns: 42% 1fr;
    column-gap: 24px;
    row-gap: 4px;
    align-items: center;
  }

  .service-card__image {
    height: stretch;
    grid-column: 1;
    grid-row: 1 / 3;
    aspect-ratio: 325 / 216;
  }

  .service-card__body {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }

  .service-card__desc {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }

.works-grid { grid-template-columns: 1fr; }
.works-card { display: flex; align-items: center; gap: 24px; }
.works-card__image { width: 60%; height: 220px; flex-shrink: 0; }
.works-card__image img { object-position: center 60%; }
.works-card__tags { padding: 0; flex: 1; gap: 18px; }

}