/* =========================
  メイン（ブログ）
========================= */
main {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 15px;
}

.section {
  background-color: white;
  margin-bottom: 40px;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 8px var(--soft-orange);
}
@media (max-width: 768px) {
main h2{
    font-size: 25px;}
}
.heading-41 {
    display: flex;
    align-items: center;
    padding: .5em .7em;
    background-color: #f2f2f2;
    color: #333333;
    margin-top: 3rem;
}

.heading-41::before {
    display: inline-block;
    width: 5px;
    height: 1.5em;
    margin-right: .5em;
    background-color: #f2d482;
    content: '';
}
/* =========================
  画像スタイル
========================= */
.glass-img {
  width: 50%;
  max-width: 100%;
  height: auto;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 50, 0.15); /* ほんのり影 */
  background: rgba(255, 255, 255, 0.15); /* 半透明ガラス感 */
  backdrop-filter: blur(6px); /* 背景をぼかしてガラスっぽく */
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3); /* 薄い光の縁取り */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 2rem auto;
  display: block;
}

.glass-img:hover {
  transform: translateY(-3px) scale(1.02); /* ほんの少し浮かせる */
  box-shadow: 0 12px 32px rgba(0, 0, 50, 0.25);
}

/* =========================
  問い合わせ先
========================= */
.blog_center {
  text-align: center;
}

/* =========================
  ブログ一覧（works-grid）
========================= */
.works-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  justify-content: center;
}

.works-grid figure {
  flex: 1 1 23%;
  margin: 0;
  background-color: var(--soft-orange);
  /* border-radius: 6px; */
  overflow: hidden;
  text-align: center;
}

.works-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.works-grid figcaption {
  padding: 10px;
  font-weight: 600;
  color: var(--navy);
}

/* 固定ボタン中のリンク */
.fixed-contact-buttons .fixed-btn {
  flex: 1;
  text-align: center;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  line-height: 60px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.fixed-contact-buttons .fixed-btn:last-child {
  border-right: none;
}

/* =========================
  スマホ対応（ブロググリッドのみ）
========================= */
@media (max-width: 768px) {

  .works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 16px;
  }

  .works-grid img {
    aspect-ratio: 4 / 2;
    /* border-radius: 8px; */
  }

}

/* =========================
  お問い合わせブロック（タイトル強調・ボタン統一）
========================= */
.contact-info {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 235, 220, 0.85)
  );
  /* border-radius: 16px; */
  padding: 40px 24px 32px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  max-width: 760px;
  margin: 60px auto;
  overflow: hidden;
}

/* ほんのりガラス感 */
.contact-info::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(
    circle at top left,
    rgba(255, 255, 255, 0.7),
    transparent 60%
  );
  z-index: 0;
}

.contact-info > * {
  position: relative;
  z-index: 1;
}

/* =========================
  タイトル（文字幅に合わせた下線）
========================= */
.contact-info h4 {
  display: inline-block;       /* 下線を文字幅に合わせる */
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  padding-bottom: 10px;
  position: relative;
}

.contact-info h4::after {
  content: "";
  display: block;
  width: 100%;                 /* 文字幅＝下線幅 */
  height: 3px;
  background: linear-gradient(
    to right,
    var(--navy),
    var(--soft-orange)
  );
  margin: 10px auto 0;
  border-radius: 2px;
}

/* =========================
  ボタンエリア（オレンジ系統一）
========================= */
.contact-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: var(--soft-orange); /* ← オレンジ系に統一 */
  color: var(--navy);                 /* 文字は紺色 */
  border: none;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  opacity: 0.9;
}

/* =========================
  テキスト
========================= */
.contact-info p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #555;
}

.contact-info p strong {
  color: var(--navy);
  font-weight: 700;
}

/* =========================
  スマホ調整（問い合わせブロックのみ）
========================= */
@media (max-width: 768px) {

  .contact-info {
    padding: 32px 18px 28px;
    margin: 40px auto;
  }

  .contact-info h4 {
    font-size: 1.3rem;
  }

  .contact-btn {
    min-width: 100%;
  }
  .glass-img{
    width: 100%;
  }
}
