@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD - フジリフォーム
    Theme URI: https://swell-theme.com/
    Description: フジリフォーム コーポレートサイト用 SWELL子テーマ
    Version: 1.0.0
    Author: ida

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */
:root {
  --fuji-black: #3a3a3a;
  --fuji-white: #ffffff;
  --fuji-gray-light: #f5f5f5;
  --fuji-gray: #888888;
  --fuji-red: #f03615;
  --fuji-red-dark: #9b1830;

  --fuji-font-heading: 'Zen Antique', 'Noto Serif JP', serif;
  --fuji-font-catch: 'Klee One', 'Noto Serif JP', serif;
  --fuji-font-body: 'Noto Serif JP', '游明朝', 'Yu Mincho', serif;

  --fuji-content-width: 1100px;
  --fuji-section-padding: clamp(14px, 7vw, 120px);
}

/* ==========================================================================
   ベース
   ========================================================================== */
body {
  font-family: var(--fuji-font-body);
  color: var(--fuji-black);
  background-color: var(--fuji-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.l-header__bar {
  display: none;
}

.c-gnav {
  padding-top: 12px;
  padding-bottom: 12px;
  letter-spacing: 0.06em;
}

.c-gnav li:not(:last-child) {
  margin-right: 8px;
}

.c-gnav li:last-child a {
  background-color: var(--fuji-red);
  color: var(--fuji-white);
  padding-right: 22px;
  padding-left: 22px;
  margin-left: 8px;
}

#top_title_area .l-topTitleArea__body {
  transform: translateY(-14px); /* ニュースバー分だけ上に移動 */
}

.c-pageTitle {
  font-size: clamp(1.5rem, 5.8vw, 2.5rem);
  padding-left: clamp(14px, 7vw, 120px);
  /* font-family: var(--fuji-font-catch); */
  font-weight: 700;
  letter-spacing: 0.08em;
}

.c-pageTitle__subTitle {
  display: none;
}

/* ==========================================================================
   コンテンツ
   ========================================================================== */

#content:not(:has(.fuji-top)) {
  position: relative;
  min-height: 800px;
  /* マージン・幅はデフォルトのまま */
}

#content:not(:has(.fuji-top))::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: 0;
  bottom: 0; /* または min-height: 100% ＋ 親の min-height に追随 */
  z-index: -1;
  background: url('assets/images/common/contentBgMsk.png') no-repeat center center / cover;
  pointer-events: none;
}

.top .l-content {
  margin-bottom: 0;
}

/* ==========================================================================
   フッター
   ========================================================================== */
#breadcrumb {
  background-color: var(--fuji-white);
  color: var(--fuji-black);
  border-top: 1px solid var(--fuji-gray-light);
}

#footer .w-footer__box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

#footer .c-listMenu .menu-item a {
  font-size: 14px;
  letter-spacing: 0.06em;
}

#footer .c-listMenu .menu-item > a:before {
  display: none;
}

#footer .c-listMenu .menu-item > a:after {
  content: '\e921';
  font-family: 'icomoon';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fuji-red);
}

#footer .l-footer__foot {
  background-color: var(--fuji-black);
  color: var(--fuji-white);
}

/* ==========================================================================
   トップページ
   ========================================================================== */
.top #content {
  padding-top: 0;
}

/* --- ファーストビュー --- */
.fuji-fv {
  position: relative;
  width: 100vw;
  min-height: 700px;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.fuji-fv::before {
  position: absolute;
  inset: 0;
  content: '';
  background: rgba(255, 255, 255, 0.12);
}

.fuji-fv__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: inherit;
  max-width: 1440px;
  padding: 0 8vw;
  margin: 0 auto;
}

.fuji-fv__text {
  max-width: 760px;
}

.fuji-fv__catch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.45;
  letter-spacing: 0.08em;
  font-family: var(--fuji-font-catch);
  font-weight: 600;
}

.fuji-fv__catch span {
  padding: 0.1em 0.55em;
  background-color: rgba(255, 255, 255, 0.82);
  border: 4px solid rgba(255, 255, 255, 0.94);
  border-radius: 2px;
}

.fuji-fv__sub {
  margin: 24px 0 0;
}

.fuji-fv__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  margin-top: 32px;
  color: var(--fuji-white);
  text-decoration: none;
  background-color: var(--fuji-red);
}

.fuji-news-bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  color: var(--fuji-white);
  background-color: rgba(26, 26, 26, 0.72);
}

#top_title_area {
  position: relative;
}

.fuji-news-bar__inner {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 56px;
  max-width: var(--fuji-content-width);
  margin: 0 auto;
  font-family: 'Noto Sans JP', sans-serif;
}

.fuji-news-bar--title {
  z-index: 3;
  background-color: rgba(129, 50, 18, 0.78);
}

.fuji-news-bar__date {
  padding: 0 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.fuji-news-bar__label {
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  background-color: var(--fuji-red);
  border-radius: 2px;
}

.fuji-news-bar__text {
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  min-width: 0;
  padding: 0 clamp(12px, 1.5vw, 32px);
  margin: 0 12px;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.fuji-news-bar__marquee {
  display: inline-flex;
  animation: fuji-marquee 18s linear infinite;
}

.fuji-news-bar__marquee-item {
  flex-shrink: 0;
  padding-right: 3em;
}

.fuji-news-bar__text:hover .fuji-news-bar__marquee {
  animation-play-state: paused;
}

@keyframes fuji-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.fuji-news-bar__more {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 18px;
  padding: 0 clamp(12px, 1.5vw, 28px);
  color: var(--fuji-black);
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  font-weight: 700;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.7);
  transition: opacity 0.25s ease;
}

.fuji-news-bar__more:hover {
  opacity: 0.7;
}

.fuji-news-bar__more::after {
  content: '\e921';
  font-family: 'icomoon';
  color: var(--fuji-red);
  font-size: 1.2em;
  line-height: 1;
}

.fuji-news-bar__more:hover::after {
  transform: translateX(4px);
  transition: transform 0.4s ease;
}

/* --- 親方のこだわり --- */
.fuji-commitment {
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  background: url('assets/images/top/top-commitmentBg.png') no-repeat center center / cover;
  min-height: 800px;
  overflow-x: clip;
  padding: clamp(40px, 9vw, 140px) var(--fuji-section-padding) clamp(40px, 28vw, 400px);
  box-sizing: border-box;
}

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

.fuji-commitment__row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 0;
}

.fuji-commitment__row + .fuji-commitment__row {
  margin-top: clamp(40px, 8vw, 120px);
}

.fuji-commitment__row--follow {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.fuji-commitment__panel {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 44px);
  color: var(--fuji-white);
  background-color: rgba(89, 87, 87, 0.8);
}

.fuji-commitment__row--lead .fuji-commitment__panel {
  margin-right: clamp(-72px, -5vw, -22px);
}

.fuji-commitment__row--follow .fuji-commitment__panel {
  margin-left: clamp(-72px, -5vw, -22px);
}

.fuji-commitment__title {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  font-family: var(--fuji-font-heading);
}

.fuji-commitment__accent {
  display: block;
  width: 48px;
  height: 4px;
  margin-bottom: 20px;
  background-color: #e6402e;
}

.fuji-commitment__lead {
  margin: 0 0 1em;
  font-size: clamp(0.95rem, 1.35vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.08em;
}

.fuji-commitment__body {
  margin: 0;
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

.fuji-commitment__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
}

.fuji-commitment__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

/* --- 施工方針 --- */
.fuji-policy {
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: 0 clamp(20px, 5vw, 72px) var(--fuji-section-padding);
  background-color: #ddd8d4;
  box-sizing: border-box;
}

.fuji-policy__inner {
  max-width: var(--fuji-content-width);
  margin: 0 auto;
  text-align: center;
  transform: translateY(-80px);
}

.fuji-policy__title {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.fuji-policy__accent {
  display: block;
  width: 48px;
  height: 4px;
  margin: 16px auto 0;
  background-color: var(--fuji-red);
}

.fuji-policy__desc {
  margin: 32px auto 0;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  line-height: 2;
  letter-spacing: 0.04em;
}

.fuji-policy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 5vw, 72px);
  margin-top: clamp(40px, 5vw, 64px);
  align-items: start;
}

.fuji-policy__card {
  text-align: center;
}

.fuji-policy__card:nth-child(1) {
  margin-top: 50px;
}

.fuji-policy__card:nth-child(2) {
  margin-top: 100px;
}

.fuji-policy__card:nth-child(3) {
  margin-top: 0;
}

.fuji-policy__figure {
  position: relative;
  margin: 0;
  overflow: visible;
}

.fuji-policy__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.fuji-policy__label {
  position: absolute;
  top: -40px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  min-width: 2.4em;
  background-color: rgba(255, 255, 255, 0.74);
  color: var(--fuji-black);
  font-size: clamp(1rem, 1.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.4em;
  line-height: 1.8;
  writing-mode: vertical-rl;
  text-orientation: upright;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.fuji-policy__caption {
  margin: 20px 0 0;
  font-size: clamp(1rem, 1.3vw, 1.5rem);
  line-height: 1.75;
  letter-spacing: 0.05em;
}

/* --- 職人紹介 --- */
.fuji-craftsmen {
  position: relative;
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: var(--fuji-section-padding) clamp(20px, 5vw, 72px);
  box-sizing: border-box;
  overflow: hidden;
}

.fuji-craftsmen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/top/staff_sectionBg.png') no-repeat center center / cover;
  z-index: 0;
}

.fuji-craftsmen__inner {
  position: relative;
  z-index: 1;
  max-width: var(--fuji-content-width);
  margin: 0 auto;
  text-align: center;
  color: var(--fuji-white);
}

.fuji-craftsmen__heading {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  font-family: var(--fuji-font-heading);
  color: var(--fuji-white);
}

.fuji-craftsmen__accent {
  display: block;
  width: 48px;
  height: 4px;
  margin: 16px auto 0;
  background-color: var(--fuji-red);
}

.fuji-craftsmen__lead {
  margin: 32px auto 0;
  font-size: clamp(1.2rem, 1.3vw, 1.5rem);
  line-height: 2;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.fuji-craftsmen__list {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4vw, 64px);
  margin-top: clamp(36px, 5vw, 56px);
}

.fuji-craftsmen__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
  max-width: 180px;
}

.fuji-craftsmen__figure {
  width: 100%;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.fuji-craftsmen__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fuji-craftsmen__role {
  margin: 16px 0 0;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.fuji-craftsmen__name {
  margin: 4px 0 0;
  font-size: clamp(1.2rem, 1.3vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-family: var(--fuji-font-heading);
}

/* --- サービス紹介 --- */
.fuji-service {
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: var(--fuji-section-padding) clamp(20px, 5vw, 72px);
  background-color: var(--fuji-gray-light);
  box-sizing: border-box;
}

.fuji-service__inner {
  max-width: var(--fuji-content-width);
  margin: 0 auto;
  text-align: center;
}

.fuji-service__heading {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  font-family: var(--fuji-font-heading);
}

.fuji-service__accent {
  display: block;
  width: 48px;
  height: 4px;
  margin: 16px auto 0;
  background-color: #ff750b;
}

.fuji-service__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 9vw, 120px);
  margin-top: clamp(40px, 9vw, 160px);
}

.fuji-service__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.fuji-service__figure {
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

.fuji-service__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 5 / 3;
  vertical-align: bottom;
}

.fuji-service__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(10px, 1vw, 16px) clamp(16px, 2vw, 28px);
  background: linear-gradient(90deg, #ff750b 0%, #ff5611 100%);
  color: var(--fuji-white);
  text-align: center;
}

.fuji-service__label {
  display: block;
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
  opacity: 0.92;
}

.fuji-service__title {
  margin: 0 0 10px;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.fuji-service__desc {
  margin: 0;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.03em;
  opacity: 0.95;
}

/* --- 価格 --- */
.fuji-price {
  position: relative;
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: var(--fuji-section-padding) clamp(20px, 5vw, 72px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-sizing: border-box;
  overflow: hidden;
}

.fuji-price__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 0;
}

.fuji-price__inner {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
}

.fuji-price__heading {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  font-family: var(--fuji-font-heading);
  color: var(--fuji-black);
}

.fuji-price__accent {
  display: block;
  width: 48px;
  height: 4px;
  margin: 16px auto 0;
  background-color: var(--fuji-red);
}

.fuji-price__desc {
  margin: 32px auto 0;
  font-size: clamp(0.9375rem, 1.15vw, 1.125rem);
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--fuji-black);
}

.fuji-price__table-wrap {
  margin-top: clamp(32px, 4vw, 48px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fuji-price__table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: clamp(0.75rem, 1vw, 0.9375rem);
  table-layout: fixed;
}

.fuji-price__table thead tr {
  background: linear-gradient(90deg, #e64a19 0%, #f4511e 100%);
  color: var(--fuji-white);
}

.fuji-price__table th {
  padding: 12px 6px;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
  border: 1px solid rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

.fuji-price__th-label {
  width: 80px;
  font-size: clamp(0.7rem, 0.9vw, 0.8125rem);
}

.fuji-price__th-course {
  width: auto;
  font-size: clamp(0.75rem, 1vw, 0.9375rem);
}

.fuji-price__td-size {
  font-weight: 700;
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
  white-space: nowrap;
  background-color: rgba(248, 245, 243, 0.6);
  text-align: center;
}

.fuji-price__table tbody tr {
  background-color: rgba(255, 255, 255, 0.7);
  transition: background-color 0.2s ease;
}

.fuji-price__table tbody tr:nth-child(even) {
  background-color: rgba(245, 240, 237, 0.75);
}

.fuji-price__table tbody tr:hover {
  background-color: rgba(255, 245, 240, 0.9);
}

.fuji-price__table th,
.fuji-price__table td {
  padding: 14px 6px;
  vertical-align: middle;
  border: 1px solid #e0d8d4;
  text-align: center;
  letter-spacing: 0.02em;
}

.fuji-price__td-name {
  font-weight: 700;
  font-size: clamp(0.7rem, 0.9vw, 0.8125rem);
  white-space: nowrap;
  background-color: rgba(248, 245, 243, 0.6);
}

.fuji-price__td-warranty {
  font-weight: 700;
  font-size: clamp(0.75rem, 0.95vw, 0.875rem);
  white-space: nowrap;
}

.fuji-price__td-price {
  font-weight: 500;
}

.fuji-price__amount {
  display: block;
  font-size: clamp(0.8125rem, 1.05vw, 1rem);
  font-weight: 700;
  color: var(--fuji-black);
}

.fuji-price__regular {
  display: block;
  margin-top: 3px;
  font-size: clamp(0.625rem, 0.8vw, 0.75rem);
  font-weight: 400;
  color: var(--fuji-gray);
}

.fuji-price__notes {
  margin: 20px auto 0;
  padding: 0;
  max-width: 1060px;
  list-style: none;
  text-align: left;
}

.fuji-price__note {
  position: relative;
  padding-left: 1.2em;
  font-size: clamp(0.75rem, 0.95vw, 0.875rem);
  line-height: 1.75;
  letter-spacing: 0.03em;
  color: var(--fuji-black);
  opacity: 0.85;
}

.fuji-price__note + .fuji-price__note {
  margin-top: 4px;
}

.fuji-price__note::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--fuji-red);
  font-size: 0.65em;
  line-height: 2.5;
}

/* ==========================================================================
   会社概要
   ========================================================================== */

/* ==========================================================================
   ブログ
   ========================================================================== */

.p-articleFoot {
  display: none;
}

/* ==========================================================================
   キャンペーン アーカイブ
   ========================================================================== */
.fuji-campaign-archive__lead {
  margin-bottom: 40px;
}

.fuji-campaign-archive__lead-title {
  margin: 0 0 clamp(12px, 2vw, 24px);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-family: var(--fuji-font-catch);
  text-align: center;
}

.fuji-campaign-archive__lead-desc {
  margin: 12px 0 0;
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: #555;
  text-align: center;
}

.fuji-campaign-archive__list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.fuji-campaign-card {
  padding: clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.4);
}

.fuji-campaign-card:last-child {
  border-bottom: none;
}

.fuji-campaign-card__title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.fuji-campaign-card__title::after {
  content: '';
  display: block;
  margin-top: 12px;
  height: 10px;
  background-color: rgba(173, 26, 0, 0.5);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.fuji-campaign-card__thumb {
  margin: 0 0 16px;
  overflow: hidden;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.fuji-campaign-card__thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 1;
}

.fuji-campaign-card__excerpt {
  margin: 0 0 20px;
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: var(--fuji-black);
}

.fuji-campaign-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  color: var(--fuji-white);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  background-color: rgba(173, 26, 0, 0.8);
  border-radius: 0;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: opacity 0.25s ease;
  box-sizing: border-box;
}

.fuji-campaign-card__btn::after {
  content: '\e921';
  font-family: 'icomoon';
  color: var(--fuji-white);
  font-size: 1.2em;
  line-height: 1;
  margin-left: 8px;
}

.fuji-campaign-card__btn:hover {
  color: var(--fuji-white);
  opacity: 0.8;
  text-decoration: none;
}

.fuji-campaign-card__btn:hover::after {
  transform: translateX(4px);
  transition: transform 0.4s ease;
}

/* ==========================================================================
   キャンペーン 詳細
   ========================================================================== */
.fuji-campaign-detail__header {
  margin-bottom: 32px;
}

.fuji-campaign-detail__date {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--fuji-gray);
  letter-spacing: 0.04em;
}

.fuji-campaign-detail__title {
  margin: 0;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.fuji-campaign-detail__thumb {
  margin: 0 0 40px;
  overflow: hidden;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
}

.fuji-campaign-detail__thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.fuji-campaign-detail__nav {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e0e0e0;
}

.fuji-campaign-detail__nav-prev,
.fuji-campaign-detail__nav-next {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 48%;
  min-height: 100px;
  padding: 20px 24px;
  overflow: hidden;
  border-radius: 4px;
  color: var(--fuji-black);
  text-decoration: none;
  background-color: var(--fuji-gray-light);
  transition: box-shadow 0.3s ease;
}

.fuji-campaign-detail__nav-prev.has-thumb,
.fuji-campaign-detail__nav-next.has-thumb {
  color: var(--fuji-white);
}

.fuji-campaign-detail__nav-prev.has-thumb::before,
.fuji-campaign-detail__nav-next.has-thumb::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: var(--nav-thumb) no-repeat center center / cover;
  filter: blur(10px) brightness(0.45);
  z-index: 0;
  transition:
    filter 0.3s ease,
    transform 0.3s ease;
}

.fuji-campaign-detail__nav-prev:hover.has-thumb::before,
.fuji-campaign-detail__nav-next:hover.has-thumb::before {
  filter: blur(8px) brightness(0.35);
  transform: scale(1.05);
}

.fuji-campaign-detail__nav-prev:hover,
.fuji-campaign-detail__nav-next:hover {
  color: inherit;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.fuji-campaign-detail__nav-prev.has-thumb:hover,
.fuji-campaign-detail__nav-next.has-thumb:hover {
  color: var(--fuji-white);
}

.fuji-campaign-detail__nav-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.fuji-campaign-detail__nav-prev .fuji-campaign-detail__nav-label::before {
  content: '\e911';
  font-family: 'icomoon';
  font-size: 0.85em;
}

.fuji-campaign-detail__nav-next .fuji-campaign-detail__nav-label::after {
  content: '\e921';
  font-family: 'icomoon';
  font-size: 0.85em;
}

.fuji-campaign-detail__nav-title {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.fuji-campaign-detail__nav-next {
  margin-left: auto;
  text-align: right;
}

.fuji-campaign-detail__nav-next .fuji-campaign-detail__nav-label {
  justify-content: flex-end;
}

@media (max-width: 599px) {
  .fuji-campaign-detail__nav {
    flex-direction: column;
  }

  .fuji-campaign-detail__nav-prev,
  .fuji-campaign-detail__nav-next {
    width: 100%;
  }
}

/* ==========================================================================
   お問い合わせ
   ========================================================================== */

/* ===== Contact Form 7 スタイル ===== */

/* フォーム全体 */
.wpcf7 {
  max-width: 700px;
  margin: 0 auto;
  padding: 2em;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* ラベル */
.wpcf7 label {
  display: block;
  margin-bottom: 1.5em;
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
}

/* 必須バッジ：ラベルを flex にして ::after をテキストの右横に配置 */
.wpcf7 label:has(.wpcf7-validates-as-required) {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

/* ::after は flex アイテムになるので order で並び順を制御 */
/* テキストノード: order 0（デフォルト）→ バッジ: order 1 → 入力欄: order 2 */
.wpcf7 label:has(.wpcf7-validates-as-required)::after {
  content: '必須';
  order: 1;
  margin-left: 0.5em;
  padding: 0.1em 0.5em;
  background: rgba(173, 26, 0, 0.9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 2px;
  line-height: 1.6;
}

.wpcf7 label:has(.wpcf7-validates-as-required) .wpcf7-form-control-wrap {
  order: 2;
  flex: 0 0 100%;
}

/* input・textarea共通 */
.wpcf7 input[type='text'],
.wpcf7 input[type='email'],
.wpcf7 input[type='tel'],
.wpcf7 textarea {
  width: 100%;
  padding: 0.75em 1em;
  margin-top: 0.4em;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 1rem;
  background: #f9f9f9;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.wpcf7 input[type='text']:focus,
.wpcf7 input[type='email']:focus,
.wpcf7 input[type='tel']:focus,
.wpcf7 textarea:focus {
  border-color: #c1272d;
  box-shadow: 0 0 0 3px rgba(193, 39, 45, 0.15);
  outline: none;
  background: #fff;
}

/* テキストエリア高さ */
.wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

/* 送信ボタン */
.wpcf7 input[type='submit'] {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 1.5em auto 0;
  padding: 0.9em 2em;
  background: rgba(173, 26, 0, 0.9);
  color: #fff;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.2s;
}

.wpcf7 input[type='submit']:hover {
  background: rgba(173, 26, 0, 0.6);
  transform: translateY(-2px);
}

/* バリデーションエラー */
.wpcf7 .wpcf7-not-valid-tip {
  color: #c1272d;
  font-size: 0.85rem;
  margin-top: 0.3em;
}

/* 送信成功・失敗メッセージ */
.wpcf7 .wpcf7-response-output {
  margin: 1.5em 0 0;
  padding: 1em;
  border-radius: 2px;
  text-align: center;
  font-size: 0.95rem;
}

.wpcf7 .wpcf7-mail-sent-ok {
  border-color: #398f14;
  color: #398f14;
  background: #f0f9eb;
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-sent-ng {
  border-color: #c1272d;
  color: #c1272d;
  background: #fdf0f0;
}
/* ==========================================================================
   サイドバー キャンペーン新着
   ========================================================================== */
.fuji-recent-campaigns {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fuji-recent-campaigns__item + .fuji-recent-campaigns__item {
  margin-top: 16px;
}

.fuji-recent-campaigns__link {
  display: block;
  text-decoration: none;
  color: var(--fuji-black);
  transition: opacity 0.25s ease;
}

.fuji-recent-campaigns__link:hover {
  opacity: 0.7;
  color: var(--fuji-black);
  text-decoration: none;
}

.fuji-recent-campaigns__thumb {
  overflow: hidden;
  margin-bottom: 6px;
}

.fuji-recent-campaigns__thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.fuji-recent-campaigns__title {
  display: block;
  font-size: 0.85rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   サイドバー CTA
   ========================================================================== */
.fuji-sidebar-cta {
  position: relative;
  display: block;
  width: 280px;
  height: 280px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: var(--fuji-black);
  opacity: 1;
  transition: opacity 0.25s ease-in-out;
}

.fuji-sidebar-cta:hover {
  color: var(--fuji-black);
  text-decoration: none;
  opacity: 0.8;
}

.fuji-sidebar-cta__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fuji-sidebar-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.33) 55%,
    rgba(255, 255, 255, 0.5) 100%
  );
  transition: background 0.25s ease-in-out;
}

.fuji-sidebar-cta__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fuji-sidebar-cta__text {
  display: block;
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fuji-black);
}

.fuji-sidebar-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  color: var(--fuji-white);
  font-size: 0.85rem;
  font-weight: 700;
  background-color: var(--fuji-red);
  border-radius: 30px;
}

.fuji-sidebar-cta__arrow {
  font-size: 0.7em;
}

#footer .l-footer__foot {
  background-color: var(--fuji-black);
  color: var(--fuji-white);
}

/* ==========================================================================
   共通コンポーネント
   ========================================================================== */

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 959px) {
  .fuji-news-bar {
    padding: 0;
  }

  .fuji-news-bar__inner {
    grid-template-columns: auto 1fr auto;
    min-height: auto;
  }

  .fuji-news-bar__label {
    display: none;
  }

  .fuji-news-bar__date,
  .fuji-news-bar__text,
  .fuji-news-bar__more {
    padding: clamp(12px, 1.3vw, 14px);
  }

  .fuji-commitment__row--lead {
    display: flex;
    flex-direction: column-reverse;
  }

  .fuji-commitment__figure {
    width: 92%;
    margin-bottom: -12px;
  }

  .fuji-commitment__figure img {
    aspect-ratio: 5 / 2;
  }

  .fuji-commitment__row--follow {
    display: flex;
    flex-direction: column;
  }

  .fuji-commitment__row--lead .fuji-commitment__panel,
  .fuji-commitment__row--follow .fuji-commitment__panel {
    margin-right: 0;
    margin-left: 0;
    padding: 18px 22px;
  }

  .fuji-policy__inner {
    transform: translateY(0);
  }

  .fuji-policy__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
  }

  .fuji-policy__card:nth-child(1),
  .fuji-policy__card:nth-child(2),
  .fuji-policy__card:nth-child(3) {
    margin-top: 60px;
  }

  .fuji-policy__figure img {
    aspect-ratio: 4 / 3;
  }

  .fuji-policy__desc br {
    display: none;
  }

  .fuji-service__grid {
    gap: clamp(16px, 2.5vw, 24px);
  }

  .fuji-craftsmen__list {
    gap: clamp(20px, 3vw, 40px);
  }

  .fuji-price__table-wrap {
    margin-left: -12px;
    margin-right: -12px;
    padding: 0 12px;
  }

  .fuji-price__table-wrap::after {
    content: '← スクロールできます →';
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--fuji-gray);
    text-align: center;
  }
}

@media (max-width: 599px) {
  .fuji-fv {
    min-height: 400px;
  }

  .fuji-fv__inner {
    padding: 0 14px;
  }

  .fuji-fv__catch {
    font-size: clamp(1.5rem, 5.8vw, 2.5rem);
  }

  .fuji-news-bar__inner {
    grid-template-columns: auto 1fr auto;
  }

  .fuji-news-bar__date {
    font-size: 0.75rem;
    padding: clamp(8px, 1.3vw, 12px);
  }

  .fuji-service .l-container {
    padding: 0;
  }

  .fuji-service__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 420px;
    margin-right: auto;
    margin-left: auto;
  }
  .fuji-service__body {
    padding: 12px 8px;
  }
  .fuji-service__desc {
    text-align: left;
  }

  .fuji-craftsmen__lead br {
    display: none;
  }

  .fuji-price__desc br {
    display: none;
  }

  .fuji-price__table {
    font-size: 0.7rem;
    min-width: 520px;
  }

  .fuji-price__th-label {
    width: 60px;
  }

  .fuji-price__table th {
    padding: 8px 4px;
  }

  .fuji-price__table td {
    padding: 10px 4px;
  }
}
