/* ===================================
   エンバーミングサイト専用CSS
   =================================== */

/* リセット・基本設定 */
.embalming-site {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.8;
}

/* ヘッダー */
.embalming-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.embalming-header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.embalming-header__logo img {
  height: 50px;
}

.embalming-header__logo span {
  font-size: 20px;
  font-weight: 600;
  margin-left: 15px;
  color: #333;
}

.embalming-header__contact {
  font-size: 14px;
  color: #666;
}

.embalming-header__contact a {
  color: #0066cc;
  text-decoration: none;
}

/* ナビゲーション */
.embalming-nav {
  background: #f8f8f8;
  border-top: 1px solid #e0e0e0;
}

.embalming-nav__list {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.embalming-nav__list li {
  margin: 0;
}

.embalming-nav__list a {
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
}

.embalming-nav__list a:hover {
  background: #e0e0e0;
}

/* コンテンツエリア */
.embalming-content {
  min-height: 60vh;
}

/* コンテナ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* セクション共通 */
section {
  padding: 60px 0;
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.section-lead {
  text-align: center;
  font-size: 16px;
  line-height: 2;
  margin-bottom: 40px;
}

.section-button {
  text-align: center;
  margin-top: 40px;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary {
  background: #0066cc;
  color: #fff;
}

.btn-primary:hover {
  background: #0052a3;
}

.btn-secondary {
  background: #fff;
  color: #0066cc;
  border: 2px solid #0066cc;
}

.btn-secondary:hover {
  background: #0066cc;
  color: #fff;
}

/* ヒーローセクション */
.embalming-hero {
  background: url(../img/embalming-re/hero-bg.png) no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.embalming-hero__title {
  font-size: 42px;
  margin-bottom: 20px;
  line-height: 1.4;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.embalming-hero__subtitle {
  font-size: 24px;
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.embalming-hero__description {
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.8;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* ニュースセクション */
.embalming-news {
  background: #f9f9f9;
}

.news-item {
  background: #fff;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.news-date {
  color: #999;
  font-size: 14px;
  margin-bottom: 10px;
}

/* このような時はセクション */
.embalming-cases {
  background: #f5f5f5;
}

/* ケースグリッド */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.case-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.case-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12), 0 12px 32px rgba(0, 0, 0, 0.08);
}

.case-item__image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.case-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.case-item:hover .case-item__image img {
  transform: scale(1.05);
}

.case-item__content {
  padding: 30px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
  line-height: 1.4;
}

.case-item p {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  text-align: left;
}

/* ベネフィットグリッド */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.benefit-item {
  display: flex;
  gap: 20px;
}

.benefit-item__icon img {
  width: 60px;
  height: 60px;
}

.benefit-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.benefit-item p {
  font-size: 14px;
  line-height: 1.8;
}

/* お客様の声 */
.testimonials-grid {
  margin-top: 40px;
}

.testimonial-item {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 8px;
}

.testimonial-item__image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
}

.testimonial-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-item__location {
  text-align: center;
  font-weight: 600;
  margin-bottom: 20px;
}

.testimonial-item__text {
  line-height: 1.8;
}

/* 料金セクション */
.embalming-price-section {
  background: #fff;
  text-align: center;
}

.price-box {
  background: #e8e8e8;
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.price-box__title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
}

.price-box__amount {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin: 30px 0 40px;
}

/* FAQセクション */
.embalming-faq-section {
  background: #fff;
  text-align: center;
}

.faq-box {
  background: #e8e8e8;
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.faq-box__title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.faq-box__description {
  font-size: 16px;
  color: #333;
  margin-bottom: 40px;
  line-height: 1.8;
}

/* フッター */
.embalming-footer {
  background: #333;
  color: #fff;
  padding: 60px 0 30px;
}

.embalming-footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.embalming-footer__logo {
  text-align: center;
  margin-bottom: 40px;
}

.embalming-footer__logo img {
  height: 60px;
}

.embalming-footer__content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.embalming-footer__section h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
}

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

.embalming-footer__section li {
  margin-bottom: 10px;
}

.embalming-footer__section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.embalming-footer__section a:hover {
  color: #fff;
}

.embalming-footer__social {
  text-align: center;
  margin-bottom: 30px;
}

.embalming-footer__social a {
  margin: 0 10px;
}

.embalming-footer__social img {
  width: 40px;
  height: 40px;
}

.embalming-footer__copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #555;
  color: #999;
  font-size: 14px;
}

/* エンバーミングの流れセクション */
.embalming-flow {
  background: #fff;
}

.flow-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

.flow-content__image {
  width: 100%;
  display: flex;
  justify-content: center;
}

.flow-content__image img {
  max-width: 100%;
  width: 60%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.flow-content__text {
  padding: 20px;
}

.flow-notes {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0;
}

.flow-notes__title {
  font-size: 18px;
  margin: 0;
  padding: 15px 20px;
  color: #333;
  font-weight: 700;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
}

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

.flow-notes__list li {
  padding: 15px 20px;
  line-height: 1.8;
  border-bottom: 1px solid #e8e8e8;
  font-size: 14px;
}

.flow-notes__list li:last-child {
  border-bottom: 1px solid #ddd;
}

.flow-notes__description {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  padding: 15px 20px;
  background: #fff;
  border-radius: 0;
  margin: 0;
}

/* ジーエスアイからのメッセージセクション */
.embalming-message {
  background: #fff;
}

.message-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 40px;
  background: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
}

.message-content__image {
  width: 100%;
  height: 100%;
}

.message-content__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-content__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
  background: #f5f5f5;
}

.message-content__text h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #333;
  text-align: center;
}

.btn-message {
  background: #fff;
  color: #0066cc;
  border: 2px solid #0066cc;
  padding: 15px 50px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-message:hover {
  background: #0066cc;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* エンバーマー紹介セクション */
.embalming-staff {
  background: #fff;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.staff-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.staff-item__image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
}

.staff-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-item__content {
  width: 100%;
}

.staff-item__name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.staff-item__credentials {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
  background: #fff;
  padding: 20px;
  border-radius: 4px;
}

.staff-item__credentials li {
  padding: 8px 0;
  line-height: 1.6;
  font-size: 14px;
  color: #555;
}

.staff-item__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.staff-item__links a {
  display: inline-block;
  color: #0066cc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.staff-item__links a:hover {
  color: #0052a3;
  text-decoration: underline;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .embalming-nav__list {
    flex-direction: column;
  }

  .embalming-nav__list a {
    border-bottom: 1px solid #e0e0e0;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .embalming-footer__content {
    grid-template-columns: 1fr;
  }

  .embalming-hero__title {
    font-size: 28px;
  }

  .embalming-hero__subtitle {
    font-size: 18px;
  }

  .flow-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .flow-content__text {
    padding: 0;
  }

  .flow-notes {
    padding: 20px;
  }

  .message-content {
    grid-template-columns: 1fr;
  }

  .message-content__text {
    padding: 40px 20px;
  }

  .message-content__text h3 {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .staff-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .staff-item__image {
    width: 150px;
    height: 150px;
  }
}

/* ===================================
   page-embalming.php 専用CSS
   =================================== */

/* エンバーミングページ（汎用テンプレート） */
.embalming-page {
  padding: 60px 0;
  min-height: 60vh;
}

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

.page-header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 2px solid #e0e0e0;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  color: #333;
}

.page-content {
  font-size: 16px;
  line-height: 1.9;
}

.page-content h2 {
  font-size: 28px;
  margin: 50px 0 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #0066cc;
  color: #333;
}

.page-content h3 {
  font-size: 22px;
  margin: 40px 0 20px;
  color: #333;
}

.page-content h4 {
  font-size: 18px;
  margin: 30px 0 15px;
  color: #333;
  font-weight: bold;
}

.page-content p {
  margin-bottom: 20px;
}

.page-content ul,
.page-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.page-content li {
  margin-bottom: 15px;
}

.page-content img {
  max-width: 100%;
  height: auto;
  margin: 30px 0;
  border-radius: 8px;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.page-content table th,
.page-content table td {
  padding: 15px;
  border: 1px solid #e0e0e0;
  text-align: left;
}

.page-content table th {
  background: #f8f8f8;
  font-weight: 600;
}

.page-content blockquote {
  margin: 30px 0;
  padding: 20px 30px;
  background: #f9f9f9;
  border-left: 4px solid #0066cc;
  font-style: italic;
}

.page-content a {
  color: #0066cc;
  text-decoration: none;
  border-bottom: 1px solid #0066cc;
  transition: all 0.3s;
}

.page-content a:hover {
  color: #0052a3;
  border-bottom-color: #0052a3;
}

/* ボックススタイル */
.content-box {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  margin: 30px 0;
}

.highlight-box {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 20px 30px;
  margin: 30px 0;
}

.info-box {
  background: #d1ecf1;
  border-left: 4px solid #17a2b8;
  padding: 20px 30px;
  margin: 30px 0;
}

.warning-box {
  background: #f8d7da;
  border-left: 4px solid #dc3545;
  padding: 20px 30px;
  margin: 30px 0;
}

.success-box {
  background: #d4edda;
  border-left: 4px solid #28a745;
  padding: 20px 30px;
  margin: 30px 0;
}

/* テキストスタイル */
.lead-text {
  font-size: 18px;
  line-height: 2;
  font-weight: 500;
  margin-bottom: 30px;
}

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

.text-large {
  font-size: 20px;
}

.text-small {
  font-size: 14px;
}

.text-bold {
  font-weight: 700;
}

/* グリッド */
.two-column-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 30px 0;
}

.three-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 30px 0;
}

/* カード */
.card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.card-text {
  font-size: 15px;
  line-height: 1.8;
}

/* セパレーター */
.separator {
  height: 2px;
  background: #e0e0e0;
  margin: 50px 0;
}

.separator-dotted {
  border-top: 2px dotted #e0e0e0;
  margin: 50px 0;
}

/* スペーシング */
.mt-10 {
  margin-top: 10px;
}
.mt-20 {
  margin-top: 20px;
}
.mt-30 {
  margin-top: 30px;
}
.mt-40 {
  margin-top: 40px;
}
.mt-50 {
  margin-top: 50px;
}

.mb-10 {
  margin-bottom: 10px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mb-30 {
  margin-bottom: 30px;
}
.mb-40 {
  margin-bottom: 40px;
}
.mb-50 {
  margin-bottom: 50px;
}

.pt-10 {
  padding-top: 10px;
}
.pt-20 {
  padding-top: 20px;
}
.pt-30 {
  padding-top: 30px;
}

.pb-10 {
  padding-bottom: 10px;
}
.pb-20 {
  padding-bottom: 20px;
}
.pb-30 {
  padding-bottom: 30px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .page-title {
    font-size: 28px;
  }

  .page-content h2 {
    font-size: 24px;
  }

  .page-content h3 {
    font-size: 20px;
  }

  .two-column-grid,
  .three-column-grid {
    grid-template-columns: 1fr;
  }

  .content-box,
  .highlight-box,
  .info-box,
  .warning-box,
  .success-box {
    padding: 20px;
  }
}
/* ===========================
   スマホ用 ハンバーガーメニュー
=========================== */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  padding: 15px 20px;
  cursor: pointer;
}

/* スマホ */
@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
  /* ボタン表示 */
  .nav-toggle {
    width: 100%;
    text-align: right;
    display: flex;
    justify-content: center;
    padding: 0;
    align-items: center;
    height: 40px;
  }

  /* メニューは最初非表示 */
  .embalming-nav__list {
    display: none;
    flex-direction: column;
  }

  /* 開いた時 */
  .embalming-nav__list.active {
    display: flex;
  }

  /* スマホ用見た目 */
  .embalming-nav__list a {
    padding: 14px;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid #ddd;
  }
}
