.u-header-logo {
  position: fixed;
  top: 0;
  left: 0;
  width: 150px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #332d2b;
  z-index: 99;
}
.u-header-logo img {
  width: 100px;
}

/*u-fv*/
.u-fv {
  height: 300px;
  width: 100%;
  position: relative;
}
.u-fv-title {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.u-fv-title h1 {
  background-color: #fff;
}
.u-fv-title h1 span {
  display: block;
  color: #ff7c54;
  text-transform: capitalize;
  font-size: 3rem;
}
.u-fv-title h1 img {
  display: block;
  width: 35px;
}
.u-fv-title p {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  gap: 1rem;
  margin-top: 0.5rem;
} /* scope */
.u-philo {
  --ink: #332d2b;
  --muted: #5f5e5d;
  --accent: #e46b3d;
  --line: #ecebea;
  --bg: #fff;
}
.u-philo__inner {
  width: min(1100px, 90%);
  margin-inline: auto;
}

/* ========== 01. 理念 ========== */
.u-philo__mission {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.u-philo__mission::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
      12deg,
      rgba(108, 122, 137, 0.05) 0 1px,
      transparent 1px 84px
    ),
    repeating-linear-gradient(
      -18deg,
      rgba(228, 107, 61, 0.04) 0 1px,
      transparent 1px 96px
    );
  opacity: 0.18;
}
.u-philo__mission-row {
  display: flex;
  align-items: center;
  gap: 60px;
}
.u-philo__imgwrap {
  flex: 0 0 45%;
}
.u-philo__imgwrap img {
  width: 100%;
  height: auto;
  display: block;
  /* 透過PNGを素のまま表示（カード/影/hoverなし） */
  border-radius: 0;
  box-shadow: none;
  filter: saturate(0.96) contrast(0.98);
}
.u-philo__text {
  flex: 1;
  color: var(--muted);
}
.u-philo__title {
  font: 700 1.6rem/1.45 "Noto Serif JP", serif;
  margin: 0 0 1em;
  color: var(--ink);
  letter-spacing: 0.02em;
  position: relative;
  padding-left: 14px;
  background-color: #fff;
}
.u-philo__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.u-philo__text p {
  margin: 0 0 1.1em;
  line-height: 1.95;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
  background-color: #fff;
}
.u-philo .em {
  color: #ff7c54;
  font-weight: 600;
  font-weight: bold;
}

/* ========== 02. 企業ソリューション（読みやすい1カラム） ========== */
.u-philo__solution {
  position: relative;

  padding: 80px 0 100px;
}
.u-philo__solution::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
      12deg,
      rgba(108, 122, 137, 0.05) 0 1px,
      transparent 1px 84px
    ),
    repeating-linear-gradient(
      -18deg,
      rgba(228, 107, 61, 0.04) 0 1px,
      transparent 1px 96px
    );
  opacity: 0.12; /* さらに薄くして文章を主役に */
}
/* 左：縦書き見出し / 右：本文（1カラム／幅を絞って読みやすく） */
.u-philo__solution-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  align-items: start;
}
.u-philo__sol-title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font: 700 1.9rem/1.2 "Noto Serif JP", serif;
  letter-spacing: 0.06em;
  color: var(--ink);
  position: relative;
  padding-block: 8px 24px;
}
.u-philo__sol-title span {
  background-color: #fff;
}
.u-philo__sol-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(228, 107, 61, 0.25));
  border-radius: 2px;
}
/* 本文は中央寄せで幅制限（= 読みやすい行幅） */
.u-philo__sol-body {
  width: min(900px, 95%);
  margin-left: 0;
  color: var(--muted);
}
.u-philo__sol-body p {
  margin: 0 0 1.25em;
  font-size: 1.06rem;
  line-height: 1.95;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
  background-color: #fff;
}
.u-philo__sol-body p strong {
  color: #ff7c54;
  font-weight: 700;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .u-philo__mission-row {
    flex-direction: column;
    gap: 40px;
  }
  .u-philo__imgwrap {
    width: 100%;
  }
}
@media (max-width: 960px) {
  .u-philo__solution-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .u-philo__sol-title {
    writing-mode: horizontal-tb;
    font-size: 1.35rem;
    padding: 0 0 6px 0;
  }
  .u-philo__sol-title::after {
    left: 0;
    transform: none;
    width: 72px;
  }
  .u-philo__sol-body {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .u-philo__mission {
    padding: 56px 0;
  }
  .u-philo__solution {
    padding: 56px 0 72px;
  }
}
body {
  font-family: "Noto Serif JP", serif;
  color: #332d2b;
  background: #fff;
}

.inner {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ---------- 会社情報 ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2rem;
}
.info-item {
  background: #fff;
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}
.info-item .label {
  font-weight: bold;
  color: #ff7c54;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}
.info-item .content {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- Business Slider（TOP同） ---------- */
.bizsl {
  background: transparent;
}
.bizsl__head {
  width: min(1120px, 92%);
  margin: 0 auto 1.2rem;
}
.bizsl__viewport {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
}
.bizsl__bgline {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(transparent 29px, rgba(0, 0, 0, 0.045) 30px),
    linear-gradient(90deg, transparent 29px, rgba(0, 0, 0, 0.045) 30px);
  background-size: 30px 30px;
}
.bcard {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  border: 1px solid #eee;
  padding: 1.2rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}
.bcard__media {
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
}
.bcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bcard__body {
  margin-top: 0.9rem;
}
.bcard__title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #332d2b;
}
.bcard__txt {
  color: #444;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* 矢印 */
.bizsl__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #332d2b;
  background: #fff;
  z-index: 2;
  cursor: pointer;
}
.bizsl__prev {
  left: 15px;
}
.bizsl__next {
  right: 15px;
}
.bizsl__arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
}
.bizsl__prev::before {
  transform: rotate(-135deg);
}

/* ---------- 沿革 ---------- */
.history {
}
.timeline {
  position: relative;
  margin: 2rem 0 0 1rem;
  border-left: 2px solid #ff7c54;
  padding-left: 2rem;
}
.timeline li {
  margin-bottom: 2rem;
  position: relative;
}

.timeline .year {
  font-weight: bold;
  color: #332d2b;
  display: inline-block;
  width: 6rem;
}
.timeline p {
  display: inline-block;
  color: #444;
  margin-left: 0.5rem;
}

/* ---------- アクセス ---------- */
.access-box {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}
.address {
  margin-top: 1rem;
  text-align: center;
  color: #332d2b;
  line-height: 1.8;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}
/* タブ */
.bizsl__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.bizsl__tab {
  appearance: none;
  border: 1px solid #ddd;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.92rem;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(2px);
}
.bizsl__tab.is-active {
  background: #332d2b;
  color: #fff;
  border-color: #332d2b;
}

/* 軽量化調整 */
.bizsl__slider .slick-list {
  padding: 0 8% !important;
}
.bcard {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bcard.slick-current {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}
/* =========================
   History Section (改良)
========================= */
.history {
  position: relative;
  overflow: hidden;
}

.timeline {
  position: relative;
  margin-top: 3rem;
  padding-left: 3rem;
  border-left: 3px solid #ff7c54;
}

.timeline li {
  position: relative;
  margin-bottom: 3.5rem;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.timeline li.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline__dot {
  position: absolute;
  left: -1.05rem;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  background: #ff7c54;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 124, 84, 0.15);
}

.timeline__year {
  font-weight: 700;
  font-size: 1.05rem;
  color: #332d2b;
  margin-bottom: 0.4rem;
  font-feature-settings: "palt";
  padding-left: 1rem;
}

.timeline__desc {
  color: #444;
  font-size: 0.98rem;
  line-height: 1.9;
  background: #fff;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  position: relative;
}

.timeline__desc::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 15px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}

@media (max-width: 768px) {
  .timeline {
    padding-left: 1.5rem;
  }
  .timeline__desc {
    font-size: 0.92rem;
    padding: 0.9rem 1rem;
  }
  .timeline__dot {
    left: -0.8rem;
  }
}
/* =========================
   Recruit Layout
========================= */


.recruit-flex {
  display: flex;
  gap: 3rem;
}

.recruit-tabs {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.recruit-tab {
  border: 1px solid #ddd;
  background: #fff;
  padding: 0.8rem 1rem;
  text-align: left;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.recruit-tab:hover {
  border-color: #ff7c54;
  color: #ff7c54;
}
.recruit-tab.is-active {
  background: #332d2b;
  color: #fff;
  border-color: #332d2b;
}

.recruit-contents {
  flex: 1;
  position: relative;
}

.recruit-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.recruit-panel.is-active {
  display: block;
  opacity: 1;
}

.recruit-title {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.recruit-lead {
  color: #444;
  margin-bottom: 1.6rem;
  line-height: 1.8;
}

.recruit-list {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.7rem 1.2rem;
}
.recruit-list dt {
  color: #ff7c54;
  font-weight: 600;
}
.recruit-list dd {
  color: #332d2b;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .recruit-flex {
    flex-direction: column;
  }

  .recruit-tab {
    font-size: 0.9rem;
  }
  .recruit-list {
    grid-template-columns: 1fr;
  }
}
body {
  font-family: "Noto Serif JP", serif;
  color: #332d2b;
  background: #fff;
}
.inner {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ===== Works Layout ===== */
.works {

  
}
.works-flex {
  display: flex;
  gap: 3rem;
}

.works-aside {
  flex: 0 0 240px;
}
.filter-head {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}
.mt24 {
  margin-top: 1.2rem;
}

.cat-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cat-tab {
  text-align: left;
  padding: 0.6rem 0.9rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.cat-tab:hover {
  border-color: #ff7c54;
  color: #ff7c54;
}
.cat-tab.is-active {
  background: #332d2b;
  color: #fff;
  border-color: #332d2b;
}

.searchbox input[type="search"] {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
}
.sortbox select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  background: #fff;
}

.works-content {
  flex: 1;
}

.works-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.work-card {
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.work-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.work-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.work-media {
  aspect-ratio: 16/9;
  background: #f6f6f6;
}
.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-body {
  padding: 0.9rem 0.95rem 1.1rem;
}
.work-title {
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.35;
  margin: 0 0 0.35rem;
  letter-spacing: 0.02em;
}
.work-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0.2rem 0 0.5rem;
  padding: 0;
  list-style: none;
}
.work-badges li {
  border: 1px solid #e6e1df;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  font-size: 0.82rem;
  background: #fff;
}
.work-meta {
  color: #6a5f5b;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.work-excerpt {
  color: #444;
  line-height: 1.8;
  font-size: 0.95rem;
}

.works-more {
  text-align: center;
  margin-top: 1.2rem;
}

/* パンくず */
.breadcrumb {
  padding: 5rem 0 1rem;
}
.breadcrumb ol {
  display: flex;
  gap: 0.6rem;
  font-size: 0.92rem;
  flex-wrap: wrap;
}
.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.breadcrumb li::after {
  content: "›";
  margin-left: 0.6rem;
  color: #aaa;
}
.breadcrumb li:last-child::after {
  content: "";
}

/* ヒーロー */
.work-hero {
  padding: 0.6rem 0 1.2rem;
}
.work-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.work-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.4rem;
  color: #6a5f5b;
  font-size: 0.95rem;
}
.work-meta a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ギャラリー */
.work-gallery {
  padding: 1.2rem 0 2.2rem;
  margin: 0 auto;
  max-width: 700px;
}
.eyecatch {
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
}
.eyecatch img {
  width: 100%;
  height: auto;
  display: block;
}
.thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.6rem;
}
.thumb {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  padding: 0;
  cursor: pointer;
}
.thumb img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  display: block;
}
.thumb.is-active {
  outline: 2px solid #332d2b;
}

/* セクション群 */
.work-sections {
  padding: 1.8rem 0 2.6rem;
}
.wgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.wcard {
  border: 1px solid #eee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  padding: 1.1rem 1.2rem;
}
.wcard__title {
  font-weight: 800;
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}
.wcard__content {
  color: #444;
  line-height: 1.9;
}
.wcard__spec {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
}
.wcard__spec dt {
  color: #ff7c54;
  font-weight: 600;
}
.wcard__spec dd {
  color: #332d2b;
}

.dotlist {
  margin: 0.2rem 0 0 1.1rem;
}
.dotlist li {
  list-style: disc;
  margin: 0.2rem 0;
  line-height: 1.9;
  color: #444;
}

/* 仕様表 */
.work-spec {
  padding: 1.6rem 0 2.6rem;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #eee;
}
.spec-table th,
.spec-table td {
  padding: 0.85rem 1rem;
  border-top: 1px solid #eee;
  text-align: left;
}
.spec-table th {
  width: 8rem;
  color: #ff7c54;
  font-weight: 700;
}

/* Before / After */
.work-beforeafter {
  padding: 1.6rem 0 2.6rem;
}
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.ba-item {
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.ba-item figcaption {
  font-weight: 700;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid #eee;
}
.ba-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Voice */
.work-voice {
  padding: 1.6rem 0 2.6rem;
}
.voice-quote {
  border-left: 4px solid #ff7c54;
  padding: 0.4rem 0 0.4rem 0.9rem;
  color: #444;
  line-height: 1.9;
  margin-top: 1rem;
}
.voice-author {
  margin-top: 0.4rem;
  color: #6a5f5b;
}

/* レスポンシブ */
@media (max-width: 960px) {
  .wgrid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .thumb img {
    width: 84px;
    height: 60px;
  }
  .ba-grid {
    grid-template-columns: 1fr;
  }
} /* Responsive */
@media (max-width: 1024px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .works-flex {
    flex-direction: column;
  }
  .works-aside {
    flex: 1 1 auto;
  }
  .cat-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (max-width: 640px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   Works: "もっと見る" ボタン
   ========================= */
.works-more {
  text-align: center;
  margin-top: 1.5rem; /* 上のグリッドとの間隔 */
  padding-top: 0.25rem; /* 小さな呼吸 */
}

.works-more .morebtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 240px;
  height: 56px;
  padding: 0 1.2rem;

  border-radius: 999rem;
  border: 1.5px solid #332d2b;
  background: #fff;
  color: #332d2b;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    color 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

/* 右側の矢印アイコン（既存の <img> 前提） */
.works-more .morebtn img {
  width: 18px;
  height: 18px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

/* hover / active */
.works-more .morebtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-color: #ff7c54;
  color: #ff7c54;
}
.works-more .morebtn:hover img {
  transform: translateX(2px);
  opacity: 0.9;
}
.works-more .morebtn:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* フォーカス（キーボード操作配慮） */
.works-more .morebtn:focus-visible {
  outline: 3px solid rgba(255, 124, 84, 0.35);
  outline-offset: 3px;
}

/* 無効化（JSから disabled 付与 or .is-disabled 付与） */
.works-more .morebtn[disabled],
.works-more .morebtn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ローディング表示（JSで .is-loading を付与して使用） */
.works-more .morebtn.is-loading {
  position: relative;
  pointer-events: none;
  color: transparent; /* テキストを隠す */
}
.works-more .morebtn.is-loading img {
  opacity: 0;
} /* 矢印非表示 */
.works-more .morebtn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(51, 45, 43, 0.25);
  border-top-color: #332d2b;
  border-radius: 50%;
  animation: worksMoreSpin 0.8s linear infinite;
}

/* アニメ軽減に対応 */
@media (prefers-reduced-motion: reduce) {
  .works-more .morebtn,
  .works-more .morebtn img {
    transition: none;
  }
  .works-more .morebtn.is-loading::after {
    animation: none;
    border-top-color: #332d2b;
  }
}

@keyframes worksMoreSpin {
  to {
    transform: rotate(360deg);
  }
}

/* レスポンシブ微調整 */
@media (max-width: 480px) {
  .works-more .morebtn {
    width: 220px;
    height: 52px;
    font-size: 0.95rem;
  }
}

/* Head */
.c-head {
  padding: 3rem 0 1rem;
}
.c-lead {
  color: #444;
  line-height: 1.9;
}

/* Form */
.c-form {
  padding: 1rem 0 4rem;
}
form {
  margin-top: 1rem;
}

.g {
  display: grid;
  gap: 16px;
}
.g--2 {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 768px) {
  .g--2 {
    grid-template-columns: 1fr;
  }
}

.f {
  display: flex;
  flex-direction: column;
}
.f__label {
  font-weight: 700;
  margin: 0.2rem 0 0.4rem;
}
.req {
  color: #ff7c54;
  font-size: 0.85em;
  margin-left: 0.35rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
select,
textarea {
  appearance: none;
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
textarea {
  resize: vertical;
  min-height: 160px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #ff7c54;
  box-shadow: 0 0 0 3px rgba(255, 124, 84, 0.18);
}

.f--check .check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.f__note {
  color: #6a5f5b;
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

.f__err {
  color: #c43a3a;
  font-size: 0.9rem;
  min-height: 1.1em;
  margin-top: 0.35rem;
}

/* Actions */
.c-actions {
  margin-top: 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta {
  margin: 3rem auto 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 56px;
  padding: 0 4rem;
  border-radius: 999rem;
  border: 1.5px solid #332d2b;
  background: #332d2b;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}
.cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* spinner (ボタン内) */
.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  display: none;
  animation: spin 0.8s linear infinite;
}
.cta.is-loading .spinner {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Result */
.c-result {
  margin-top: 1rem;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  background: #f9f9f9;
  color: #333;
}

/* Accessibility */
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #c43a3a;
  box-shadow: 0 0 0 3px rgba(196, 58, 58, 0.12);
}

/* Small text */
.c-mini {
  color: #6a5f5b;
  font-size: 0.95rem;
  line-height: 1.7;
}
