@charset "UTF-8";

/* ============================================================
   カスタム共通スタイル
   ============================================================ */
:root {
  /* 1. ブランド＆メインカラー */
  --primary-color: #1e5c43;
  --primary-hover: #143e2d;
  --button-hover-bg: #1b5e20; /* ボタン・トップ戻るのホバー色 */
  --to-top-bg: #2e7d32;       /* トップ戻るボタンの背景色 */

  /* 2. 背景色 */
  --bg-white: #ffffff;
  --bg-light: #f4f7f5;
  --bg-accent: #edf3f0;
  --bg-hero-end: #f8faf9;     /* ヒーローグラデーションの終点 */
  --bg-placeholder: #cbdcd4;  /* 画像プレースホルダー */

  /* 3. テキスト色 */
    --text-dark: #333631;       /* 強調・見出し用 */
  --text-color: #111111;      /* 既存の見出しクラス用定義 */
    --text-emphasis: #302833;      /* 強調・リード文用 */
  --text-light: #999999;      /* コピーライト用 */

  /* 4. その他 */
  --border-color: #e2e8f0;
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   スムーススクロール
   ============================================================ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; 
}

/* ============================================================
   ボタン共通
   ============================================================ */
.button, button, input[type="button"], input[type="submit"] {
  display: inline-block;
  background-color: var(--primary-color); /* 緑のベタ塗り */
  color: var(--bg-white);
  padding: 0.8rem 2rem;       /* 上下と左右の十分な余白 */
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;         /* 角丸 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 薄い影 */
  transition: all 0.3s ease;  /* 変化を滑らかにする */
}

.button:hover, button:hover {
  background-color: var(--button-hover-bg); /* 濃い緑に */
  transform: translateY(-1px); /* 上に浮き上がらせる */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

/* 枠線ボタン */
.button.button.btn-outline {
  background-color: transparent;
  color: var(--primary-color) !important;
  border: 1.5px solid var(--primary-color); 
  box-shadow: none;
}
.button.button.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-white) !important;
}

/* ユニバーサルデザイン用基本余白・共通見出し */
section.container {
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin-top: 0;
  margin-bottom: 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.section-lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ============================================================
   ヘッダー（Header）
   ============================================================ */
.header {
  padding-top: 1rem;
  padding-bottom: 1rem;
  position: sticky; /* 固定 */
  top: 0;
  background-color: var(--bg-white);
  box-shadow: 0px 10px 10px -6px rgba(213, 213, 213, 0.3);
  z-index: 10;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header__logo-link {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}
.header__logo-link:hover {
  text-decoration: none;
}

.header__toggle-input {
  display: none;
}

.nav-menu ul li .button.header__cta-btn {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: none;
}
/* スマホ表示のボタン調整 */
@media (max-width: 1024px) {
  .nav-menu ul li .button.header__cta-btn {
    display: block;
    width: calc(100% - 40px); /* 左右に20pxずつの隙間（余白）を作る */
    margin: 1rem auto 1rem;    /* 上との間隔を空けボタンを中央に寄せる */
    text-align: center;
    padding: 0.8rem 0;        /* 左右の余白をリセットして幅を安定させる */
  }
}

/* ============================================================
   1. ファーストビュー（Hero）
   ============================================================ */
.hero {
  background-color: var(--bg-light);
  padding: 6rem 0;
  background-image: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-hero-end) 100%);
  background: url("img/mainimg.jpg"); /* メインビジュアルの画像URL */
  background-size: cover;
  background-position: center center;
}

.hero__body {
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero__lead {
  font-size: 1.2rem;
  color: var(--text-emphasis);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero__actions .button {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
  }
  .hero__title {
    font-size: 1.7rem;
  }
  .hero__lead {
    font-size: 1rem;
  }
}

/* サブページ用のヒーローエリア設定 */
.subpage-hero {
    /* ここに背景画像を設定してください */
    background-image: url('img/mainimg.jpg'); 
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    
    /* 上下の余白を小さくして、画像の表示エリアを縦に狭くします */
    padding: 40px 0; 
}

/* タイトルの文字サイズ調整 */
.subpage-hero__title {
    font-size: 1.8rem; /* 元のサイズより少し小さめに調整 */
    color: #000;       /* 背景色に合わせて変更してください */
    margin: 0;
    line-height: 1.4;
}

/* ============================================================
   2 & 3 & 4. コンポーネント: カード（Card）& 特徴ボックス
   ============================================================ */
.card,
.feature-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  height: 100%;
  box-shadow: var(--card-shadow);
}

.card__icon-wrapper {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.card__title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.card__text {
  font-size: 1rem;
  color: var(--text-muted);
}

/* 実績用プレースホルダー画像 */
.card__image-placeholder {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: -2rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  margin-bottom: 1.5rem;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  letter-spacing: 0.05em;
  overflow: hidden;
}

.card__image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   2. 特徴・強み（Features）
   ============================================================ */
.features {
  padding: 4rem 2rem;
}

.feature-box__icon {
  font-size: 2rem;
  margin: 0.75rem;
}

.feature-box__icon img {
  max-width: 100%;
  height: auto;
}

.feature-box__title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.feature-box__text {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ============================================================
   5. 代表者名・事業者名（Profile）
   ============================================================ */
.profile__inner {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 3rem 2rem;
  box-shadow: var(--card-shadow);
}

.profile__avatar-placeholder {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.profile__avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile__name {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.profile__text {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ============================================================
   6. 料金プラン（Pricing）
   ============================================================ */
.price-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2.5rem 1.5rem;
  position: relative;
  height: 100%;
  box-shadow: var(--card-shadow);
}

/* おすすめデザイン */
.price-card--featured {
  border: 1px solid var(--bg-placeholder); /* 目立たせる場合は色を変える */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); /* 影を少し深くして立体感で引き立てる */
}

@media (max-width: 768px) {
  .price-card--featured {
    margin: 1.5rem 0;
  }
}

/* おすすめバッジの設定 */
.price-card__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 3px 14px;
  font-size: 0.8rem; /* 文字を小さくして上品に */
  font-weight: bold;
  letter-spacing: 0.05em; /* 文字の間隔を少し広げる */
  border-radius: 4px; /* 角丸 */
}

.price-card__plan {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.price-card__amount {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.price-card__detail {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.price-card__actions .button {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.pricing__note {
  font-size: 1rem;
  color: var(--text-muted);
  padding: 1rem;
}

/* ============================================================
   7. よくある質問（FAQ）
   ============================================================ */
.faq-list {
  max-width: 980px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-light);
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-item__question {
  padding: 1.25rem 1.5rem;
  padding-right: 3rem;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  list-style: none; 
}

.faq-item__question::-webkit-details-marker {
  display: none; 
}

.faq-item__question::after {
  content: "＋";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
}

.faq-item[open] .faq-item__question::after {
  content: "ー";
}

.faq-item__answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
  border-top: 1px solid rgba(0,0,0,0.03);
}

/* ============================================================
   8. お問い合わせ（Contact：電話・メールカード）
   ============================================================ */
.contact__inner {
  background-color: var(--bg-accent);
  border-radius: 8px;
  padding: 4rem 2rem;
}

.contact__methods {
  max-width: 900px;
  margin: 0 auto;
}

.contact-method-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem 1.5rem;
  height: 100%;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.contact-method-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-method-card__title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact-method-card__text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-method-card__link {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  margin-bottom: 0.5rem;
}
.contact-method-card__link:hover {
  text-decoration: underline;
}

.contact-method-card__btn {
  background-color: var(--primary-color);
  color: var(--bg-white);
  width: 100%;
  max-width: 260px;
}

.contact-method-card__note,
.contact-method-card__address {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   10. 注記（Note）
   ============================================================ */
.note__inner {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem 2rem 1.5rem 2rem; /* ← 一番最初の「上」だけを2.5remに広げました */
  box-shadow: var(--card-shadow);
}

.note__avatar-placeholder {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.note__avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.note__name {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.note__text {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ============================================================
   フッター（Footer）
   ============================================================ */
.footer {
  padding-bottom: 2.5rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer__logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.footer__nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__nav a {
  color: var(--text-muted);
  font-size: 1.1rem;
  text-decoration: none;
}

.footer__nav a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer__copyright {
  font-size: 1rem;
  color: var(--text-light);
}

.footer hr {
  border-top: 1px solid var(--text-light);
}

/* トップへ戻るボタンの基本スタイル */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  background-color: var(--to-top-bg);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 100;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* CSSで作る綺麗な山型の矢印 */
.to-top::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 3px solid var(--bg-white);  /* 矢印の太さ */
  border-left: 3px solid var(--bg-white); /* 矢印の太さ */
  transform: rotate(45deg); /* 斜めに回転させて山型にする */
  margin-top: 4px; /* 視覚的な中央揃えの微調整 */
}

/* 表示用クラス */
.to-top.is-show {
  opacity: 1;
  visibility: visible;
}

/* ホバー時の動き */
.to-top:hover {
  background-color: var(--button-hover-bg);
  transform: translateY(-2px);
}



/* カードに浮き上がる動きの準備をする */
.card:has(.curtain-card-link) {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* マウスが乗ったら上に4ピクセル浮き上がり、影を少し強くする（パソコン用） */
@media (hover: hover) {
  .card:has(.curtain-card-link):hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
}






/* =========================================================
   カーテンレールDIY専用CSS
   共通レイアウトをまとめ、重複指定を整理した版
   ========================================================= */


/* =========================
   共通レイアウト
========================= */

.diy-intro,
.diy-level,
.diy-step01,
.diy-step02,
.diy-step03,
.diy-step04,
.diy-step05,
.diy-step06,
.diy-mistakes,
.diy-buy,
.diy-tools,
.diy-choice,
.diy-pro,
.diy-faq,
.diy-cost,
.diy-rail-choice,
.diy-newhouse,
.diy-window-type,
.diy-check,
.diy-flow {
  max-width: 1200px;
  margin: 50px auto 0;
  padding: 0 20px;
  box-sizing: border-box;
  line-height: 1.8;
  color: #333;
}

.diy-intro {
  margin-top: 0;
  padding-top: 30px;
}

.diy-choice,
.diy-pro,
.diy-faq,
.diy-cost,
.diy-rail-choice,
.diy-newhouse,
.diy-window-type,
.diy-check,
.diy-flow {
  color: #4a433c;
}


/* =========================
   共通見出し（H3）
========================= */

.diy-intro h3,
.diy-level h3,
.diy-step01 h3,
.diy-step02 h3,
.diy-step03 h3,
.diy-step04 h3,
.diy-step05 h3,
.diy-step06 h3,
.diy-mistakes h3,
.diy-buy h3,
.diy-tools h3 {
  margin: 0 0 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d1c7bd;
  color: #4a433c;
  font-size: 26px;
  line-height: 1.5;
}


/* 後半セクションのタイトル */

.diy-choice-title,
.diy-pro-title,
.diy-faq-title,
.diy-cost-title,
.diy-rail-choice-title,
.diy-newhouse-title,
.diy-window-type-title,
.diy-check-title,
.diy-flow-title {
  margin: 0 0 25px;
  padding: 0 0 12px;
  border-bottom: 2px solid #d1c7bd;
  font-size: 26px;
  line-height: 1.6;
  font-weight: 700;
}


/* =========================
   diy-intro 固有スタイル
========================= */

.diy-intro p {
  margin: 0 0 20px;
}

.diy-intro .diy-important {
  font-weight: bold;
}

.diy-intro .diy-check-list {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.diy-intro .diy-check-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 1.5em;
}

.diy-intro .diy-check-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  font-weight: bold;
}

.diy-intro .diy-message {
  margin-top: 25px;
  padding: 20px;
  background: #f7f4f1;
  border-left: 4px solid #b8aaa0;
  font-weight: bold;
}


/* =========================
   diy-level 固有スタイル
========================= */

.diy-level-intro {
  margin-bottom: 25px;
}

.diy-level-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.diy-level-list li {
  position: relative;
  margin-bottom: 12px;
  padding: 15px 20px 15px 45px;
  background: #f7f4f1;
  box-sizing: border-box;
}

.diy-level-list li::before {
  content: "・";
  position: absolute;
  left: 18px;
  top: 15px;
  font-weight: bold;
  font-size: 18px;
}

.diy-level-point {
  margin-top: 25px;
  padding: 20px;
  border: 1px solid #d1c7bd;
  background: #fff;
}

.diy-level-point strong {
  color: #4a433c;
}

@media screen and (max-width: 767px) {
.diy-level-list li {
    padding: 13px 15px 13px 40px;
  }

  .diy-level-list li::before {
    left: 15px;
    top: 13px;
  }
}


/* =========================
   diy-step01 固有スタイル
========================= */

.diy-step01 p {
  margin: 0 0 20px;
}

.diy-step01 .diy-step01-important {
  font-weight: bold;
}

.diy-step01 .diy-step01-box {
  margin: 25px 0;
  padding: 20px;
  background: #f7f4f1;
}

.diy-step01 .diy-step01-box ul {
  margin: 10px 0 0;
  padding-left: 1.5em;
}

.diy-step01 .diy-step01-box li {
  margin-bottom: 6px;
}

.diy-step01 .diy-step01-link {
  margin-top: 25px;
  text-align: center;
}

.diy-step01 .diy-step01-link a {
  display: inline-block;
  padding: 12px 25px;
  background: #4a433c;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
}

.diy-step01 .diy-step01-link a:hover {
  opacity: 0.8;
}

@media screen and (max-width: 767px) {
.diy-step01 .diy-step01-box {
    padding: 15px;
  }
}


/* =========================
   diy-step02 固有スタイル
========================= */

.diy-step02 p {
  margin: 0 0 20px;
}

.diy-step02 .diy-step02-important {
  font-weight: bold;
}

.diy-step02 .diy-step02-box {
  margin: 25px 0;
  padding: 20px;
  background: #f7f4f1;
}

.diy-step02 .diy-step02-box ul {
  margin: 10px 0 0;
  padding-left: 1.5em;
}

.diy-step02 .diy-step02-box li {
  margin-bottom: 6px;
}

.diy-step02 .diy-step02-note {
  margin-top: 25px;
  padding: 20px;
  border: 1px solid #d1c7bd;
  background: #fff;
}

.diy-step02 .diy-step02-link {
  margin-top: 25px;
  text-align: center;
}

.diy-step02 .diy-step02-link a {
  display: inline-block;
  padding: 12px 25px;
  background: #4a433c;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
}

.diy-step02 .diy-step02-link a:hover {
  opacity: 0.8;
}

@media screen and (max-width: 767px) {
.diy-step02 .diy-step02-box,
  .diy-step02 .diy-step02-note {
    padding: 15px;
  }
}


/* =========================
   diy-step03 固有スタイル
========================= */

.diy-step03 p {
  margin: 0 0 20px;
}

.diy-step03 .diy-step03-important {
  font-weight: bold;
}

.diy-step03 .diy-step03-box {
  margin: 25px 0;
  padding: 20px;
  background: #f7f4f1;
}

.diy-step03 .diy-step03-box ul {
  margin: 10px 0 0;
  padding-left: 1.5em;
}

.diy-step03 .diy-step03-box li {
  margin-bottom: 6px;
}

.diy-step03 .diy-step03-warning {
  margin: 25px 0;
  padding: 20px;
  border: 1px solid #d1c7bd;
  background: #fff;
}

.diy-step03 .diy-step03-warning strong {
  color: #4a433c;
}

.diy-step03 .diy-step03-link {
  margin-top: 25px;
  text-align: center;
}

.diy-step03 .diy-step03-link a {
  display: inline-block;
  padding: 12px 25px;
  background: #4a433c;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
}

.diy-step03 .diy-step03-link a:hover {
  opacity: 0.8;
}

@media screen and (max-width: 767px) {
.diy-step03 .diy-step03-box,
  .diy-step03 .diy-step03-warning {
    padding: 15px;
  }
}


/* =========================
   diy-step04 固有スタイル
========================= */

.diy-step04 p {
  margin: 0 0 20px;
}

.diy-step04 .diy-step04-important {
  font-weight: bold;
}

.diy-step04 .diy-step04-box {
  margin: 25px 0;
  padding: 20px;
  background: #f7f4f1;
}

.diy-step04 .diy-step04-box ul {
  margin: 10px 0 0;
  padding-left: 1.5em;
}

.diy-step04 .diy-step04-box li {
  margin-bottom: 6px;
}

.diy-step04 .diy-step04-note {
  margin: 25px 0;
  padding: 20px;
  border: 1px solid #d1c7bd;
  background: #fff;
}

.diy-step04 .diy-step04-link {
  margin-top: 25px;
  text-align: center;
}

.diy-step04 .diy-step04-link a {
  display: inline-block;
  padding: 12px 25px;
  background: #4a433c;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
}

.diy-step04 .diy-step04-link a:hover {
  opacity: 0.8;
}

@media screen and (max-width: 767px) {
.diy-step04 .diy-step04-box,
  .diy-step04 .diy-step04-note {
    padding: 15px;
  }
}


/* =========================
   diy-step05 固有スタイル
========================= */

.diy-step05 p {
  margin: 0 0 20px;
}

.diy-step05 .diy-step05-important {
  font-weight: bold;
}

.diy-step05 .diy-step05-box {
  margin: 25px 0;
  padding: 20px;
  background: #f7f4f1;
}

.diy-step05 .diy-step05-box ol {
  margin: 10px 0 0;
  padding-left: 1.5em;
}

.diy-step05 .diy-step05-box li {
  margin-bottom: 10px;
}

.diy-step05 .diy-step05-note {
  margin: 25px 0;
  padding: 20px;
  border: 1px solid #d1c7bd;
  background: #fff;
}

.diy-step05 .diy-step05-link {
  margin-top: 25px;
  text-align: center;
}

.diy-step05 .diy-step05-link a {
  display: inline-block;
  padding: 12px 25px;
  background: #4a433c;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
}

.diy-step05 .diy-step05-link a:hover {
  opacity: 0.8;
}

@media screen and (max-width: 767px) {
.diy-step05 .diy-step05-box,
  .diy-step05 .diy-step05-note {
    padding: 15px;
  }
}


/* =========================
   diy-step06 固有スタイル
========================= */

.diy-step06 p {
  margin: 0 0 20px;
}

.diy-step06 .diy-step06-important {
  font-weight: bold;
}

.diy-step06 .diy-step06-box {
  margin: 25px 0;
  padding: 20px;
  background: #f7f4f1;
}

.diy-step06 .diy-step06-box ul {
  margin: 10px 0 0;
  padding-left: 1.5em;
}

.diy-step06 .diy-step06-box li {
  margin-bottom: 8px;
}

.diy-step06 .diy-step06-note {
  margin: 25px 0;
  padding: 20px;
  border: 1px solid #d1c7bd;
  background: #fff;
}

.diy-step06 .diy-step06-link {
  margin-top: 25px;
  text-align: center;
}

.diy-step06 .diy-step06-link a {
  display: inline-block;
  padding: 12px 25px;
  background: #4a433c;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
}

.diy-step06 .diy-step06-link a:hover {
  opacity: 0.8;
}

@media screen and (max-width: 767px) {
.diy-step06 .diy-step06-box,
  .diy-step06 .diy-step06-note {
    padding: 15px;
  }
}


/* =========================
   diy-mistakes 固有スタイル
========================= */

.diy-mistakes p {
  margin: 0 0 20px;
}

.diy-mistakes-intro {
  font-weight: bold;
}

.diy-mistakes-list {
  margin: 25px 0;
  padding: 0;
  list-style: none;
  counter-reset: diy-mistake;
}

.diy-mistakes-list li {
  position: relative;
  margin-bottom: 12px;
  padding: 15px 20px 15px 55px;
  background: #f7f4f1;
  box-sizing: border-box;
  counter-increment: diy-mistake;
}

.diy-mistakes-list li::before {
  content: counter(diy-mistake);
  position: absolute;
  left: 15px;
  top: 14px;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  background: #4a433c;
  color: #fff;
  font-size: 14px;
}

.diy-mistakes-note {
  margin: 25px 0;
  padding: 20px;
  border: 1px solid #d1c7bd;
  background: #fff;
}

.diy-mistakes-link {
  margin-top: 25px;
  text-align: center;
}

.diy-mistakes-link a {
  display: inline-block;
  padding: 12px 25px;
  background: #4a433c;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
}

.diy-mistakes-link a:hover {
  opacity: 0.8;
}

@media screen and (max-width: 767px) {
.diy-mistakes-list li {
    padding: 13px 15px 13px 50px;
  }

  .diy-mistakes-list li::before {
    left: 12px;
    top: 12px;
  }

  .diy-mistakes-note {
    padding: 15px;
  }
}


/* =========================
   diy-buy 固有スタイル
========================= */

.diy-buy p {
  margin: 0 0 20px;
}

.diy-buy .diy-buy-important {
  font-weight: bold;
}

.diy-buy .diy-buy-box {
  margin: 25px 0;
  padding: 20px;
  background: #f7f4f1;
}

.diy-buy .diy-buy-box ul {
  margin: 10px 0 0;
  padding-left: 1.5em;
}

.diy-buy .diy-buy-box li {
  margin-bottom: 8px;
}

.diy-buy .diy-buy-note {
  margin: 25px 0;
  padding: 20px;
  border: 1px solid #d1c7bd;
  background: #fff;
}

.diy-buy .diy-buy-link {
  margin-top: 25px;
  text-align: center;
}

.diy-buy .diy-buy-link a {
  display: inline-block;
  padding: 12px 25px;
  background: #4a433c;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
}

.diy-buy .diy-buy-link a:hover {
  opacity: 0.8;
}

@media screen and (max-width: 767px) {
.diy-buy .diy-buy-box,
  .diy-buy .diy-buy-note {
    padding: 15px;
  }
}


/* =========================
   diy-tools 固有スタイル
========================= */

.diy-tools p {
  margin: 0 0 20px;
}

.diy-tools .diy-tools-important {
  font-weight: bold;
}

.diy-tools-list {
  margin: 25px 0;
  padding: 0;
  list-style: none;
}

.diy-tools-list li {
  position: relative;
  margin-bottom: 12px;
  padding: 15px 20px 15px 45px;
  background: #f7f4f1;
  box-sizing: border-box;
}

.diy-tools-list li::before {
  content: "・";
  position: absolute;
  left: 18px;
  top: 14px;
  font-weight: bold;
  font-size: 18px;
}

.diy-tools .diy-tools-note {
  margin: 25px 0;
  padding: 20px;
  border: 1px solid #d1c7bd;
  background: #fff;
}

.diy-tools .diy-tools-link {
  margin-top: 25px;
  text-align: center;
}

.diy-tools .diy-tools-link a {
  display: inline-block;
  padding: 12px 25px;
  background: #4a433c;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
}

.diy-tools .diy-tools-link a:hover {
  opacity: 0.8;
}

@media screen and (max-width: 767px) {
.diy-tools-list li {
    padding: 13px 15px 13px 40px;
  }

  .diy-tools-list li::before {
    left: 15px;
    top: 12px;
  }

  .diy-tools .diy-tools-note {
    padding: 15px;
  }
}


/* =========================
   diy-choice 固有スタイル
========================= */

.diy-choice-lead {
  margin: 0 0 25px;
  font-size: 16px;
  line-height: 1.9;
}

.diy-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.diy-choice-box {
  padding: 25px;
  background: #f7f4f1;
  border: 1px solid #d1c7bd;
}

.diy-choice-box h4 {
  margin: 0 0 15px;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
}

.diy-choice-box ul {
  margin: 0;
  padding-left: 1.4em;
}

.diy-choice-box li {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.8;
}

.diy-choice-box li:last-child {
  margin-bottom: 0;
}

.diy-choice-point {
  margin: 25px 0 0;
  padding: 20px;
  border-left: 4px solid #d1c7bd;
  background: #fff;
  font-size: 15px;
  line-height: 1.9;
}

.diy-choice-link {
  margin: 20px 0 0;
  text-align: center;
}

.diy-choice-link a {
  color: #4a433c;
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
.diy-choice-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .diy-choice-box {
    padding: 20px;
  }

  .diy-choice-box h4 {
    font-size: 18px;
  }
}


/* =========================
   diy-pro 固有スタイル
========================= */

.diy-pro-lead {
  margin: 0 0 25px;
  font-size: 16px;
  line-height: 1.9;
}

.diy-pro-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.diy-pro-list li {
  position: relative;
  margin: 0 0 12px;
  padding: 15px 20px 15px 42px;
  background: #f7f4f1;
  font-size: 15px;
  line-height: 1.8;
}

.diy-pro-list li::before {
  content: "・";
  position: absolute;
  left: 18px;
  top: 15px;
  font-weight: 700;
}

.diy-pro-message {
  margin: 25px 0 0;
  padding: 22px 25px;
  border: 1px solid #d1c7bd;
  background: #fff;
  font-size: 15px;
  line-height: 1.9;
}

.diy-pro-message strong {
  font-size: 17px;
}

.diy-pro-link {
  margin: 25px 0 0;
  text-align: center;
}

.diy-pro-link a {
  display: inline-block;
  padding: 12px 25px;
  background: #4a433c;
  color: #fff;
  text-decoration: none;
  line-height: 1.6;
}

@media screen and (max-width: 767px) {
.diy-pro-message {
    padding: 20px;
  }

  .diy-pro-link a {
    display: block;
  }
}


/* =========================
   diy-faq 固有スタイル
========================= */

.diy-faq-lead {
  margin: 0 0 25px;
  font-size: 16px;
  line-height: 1.9;
}

.diy-faq-item {
  margin: 0 0 15px;
  border: 1px solid #d1c7bd;
}

.diy-faq-question {
  margin: 0;
  padding: 17px 20px;
  background: #f7f4f1;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 700;
}

.diy-faq-answer {
  margin: 0;
  padding: 18px 20px;
  background: #fff;
  font-size: 15px;
  line-height: 1.9;
}

.diy-faq-link {
  margin: 25px 0 0;
  text-align: center;
}

.diy-faq-link a {
  color: #4a433c;
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
.diy-faq-question {
    padding: 15px;
    font-size: 16px;
  }

  .diy-faq-answer {
    padding: 15px;
  }
}


/* =========================
   diy-cost 固有スタイル
========================= */

.diy-cost-lead {
  margin: 0 0 25px;
  font-size: 16px;
  line-height: 1.9;
}

.diy-cost-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.diy-cost-item {
  display: flex;
  align-items: flex-start;
  margin: 0 0 12px;
  padding: 17px 20px;
  background: #f7f4f1;
  border: 1px solid #d1c7bd;
}

.diy-cost-item:last-child {
  margin-bottom: 0;
}

.diy-cost-label {
  flex: 0 0 180px;
  font-weight: 700;
  line-height: 1.8;
}

.diy-cost-text {
  flex: 1;
  line-height: 1.8;
}

.diy-cost-point {
  margin: 25px 0 0;
  padding: 22px 25px;
  background: #fff;
  border-left: 4px solid #d1c7bd;
  font-size: 15px;
  line-height: 1.9;
}

.diy-cost-link {
  margin: 25px 0 0;
  text-align: center;
}

.diy-cost-link a {
  color: #4a433c;
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
.diy-cost-item {
    display: block;
    padding: 15px;
  }

  .diy-cost-label {
    margin-bottom: 5px;
  }

  .diy-cost-point {
    padding: 20px;
  }
}


/* =========================
   diy-rail-choice 固有スタイル
========================= */

.diy-rail-choice-lead {
  margin: 0 0 25px;
  font-size: 16px;
  line-height: 1.9;
}

.diy-rail-choice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.diy-rail-choice-item {
  margin: 0 0 15px;
  padding: 20px 22px;
  background: #f7f4f1;
  border: 1px solid #d1c7bd;
}

.diy-rail-choice-item:last-child {
  margin-bottom: 0;
}

.diy-rail-choice-item h4 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
}

.diy-rail-choice-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.diy-rail-choice-point {
  margin: 25px 0 0;
  padding: 22px 25px;
  background: #fff;
  border-left: 4px solid #d1c7bd;
  font-size: 15px;
  line-height: 1.9;
}

.diy-rail-choice-link {
  margin: 25px 0 0;
  text-align: center;
}

.diy-rail-choice-link a {
  color: #4a433c;
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
.diy-rail-choice-item {
    padding: 18px;
  }

  .diy-rail-choice-item h4 {
    font-size: 17px;
  }

  .diy-rail-choice-point {
    padding: 20px;
  }
}


/* =========================
   diy-newhouse 固有スタイル
========================= */

.diy-newhouse-lead {
  margin: 0 0 25px;
  font-size: 16px;
  line-height: 1.9;
}

.diy-newhouse-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.diy-newhouse-item {
  margin: 0 0 15px;
  padding: 20px 22px;
  background: #f7f4f1;
  border: 1px solid #d1c7bd;
}

.diy-newhouse-item:last-child {
  margin-bottom: 0;
}

.diy-newhouse-item h4 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
}

.diy-newhouse-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.diy-newhouse-warning {
  margin: 25px 0 0;
  padding: 22px 25px;
  background: #fff;
  border: 1px solid #d1c7bd;
  font-size: 15px;
  line-height: 1.9;
}

.diy-newhouse-warning strong {
  font-size: 17px;
}

.diy-newhouse-link {
  margin: 25px 0 0;
  text-align: center;
}

.diy-newhouse-link a {
  color: #4a433c;
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
.diy-newhouse-item {
    padding: 18px;
  }

  .diy-newhouse-item h4 {
    font-size: 17px;
  }

  .diy-newhouse-warning {
    padding: 20px;
  }
}


/* =========================
   diy-window-type 固有スタイル
========================= */

.diy-window-type-lead {
  margin: 0 0 25px;
  font-size: 16px;
  line-height: 1.9;
}

.diy-window-type-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.diy-window-type-item {
  margin: 0 0 15px;
  padding: 20px 22px;
  background: #f7f4f1;
  border: 1px solid #d1c7bd;
}

.diy-window-type-item:last-child {
  margin-bottom: 0;
}

.diy-window-type-item h4 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
}

.diy-window-type-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.diy-window-type-point {
  margin: 25px 0 0;
  padding: 22px 25px;
  background: #fff;
  border-left: 4px solid #d1c7bd;
  font-size: 15px;
  line-height: 1.9;
}

@media screen and (max-width: 767px) {
.diy-window-type-item {
    padding: 18px;
  }

  .diy-window-type-item h4 {
    font-size: 17px;
  }

  .diy-window-type-point {
    padding: 20px;
  }
}


/* =========================
   diy-check 固有スタイル
========================= */

.diy-check-lead {
  margin: 0 0 25px;
  font-size: 16px;
  line-height: 1.9;
}

.diy-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.diy-check-item {
  display: flex;
  align-items: flex-start;
  margin: 0 0 12px;
  padding: 17px 20px;
  background: #f7f4f1;
  border: 1px solid #d1c7bd;
}

.diy-check-item:last-child {
  margin-bottom: 0;
}

.diy-check-number {
  flex: 0 0 38px;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 700;
}

.diy-check-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.8;
}

.diy-check-point {
  margin: 25px 0 0;
  padding: 22px 25px;
  background: #fff;
  border-left: 4px solid #d1c7bd;
  font-size: 15px;
  line-height: 1.9;
}

.diy-check-link {
  margin: 25px 0 0;
  text-align: center;
}

.diy-check-link a {
  color: #4a433c;
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
.diy-check-item {
    padding: 15px;
  }

  .diy-check-number {
    flex: 0 0 32px;
  }

  .diy-check-point {
    padding: 20px;
  }
}


/* =========================
   diy-flow 固有スタイル
========================= */

.diy-flow-lead {
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 1.9;
}

.diy-flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.diy-flow-item {
  position: relative;
  margin: 0 0 15px;
  padding: 20px 25px 20px 75px;
  background: #f7f4f1;
  border: 1px solid #d1c7bd;
}

.diy-flow-item:last-child {
  margin-bottom: 0;
}

.diy-flow-number {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  border-radius: 50%;
  background: #4a433c;
  color: #fff;
  font-weight: 700;
}

.diy-flow-item h4 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
}

.diy-flow-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.diy-flow-message {
  margin: 30px 0 0;
  padding: 25px;
  background: #fff;
  border: 1px solid #d1c7bd;
  text-align: center;
  font-size: 16px;
  line-height: 1.9;
}

.diy-flow-message strong {
  font-size: 19px;
}

.diy-flow-button {
  margin: 25px 0 0;
  text-align: center;
}

.diy-flow-button a {
  display: inline-block;
  padding: 13px 30px;
  background: #4a433c;
  color: #fff;
  text-decoration: none;
  line-height: 1.6;
}

@media screen and (max-width: 767px) {
.diy-flow-item {
    padding: 18px 18px 18px 65px;
  }

  .diy-flow-number {
    left: 15px;
    top: 18px;
    width: 35px;
    height: 35px;
    line-height: 35px;
  }

  .diy-flow-item h4 {
    font-size: 17px;
  }

  .diy-flow-message {
    padding: 20px;
  }

  .diy-flow-button a {
    display: block;
  }
}


/* =========================
   スマホ共通
========================= */
@media screen and (max-width: 767px) {
  .diy-intro,
  .diy-level,
  .diy-step01,
  .diy-step02,
  .diy-step03,
  .diy-step04,
  .diy-step05,
  .diy-step06,
  .diy-mistakes,
  .diy-buy,
  .diy-tools,
  .diy-choice,
  .diy-pro,
  .diy-faq,
  .diy-cost,
  .diy-rail-choice,
  .diy-newhouse,
  .diy-window-type,
  .diy-check,
  .diy-flow {
    margin-top: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .diy-intro {
    padding-top: 25px;
  }

  .diy-intro h3,
  .diy-level h3,
  .diy-step01 h3,
  .diy-step02 h3,
  .diy-step03 h3,
  .diy-step04 h3,
  .diy-step05 h3,
  .diy-step06 h3,
  .diy-mistakes h3,
  .diy-buy h3,
  .diy-tools h3,
  .diy-choice-title,
  .diy-pro-title,
  .diy-faq-title,
  .diy-cost-title,
  .diy-rail-choice-title,
  .diy-newhouse-title,
  .diy-window-type-title,
  .diy-check-title,
  .diy-flow-title {
    font-size: 22px;
  }
}



/* =========================
   セクションH2
========================= */
.diy-heading {
  max-width: 900px;
  margin: 50px 0 25px;
  padding: 14px 20px;
  border-left: 5px solid #333;
  background: #f7f7f7;
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: bold;
  text-align: left;
}

@media screen and (max-width: 767px) {
  .diy-heading {
    margin: 40px 15px 20px;
    padding: 12px 15px;
    font-size: 1.3rem;
  }
}


.diy-intro h2.diy-heading {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 50px 0 25px 0 !important;
  padding: 14px 20px !important;
  box-sizing: border-box !important;
  text-align: left !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}


/* =========================
   1級遮光カーテン通販案内
========================= */

.diy-curtain-shop {
  max-width: 1200px;
  margin: 60px auto 50px;
  padding: 0 20px;
  box-sizing: border-box;
}

.diy-curtain-shop__inner {
  padding: 30px 35px;
  background: #f7f3ee;
  border: 1px solid #ddd3c8;
  border-radius: 4px;
  box-sizing: border-box;
}

.diy-curtain-shop h2 {
  margin: 0 0 20px;
  padding: 0 0 12px;
  border-bottom: 2px solid #d1c7bd;
  color: #4a433c;
  font-size: 26px;
  line-height: 1.5;
  font-weight: 700;
  text-align: left;
}

.diy-curtain-shop p {
  margin: 0 0 15px;
  line-height: 1.8;
  color: #333;
}

.diy-curtain-shop__button {
  margin-top: 25px;
  text-align: left;
}

.diy-curtain-shop__button a {
  display: inline-block;
  padding: 14px 28px;
  background: #5a5149;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  line-height: 1.5;
  border-radius: 3px;
  transition: opacity 0.3s;
}

.diy-curtain-shop__button a:hover {
  opacity: 0.8;
}

@media (max-width: 767px) {
  .diy-curtain-shop {
    margin: 45px 0 40px;
    padding: 0 15px;
  }

  .diy-curtain-shop__inner {
    padding: 22px 20px;
  }

  .diy-curtain-shop h2 {
    font-size: 22px;
    line-height: 1.5;
  }

  .diy-curtain-shop__button {
    margin-top: 20px;
  }

  .diy-curtain-shop__button a {
    display: block;
    padding: 13px 15px;
    text-align: center;
  }
}


















