/*
Theme Name: Hannan Themes
Theme URI: https://example.com
Description: さくら診療所のWordPressテーマ。Bootstrap5のグリッドシステム（container-lg/row/col）のみを使用。レスポンシブ対応。
Version: 1.0.0
Author: HBM Web
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hannan_themes
*/

/* Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 6px;
  z-index: 999999;
  padding: 8px 16px;
  background: #000;
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  position: absolute;
  left: 6px;
  display: block;
}

/* Custom CSS Reset and Base Styles */
@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

html,
body {
  margin: 0px;
  height: 100%;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
}

/* Focus Styles */
button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}

/* Font Face */
@font-face {
  font-family: "Arial-Regular";
  src: url("https://anima-uploads.s3.amazonaws.com/projects/66eaa9f8e5d9b24120c2de64/fonts/satoshi-regular.ttf") format("truetype");
}

/* Body */
body {
  background-color: #ffffff;
  font-family: "Noto Sans JP", Helvetica, sans-serif;
  color: #3e3a39;
  line-height: 1.6;
}

/* Header */
.hn-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0;
  overflow: hidden;
  margin: 0;
  height: 104px;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

/* Header background after scrolling */
.hn-header.scrolled {
  background-color: #fff;
}

.hn-header .header-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hn-header .logo-area {
  background-color: #ffffff;
  border-radius: 0px 0px 5px 0px;
  padding: 20px 40px;
  min-width: 450px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hn-header .logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hn-header .logo img {
  width: 61px;
  height: 63px;
  object-fit: cover;
}

.hn-header .logo-text {
  font-family: "Zen Maru Gothic", Helvetica;
  font-weight: 700;
  color: #ee86a1;
  font-size: 40px;
  letter-spacing: 3.00px;
  line-height: 53px;
  margin-bottom: 0;
}

/* Global Navigation */
.main-navigation {
  padding-right: 30px;
}

.hn-gnav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
}

.hn-gnav li {
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.9);
  transition: border-color 0.3s ease;
}

.hn-gnav li:last-child {
  border-right: none;
}

/* Navigation links after scrolling */
.hn-header.scrolled .hn-gnav li {
  border-right: 1px solid #333;
}

.hn-header.scrolled .hn-gnav li:last-child {
  border-right: none;
}

.hn-gnav a {
  display: block;
  padding: 10px 20px;
  color: #ffffff;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 1.46px;
  line-height: 19px;
  text-align: center;
  white-space: nowrap;
  transition: color 0.3s ease;
}

/* Navigation link color after scrolling */
.hn-header.scrolled .hn-gnav a {
  color: #333;
}

.hn-gnav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: all 0.3s ease;
}

.hn-header.scrolled .hamburger-line {
  background-color: #333;
}

/* Hamburger animation when active */
.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 104px;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  transform: translateY(0);
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 20px 0;
}

.mobile-nav li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-nav li:last-child {
  border-bottom: none;
}

.mobile-nav a {
  display: block;
  padding: 15px 30px;
  color: #333;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1.46px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.mobile-nav a:hover {
  background-color: rgba(238, 134, 161, 0.1);
}

/* Key Visual Section */
#key-visual {
  position: relative;
  height: 100vh;
  background: linear-gradient(rgba(183, 149, 147, 0.3), rgba(183, 149, 147, 0.3)),
    url('./images/main_bk.webp');
  background-size: cover;
  background-position: center;
  background-color: #f8d7da;
  border-radius: 5px;
  margin: 20px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 60px;
}

#key-visual .kv-text {
  color: #ffffff;
  font-family: "Zen Maru Gothic", Helvetica;
  font-weight: 500;
  font-size: 40px;
  letter-spacing: 2.80px;
  line-height: 64px;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  text-align: center;
  max-width: 444px;
}

#key-visual .kv-text .highlight {
  color: #ee86a1;
}

#key-visual .kv-text .small {
  font-size: 30px;
  letter-spacing: 0.63px;
  line-height: 48px;
}

#key-visual .kv-image {
  position: absolute;
  left: 60px;
  bottom: 60px;
  width: 236px;
  height: 206px;
}

/* Section Common Styles */
section {
  padding: 80px 0;
}

.hn-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.hn-section-title {
  font-family: "Zen Maru Gothic", Helvetica;
  font-weight: 500;
  color: #ee86a1;
  font-size: 36px;
  letter-spacing: 3.60px;
  line-height: 1.8;
  margin-bottom: 7px;
}

.hn-section-subtitle {
  font-family: "Josefin Sans", Helvetica;
  font-weight: 400;
  color: #ee86a1;
  font-size: 18px;
  letter-spacing: 1.80px;
  line-height: 27px;
}

/* News Section */
#news-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.hn-news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.hn-news-title {
  font-family: "Zen Maru Gothic", Helvetica;
  font-weight: 500;
  color: #3e3a39;
  font-size: 36px;
  letter-spacing: 2.80px;
  line-height: 1.8;
}

.hn-news-subtitle {
  font-family: "Josefin Sans", Helvetica;
  font-weight: 400;
  color: #ee86a1;
  font-size: 18px;
  letter-spacing: 1.80px;
  line-height: 27px;
  margin-top: 8px;
}

.hn-news-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 140px;
  height: 50px;
  background-image: url('./images/news-more.svg');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 100%;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 300;
  color: #3e3a39;
  font-size: 16px;
  letter-spacing: 1.60px;
  line-height: 24px;
  padding-left: 60px;
  text-decoration: none;
}

.hn-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hn-news-item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.hn-news-date {
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 300;
  color: #3e3a39;
  font-size: 16px;
  letter-spacing: 1.60px;
  line-height: 20px;
  min-width: 100px;
}

.hn-news-text {
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 300;
  color: #3e3a39;
  font-size: 16px;
  letter-spacing: 1.60px;
  line-height: 20px;
  flex: 1;
}

.hn-news-text a {
  color: #3e3a39;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hn-news-text a:hover {
  color: #ee86a1;
}

/* Background Image Sections */
.hn-bg-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 150px 0 108px 0;
}

/* .hn-bg-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1;
} */

.hn-bg-section .container-lg {
  position: relative;
  z-index: 2;
}

#clinic-section {
  background-image: url('./images/pink_bk.png');
}

#greeting-section {
  background-image: url('./images/pink_bk.png');
}

#commitment-section {
  background-image: url('./images/pink_bk.png');
}

#contact-section {
  background-image: url('./images/pink_bk.png');
}

/* White Content Box */
.hn-content-box {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 60px 30px;
  position: relative;
}

.hn-content-box::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 91px;
  background-image: url('./images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.hn-content-box::after {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: #fff;
  border-radius: 110px;
  z-index: -1;
}

/* Room Content Box */
.room-content-box {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 60px 30px;
  position: relative;
  border: 2px dashed #8FBB6D;
}

/* Commitment and Room Section Headers */
#commitment-section h3 {
  font-family: 'Zen Maru Gothic', Helvetica;
  font-weight: 500;
  color: #ee86a1;
  font-size: 28px;
  line-height: 1.8;
  margin-bottom: 30px;
}

#room-section h2 {
  color: #ee86a1;
  text-decoration: underline;
  margin-bottom: 40px;
  font-size: 28px;
}

/* Commitment Section Special Info Box */
#commitment-section .info-box {
  background-color: #ffffff;
  border-radius: 30px;
  border: 14px solid #f8ead5;
  padding: 40px;
  margin: 40px 0;
}

#commitment-section .info-box h3 {
  text-decoration: underline;
}

/* Clinic Section Styles */
#clinic-section .logo {
  margin-bottom: 3px;
}

#clinic-section .logo img {
  width: 61px;
  height: 63px;
}

#clinic-section .logo-text {
  font-family: 'Zen Maru Gothic', Helvetica;
  font-weight: 700;
  color: #ee86a1;
  font-size: 30px;
}

#clinic-section .clinic-info h3 {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 20px;
}

#clinic-section .clinic-info h3 img {
  width: 44px;
  height: 39px;
}

#clinic-section .clinic-info h3 span {
  font-family: 'Zen Maru Gothic', Helvetica;
  font-weight: 500;
  color: #ee86a1;
  font-size: 26px;
}

#clinic-section .clinic-note {
  font-family: 'Noto Sans JP', Helvetica;
  font-weight: 300;
  color: #3e3a39;
  font-size: 16px;
}

#clinic-section .clinic-subject {
  font-family: 'Zen Maru Gothic', Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 21px;
  letter-spacing: 1.20px;
}

/* Greeting Section Styles */
#greeting-section .doctor-name {
  text-align: center;
  font-family: 'Zen Maru Gothic', Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 35px;
}

#greeting-section .doctor-title {
  letter-spacing: 0.30px;
}

#greeting-section .doctor-name-large {
  font-size: 35px;
  letter-spacing: 0.42px;
}

#greeting-section .doctor-list {
  text-align: left;
  font-family: 'Zen Maru Gothic', Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 25px;
  width: 330px;
  margin: 0 auto;
}

#greeting-section .doctor-list-name {
  font-size: 30px;
  letter-spacing: 0.42px;
}

#greeting-section .doctor-list-department {
  letter-spacing: 0.30px;
}

#greeting-section .doctor-list-large {
  text-align: center;
  font-family: 'Zen Maru Gothic', Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 30px;
  letter-spacing: 0.42px;
}

#greeting-section .doctor-list-large .department {
  font-size: 25px;
  letter-spacing: 0.30px;
}

#greeting-section .emergency-doctors {
  font-family: 'Zen Maru Gothic', Helvetica;
  color: #000000;
  font-size: 25px;
  line-height: 35px;
}

#greeting-section .emergency-doctors .normal {
  font-weight: 500;
  letter-spacing: 0.30px;
}

#greeting-section .emergency-doctors .highlight {
  font-weight: 700;
  color: #ee86a1;
  letter-spacing: 0.30px;
  text-decoration: underline;
}

/* Room Section Background */
#room-section {
  background-image: url('./images/pink_bk.png');
}

/* Google Map Container */
.google-map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.google-map-container iframe {
  border: 0;
}

/* Contact Section Privacy Policy Styles */
#contact-section .contact-notice {
  text-align: center;
  margin-bottom: 1rem;
  color: #555555;
  font-size: 18px;
}

#contact-section .privacy-policy-check {
  color: #ee86a1;
  font-size: 13.5px;
  letter-spacing: 1.60px;
  margin-bottom: 10px;
}

#contact-section .privacy-policy-text {
  color: #555555;
  font-size: 18px;
  letter-spacing: 1.60px;
  margin-bottom: 20px;
}

#contact-section .sales-notice {
  color: #d25858;
  font-size: 13.5px;
  letter-spacing: 1.60px;
}

/* Section Divider */
.section-divider {
  margin: 60px 0;
  border: 2px dashed #8FBB6D;
  border-top: 2px dashed #8FBB6D;
  border-bottom: none;
  border-left: none;
  border-right: none;
}

/* Text Styles */
.hn-text-content {
  font-family: "Zen Maru Gothic", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 16px;
  letter-spacing: 1.20px;
  line-height: 1.8;
}

.hn-image-placeholder {
  background-color: #d9d9d9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 14px;
}

/* Buttons */
.hn-btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: #ee86a1;
  color: #ffffff;
  border-radius: 64px;
  font-family: "Inter", Helvetica;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.72px;
  line-height: 25.2px;
  text-align: center;
  box-shadow: 0px 0px 8px rgba(221, 221, 221, 0.25);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hn-btn:hover {
  background-color: #d6708a;
}

/* Form Styles */
.hn-form-group {
  margin-bottom: 20px;
}

.hn-form-label {
  display: block;
  font-family: "Zen Maru Gothic", Helvetica;
  font-weight: 500;
  color: #555555;
  font-size: 15.8px;
  letter-spacing: 0.80px;
  line-height: 28.8px;
  margin-bottom: 8px;
}

.hn-form-input,
.hn-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dbdbdb;
  border-radius: 6px;
  font-family: "Noto Sans JP", Helvetica;
  font-size: 16px;
}

.hn-form-textarea {
  min-height: 120px;
  resize: vertical;
}

.hn-required {
  background-color: #ec5655;
  color: #ffffff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
}

/* Footer */
.hn-footer {
  background-color: #f8f9fa;
  padding: 40px 0 20px;
  text-align: center;
}

.hn-footer-nav {
  list-style: none;
  margin: 0 0 30px 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hn-footer-nav a {
  font-family: "Zen Maru Gothic", Helvetica;
  font-weight: 500;
  color: #424242;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 34px;
}

.hn-copyright {
  font-family: "Zen Maru Gothic", Helvetica;
  font-weight: 500;
  color: #424242;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 20px;
}

/* Responsive Design */
@media (max-width: 990px) {
  .main-navigation {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .hn-header .header-content {
    padding: 0 20px;
  }

  .hn-header .logo-area {
    min-width: auto;
    padding: 15px 20px;
    flex: 1;
  }

  #commitment-section h3 {
    margin-bottom: 10px;
    margin-top: 10px;
  }
}

@media (min-width: 991px) {
  #clinic-section .col-lg-6:last-child {
    border-left: 2px dashed #8FBB6D;
  }

  .hamburger-menu {
    display: none !important;
  }

  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 1200px) {
  .header-content {
    background-color: #fff;
  }

  .hn-header .logo-area {
    min-width: 300px;
    padding: 15px 30px;
  }

  .hn-gnav a {
    padding: 8px 15px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .hn-header {
    background: #fff;
    margin: 0;
    left: 0;
    right: 0;
    width: 100%;
  }

  .hn-header .header-content {
    padding: 0 15px;
  }

  .hn-header .logo-area {
    min-width: auto;
    padding: 10px 15px;
    flex: 1;
    border-radius: 0;
  }

  #key-visual {
    height: 500px;
    padding: 30px;
    text-align: center;
    margin: 0;
    border-radius: 0;
  }

  #key-visual .kv-text {
    font-size: 28px;
    line-height: 44px;
  }

  #key-visual .kv-image {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 20px auto 0;
  }

  .hn-content-box {
    padding: 60px 20px 30px;
  }

  .hn-section-title {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .hn-header .logo-text {
    font-size: 23px;
  }

  .hn-header .logo img {
    width: 41px;
    height: 43px;
  }

  #commitment-section h3,
  #room-section h2 {
    font-size: 24px;
  }

  #commitment-section .info-box {
    border: 3px solid #f8ead5;
    padding: 20px;
  }

  section {
    padding: 40px 0;
  }

  .hn-bg-section {
    padding: 150px 0 60px 0;
  }

  .hn-news-header {
    flex-direction: column;
    gap: 20px;
  }

  .hn-news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hn-footer-nav {
    flex-direction: column;
    gap: 10px;
  }
}

/* Archive Page Styles */
.archive-header-section {
  background: linear-gradient(rgba(183, 149, 147, 0.45), rgba(183, 149, 147, 0.45)), url('./images/main_bk.webp');
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
}

.archive-header-section .hn-section-title {
  color: #ffffff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.archive-header-section .hn-section-subtitle {
  color: #ffffff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.archive-description {
  margin-top: 20px;
  font-size: 16px;
  color: #666;
}

.hn-news-archive-list,
.hn-archive-list {
  margin-bottom: 40px;
}

.hn-news-archive-item,
.hn-archive-item {
  padding: 30px 0;
  border-bottom: 1px solid #e5e5e5;
}

.hn-news-archive-item:last-child,
.hn-archive-item:last-child {
  border-bottom: none;
}

.hn-news-archive-title,
.hn-archive-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.hn-news-archive-title a,
.hn-archive-title a {
  color: #3e3a39;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hn-news-archive-title a:hover,
.hn-archive-title a:hover {
  color: #ee86a1;
}

.hn-news-excerpt,
.hn-archive-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Pagination Styles */
.hn-pagination {
  text-align: center;
  margin: 40px 0;
}

.hn-pagination .page-numbers {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  background-color: #fff;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #3e3a39;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.hn-pagination .page-numbers:hover,
.hn-pagination .page-numbers.current {
  background-color: #ee86a1;
  color: #fff;
  border-color: #ee86a1;
}

.hn-no-posts {
  padding: 60px 0;
}

.hn-back-link {
  color: #3e3a39;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.hn-back-link:hover {
  color: #ee86a1;
}

/* Single Page Styles */
.single-header-section {
  background: linear-gradient(rgba(183, 149, 147, 0.45), rgba(183, 149, 147, 0.45)), url('./images/main_bk.webp');
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
}

.single-header-section .hn-section-title {
  color: #ffffff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.single-header-section .hn-section-subtitle {
  color: #ffffff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.hn-single-header {
  text-align: center;
}

.hn-breadcrumb {
  font-size: 14px;
  margin-bottom: 20px;
  color: #666;
}

.hn-breadcrumb a {
  color: #666;
  text-decoration: none;
}

.hn-breadcrumb a:hover {
  color: #ee86a1;
}

.hn-breadcrumb .separator {
  margin: 0 10px;
}

.hn-breadcrumb .current {
  color: #3e3a39;
}

.hn-post-meta {
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

.hn-post-date {
  margin-right: 20px;
}

.hn-post-type {
  background-color: #ee86a1;
  color: #fff;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 12px;
}

.hn-single-title {
  font-size: 32px;
  font-weight: 500;
  color: #3e3a39;
  margin: 0;
  line-height: 1.4;
}

.single-content-section {
  padding: 60px 0;
}

.hn-post-header-content {
  text-align: left;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #f0f0f0;
}

.hn-post-date-large {
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 300;
  color: #666;
  font-size: 18px;
  letter-spacing: 1.60px;
  margin-bottom: 15px;
  display: block;
}

.hn-single-title-large {
  font-family: "Zen Maru Gothic", Helvetica;
  font-weight: 500;
  color: #3e3a39;
  font-size: 28px;
  letter-spacing: 1.5px;
  line-height: 1.6;
  margin: 0;
}

.hn-single-article {
  margin-bottom: 50px;
}

.hn-post-thumbnail {
  margin-bottom: 30px;
}

.hn-post-content {
  font-size: 16px;
  line-height: 1.8;
  color: #3e3a39;
  margin-bottom: 30px;
}

.hn-post-content h2 {
  font-size: 24px;
  margin: 30px 0 20px 0;
  color: #3e3a39;
}

.hn-post-content h3 {
  font-size: 20px;
  margin: 25px 0 15px 0;
  color: #3e3a39;
}

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

.hn-post-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

.hn-post-tags {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e5e5e5;
}

.hn-post-tags h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.tag-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list li {
  background-color: #f5f5f5;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 14px;
}

/* Post Navigation */
.hn-post-navigation {
  margin: 50px 0;
  padding: 30px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.hn-nav-previous,
.hn-nav-next {
  padding: 15px 0;
}

.hn-nav-previous a,
.hn-nav-next a {
  color: #3e3a39;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.hn-nav-previous a:hover,
.hn-nav-next a:hover {
  color: #ee86a1;
}

.nav-label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.nav-title {
  display: block;
  font-size: 16px;
  font-weight: 500;
}

.hn-back-to-archive {
  margin-bottom: 20px;
}

.hn-home-link {
  color: #666;
  text-decoration: underline;
  font-size: 14px;
}

.hn-home-link:hover {
  color: #ee86a1;
}

/* No Post Found Styles */
.no-post-section {
  padding: 100px 0;
}

/* Mobile Responsive for Archive and Single Pages */
@media (max-width: 768px) {
  .hn-single-title {
    font-size: 24px;
  }

  .hn-single-title-large {
    font-size: 24px;
  }

  .hn-post-date-large {
    font-size: 16px;
  }

  .hn-news-archive-title,
  .hn-archive-title {
    font-size: 18px;
  }

  .hn-post-navigation .row {
    flex-direction: column;
    gap: 20px;
  }

  .hn-nav-next {
    text-align: left !important;
  }
}

/* MW WP Form Button Styles */
.mw_wp_form [type=submit],
.mw_wp_form button {
  border: none;
  background-color: #ee86a1 !important;
  color: #ffffff !important;
  border-radius: 64px;
  padding: 10px;
  width: 100%;
}

.mw_wp_form input,
.mw_wp_form textarea {
  width: 100%;
}

.mwform_button,
input[type="submit"].mwform_button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #ee86a1 !important;
  color: #ffffff !important;
  border-radius: 64px;
  font-family: "Inter", Helvetica;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.72px;
  line-height: 25.2px;
  text-align: center;
  box-shadow: 0px 0px 8px rgba(221, 221, 221, 0.25);
  border: none !important;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none !important;
}

.mwform_button:hover,
input[type="submit"].mwform_button:hover {
  background-color: #d6708a !important;
  color: #ffffff !important;
}

/* Privacy Policy Link in Forms */
.privacy-policy-link {
  color: #ee86a1;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.privacy-policy-link:hover {
  color: #d6708a;
  text-decoration: underline;
}

.hn-form-inquiry input {
  width: auto;
}

@media (max-width: 768px) {
  .hn-form-inquiry {
    display: flex;
    flex-direction: column;
  }

  .mw_wp_form .horizontal-item+.horizontal-item {
    margin-left: 0px !important;
  }
}

/* MW WP Form Styling */
.mwform {
  font-family: "Noto Sans JP", Helvetica, sans-serif;
}

.mwform input[type="text"],
.mwform input[type="email"],
.mwform input[type="tel"],
.mwform textarea,
.mwform select {
  width: 100% !important;
  padding: 12px 16px;
  border: 1px solid #dbdbdb;
  border-radius: 6px;
  font-family: "Noto Sans JP", Helvetica;
  font-size: 16px;
  margin-bottom: 10px;
}

.mwform textarea {
  min-height: 120px;
  resize: vertical;
}

.mwform label {
  display: block;
  font-family: "Zen Maru Gothic", Helvetica;
  font-weight: 500;
  color: #555555;
  font-size: 15.8px;
  letter-spacing: 0.80px;
  line-height: 28.8px;
  margin-bottom: 8px;
}

/* Privacy Policy Styles */
.privacy-policy-content h2 {
  color: #ee86a1;
  font-size: 24px;
  margin: 40px 0 20px 0;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

.privacy-policy-content h3 {
  color: #3e3a39;
  font-size: 20px;
  margin: 30px 0 15px 0;
}

.privacy-policy-content ul {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.privacy-policy-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #3e3a39;
  line-height: 1.8;
}

.privacy-policy-content ul li:before {
  content: "•";
  color: #ee86a1;
  position: absolute;
  left: 0;
  top: 0;
}

.privacy-policy-content .contact-info {
  background-color: #f8f9fa;
  border-left: 4px solid #ee86a1;
  padding: 20px;
  margin: 30px 0;
  border-radius: 5px;
}

.privacy-policy-content .contact-info strong {
  color: #ee86a1;
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}

/* Mobile Responsive for Privacy Policy */
@media (max-width: 768px) {
  .privacy-policy-content h2 {
    font-size: 20px;
  }

  .privacy-policy-content h3 {
    font-size: 18px;
  }

  .privacy-policy-content .contact-info {
    padding: 15px;
  }
}