/* ============================================================
   SUPER DESIGN — shared stylesheet
   Theme extracted from target site (Wix color palette):
   accent #B46A2C / #A26028, text #1E1E1E, bg #F5F5F5 / #FFFFFF
   ============================================================ */

:root {
  --sd-primary: #b46a2c;         /* copper accent */
  --sd-primary-dark: #a26028;    /* button base */
  --sd-primary-hover: #c17c33;   /* button hover */
  --sd-secondary: #fae8db;       /* light peach */
  --sd-bg: #ffffff;
  --sd-section-bg: #f5f5f5;
  --sd-text: #1e1e1e;
  --sd-muted: #565656;
  --sd-muted-light: #8f8f8f;
  --sd-button-bg: #a26028;
  --sd-button-text: #ffffff;
  --sd-button-hover: #b46a2c;
  --sd-card-bg: #ffffff;
  --sd-border: #dbdbdb;
  --sd-footer-bg: #1e1e1e;
  --sd-footer-text: #ffffff;
  --sd-footer-muted: #c7c7c7;
  --sd-header-bg: #ffffff;
  --sd-dropdown-bg: #ffffff;
  --sd-radius: 10px;
  --sd-shadow: 0 6px 24px rgba(30, 30, 30, 0.08);
  --header-height: 69px; /* site-header height (68px) + 1px border */
  --sd-font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI",
    "Meiryo", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-height, 69px); /* keep anchors clear of the fixed header */
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: var(--header-height, 69px); /* keeps content below the fixed header */
  font-family: var(--sd-font);
  color: var(--sd-text);
  background: var(--sd-bg);
  line-height: 1.7;
  font-size: 16px;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sd-primary-dark);
  text-decoration: none;
}

a:hover {
  color: var(--sd-primary);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin: 0 0 0.5em;
  color: var(--sd-text);
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

section {
  width: 100%;
}

.container {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8em 1.9em;
  background: var(--sd-button-bg);
  color: var(--sd-button-text);
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.btn:hover {
  background: var(--sd-button-hover);
  color: #fff;
  box-shadow: 0 8px 20px rgba(162, 96, 40, 0.28);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--sd-primary-dark);
  border: 2px solid var(--sd-primary-dark);
}

.btn--outline:hover {
  background: var(--sd-primary-dark);
  color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--sd-primary-dark);
}

.btn--light:hover {
  background: var(--sd-secondary);
  color: var(--sd-primary-dark);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sd-border);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--sd-text);
  white-space: nowrap;
}

.site-logo .site-logo-img {
  display: block;
  height: clamp(36px, 4.5vw, 48px);
  width: auto;
  object-fit: contain;
}

.site-logo:hover {
  color: var(--sd-primary-dark);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-block;
  padding: 0.55em 0.85em;
  color: var(--sd-text);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--sd-primary-dark);
}

.nav-link.active {
  color: var(--sd-primary-dark);
}

.nav-link .caret {
  font-size: 0.6em;
  margin-left: 2px;
}

/* dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--sd-dropdown-bg);
  border: 1px solid var(--sd-border);
  border-radius: 10px;
  box-shadow: var(--sd-shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 1001;
}

.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.55em 0.9em;
  color: var(--sd-text);
  font-size: 0.9rem;
  border-radius: 6px;
  white-space: nowrap;
}

.dropdown a:hover {
  background: var(--sd-section-bg);
  color: var(--sd-primary-dark);
}

.nav-cta {
  margin-left: 8px;
}

/* ---------- Mobile menu ---------- */
.mobile-menu-button {
  display: none;
  background: transparent;
  border: 1px solid var(--sd-border);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sd-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: var(--sd-bg);
  border-top: 1px solid var(--sd-border);
  padding: 12px 16px 20px;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu .nav-link {
  display: block;
  padding: 0.7em 0;
  border-bottom: 1px solid var(--sd-section-bg);
  font-size: 1rem;
}

.mobile-menu .submenu {
  padding-left: 12px;
}

.mobile-menu .submenu a {
  display: block;
  padding: 0.5em 0;
  color: var(--sd-muted);
  font-size: 0.92rem;
}

.mobile-menu .submenu a:hover {
  color: var(--sd-primary-dark);
}

.mobile-menu details summary {
  list-style: none;
  cursor: pointer;
  padding: 0.7em 0;
  font-weight: 600;
  border-bottom: 1px solid var(--sd-section-bg);
}

.mobile-menu details summary::-webkit-details-marker {
  display: none;
}

.mobile-menu details[open] summary {
  color: var(--sd-primary-dark);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #fdf6f000 0%rgba(250, 232, 219, 0)db 55%, #f5f5f5 100%);
  padding: clamp(36px, 5vw, 68px) 0;
}

/* Hero slider (auto-playing 3-slide carousel) */
.hero-slider {
  position: relative;
}

.hero-slider__track {
  position: relative;
  overflow: hidden;
}

/* Collage slide sits in normal flow and defines the slider height;
   image slides overlay it absolutely and fade in/out. */
.hero-slider__slide {
  transition: opacity 0.6s ease, visibility 0.6s ease;
  visibility: hidden;
  opacity: 0;
}

.hero-slider__slide--collage {
  position: relative;
}

.hero-slider__slide--image {
  position: absolute;
  inset: 0;
}

.hero-slider__slide--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slider__slide.is-active {
  visibility: visible;
  opacity: 1;
  z-index: 1;
}

/* Arrows */
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(30, 30, 30, 0.28);
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 3px;
  transition: background 0.2s ease;
}

.hero-slider__arrow:hover {
  background: rgba(30, 30, 30, 0.5);
}

.hero-slider__arrow--prev {
  left: clamp(12px, 3vw, 40px);
}

.hero-slider__arrow--next {
  right: clamp(12px, 3vw, 40px);
}

/* Dots */
.hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(30, 30, 30, 0.35);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-slider__dot.is-active {
  background: #fe8b50;
  border-color: #ffffff;
  transform: scale(1.25);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr) minmax(0, 400px);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

/* Phone on the left — bleeds slightly off the container edge on desktop */
.hero__phone img {
  display: block;
  width: 100%;
  max-width: 281px;
  height: auto;
  margin-left: -48px;
}

/* Frosted-glass text card in the middle */
.hero__content {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: clamp(20px, 2.6vw, 34px);
  text-align: center;
}

.hero__title {
  font-size: clamp(1.9rem, 4.2vw, 3.125rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: var(--sd-text);
}

.hero__text {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--sd-muted);
  margin-bottom: 0.6em;
}

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

/* Right visual collage: square on top, wide below */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

.hero__visual img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--sd-shadow);
}

.hero__visual-item--main {
  width: 78%;
}

.hero__visual-item--wide {
  width: 100%;
}

/* ---------- Feature tabs ---------- */
.home-tabs {
  position: relative;
}

.home-tabs__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 28px);
  margin-bottom: clamp(24px, 4vw, 48px);
}

.home-tabs__button {
  border: 2px solid #d3d3da;
  border-radius: 999px;
  background: #f5f5f5;
  color: #000000;
  font-family: inherit;
  font-size: clamp(1rem, 1.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  padding: 0.55em 1.3em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.15s ease;
}

.home-tabs__button:hover {
  background: rgba(254, 139, 80, 0.2);
  border-color: #f5f5f5;
  color: #1e1e1e;
}

.home-tabs__button.is-active {
  background: #fe8b50;
  border-color: #f5f5f5;
  color: #ffffff;
}

.home-tabs__button:focus-visible {
  outline: 3px solid rgba(254, 139, 80, 0.5);
  outline-offset: 2px;
}

.home-tabs__panel {
  display: none;
}

.home-tabs__panel.is-active {
  display: block;
}

/* Split layout — panels that show a product thumbnail beside the demo */
.home-tabs__split {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.home-tabs__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.home-tabs__desc {
  margin: 0;
  color: var(--sd-text);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.8;
}

.home-tabs__thumb {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--sd-shadow);
}

/* Stacked layout — panels with a single centered demo */
.home-tabs__stacked {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}

.home-tabs__stacked .home-tabs__desc {
  text-align: center;
  max-width: 780px;
}

.home-tabs__media {
  width: 100%;
}

.home-tabs__gif {
  display: block;
  width: 100%;
  max-width: 1068px;
  margin: 0 auto;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--sd-shadow);
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(44px, 6vw, 84px) 0;
}

.section--alt {
  background: var(--sd-section-bg);
}

.section--peach {
  background: var(--sd-secondary);
}

.section-heading {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(28px, 4vw, 52px);
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}

.section-heading .lead {
  color: var(--sd-muted);
  font-size: 1.05rem;
}

.section-heading--left {
  text-align: left;
  margin-left: 0;
}

/* ---------- Cards / grids ---------- */
.responsive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.card {
  background: var(--sd-card-bg);
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius);
  padding: 26px;
  box-shadow: var(--sd-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(30, 30, 30, 0.12);
}

.card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  object-fit: contain;
}

.card h3 {
  font-size: 1.2rem;
}

.card p {
  color: var(--sd-muted);
  font-size: 0.95rem;
}

.card__link {
  font-weight: 700;
  font-size: 0.9rem;
}

/* Feature card with image top */
.feature-card {
  overflow: hidden;
  padding: 0;
}

.feature-card__media {
  background: var(--sd-section-bg);
}

.feature-card__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.feature-card__body {
  padding: 24px 26px;
}

/* ---------- Image-text section ---------- */
.image-text-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.image-text-section img {
  border-radius: var(--sd-radius);
  box-shadow: var(--sd-shadow);
}

.image-text-section h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.image-text-section p {
  color: var(--sd-muted);
}

.image-text-section--reverse .image-text-section__media {
  order: 2;
}

/* ---------- Platform logos ---------- */
.platform-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
}

.platform-grid img {
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(0.1);
  opacity: 0.9;
}

/* ---------- Testimonials ---------- */
.testimonial {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial__quote {
  flex: 1;
  color: var(--sd-text);
  font-size: 0.98rem;
}

.testimonial__author {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial__author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__name {
  font-weight: 700;
}

.testimonial__meta {
  color: var(--sd-muted);
  font-size: 0.85rem;
}

/* ---------- Template gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.gallery-item {
  border-radius: var(--sd-radius);
  overflow: hidden;
  border: 1px solid var(--sd-border);
  background: var(--sd-section-bg);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.gallery-item__label {
  padding: 10px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sd-muted);
  text-align: center;
}

/* ---------- Feature list (otherfeatures / toppagetype) ---------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.feature-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--sd-card-bg);
  border: 1px solid var(--sd-border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

.feature-chip img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* ---------- Company table ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--sd-card-bg);
  border-radius: var(--sd-radius);
  overflow: hidden;
  box-shadow: var(--sd-shadow);
}

.info-table th,
.info-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--sd-border);
  vertical-align: top;
}

.info-table th {
  width: 200px;
  background: var(--sd-section-bg);
  font-weight: 700;
  color: var(--sd-text);
}

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

/* ---------- Forms ---------- */
.form-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--sd-card-bg);
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--sd-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-group label .req {
  color: #c0392b;
  margin-left: 4px;
}

.form-control {
  width: 100%;
  padding: 0.75em 0.9em;
  border: 1px solid var(--sd-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--sd-text);
}

.form-control:focus {
  outline: 2px solid var(--sd-primary);
  border-color: var(--sd-primary);
}

textarea.form-control {
  min-height: 160px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--sd-primary-dark);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--sd-footer-bg);
  color: var(--sd-footer-text);
  padding: clamp(40px, 5vw, 64px) 0 28px;
}

.site-footer a {
  color: var(--sd-footer-text);
}

.site-footer a:hover {
  color: var(--sd-secondary);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}

.footer__brand img {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.footer__brand p {
  color: var(--sd-footer-muted);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer__col h4 {
  color: var(--sd-footer-text);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__col li {
  margin-bottom: 8px;
}

.footer__col a {
  color: var(--sd-footer-muted);
  font-size: 0.85rem;
}

.footer__col a:hover {
  color: #fff;
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__badges img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.footer__bottom {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: var(--sd-footer-muted);
  font-size: 0.82rem;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-muted { color: var(--sd-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

.notice {
  background: #fff8f0;
  border: 1px solid #f0d9bd;
  border-left: 4px solid var(--sd-primary);
  padding: 14px 18px;
  border-radius: 8px;
  color: var(--sd-muted);
  font-size: 0.9rem;
}

/* ============================================================
   AI切り抜き — page hero (A1 → B1)
   Scoped to .aicutting-page / .aicutting-hero so other pages
   (especially the homepage hero slider) are unaffected.
   ============================================================ */
.aicutting-page .hero,
.aicutting-hero {
  background: #f5f5f5;
  padding: clamp(40px, 6vw, 88px) 0;
  overflow: hidden;
}

.aicutting-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.aicutting-hero__content {
  max-width: 520px;
}

.aicutting-hero__title {
  font-size: clamp(2rem, 4vw, 2.875rem); /* ~46px on desktop */
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 0.55em;
  color: var(--sd-text);
}

.aicutting-hero__text {
  font-size: clamp(1.1rem, 1.6vw, 1.5rem); /* ~24px on desktop */
  line-height: 1.8;
  color: var(--sd-muted);
  margin: 0 0 1.75em;
}

.aicutting-hero__cta {
  display: inline-block;
  transition: transform 0.2s ease;
}

.aicutting-hero__cta img {
  display: block;
  width: 296px;
  max-width: 100%;
  height: auto;
}

.aicutting-hero__cta:hover {
  transform: translateY(-2px);
}

.aicutting-hero__media img {
  display: block;
  width: 100%;
  max-width: 588px;
  height: auto;
  margin-left: auto;
  border-radius: 16px;
}

@media (max-width: 1024px) {
  .aicutting-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .aicutting-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .aicutting-hero__content {
    max-width: none;
  }
  .aicutting-hero__media {
    text-align: center;
  }
  .aicutting-hero__media img {
    max-width: 100%;
    margin: 0 auto;
  }
  .aicutting-hero__cta img {
    width: 240px;
  }
}

/* ============================================================
   AI背景合成 — page hero (A1 → B1)
   Scoped to .aibackgroundsynthesis-page / .ai-bg-hero.
   ============================================================ */
.aibackgroundsynthesis-page .ai-bg-hero {
  background: #f5f5f5;
  padding: clamp(56px, 6vw, 104px) 0 clamp(48px, 5vw, 84px);
  overflow: hidden;
}

.ai-bg-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
}

.ai-bg-hero__content {
  max-width: 520px;
}

.ai-bg-hero__title {
  margin: 0 0 clamp(24px, 3vw, 40px);
  color: #1f1f1f;
  font-weight: 600;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.ai-bg-hero__text {
  margin: 0 0 clamp(26px, 3vw, 38px);
  color: #222;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.75;
  letter-spacing: 0.04em;
}

.ai-bg-hero__text strong {
  font-weight: 700;
}

.ai-bg-hero__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 78px;
  padding: 10px 28px 12px 88px;
  border-radius: 10px;
  background: linear-gradient(180deg, #19ea55 0%, #06c845 100%);
  color: #fff200;
  text-decoration: none;
  font-weight: 800;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-bg-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.18),
    0 8px 20px rgba(6, 200, 69, 0.35);
  color: #fff200;
}

.ai-bg-hero__cta-badge {
  position: absolute;
  left: 28px;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%) rotate(-15deg);
  border-radius: 999px;
  background: #fff200;
  color: #e83b2f;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
}

.ai-bg-hero__cta-main {
  display: block;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1;
}

.ai-bg-hero__cta-sub {
  position: absolute;
  bottom: 8px;
  left: 90px;
  right: 24px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.08em;
}

.ai-bg-hero__visual img {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin-left: auto;
  border-radius: 16px;
}

@media (max-width: 1024px) {
  .ai-bg-hero__inner {
    gap: 32px;
  }
  .ai-bg-hero__visual img {
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  .aibackgroundsynthesis-page .ai-bg-hero {
    padding: 48px 0 56px;
  }
  .ai-bg-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .ai-bg-hero__content {
    max-width: 100%;
    margin-inline: auto;
  }
  .ai-bg-hero__title {
    font-size: clamp(36px, 10vw, 48px);
  }
  .ai-bg-hero__text {
    font-size: clamp(17px, 4.6vw, 22px);
    line-height: 1.7;
  }
  .ai-bg-hero__visual {
    order: 2;
  }
  .ai-bg-hero__visual img {
    max-width: 100%;
    margin-inline: auto;
  }
  .ai-bg-hero__cta {
    min-width: 260px;
    max-width: 100%;
  }
}

@media (max-width: 430px) {
  .aibackgroundsynthesis-page .ai-bg-hero {
    padding: 36px 0 44px;
  }
  .ai-bg-hero__cta {
    min-width: 240px;
    min-height: 68px;
    padding-left: 76px;
  }
  .ai-bg-hero__cta-badge {
    left: 22px;
    width: 46px;
    height: 46px;
    font-size: 12px;
  }
  .ai-bg-hero__cta-sub {
    left: 78px;
    font-size: 15px;
  }
}

/* ============================================================
   AI背景合成 — post-hero sections
   Scoped to .aibackgroundsynthesis-page / .ai-bg-section.
   ============================================================ */
.aibackgroundsynthesis-page .ai-bg-section {
  padding: clamp(64px, 7vw, 120px) 0;
  background: #ffffff;
  overflow: hidden;
}

.aibackgroundsynthesis-page .ai-bg-section--alt {
  background: #f5f5f5;
}

.aibackgroundsynthesis-page .ai-bg-section__header {
  max-width: 900px;
  margin: 0 auto clamp(40px, 5vw, 72px);
  text-align: center;
}

.aibackgroundsynthesis-page .ai-bg-section h2 {
  margin: 0 0 clamp(20px, 3vw, 32px);
  color: #1f1f1f;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.aibackgroundsynthesis-page .ai-bg-section p {
  margin: 0;
  color: #222222;
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.aibackgroundsynthesis-page .ai-bg-section__split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.aibackgroundsynthesis-page .ai-bg-section__visual img,
.aibackgroundsynthesis-page .ai-bg-image-grid img,
.aibackgroundsynthesis-page .ai-bg-patterns__images img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.aibackgroundsynthesis-page .ai-bg-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  justify-content: center;
}

.aibackgroundsynthesis-page .ai-bg-image-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 640px;
  margin-inline: auto;
}

.aibackgroundsynthesis-page .ai-bg-image-grid--6 {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.aibackgroundsynthesis-page .ai-bg-pattern-intro {
  background: #ffffff;
  padding: clamp(56px, 6vw, 92px) 0 clamp(44px, 5vw, 72px);
  text-align: center;
}

.aibackgroundsynthesis-page .ai-bg-pattern-intro .container {
  width: min(100% - 32px, 980px);
  margin-inline: auto;
}

.aibackgroundsynthesis-page .ai-bg-pattern-intro h2 {
  margin: 0 0 clamp(24px, 3vw, 36px);
  color: #111111;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.aibackgroundsynthesis-page .ai-bg-pattern-intro p {
  margin: 0 auto;
  color: #111111;
  font-size: clamp(18px, 1.6vw, 26px);
  line-height: 1.75;
  letter-spacing: 0.04em;
  text-align: left;
}

.aibackgroundsynthesis-page .ai-bg-pattern-intro strong {
  font-weight: 700;
}

.aibackgroundsynthesis-page .ai-bg-blend {
  background: #f4f4f4;
  padding: clamp(64px, 7vw, 110px) 0;
  overflow: hidden;
}

.aibackgroundsynthesis-page .ai-bg-blend__inner {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}

.aibackgroundsynthesis-page .ai-bg-blend__visual {
  min-width: 0;
}

.aibackgroundsynthesis-page .ai-bg-shoes-card {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--sd-shadow);
  aspect-ratio: 4 / 3;
}

.aibackgroundsynthesis-page .ai-bg-shoes-card__main img,
.aibackgroundsynthesis-page .ai-bg-shoes-card__side img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.aibackgroundsynthesis-page .ai-bg-shoes-card__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.aibackgroundsynthesis-page .ai-bg-blend__content {
  max-width: 560px;
}

.aibackgroundsynthesis-page .ai-bg-blend__content h2 {
  margin: 0 0 clamp(24px, 3vw, 36px);
  color: #111111;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.aibackgroundsynthesis-page .ai-bg-blend__content p {
  margin: 0;
  color: #111111;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.aibackgroundsynthesis-page .ai-bg-blend__content strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  .aibackgroundsynthesis-page .ai-bg-section {
    padding: 52px 0;
  }
  .aibackgroundsynthesis-page .ai-bg-section__header {
    margin-bottom: 32px;
  }
  .aibackgroundsynthesis-page .ai-bg-section h2 {
    font-size: clamp(26px, 7vw, 34px);
  }
  .aibackgroundsynthesis-page .ai-bg-section p {
    font-size: clamp(15px, 4.2vw, 19px);
    line-height: 1.75;
  }
  .aibackgroundsynthesis-page .ai-bg-section__split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .aibackgroundsynthesis-page .ai-bg-image-grid,
  .aibackgroundsynthesis-page .ai-bg-image-grid--2 {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .aibackgroundsynthesis-page .ai-bg-image-grid--6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aibackgroundsynthesis-page .ai-bg-pattern-intro {
    padding: 48px 0 40px;
  }
  .aibackgroundsynthesis-page .ai-bg-pattern-intro .container {
    width: min(100% - 24px, 980px);
  }
  .aibackgroundsynthesis-page .ai-bg-pattern-intro p {
    font-size: clamp(16px, 4vw, 20px);
  }
  .aibackgroundsynthesis-page .ai-bg-blend {
    padding: 52px 0;
  }
  .aibackgroundsynthesis-page .ai-bg-blend__inner {
    width: min(100% - 24px, 1200px);
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .aibackgroundsynthesis-page .ai-bg-blend__content {
    max-width: 100%;
  }
  .aibackgroundsynthesis-page .ai-bg-blend__content h2 {
    font-size: clamp(28px, 7vw, 40px);
  }
  .aibackgroundsynthesis-page .ai-bg-blend__content p {
    font-size: clamp(16px, 4vw, 20px);
  }
}

@media (max-width: 430px) {
  .aibackgroundsynthesis-page .ai-bg-section {
    padding: 44px 0;
  }
  .aibackgroundsynthesis-page .ai-bg-image-grid--6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .aibackgroundsynthesis-page .ai-bg-shoes-card {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
  }
  .aibackgroundsynthesis-page .ai-bg-shoes-card__side {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
  }
  .aibackgroundsynthesis-page .ai-bg-shoes-card__main img,
  .aibackgroundsynthesis-page .ai-bg-shoes-card__side img {
    height: auto;
  }
}

/* ============================================================
   AI消去ペン — page styles
   Scoped to .aieraserpen-page.
   ============================================================ */
.aieraserpen-page .eraser-hero {
  background: #f5f5f5;
  padding: clamp(48px, 6vw, 96px) 0;
  overflow: hidden;
}

.aieraserpen-page .eraser-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.aieraserpen-page .eraser-hero__content {
  max-width: 560px;
}

.aieraserpen-page .eraser-hero__title {
  margin: 0 0 0.4em;
  color: #1f1f1f;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.2;
}

.aieraserpen-page .eraser-hero__sub {
  margin: 0 0 1em;
  color: #1f1f1f;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.3;
}

.aieraserpen-page .eraser-hero__text {
  margin: 0;
  color: #333333;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.8;
}

.aieraserpen-page .eraser-hero__visual img {
  display: block;
  width: 100%;
  max-width: 680px;
  height: auto;
  margin-left: auto;
  border-radius: 16px;
}

.aieraserpen-page .eraser-section {
  padding: clamp(64px, 7vw, 110px) 0;
  background: #ffffff;
  overflow: hidden;
}

.aieraserpen-page .eraser-section--alt {
  background: #f5f5f5;
}

.aieraserpen-page .eraser-section .container,
.aieraserpen-page .eraser-section__inner {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}

.aieraserpen-page .eraser-section__header {
  max-width: 900px;
  margin: 0 auto clamp(40px, 5vw, 72px);
  text-align: center;
}

.aieraserpen-page .eraser-section h2 {
  margin: 0 0 clamp(22px, 3vw, 36px);
  color: #111111;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.aieraserpen-page .eraser-section p {
  margin: 0;
  color: #222222;
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.85;
  letter-spacing: 0.02em;
}

.aieraserpen-page .eraser-section strong {
  font-weight: 700;
}

.aieraserpen-page .eraser-notice {
  margin-top: 1.2em;
  font-size: clamp(13px, 1.3vw, 16px) !important;
  color: #757575 !important;
}

.aieraserpen-page .eraser-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  max-width: 1100px;
  margin-inline: auto;
}

.aieraserpen-page .eraser-compare-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sd-shadow);
}

.aieraserpen-page .eraser-compare-card__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.aieraserpen-page .eraser-compare-card__images img {
  width: 100%;
  height: auto;
  display: block;
}

.aieraserpen-page .eraser-extra-section {
  background: #ffffff;
  padding: clamp(48px, 6vw, 88px) 0;
}

.aieraserpen-page .eraser-extra-section .container {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}

.aieraserpen-page .eraser-extra-section img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .aieraserpen-page .eraser-hero {
    padding: 44px 0;
  }
  .aieraserpen-page .eraser-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .aieraserpen-page .eraser-hero__visual img {
    max-width: 100%;
    margin-inline: auto;
  }
  .aieraserpen-page .eraser-section {
    padding: 52px 0;
  }
  .aieraserpen-page .eraser-section .container,
  .aieraserpen-page .eraser-section__inner,
  .aieraserpen-page .eraser-extra-section .container {
    width: min(100% - 24px, 1200px);
  }
  .aieraserpen-page .eraser-section__header {
    margin-bottom: 32px;
  }
  .aieraserpen-page .eraser-section h2 {
    font-size: clamp(26px, 7vw, 36px);
  }
  .aieraserpen-page .eraser-section p {
    font-size: clamp(15px, 4.2vw, 19px);
    line-height: 1.75;
  }
  .aieraserpen-page .eraser-compare-grid {
    grid-template-columns: 1fr;
  }
  .aieraserpen-page .eraser-extra-section {
    padding: 40px 0;
  }
}

@media (max-width: 430px) {
  .aieraserpen-page .eraser-section {
    padding: 44px 0;
  }
  .aieraserpen-page .eraser-compare-card__images {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   AI消去ペン — 左右交替内容版块
   ============================================================ */
.aieraserpen-page .eraser-feature-section {
  padding: clamp(64px, 7vw, 110px) 0;
  background: #ffffff;
  overflow: hidden;
}

.aieraserpen-page .eraser-feature-section--alt {
  background: #f5f5f5;
}

.aieraserpen-page .eraser-feature-section__inner {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.aieraserpen-page .eraser-feature-section--reverse .eraser-feature-section__visual {
  order: 1;
}

.aieraserpen-page .eraser-feature-section--reverse .eraser-feature-section__content {
  order: 2;
}

.aieraserpen-page .eraser-feature-section__content {
  min-width: 0;
}

.aieraserpen-page .eraser-feature-section__content h2 {
  margin: 0 0 clamp(20px, 3vw, 32px);
  color: #111111;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.aieraserpen-page .eraser-feature-section__content p {
  margin: 0;
  color: #222222;
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.85;
  letter-spacing: 0.02em;
}

.aieraserpen-page .eraser-feature-section__content strong {
  font-weight: 700;
}

.aieraserpen-page .eraser-feature-section__content p.eraser-notice {
  margin-top: 1.4em;
}

.aieraserpen-page .eraser-feature-section__visual {
  min-width: 0;
}

@media (max-width: 768px) {
  .aieraserpen-page .eraser-feature-section {
    padding: 52px 0;
  }
  .aieraserpen-page .eraser-feature-section__inner {
    width: min(100% - 24px, 1200px);
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .aieraserpen-page .eraser-feature-section--reverse .eraser-feature-section__visual,
  .aieraserpen-page .eraser-feature-section--reverse .eraser-feature-section__content {
    order: initial;
  }
  .aieraserpen-page .eraser-feature-section__content h2 {
    font-size: clamp(26px, 7vw, 36px);
  }
  .aieraserpen-page .eraser-feature-section__content p {
    font-size: clamp(15px, 4.2vw, 19px);
    line-height: 1.75;
  }
}

@media (max-width: 430px) {
  .aieraserpen-page .eraser-feature-section {
    padding: 44px 0;
  }
}

/* ============================================================
   AI画像拡大 — page styles
   Scoped to .aiimageenlargement-page.
   ============================================================ */
.aiimageenlargement-page .image-enlarge-hero {
  background: #f6f6f6;
  padding: clamp(64px, 7vw, 120px) 0;
  overflow: hidden;
}

.aiimageenlargement-page .image-enlarge-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}

.aiimageenlargement-page .image-enlarge-hero__content {
  max-width: 460px;
}

.aiimageenlargement-page .image-enlarge-hero__content h1 {
  margin: 0 0 clamp(28px, 3vw, 40px);
  color: #111111;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.aiimageenlargement-page .image-enlarge-hero__content p {
  margin: 0 0 clamp(28px, 3vw, 40px);
  color: #111111;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.aiimageenlargement-page .image-enlarge-hero__visual img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin-inline: auto;
}

.aiimageenlargement-page .image-enlarge-hero__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 78px;
  padding: 10px 28px 12px 88px;
  border-radius: 10px;
  background: linear-gradient(180deg, #19ea55 0%, #06c845 100%);
  color: #fff200;
  text-decoration: none;
  font-weight: 800;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aiimageenlargement-page .image-enlarge-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.18),
    0 8px 20px rgba(6, 200, 69, 0.35);
  color: #fff200;
}

.aiimageenlargement-page .image-enlarge-hero__cta-badge {
  position: absolute;
  left: 28px;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%) rotate(-15deg);
  border-radius: 999px;
  background: #fff200;
  color: #e83b2f;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
}

.aiimageenlargement-page .image-enlarge-hero__cta-main {
  display: block;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1;
}

.aiimageenlargement-page .image-enlarge-hero__cta-sub {
  position: absolute;
  bottom: 8px;
  left: 90px;
  right: 24px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.08em;
}

.aiimageenlargement-page .image-enlarge-scale-section {
  background: #ffffff;
  padding: clamp(70px, 8vw, 130px) 0;
  overflow: hidden;
}

.aiimageenlargement-page .image-enlarge-scale-section .container {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}

.aiimageenlargement-page .image-enlarge-scale-section__header {
  max-width: 760px;
  margin: 0 auto clamp(50px, 6vw, 84px);
  text-align: center;
}

.aiimageenlargement-page .image-enlarge-scale-section__header h2 {
  margin: 0 0 28px;
  color: #111111;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.aiimageenlargement-page .image-enlarge-scale-section__header p {
  margin: 0 auto;
  color: #111111;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.aiimageenlargement-page .image-enlarge-scale-composition {
  position: relative;
  width: min(100%, 820px);
  height: clamp(360px, 38vw, 520px);
  margin-inline: auto;
}

.aiimageenlargement-page .image-enlarge-scale-composition__item {
  position: absolute;
}

.aiimageenlargement-page .image-enlarge-scale-composition__item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.aiimageenlargement-page .image-enlarge-scale-composition__item--original {
  width: 270px;
  left: 80px;
  top: 0;
  z-index: 1;
}

.aiimageenlargement-page .image-enlarge-scale-composition__item--2x {
  width: 340px;
  left: 220px;
  top: 80px;
  z-index: 2;
}

.aiimageenlargement-page .image-enlarge-scale-composition__item--4x {
  width: 520px;
  right: 0;
  bottom: 0;
  z-index: 3;
}

.aiimageenlargement-page .image-enlarge-scale-composition__label {
  position: absolute;
  z-index: 4;
  left: -72px;
  top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  background: #dff1ff;
  color: #111111;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.aiimageenlargement-page .image-enlarge-scale-composition__item--2x .image-enlarge-scale-composition__label {
  left: -70px;
  top: 110px;
}

.aiimageenlargement-page .image-enlarge-scale-composition__item--4x .image-enlarge-scale-composition__label {
  left: -76px;
  top: 200px;
}

@media (max-width: 768px) {
  .aiimageenlargement-page .image-enlarge-hero {
    padding: 52px 0;
  }
  .aiimageenlargement-page .image-enlarge-hero__inner {
    width: min(100% - 24px, 1200px);
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .aiimageenlargement-page .image-enlarge-hero__content {
    max-width: 100%;
    margin-inline: auto;
  }
  .aiimageenlargement-page .image-enlarge-hero__visual img {
    max-width: 100%;
  }
  .aiimageenlargement-page .image-enlarge-hero__cta {
    max-width: 100%;
  }
  .aiimageenlargement-page .image-enlarge-scale-section {
    padding: 56px 0;
  }
  .aiimageenlargement-page .image-enlarge-scale-section .container {
    width: min(100% - 24px, 1200px);
  }
  .aiimageenlargement-page .image-enlarge-scale-composition {
    position: static;
    width: 100%;
    height: auto;
    display: grid;
    gap: 24px;
  }
  .aiimageenlargement-page .image-enlarge-scale-composition__item {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }
  .aiimageenlargement-page .image-enlarge-scale-composition__item--original,
  .aiimageenlargement-page .image-enlarge-scale-composition__item--2x,
  .aiimageenlargement-page .image-enlarge-scale-composition__item--4x {
    width: 100%;
  }
  .aiimageenlargement-page .image-enlarge-scale-composition__label,
  .aiimageenlargement-page .image-enlarge-scale-composition__item--2x .image-enlarge-scale-composition__label,
  .aiimageenlargement-page .image-enlarge-scale-composition__item--4x .image-enlarge-scale-composition__label {
    position: static;
    margin-bottom: 12px;
  }
  .aiimageenlargement-page .image-enlarge-scale-composition__item img {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .aiimageenlargement-page .image-enlarge-hero {
    padding: 44px 0;
  }
  .aiimageenlargement-page .image-enlarge-hero__cta {
    min-width: 240px;
    min-height: 68px;
    padding-left: 76px;
  }
  .aiimageenlargement-page .image-enlarge-hero__cta-badge {
    left: 22px;
    width: 46px;
    height: 46px;
    font-size: 12px;
  }
  .aiimageenlargement-page .image-enlarge-hero__cta-sub {
    left: 78px;
    font-size: 15px;
  }
}

/* ============================================================
   AI写真高画質化 — page styles
   Scoped to .aiphotohigh-qualityimage-page.
   ============================================================ */
.aiphotohigh-qualityimage-page .photo-quality-hero {
  background: #f6f6f6;
  padding: clamp(64px, 7vw, 120px) 0;
  overflow: hidden;
}

.aiphotohigh-qualityimage-page .photo-quality-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}

.aiphotohigh-qualityimage-page .photo-quality-hero__content {
  max-width: 500px;
}

.aiphotohigh-qualityimage-page .photo-quality-hero__content h1 {
  margin: 0 0 clamp(24px, 3vw, 36px);
  color: #111111;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.aiphotohigh-qualityimage-page .photo-quality-hero__content p {
  margin: 0 0 clamp(26px, 3vw, 38px);
  color: #111111;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.aiphotohigh-qualityimage-page .photo-quality-hero__visual img {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  margin-inline: auto;
  border-radius: 12px;
}

.aiphotohigh-qualityimage-page .photo-quality-section {
  padding: clamp(64px, 7vw, 110px) 0;
  background: #ffffff;
  overflow: hidden;
}

.aiphotohigh-qualityimage-page .photo-quality-section--alt {
  background: #f6f6f6;
}

.aiphotohigh-qualityimage-page .photo-quality-section__inner {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}

.aiphotohigh-qualityimage-page .photo-quality-section--reverse .photo-quality-section__visual {
  order: 1;
}

.aiphotohigh-qualityimage-page .photo-quality-section--reverse .photo-quality-section__content {
  order: 2;
}

.aiphotohigh-qualityimage-page .photo-quality-section__content {
  min-width: 0;
}

.aiphotohigh-qualityimage-page .photo-quality-section__content h2 {
  margin: 0 0 clamp(22px, 3vw, 36px);
  color: #111111;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.aiphotohigh-qualityimage-page .photo-quality-section__content p {
  margin: 0;
  color: #111111;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.85;
  letter-spacing: 0.03em;
}

.aiphotohigh-qualityimage-page .photo-quality-section__content strong {
  font-weight: 700;
}

.aiphotohigh-qualityimage-page .photo-quality-section__visual {
  min-width: 0;
}

.aiphotohigh-qualityimage-page .photo-quality-section__visual > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.aiphotohigh-qualityimage-page .photo-quality-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.aiphotohigh-qualityimage-page .photo-quality-compare img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.aiphotohigh-qualityimage-page .photo-quality-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 78px;
  padding: 10px 28px 12px 88px;
  border-radius: 10px;
  background: linear-gradient(180deg, #19ea55 0%, #06c845 100%);
  color: #fff200;
  text-decoration: none;
  font-weight: 800;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aiphotohigh-qualityimage-page .photo-quality-cta:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.18),
    0 8px 20px rgba(6, 200, 69, 0.35);
  color: #fff200;
}

.aiphotohigh-qualityimage-page .photo-quality-cta__badge {
  position: absolute;
  left: 28px;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%) rotate(-15deg);
  border-radius: 999px;
  background: #fff200;
  color: #e83b2f;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
}

.aiphotohigh-qualityimage-page .photo-quality-cta__main {
  display: block;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1;
}

.aiphotohigh-qualityimage-page .photo-quality-cta__sub {
  position: absolute;
  bottom: 8px;
  left: 90px;
  right: 24px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .aiphotohigh-qualityimage-page .photo-quality-hero {
    padding: 52px 0;
  }
  .aiphotohigh-qualityimage-page .photo-quality-hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .aiphotohigh-qualityimage-page .photo-quality-hero__content {
    max-width: 100%;
    margin-inline: auto;
  }
  .aiphotohigh-qualityimage-page .photo-quality-hero__visual img {
    max-width: 100%;
  }
  .aiphotohigh-qualityimage-page .photo-quality-section {
    padding: 52px 0;
  }
  .aiphotohigh-qualityimage-page .photo-quality-section__inner {
    width: min(100% - 24px, 1200px);
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .aiphotohigh-qualityimage-page .photo-quality-section--reverse .photo-quality-section__visual,
  .aiphotohigh-qualityimage-page .photo-quality-section--reverse .photo-quality-section__content {
    order: initial;
  }
  .aiphotohigh-qualityimage-page .photo-quality-section__content h2 {
    font-size: clamp(26px, 7vw, 36px);
  }
  .aiphotohigh-qualityimage-page .photo-quality-section__content p {
    font-size: clamp(15px, 4.2vw, 19px);
    line-height: 1.75;
  }
  .aiphotohigh-qualityimage-page .photo-quality-cta {
    max-width: 100%;
  }
}

@media (max-width: 430px) {
  .aiphotohigh-qualityimage-page .photo-quality-hero {
    padding: 44px 0;
  }
  .aiphotohigh-qualityimage-page .photo-quality-section {
    padding: 44px 0;
  }
  .aiphotohigh-qualityimage-page .photo-quality-cta {
    min-width: 240px;
    min-height: 68px;
    padding-left: 76px;
  }
  .aiphotohigh-qualityimage-page .photo-quality-cta__badge {
    left: 22px;
    width: 46px;
    height: 46px;
    font-size: 12px;
  }
  .aiphotohigh-qualityimage-page .photo-quality-cta__sub {
    left: 78px;
    font-size: 15px;
  }
}

/* AI写真高画質化 — すべての画像タイプ 版块（叠放对比组合） */
.aiphotohigh-qualityimage-page .photo-quality-alltypes-section {
  background: #ffffff;
}

.aiphotohigh-qualityimage-page .photo-quality-alltypes-composition {
  position: relative;
  width: min(100%, 560px);
  min-height: 420px;
  margin-inline: auto;
}

.aiphotohigh-qualityimage-page .photo-quality-alltypes-composition__image {
  display: block;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.aiphotohigh-qualityimage-page .photo-quality-alltypes-composition__image--before {
  position: absolute;
  left: 0;
  top: 0;
  width: 330px;
  z-index: 1;
}

.aiphotohigh-qualityimage-page .photo-quality-alltypes-composition__image--after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 390px;
  z-index: 2;
}

.aiphotohigh-qualityimage-page .photo-quality-alltypes-composition__arrow {
  position: absolute;
  left: 44%;
  top: 26%;
  z-index: 3;
  color: #25359a;
  font-size: clamp(44px, 4vw, 72px);
  line-height: 1;
  transform: rotate(35deg);
  font-weight: 800;
}

@media (max-width: 768px) {
  .aiphotohigh-qualityimage-page .photo-quality-alltypes-composition {
    width: 100%;
    min-height: auto;
    display: grid;
    gap: 20px;
  }

  .aiphotohigh-qualityimage-page .photo-quality-alltypes-composition__image--before,
  .aiphotohigh-qualityimage-page .photo-quality-alltypes-composition__image--after {
    position: static;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }

  .aiphotohigh-qualityimage-page .photo-quality-alltypes-composition__arrow {
    position: static;
    transform: rotate(90deg);
    text-align: center;
    font-size: 44px;
  }
}

/* ============================================================
   豊富なテンプレート — page styles
   Scoped to .plentyoftemplates-page.
   ============================================================ */
.plentyoftemplates-page .templates-hero {
  background: #ffffff;
  padding: clamp(32px, 4vw, 56px) 0 clamp(28px, 3vw, 48px);
  text-align: center;
  overflow: hidden;
}

.plentyoftemplates-page .templates-hero .container {
  width: min(100% - 32px, 1100px);
  margin-inline: auto;
}

.plentyoftemplates-page .templates-hero h1 {
  margin: 0 0 clamp(20px, 3vw, 32px);
  color: #111111;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.plentyoftemplates-page .templates-hero p {
  max-width: 920px;
  margin: 0 auto;
  color: #111111;
  font-size: clamp(17px, 1.7vw, 24px);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.plentyoftemplates-page .template-carousel-section {
  background: #ffffff;
  padding: clamp(32px, 4vw, 56px) 0;
  overflow: hidden;
}

.plentyoftemplates-page .template-carousel-section:nth-of-type(even) {
  background: #f7f7f7;
}

.plentyoftemplates-page .template-carousel-section .container {
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
}

.plentyoftemplates-page .template-carousel-section h2 {
  margin: 0 0 clamp(16px, 2vw, 28px);
  color: #111111;
  text-align: center;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.plentyoftemplates-page .template-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.plentyoftemplates-page .template-carousel__viewport {
  width: 100%;
  overflow: hidden;
}

.plentyoftemplates-page .template-carousel__track {
  display: flex;
  align-items: center;
  gap: 24px;
  transition: transform 0.55s ease;
  will-change: transform;
}

.plentyoftemplates-page .template-carousel__item {
  flex: 0 0 auto;
  min-width: 0;
}

.plentyoftemplates-page .template-carousel__item img {
  display: block;
  height: 420px;
  width: auto;
  border-radius: 12px;
}

.plentyoftemplates-page .template-carousel__arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  color: #111111;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

.plentyoftemplates-page .template-carousel__arrow:hover {
  background: rgba(0, 0, 0, 0.16);
}

@media (max-width: 1024px) {
  .plentyoftemplates-page .template-carousel__item img {
    height: 360px;
  }
}

@media (max-width: 768px) {
  .plentyoftemplates-page .templates-hero {
    padding: 36px 0;
  }

  .plentyoftemplates-page .templates-hero .container,
  .plentyoftemplates-page .template-carousel-section .container {
    width: min(100% - 24px, 1280px);
  }

  .plentyoftemplates-page .template-carousel {
    gap: 10px;
  }

  .plentyoftemplates-page .template-carousel__track {
    gap: 16px;
  }

  .plentyoftemplates-page .template-carousel__item img {
    height: 300px;
  }

  .plentyoftemplates-page .template-carousel__arrow {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }
}

@media (max-width: 560px) {
  .plentyoftemplates-page .template-carousel {
    display: block;
  }

  .plentyoftemplates-page .template-carousel__track {
    gap: 12px;
  }

  .plentyoftemplates-page .template-carousel__item img {
    height: 240px;
  }

  .plentyoftemplates-page .template-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .plentyoftemplates-page .template-carousel__arrow--prev {
    left: 8px;
  }

  .plentyoftemplates-page .template-carousel__arrow--next {
    right: 8px;
  }

  .plentyoftemplates-page .template-carousel__viewport {
    padding-inline: 48px;
  }
}

/* ============================================================
   SIZE — page styles
   Scoped to .size-page.
   ============================================================ */
.size-page .size-hero {
  background: #f5f5f5;
  padding: clamp(56px, 7vw, 110px) 0;
  overflow: hidden;
}

.size-page .size-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.size-page .size-hero__content {
  max-width: 560px;
}

.size-page .size-hero__content h1 {
  margin: 0 0 clamp(24px, 3vw, 36px);
  color: #111111;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.size-page .size-hero__visual img {
  display: block;
  width: 100%;
  max-width: 680px;
  height: auto;
  margin-inline: auto;
  border-radius: 12px;
}

.size-page .size-section {
  padding: clamp(64px, 7vw, 110px) 0;
  background: #ffffff;
  overflow: hidden;
}

.size-page .size-section--alt {
  background: #f7f7f7;
}

.size-page .size-section .container,
.size-page .size-section__inner {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}

.size-page .size-section__header {
  max-width: 980px;
  margin: 0 auto clamp(40px, 5vw, 72px);
  text-align: center;
}

.size-page .size-section h2 {
  margin: 0 0 clamp(20px, 3vw, 32px);
  color: #111111;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.size-page .size-section p {
  margin: 0;
  color: #222222;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.size-page .size-section__subtitle {
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 24px) !important;
  margin-bottom: 14px !important;
}

.size-page .size-section img {
  max-width: 100%;
  height: auto;
  display: block;
}

.size-page .size-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.size-page .size-split--feature {
  margin-bottom: clamp(40px, 5vw, 72px);
  scroll-margin-top: 90px;
}

.size-page .size-split--reverse .size-section__visual {
  order: 2;
}

.size-page .size-split--reverse .size-section__content {
  order: 1;
}

.size-page .size-section__visual img {
  border-radius: 12px;
}

.size-page .size-image-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
  max-width: 1000px;
  margin-inline: auto;
}

.size-page .size-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
  justify-content: center;
}

.size-page .size-image-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.size-page .size-image-grid img,
.size-page .size-image-row img {
  width: 100%;
  border-radius: 12px;
}

.size-page .size-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.size-page .size-feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.size-page .size-feature-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 18px;
}

.size-page .size-feature-card h3 {
  margin: 0 0 12px;
  color: #111111;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.35;
  font-weight: 700;
}

.size-page .size-feature-card p {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #555555;
}

.size-page .size-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.size-page .size-gallery-grid img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #eeeeee;
}

.size-page .size-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  max-width: 900px;
  margin-inline: auto;
}

.size-page .size-step-card {
  background: #ffffff;
  border-radius: 16px;
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.size-page .size-step-card h3 {
  margin: 0 0 12px;
  color: #111111;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
}

.size-page .size-step-card p {
  color: #555555;
  font-size: clamp(15px, 1.4vw, 18px);
}

@media (max-width: 768px) {
  .size-page .size-hero {
    padding: 48px 0;
  }
  .size-page .size-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .size-page .size-hero__content {
    max-width: 100%;
    margin-inline: auto;
  }
  .size-page .size-hero__visual img {
    max-width: 100%;
  }
  .size-page .size-section {
    padding: 52px 0;
  }
  .size-page .size-section .container,
  .size-page .size-section__inner {
    width: min(100% - 24px, 1200px);
  }
  .size-page .size-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .size-page .size-split--reverse .size-section__visual,
  .size-page .size-split--reverse .size-section__content {
    order: initial;
  }
  .size-page .size-section__header {
    margin-bottom: 32px;
  }
  .size-page .size-section h2 {
    font-size: clamp(26px, 7vw, 36px);
  }
  .size-page .size-section p {
    font-size: clamp(15px, 4.2vw, 19px);
    line-height: 1.75;
  }
  .size-page .size-feature-grid,
  .size-page .size-image-row,
  .size-page .size-image-grid--4,
  .size-page .size-step-grid {
    grid-template-columns: 1fr;
  }
  .size-page .size-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .size-page .size-section {
    padding: 44px 0;
  }
  .size-page .size-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* ============================================================
   画像編集 — page styles
   Scoped to .imageediting-page.
   ============================================================ */
.imageediting-page .imageediting-hero {
  position: relative;
  min-height: clamp(360px, 38vw, 520px);
  padding: clamp(40px, 4.5vw, 68px) 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eef3fb 0%, #e6e9fb 45%, #eae4f8 100%);
}

.imageediting-page .imageediting-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.28);
}

.imageediting-page .imageediting-hero__card {
  position: relative;
  z-index: 2;
  width: min(100%, 840px);
  padding: clamp(34px, 4vw, 56px) clamp(28px, 5vw, 72px);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.imageediting-page .imageediting-hero__card h1 {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  color: #111111;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.imageediting-page .imageediting-hero__card p {
  margin: 0 auto clamp(22px, 3vw, 34px);
  color: #111111;
  font-size: clamp(16px, 1.55vw, 22px);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.imageediting-page .imageediting-hero__card strong {
  color: #b733ff;
  font-size: 1.1em;
  font-weight: 700;
}

.imageediting-page .imageediting-hero__note {
  font-size: clamp(12px, 1.1vw, 14px);
  color: #555555;
}

.imageediting-page .imageediting-section {
  padding: clamp(40px, 4.5vw, 68px) 0;
  background: #ffffff;
  overflow: hidden;
}

.imageediting-page .imageediting-section:nth-of-type(even) {
  background: #f7f7f7;
}

.imageediting-page .imageediting-section .container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.imageediting-page .imageediting-section h2 {
  margin: 0 0 clamp(22px, 2.8vw, 38px);
  color: #111111;
  text-align: center;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.imageediting-page .imageediting-section h2 span,
.imageediting-page .imageediting-product__step span,
.imageediting-page .imageediting-coupon__step span,
.imageediting-page .imageediting-upload p span {
  color: #1f65ff;
  font-weight: 700;
}

.imageediting-page .imageediting-section img {
  display: block;
  max-width: 100%;
  height: auto;
}

.imageediting-page .imageediting-product__row,
.imageediting-page .imageediting-coupon__top,
.imageediting-page .imageediting-upload__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
  margin-bottom: clamp(14px, 2vw, 24px);
}

.imageediting-page .imageediting-product__row > img:not(.imageediting-product__arrow) {
  width: min(100%, 400px);
}

.imageediting-page .imageediting-product__arrow,
.imageediting-page .imageediting-upload__arrow {
  width: clamp(30px, 3vw, 52px);
  flex: 0 0 auto;
}

.imageediting-page .imageediting-product__step,
.imageediting-page .imageediting-coupon__step,
.imageediting-page .imageediting-upload p {
  text-align: center;
  margin: 0 0 clamp(16px, 2.5vw, 30px);
  color: #111111;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.imageediting-page .imageediting-product__final,
.imageediting-page .imageediting-coupon__final {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(14px, 2vw, 24px);
}

.imageediting-page .imageediting-product__final img {
  width: min(100%, 520px);
}

.imageediting-page .imageediting-coupon__top img {
  width: min(100%, 400px);
}

.imageediting-page .imageediting-coupon__final img {
  width: min(100%, 440px);
}

.imageediting-page .imageediting-upload__row img:not(.imageediting-upload__arrow) {
  max-height: 240px;
  width: auto;
  object-fit: contain;
}

.imageediting-page .imageediting-upload__flow {
  text-align: center;
}

.imageediting-page .imageediting-cta,
.imageediting-page .imageediting-hero__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 78px;
  padding: 10px 28px 12px 88px;
  border-radius: 10px;
  background: linear-gradient(180deg, #19ea55 0%, #06c845 100%);
  color: #fff200;
  text-decoration: none;
  font-weight: 800;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.imageediting-page .imageediting-cta:hover,
.imageediting-page .imageediting-hero__cta:hover {
  transform: translateY(-2px);
  color: #fff200;
}

.imageediting-page .imageediting-cta__badge,
.imageediting-page .imageediting-hero__cta-badge {
  position: absolute;
  left: 28px;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%) rotate(-15deg);
  border-radius: 999px;
  background: #fff200;
  color: #e83b2f;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
}

.imageediting-page .imageediting-cta__main,
.imageediting-page .imageediting-hero__cta-main {
  display: block;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1;
}

.imageediting-page .imageediting-cta__sub,
.imageediting-page .imageediting-hero__cta-sub {
  position: absolute;
  bottom: 8px;
  left: 90px;
  right: 24px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .imageediting-page .imageediting-hero {
    min-height: 380px;
    padding: 40px 18px;
  }
  .imageediting-page .imageediting-hero__card {
    padding: 34px 22px;
  }
  .imageediting-page .imageediting-section {
    padding: 40px 0;
  }
  .imageediting-page .imageediting-section .container {
    width: min(100% - 24px, 1180px);
  }
  .imageediting-page .imageediting-section h2 {
    font-size: clamp(28px, 7vw, 40px);
    margin-bottom: 22px;
  }
  .imageediting-page .imageediting-product__row,
  .imageediting-page .imageediting-coupon__top,
  .imageediting-page .imageediting-upload__row {
    flex-direction: column;
    gap: 22px;
  }
  .imageediting-page .imageediting-product__arrow,
  .imageediting-page .imageediting-upload__arrow {
    transform: rotate(90deg);
  }
  .imageediting-page .imageediting-upload__row img:not(.imageediting-upload__arrow) {
    max-height: none;
    width: min(100%, 420px);
  }
  .imageediting-page .imageediting-product__step,
  .imageediting-page .imageediting-coupon__step,
  .imageediting-page .imageediting-upload p {
    font-size: clamp(16px, 4.2vw, 20px);
  }
}

@media (max-width: 430px) {
  .imageediting-page .imageediting-hero {
    min-height: 360px;
    padding: 34px 14px;
  }
  .imageediting-page .imageediting-cta,
  .imageediting-page .imageediting-hero__cta {
    min-width: 240px;
    min-height: 68px;
    padding-left: 76px;
  }
  .imageediting-page .imageediting-cta__badge,
  .imageediting-page .imageediting-hero__cta-badge {
    left: 22px;
    width: 46px;
    height: 46px;
    font-size: 12px;
  }
  .imageediting-page .imageediting-cta__sub,
  .imageediting-page .imageediting-hero__cta-sub {
    left: 78px;
    font-size: 15px;
  }
}

/* ============================================================
   イメージ管理 — page styles
   Scoped to .imagemanagement-page.
   ============================================================ */
.imagemanagement-page .imagemanagement-hero {
  position: relative;
  min-height: clamp(360px, 38vw, 520px);
  padding: clamp(64px, 7vw, 110px) 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eef3fb 0%, #e6e9fb 45%, #eae4f8 100%);
}

.imagemanagement-page .imagemanagement-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.28);
}

.imagemanagement-page .imagemanagement-hero__card {
  position: relative;
  z-index: 2;
  width: min(100%, 840px);
  padding: clamp(34px, 4vw, 56px) clamp(28px, 5vw, 72px);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.imagemanagement-page .imagemanagement-hero__card h1 {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  color: #111111;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.imagemanagement-page .imagemanagement-hero__card p {
  margin: 0 auto clamp(24px, 3vw, 36px);
  color: #111111;
  font-size: clamp(16px, 1.55vw, 22px);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.imagemanagement-page .imagemanagement-hero__card p span {
  color: #b733ff;
  font-weight: 700;
  font-size: 1.1em;
}

.imagemanagement-page .imagemanagement-section {
  padding: clamp(64px, 7vw, 110px) 0;
  background: #ffffff;
  overflow: hidden;
}

.imagemanagement-page .imagemanagement-section:nth-of-type(even) {
  background: #f7f7f7;
}

.imagemanagement-page .imagemanagement-section__inner {
  width: min(100% - 32px, 1160px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}

.imagemanagement-page .imagemanagement-section__inner--reverse .imagemanagement-section__visual {
  order: 1;
}

.imagemanagement-page .imagemanagement-section__inner--reverse .imagemanagement-section__content {
  order: 2;
}

.imagemanagement-page .imagemanagement-section__content h2 {
  margin: 0 0 clamp(24px, 3vw, 40px);
  color: #111111;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.imagemanagement-page .imagemanagement-section__content h2 span {
  color: #ff5a00;
}

.imagemanagement-page .imagemanagement-section__content p {
  margin: 0 0 clamp(28px, 3vw, 42px);
  color: #111111;
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.imagemanagement-page .imagemanagement-section__visual img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  border-radius: 12px;
}

.imagemanagement-page .imagemanagement-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 52px;
  padding: 10px 24px;
  border: 2px solid #ff5a00;
  border-radius: 8px;
  color: #ff5a00;
  background: transparent;
  text-decoration: none;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, color 0.2s ease;
}

.imagemanagement-page .imagemanagement-outline-btn:hover {
  background: #ff5a00;
  color: #ffffff;
}

.imagemanagement-page .imagemanagement-hero__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 78px;
  padding: 10px 28px 12px 88px;
  border-radius: 10px;
  background: linear-gradient(180deg, #19ea55 0%, #06c845 100%);
  color: #fff200;
  text-decoration: none;
  font-weight: 800;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.imagemanagement-page .imagemanagement-hero__cta:hover {
  transform: translateY(-2px);
  color: #fff200;
}

.imagemanagement-page .imagemanagement-hero__cta-badge {
  position: absolute;
  left: 28px;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%) rotate(-15deg);
  border-radius: 999px;
  background: #fff200;
  color: #e83b2f;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
}

.imagemanagement-page .imagemanagement-hero__cta-main {
  display: block;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1;
}

.imagemanagement-page .imagemanagement-hero__cta-sub {
  position: absolute;
  bottom: 8px;
  left: 90px;
  right: 24px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.08em;
}

.imagemanagement-page .imagemanagement-format__visual {
  position: relative;
  min-height: clamp(450px, 41vw, 620px);
}

.imagemanagement-page .imagemanagement-format__bag-main {
  width: min(76%, 450px);
  transform: rotate(-12deg);
  border-radius: 14px;
}

.imagemanagement-page .imagemanagement-format__bag-after {
  width: min(82%, 500px);
  margin-left: auto;
  margin-top: -46px;
  border-radius: 14px;
}

.imagemanagement-page .imagemanagement-format__arrow {
  position: absolute;
  z-index: 1;
  width: clamp(140px, 15vw, 215px);
  height: auto;
  max-width: none;
  margin: 0;
  border-radius: 0;
  pointer-events: none;
}

.imagemanagement-page .imagemanagement-format__arrow--top {
  right: 8%;
  top: 24%;
}

.imagemanagement-page .imagemanagement-format__arrow--bottom {
  left: 10%;
  bottom: 22%;
  transform: rotate(180deg) scaleX(-1);
}

.imagemanagement-page .imagemanagement-format__label {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(70px, 7vw, 100px);
  height: clamp(70px, 7vw, 100px);
  border-radius: 50% 50% 50% 0;
  background: #d58d77;
  color: #ffffff;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  z-index: 2;
}

.imagemanagement-page .imagemanagement-format__label--png {
  right: 18%;
  top: 0;
}

.imagemanagement-page .imagemanagement-format__label--webp {
  right: 6%;
  top: 22%;
}

.imagemanagement-page .imagemanagement-format__label--jpeg {
  right: 0;
  top: 48%;
}

.imagemanagement-page .imagemanagement-format__label--jpg {
  left: 24%;
  bottom: 26%;
  background: #38c7d5;
}

@media (max-width: 768px) {
  .imagemanagement-page .imagemanagement-hero {
    min-height: 420px;
    padding: 56px 18px;
  }
  .imagemanagement-page .imagemanagement-hero__card {
    padding: 34px 22px;
  }
  .imagemanagement-page .imagemanagement-section {
    padding: 52px 0;
  }
  .imagemanagement-page .imagemanagement-section__inner {
    width: min(100% - 24px, 1160px);
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .imagemanagement-page .imagemanagement-section__inner--reverse .imagemanagement-section__visual,
  .imagemanagement-page .imagemanagement-section__inner--reverse .imagemanagement-section__content {
    order: initial;
  }
  .imagemanagement-page .imagemanagement-section__content {
    text-align: center;
  }
  .imagemanagement-page .imagemanagement-section__content h2 {
    font-size: clamp(28px, 7vw, 40px);
  }
  .imagemanagement-page .imagemanagement-section__content p {
    font-size: clamp(16px, 4.2vw, 20px);
  }
  .imagemanagement-page .imagemanagement-format__visual {
    min-height: auto;
  }
  .imagemanagement-page .imagemanagement-format__bag-main,
  .imagemanagement-page .imagemanagement-format__bag-after {
    width: min(100%, 460px);
    transform: none;
    margin: 0 auto 20px;
  }
  .imagemanagement-page .imagemanagement-format__arrow {
    display: none;
  }
  .imagemanagement-page .imagemanagement-format__label {
    position: static;
    display: inline-grid;
    margin: 8px;
  }
}

@media (max-width: 430px) {
  .imagemanagement-page .imagemanagement-hero {
    min-height: 390px;
    padding: 44px 14px;
  }
  .imagemanagement-page .imagemanagement-hero__cta {
    min-width: 240px;
    min-height: 68px;
    padding-left: 76px;
  }
  .imagemanagement-page .imagemanagement-hero__cta-badge {
    left: 22px;
    width: 46px;
    height: 46px;
    font-size: 12px;
  }
  .imagemanagement-page .imagemanagement-hero__cta-sub {
    left: 78px;
    font-size: 15px;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .desktop-nav {
    gap: 0;
  }
  .nav-link {
    padding: 0.55em 0.6em;
    font-size: 0.88rem;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr) minmax(0, 360px);
    gap: 20px;
  }
  .hero__phone img {
    max-width: 200px;
    margin-left: 0;
  }
  .hero__visual-item--main {
    width: 82%;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-button {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 24px, 1200px);
  }
  .hero__grid,
  .image-text-section {
    grid-template-columns: 1fr;
  }
  .hero__phone {
    order: 2;
    text-align: center;
  }
  .hero__content {
    order: 1;
  }
  .hero__visual {
    order: 3;
    align-items: center;
  }
  .hero__phone img {
    max-width: 180px;
    margin: 0 auto;
  }
  .hero__visual-item--main {
    width: 70%;
  }
  .hero__visual-item--wide {
    width: 92%;
  }
  .hero-slider__arrow {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
  .hero-slider__arrow--prev {
    left: 10px;
  }
  .hero-slider__arrow--next {
    right: 10px;
  }
  .hero-slider__dots {
    bottom: 14px;
  }
  .image-text-section--reverse .image-text-section__media {
    order: 0;
  }
  .image-text-section__media {
    text-align: center;
  }
  .home-tabs__split {
    grid-template-columns: 1fr;
  }
  .home-tabs__info {
    align-items: center;
    text-align: center;
  }
  .home-tabs__thumb {
    margin: 0 auto;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .info-table th {
    width: 130px;
  }
  .info-table th,
  .info-table td {
    padding: 12px 14px;
  }
  .platform-grid img {
    height: 42px;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

/* ============================================================
   aidesign-page — AIデザイン page styles
   ============================================================ */

/* ---------- Hero ---------- */
.aidesign-page .aidesign-hero {
  padding: clamp(48px, 5vw, 82px) 0;
  background: #ffffff;
  overflow: hidden;
}

.aidesign-page .aidesign-hero__inner {
  width: min(100% - 32px, 1340px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, auto);
  justify-content: center;
  align-items: center;
  gap: clamp(6px, 0.9vw, 14px);
}

.aidesign-page .aidesign-hero__left {
  min-width: 0;
}

.aidesign-page .aidesign-hero__gray-image {
  position: relative;
  width: 700px;
  max-width: 100%;
}

.aidesign-page .aidesign-hero__gray-image > img {
  display: block;
  width: 100%;
  height: auto;
}

.aidesign-page .aidesign-hero__content {
  position: absolute;
  top: 21%;
  left: 15%;
  z-index: 2;
  width: 70%;
  max-width: 500px;
  text-align: left;
  pointer-events: none;
}

.aidesign-page .aidesign-hero__content h1 {
  margin: 0 0 clamp(16px, 1.8vw, 26px);
  color: #111111;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.34;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.aidesign-page .aidesign-hero__content p {
  margin: 0;
  max-width: 460px;
  color: #111111;
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.aidesign-page .aidesign-hero__right {
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: clamp(-14px, -1.2vw, -4px);
}

.aidesign-page .aidesign-hero__right img {
  display: block;
  width: 590px;
  max-width: 100%;
  height: auto;
}

/* ---------- Card Section ---------- */
.aidesign-page .aidesign-card-section {
  padding: clamp(56px, 6vw, 96px) 0;
  background: #f5f5f5;
}

.aidesign-page .aidesign-card-section .container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.aidesign-page .aidesign-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 36px);
}

.aidesign-page .aidesign-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.aidesign-page .aidesign-card > img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
}

.aidesign-page .aidesign-card__body {
  padding: clamp(22px, 2.5vw, 32px);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.aidesign-page .aidesign-card h3 {
  margin: 0 0 14px;
  color: #000000;
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.12em;
}

.aidesign-page .aidesign-card p {
  margin: 0 0 24px;
  color: #8f8f8f;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.aidesign-page .aidesign-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 42px;
  padding: 9px 28px;
  margin-top: auto;
  border: 1px solid #171557;
  border-radius: 200px;
  color: #f5f5f5;
  background: #171557;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.1em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.aidesign-page .aidesign-card-btn:hover {
  background: #f5f5f5;
  color: #171557;
  border-color: #171557;
}

/* ---------- Details Heading ---------- */
.aidesign-page .aidesign-details-heading {
  padding: clamp(56px, 6vw, 88px) 0 clamp(24px, 3vw, 40px);
  background: #ffffff;
  text-align: center;
}

.aidesign-page .aidesign-details-heading h2 {
  margin: 0;
  color: #000e3b;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- Detail Sections ---------- */
.aidesign-page .aidesign-detail-section {
  padding: clamp(56px, 6vw, 96px) 0;
  background: #ffffff;
  overflow: hidden;
}

.aidesign-page .aidesign-detail-section:nth-of-type(even) {
  background: #f5f5f5;
}

.aidesign-page .aidesign-detail-section__inner {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(42px, 6vw, 88px);
}

.aidesign-page .aidesign-detail-section--reverse .aidesign-detail-section__visual {
  order: 1;
}

.aidesign-page .aidesign-detail-section--reverse .aidesign-detail-section__content {
  order: 2;
}

.aidesign-page .aidesign-detail-section__content h3 {
  margin: 0 0 clamp(22px, 3vw, 34px);
  color: #1f1f1f;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.aidesign-page .aidesign-detail-section__content p {
  margin: 0 0 clamp(26px, 3vw, 40px);
  color: #1f1f1f;
  font-size: clamp(16px, 1.5vw, 24px);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* 标题内橙色高亮 + 黑白磁贴（参考网站风格） */
.aidesign-page .aidesign-detail-section__content h3 .aidesign-hl {
  color: #ff6b07;
}

.aidesign-page .aidesign-detail-section__content h3 .aidesign-bg-light {
  background: #ffffff;
  border: 2px solid #1e1e1e;
  padding: 0.04em 0.28em;
  border-radius: 4px;
}

.aidesign-page .aidesign-detail-section__content h3 .aidesign-tile-dark {
  display: inline-block;
  padding: 0.04em 0.32em;
  background: #1e1e1e;
  color: #ffffff;
  border-radius: 4px;
  margin: 0 0.12em;
  line-height: 1.3;
  vertical-align: 0.06em;
}

.aidesign-page .aidesign-detail-section__content h3 .aidesign-tile-light {
  display: inline-block;
  padding: 0.04em 0.32em;
  background: #ffffff;
  border: 2px solid #1e1e1e;
  color: #1e1e1e;
  border-radius: 4px;
  margin: 0 0.12em 0 0;
  line-height: 1.3;
  vertical-align: 0.06em;
}

.aidesign-page .aidesign-detail-section__visual {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2vw, 28px);
  justify-content: center;
  align-items: center;
}

.aidesign-page .aidesign-detail-section__visual img {
  display: block;
  max-width: 100%;
  height: auto;
}

.aidesign-page .aidesign-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 50px;
  padding: 12px 28px;
  border: 2px solid #ff6e0e;
  border-radius: 8px;
  color: #ff6b07;
  background: transparent;
  text-decoration: none;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: background 0.2s ease, color 0.2s ease;
}

.aidesign-page .aidesign-outline-btn:hover {
  background: #ff6e0e;
  color: #ffffff;
}

/* ---------- CTA Section ---------- */
.aidesign-page .aidesign-cta-section {
  padding: clamp(40px, 5vw, 72px) 0;
  background: #ffffff;
}

/* ---------- Responsive: Tablet (≤1024px) ---------- */
@media (max-width: 1024px) {
  .aidesign-page .aidesign-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Responsive: Mobile (≤768px) ---------- */
@media (max-width: 768px) {
  .aidesign-page .aidesign-hero {
    padding: 42px 0;
  }

  .aidesign-page .aidesign-hero__inner,
  .aidesign-page .aidesign-detail-section__inner {
    width: min(100% - 24px, 1180px);
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .aidesign-page .aidesign-hero__inner {
    gap: 28px;
  }

  .aidesign-page .aidesign-detail-section--reverse .aidesign-detail-section__visual,
  .aidesign-page .aidesign-detail-section--reverse .aidesign-detail-section__content {
    order: unset;
  }

  /* Mobile: unify every image+text block to image-on-top / text-on-bottom */
  .aidesign-page .aidesign-detail-section__visual,
  .aidesign-page .aidesign-card > img {
    order: 1;
  }

  .aidesign-page .aidesign-detail-section__content,
  .aidesign-page .aidesign-card__body {
    order: 2;
  }

  /* Mobile hero: show the left grey image (with text) first, then the right product image */
  .aidesign-page .aidesign-hero__left {
    order: 1;
  }

  .aidesign-page .aidesign-hero__right {
    order: 2;
  }

  .aidesign-page .aidesign-hero__content,
  .aidesign-page .aidesign-detail-section__content {
    text-align: center;
  }

  .aidesign-page .aidesign-hero__content {
    top: 18%;
    left: 11%;
    width: 64%;
    text-align: left;
  }

  .aidesign-page .aidesign-hero__content h1 {
    font-size: clamp(24px, 6vw, 34px);
  }

  .aidesign-page .aidesign-hero__content p {
    font-size: clamp(13px, 3.5vw, 16px);
    line-height: 1.72;
  }

  .aidesign-page .aidesign-hero__gray-image {
    width: min(100%, 460px);
  }

  .aidesign-page .aidesign-hero__gray-image > img,
  .aidesign-page .aidesign-hero__right img {
    width: min(100%, 460px);
  }

  .aidesign-page .aidesign-hero__right {
    margin-left: 0;
  }

  .aidesign-page .aidesign-card-section .container {
    width: min(100% - 24px, 1180px);
  }

  .aidesign-page .aidesign-card-grid {
    grid-template-columns: 1fr;
  }

  .aidesign-page .aidesign-card > img {
    height: auto;
  }

  .aidesign-page .aidesign-detail-section {
    padding: 46px 0;
  }

  .aidesign-page .aidesign-detail-section__visual {
    flex-direction: column;
  }
}

/* ---------- Responsive: Small Mobile (≤430px) ---------- */
@media (max-width: 430px) {
  .aidesign-page .aidesign-hero {
    padding: 42px 0;
  }

  .aidesign-page .aidesign-hero__content {
    top: 17%;
    left: 10%;
    width: 66%;
    text-align: left;
  }

  .aidesign-page .aidesign-hero__gray-image {
    width: min(100%, 440px);
  }

  .aidesign-page .aidesign-hero__content h1 {
    font-size: 24px;
  }

  .aidesign-page .aidesign-hero__content p {
    font-size: 13px;
  }

  .aidesign-page .aidesign-card-section {
    padding: 42px 0;
  }

  .aidesign-page .aidesign-detail-section {
    padding: 38px 0;
  }

  .aidesign-page .aidesign-cta-section {
    padding: 32px 0;
  }

  .aidesign-page .aidesign-outline-btn {
    min-width: 140px;
    min-height: 44px;
    padding: 10px 22px;
    font-size: 15px;
  }

  .aidesign-page .aidesign-card-btn {
    min-width: 120px;
    min-height: 40px;
    padding: 8px 18px;
    font-size: 14px;
  }
}

/* ============================================================
   page-page — PAGE 機能 page styles
   ============================================================ */

/* ---------- Hero (w1) ---------- */
.page-page .page-hero {
  background: #f3f3f3;
  overflow: hidden;
}

.page-page .page-hero__inner {
  position: relative;
  width: 100%;
}

.page-page .page-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.page-page .page-hero__content {
  position: absolute;
  top: 19%;
  left: clamp(28px, 7vw, 160px);
  z-index: 2;
  width: min(92%, 700px);
  color: #ffffff;
}

.page-page .page-hero__eyebrow {
  margin: 0 0 clamp(12px, 1.4vw, 24px);
  font-size: clamp(18px, 1.7vw, 28px);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.page-page .page-hero__title {
  margin: 0;
  font-size: clamp(28px, 3.7vw, 62px);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---------- Feature sections (w2 / w3 / w4) ---------- */
.page-page .page-feature {
  padding: clamp(60px, 7vw, 110px) 0;
}

.page-page .page-feature--1,
.page-page .page-feature--3 {
  background: #dcefe7;
}

.page-page .page-feature--2 {
  background: #f5f5f5;
}

.page-page .page-feature__inner {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 84px);
}

.page-page .page-feature--2 .page-feature__inner {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.page-page .page-feature__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px 18px;
  margin: 0 0 clamp(22px, 2vw, 34px);
}

.page-page .page-feature__icon {
  display: block;
  width: clamp(24px, 2.4vw, 34px);
  height: auto;
}

.page-page .page-feature__label span {
  color: #00b58a;
  font-size: clamp(18px, 1.8vw, 28px);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.page-page .page-feature__content h2 {
  margin: 0;
  color: #191919;
  font-size: clamp(30px, 3.1vw, 50px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-page .page-feature__visual {
  min-width: 0;
}

.page-page .page-feature__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 620px;
  margin-inline: auto;
}

/* ---------- Contact (w5) ---------- */
.page-page .page-contact {
  background: #f5f5f5;
  padding: clamp(60px, 7vw, 100px) 0;
}

.page-page .page-contact__grid {
  width: min(100% - 40px, 920px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.page-page .page-contact__card {
  background: #ffffff;
  border-radius: 18px;
  padding: clamp(30px, 3.4vw, 44px);
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.page-page .page-contact__icon {
  display: block;
  width: clamp(56px, 6vw, 72px);
  height: auto;
  margin: 0 auto 18px;
}

.page-page .page-contact__card h3 {
  margin: 0 0 14px;
  color: #1f1f1f;
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-page .page-contact__card p {
  margin: 0 0 24px;
  color: #555555;
  font-size: clamp(14px, 1.35vw, 16px);
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.page-page .page-contact__btn {
  display: inline-block;
  min-width: 180px;
  padding: 12px 28px;
  background: #b5825f;
  color: #ffffff;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: background 0.2s ease;
}

.page-page .page-contact__btn:hover {
  background: #a06f4c;
}

/* ---------- Responsive (mobile) ---------- */
@media (max-width: 768px) {
  .page-page .page-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px 20px 0;
  }
  .page-page .page-hero__content {
    position: static;
    width: 100%;
    color: #111111;
    margin: 0;
  }
  .page-page .page-hero__eyebrow {
    color: #111111;
  }
  .page-page .page-hero__title {
    color: #111111;
    font-size: clamp(28px, 7vw, 40px);
  }
  .page-page .page-hero__visual {
    width: 100%;
  }
  .page-page .page-hero__visual img {
    border-radius: 12px;
  }

  .page-page .page-feature__inner,
  .page-page .page-feature--2 .page-feature__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .page-page .page-feature__content h2 {
    font-size: clamp(26px, 6vw, 36px);
  }

  .page-page .page-contact__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   page-type — トップページ&特集ページ作成 (tabbed) page styles
   ============================================================ */

/* ---------- Tab bar ---------- */
.page-type .page-type-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(20px, 3vw, 36px) clamp(16px, 3vw, 32px) 0;
  border-bottom: 1px solid #ececec;
  background: #ffffff;
}

.page-type .page-type-tab {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px 6px 18px;
  font-family: inherit;
  font-size: clamp(15px, 2.2vw, 22px);
  font-weight: 400;
  color: #8a8a8a;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.page-type .page-type-tab:focus-visible {
  outline: 2px solid #ff5a00;
  outline-offset: 2px;
}

.page-type .page-type-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: transparent;
  transition: background 0.2s ease;
}

.page-type .page-type-tab.is-active {
  color: #1c1c1c;
  font-weight: 700;
}

.page-type .page-type-tab.is-active::after {
  background: #ff5a00;
}

/* ---------- Panels ---------- */
.page-type .page-type-panel[hidden] {
  display: none;
}

.page-type .page-type-panel {
  background: #ffffff;
}

.page-type .tp-wrap {
  width: min(100% - 36px, 1200px);
  margin-inline: auto;
}

/* ---------- Tab 1: トップページ作成 ---------- */
.page-type .tp-top {
  padding: clamp(44px, 6vw, 88px) 0;
}

.page-type .tp-top__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1000px;
  margin-inline: auto;
}

/* ---------- Tab 2: 特集ページ作成 ---------- */
.page-type .tp-feature {
  padding: clamp(44px, 6vw, 88px) 0;
}

.page-type .tp-feature__title {
  margin: 0 0 clamp(36px, 5vw, 64px);
  text-align: center;
  color: #2b2b2b;
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.02em;
}

.page-type .tp-templates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
  align-items: start;
}

.page-type .tp-template img {
  display: block;
  width: 100%;
  height: auto;
}

.page-type .tp-devices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(48px, 6vw, 80px);
}

.page-type .tp-device img {
  display: block;
  width: 100%;
  height: auto;
}

.page-type .tp-more {
  text-align: center;
  margin-top: clamp(40px, 5vw, 60px);
}

.page-type .tp-more__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 38px;
  background: #d1250f;
  color: #ffffff;
  border-radius: 999px;
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
}

.page-type .tp-more__btn:hover {
  background: #a81507;
}

.page-type .tp-structure {
  margin-top: clamp(56px, 7vw, 96px);
}

.page-type .tp-structure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-type .tp-structure img + img {
  margin-top: clamp(28px, 4vw, 48px);
}

/* ---------- Site CTA ---------- */
.page-type .tp-cta {
  padding: clamp(56px, 7vw, 96px) 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .page-type .tp-templates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .page-type .page-type-tabs {
    gap: clamp(16px, 4vw, 32px);
  }
  .page-type .page-type-tab {
    font-size: clamp(14px, 4.4vw, 17px);
    padding: 8px 4px 14px;
  }
  .page-type .tp-feature__title {
    font-size: clamp(22px, 6.4vw, 30px);
  }
  .page-type .tp-templates {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .page-type .tp-devices {
    grid-template-columns: 1fr;
  }
  .page-type .tp-more__btn {
    padding: 13px 32px;
  }
}

/* ============================================================
   category-common-page — カテゴリー上部&共通コンテンツ styles
   ============================================================ */

.category-common-page .category-section {
  padding: clamp(64px, 7vw, 110px) 0;
  background: #ffffff;
  overflow: hidden;
}

.category-common-page .category-section__inner {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  text-align: center;
}

.category-common-page .category-section__title {
  margin: 0 0 clamp(28px, 3vw, 44px);
  color: #111111;
  font-weight: 700;
  line-height: 1.35;
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: 0.02em;
}

.category-common-page .category-section__desc {
  max-width: 760px;
  margin: 18px auto 0;
  color: #111111;
  line-height: 1.8;
  font-size: clamp(16px, 1.3vw, 20px);
}

.category-common-page .category-section__lead {
  margin: 0 0 clamp(22px, 2vw, 32px);
  color: #111111;
  line-height: 1.8;
  font-size: clamp(16px, 1.4vw, 21px);
}

.category-common-page .category-section__lead--spacer {
  margin-top: clamp(48px, 6vw, 80px);
}

.category-common-page .category-section__foot {
  max-width: 820px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  color: #111111;
  line-height: 2;
  font-size: clamp(15px, 1.3vw, 19px);
}

/* ---------- Title badge (red / green) ---------- */
.category-common-page .category-title-badge {
  position: relative;
  width: min(100%, 620px);
  margin: 0 auto clamp(24px, 3vw, 36px);
}

.category-common-page .category-title-badge--green {
  width: min(100%, 540px);
}

.category-common-page .category-title-badge img {
  display: block;
  width: 100%;
  height: auto;
}

.category-common-page .category-title-badge__text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #111111;
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 34px);
  letter-spacing: 0.06em;
}

/* ---------- Main visuals ---------- */
.category-common-page .category-main-visual {
  position: relative;
  width: min(100%, 900px);
  margin: 36px auto 0;
}

.category-common-page .category-main-visual--laptop {
  width: min(100%, 720px);
  margin-top: 44px;
}

.category-common-page .category-main-visual--sketch {
  width: min(100%, 820px);
  margin-top: 40px;
}

.category-common-page .category-main-visual--devices {
  width: min(100%, 900px);
  margin-top: 40px;
}

.category-common-page .category-main-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Section visuals (browser / pc / phone) ---------- */
.category-common-page .category-visual--browser {
  width: min(100%, 900px);
  margin: 36px auto 0;
}

.category-common-page .category-visual--browser img,
.category-common-page .category-visual--pc img,
.category-common-page .category-visual--phone img {
  display: block;
  width: 100%;
  height: auto;
}

.category-common-page .category-visual--pc {
  position: relative;
  width: min(100%, 640px);
  margin: 0 auto clamp(40px, 5vw, 64px);
}

.category-common-page .category-visual--phone {
  width: min(100%, 360px);
  margin: 0 auto;
}

/* ---------- Red burst label ---------- */
.category-common-page .category-burst {
  position: absolute;
  z-index: 3;
  width: clamp(120px, 13vw, 190px);
}

.category-common-page .category-burst--tr {
  right: 2%;
  top: 3%;
}

.category-common-page .category-burst--tl {
  left: 2%;
  top: 3%;
}

.category-common-page .category-burst img {
  display: block;
  width: 100%;
  height: auto;
}

.category-common-page .category-burst__text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 14%;
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(12px, 1.2vw, 18px);
  line-height: 1.3;
  text-align: center;
}

/* ---------- CTA ---------- */
.category-common-page .category-section--cta {
  background: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .category-common-page .category-section {
    padding: 48px 0;
  }
  .category-common-page .category-section__inner {
    width: min(100% - 24px, 1180px);
  }
  .category-common-page .category-main-visual {
    width: 100%;
    margin-top: 28px;
  }
  .category-common-page .category-visual--browser {
    width: 100%;
  }
  .category-common-page .category-visual--pc {
    width: 100%;
  }
  .category-common-page .category-burst {
    width: 96px;
    font-size: 11px;
    right: 0;
    top: 0;
  }
  .category-common-page .category-burst--tl {
    left: 0;
    right: auto;
  }
  .category-common-page .category-burst--tr {
    right: 0;
  }
  .category-common-page .category-title-badge {
    width: min(100%, 420px);
  }
}

@media (max-width: 430px) {
  .category-common-page .category-burst {
    position: relative;
    right: auto;
    top: auto;
    margin: 16px auto;
  }
  .category-common-page .category-burst--tl,
  .category-common-page .category-burst--tr {
    left: auto;
    right: auto;
  }
}

/* ============================================================
   company-overview — 会社概要 page styles
   ============================================================ */
.company-overview {
  padding: clamp(56px, 7vw, 104px) 0;
  background: #ffffff;
}

.company-overview__inner {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.company-overview__title {
  text-align: center;
  margin: 0 0 clamp(32px, 4vw, 56px);
  color: #111111;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.company-overview__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(260px, 0.34fr);
  align-items: stretch;
  gap: clamp(24px, 3vw, 42px);
}

.company-overview__table-wrap {
  min-width: 0;
}

.company-overview__table-wrap table {
  width: 100%;
}

.company-overview__image {
  min-width: 0;
  display: flex;
  align-items: stretch;
}

.company-overview__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .company-overview {
    padding: 48px 0;
  }
  .company-overview__inner {
    width: min(100% - 24px, 1180px);
  }
  .company-overview__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .company-overview__image img {
    height: auto;
    min-height: 0;
    max-height: none;
  }
}

/* ---------- company-map (access map between overview and footer) ---------- */
.company-map {
  padding: clamp(24px, 3vw, 42px) 0 clamp(40px, 5vw, 72px);
  background: #ffffff;
}

.company-map__inner {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.company-map__inner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .company-map {
    padding: 24px 0 40px;
  }
  .company-map__inner {
    width: min(100% - 24px, 1180px);
  }
  .company-map__inner img {
    max-height: none;
    object-fit: contain;
  }
}

/* ============================================================
   otherfeatures-page — その他の機能 styles
   ============================================================ */

/* ---------- Hero: 豊富なプリセット ---------- */
.otherfeatures-page .otherfeatures-hero {
  padding: clamp(64px, 7vw, 110px) 0;
  background: #ffffff;
  overflow: hidden;
}

.otherfeatures-page .otherfeatures-hero__inner {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  text-align: center;
}

.otherfeatures-page .otherfeatures-hero h1 {
  margin: 0 0 18px;
  color: #111111;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.35;
  font-weight: 700;
}

.otherfeatures-page .otherfeatures-hero p {
  max-width: 820px;
  margin: 0 auto;
  color: #111111;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.8;
}

/* ---------- Preset icon card grid ---------- */
.otherfeatures-page .preset-section {
  padding: clamp(48px, 5vw, 80px) 0;
  background: #ffffff;
}

.otherfeatures-page .preset-container {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}

.otherfeatures-page .preset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}

.otherfeatures-page .preset-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.otherfeatures-page .preset-card img {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.otherfeatures-page .preset-card h3 {
  margin: 0 0 8px;
  color: #111111;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
}

.otherfeatures-page .preset-card p {
  margin: 0;
  color: #333333;
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- Tools overview section ---------- */
.otherfeatures-page .tools-section {
  padding: clamp(64px, 7vw, 110px) 0;
  background: #f7f7f7;
}

.otherfeatures-page .tools-container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  text-align: center;
}

.otherfeatures-page .tools-section h2 {
  margin: 0 0 18px;
  color: #111111;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.35;
  font-weight: 700;
}

.otherfeatures-page .tools-section > .tools-container > p {
  max-width: 880px;
  margin: 0 auto;
  color: #111111;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.8;
}

.otherfeatures-page .tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
  margin-top: clamp(40px, 5vw, 64px);
}

.otherfeatures-page .tool-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.otherfeatures-page .tool-item img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 14px;
}

.otherfeatures-page .tool-item h4 {
  margin: 0;
  color: #111111;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 700;
  line-height: 1.4;
}

/* ---------- Feature detail blocks ---------- */
.otherfeatures-page .feature-detail {
  padding: clamp(64px, 7vw, 110px) 0;
  background: #ffffff;
  overflow: hidden;
}

.otherfeatures-page .feature-detail--alt {
  background: #f7f7f7;
}

.otherfeatures-page .feature-detail__inner {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(42px, 6vw, 88px);
}

.otherfeatures-page .feature-detail--reverse .feature-detail__visual {
  order: 1;
}

.otherfeatures-page .feature-detail--reverse .feature-detail__content {
  order: 2;
}

.otherfeatures-page .feature-detail__content h2 {
  margin: 0 0 20px;
  color: #111111;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.35;
  font-weight: 700;
}

.otherfeatures-page .feature-detail__content h3 {
  margin: 0 0 18px;
  color: #111111;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.5;
  font-weight: 700;
}

.otherfeatures-page .feature-detail__content p,
.otherfeatures-page .feature-detail__content li {
  color: #111111;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.85;
  margin: 0 0 14px;
}

.otherfeatures-page .feature-detail__content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.otherfeatures-page .feature-detail__content li {
  padding-left: 22px;
  position: relative;
}

.otherfeatures-page .feature-detail__content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5a00;
}

.otherfeatures-page .feature-detail__visual {
  min-width: 0;
}

.otherfeatures-page .feature-detail__visual img {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
}

.otherfeatures-page .feature-detail--stack .feature-detail__inner {
  grid-template-columns: 1fr;
  text-align: center;
}

.otherfeatures-page .feature-detail--stack .feature-detail__content h2,
.otherfeatures-page .feature-detail--stack .feature-detail__content h3 {
  text-align: center;
}

.otherfeatures-page .feature-detail--stack .feature-detail__visual {
  width: min(100%, 900px);
  margin-inline: auto;
  margin-top: clamp(28px, 3vw, 44px);
}

/* ---------- CTA ---------- */
.otherfeatures-page .otherfeatures-cta {
  padding: clamp(56px, 7vw, 96px) 0;
  background: #ffffff;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .otherfeatures-page .preset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .otherfeatures-page .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .otherfeatures-page .feature-detail__inner {
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .otherfeatures-page .otherfeatures-hero,
  .otherfeatures-page .feature-detail {
    padding: 48px 0;
  }
  .otherfeatures-page .otherfeatures-hero__inner,
  .otherfeatures-page .preset-container,
  .otherfeatures-page .tools-container,
  .otherfeatures-page .feature-detail__inner {
    width: min(100% - 24px, 1180px);
  }
  .otherfeatures-page .preset-grid {
    grid-template-columns: 1fr;
  }
  .otherfeatures-page .tools-grid {
    grid-template-columns: 1fr;
  }
  .otherfeatures-page .feature-detail__inner {
    grid-template-columns: 1fr;
  }
  .otherfeatures-page .feature-detail--reverse .feature-detail__visual,
  .otherfeatures-page .feature-detail--reverse .feature-detail__content {
    order: initial;
  }
  .otherfeatures-page .feature-detail__visual {
    order: 1;
  }
  .otherfeatures-page .feature-detail__content {
    order: 2;
    text-align: center;
  }
  .otherfeatures-page .tool-item img {
    height: 200px;
  }
}
