
body {
    /* Enforce Serif font globally */
    font-family: 'Noto Serif JP', serif;
    color: #334155;
    line-height: 1.8;
    font-size: 16px;
}
@media (max-width: 767px) {
    body {
        font-size: 15px;
        line-height: 1.75;
    }
}

h1, h2, h3, h4 {
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.05em;
}

/* Hero Section Overlay */
.hero-bg {
    background-color: #0A2342; /* Updated to match new brand navy */
    background-image: linear-gradient(135deg, #0A2342 0%, #1e3a8a 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
.hero-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Lightning-style Section Headers */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #c5a059;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
#mobile-menu.active {
    max-height: 400px;
    opacity: 1;
}

/* Custom Notification Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
}
.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
/* フォーム用*/
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 0.75rem 1rem; 
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-family: serif;
  transition: all .2s ease;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px rgb(30 58 138);
}
#contact-form input[type="submit"] {
  width: 100%;
  padding: 0.75rem 3rem;
  background-color: #c9a24d;
  color: #ffffff;
  font-weight: bold;
  border-radius: 0.375rem;
  font-family: serif;
  transition: background-color .2s ease;
  border: none;
  cursor: pointer;
}
#contact-form input[type="submit"]:hover,
#contact-form input[type="submit"]:focus {
  background-color: #aa8433;
  outline: none;
  box-shadow: none;
}
.wpcf7-response-output {
  text-align: center;
  font-size: 14px;
  padding: 6px;
  border-width: 1px;
  border-style: solid;
}

.wpcf7 form.sent .wpcf7-response-output {
  color: #ffb900;
  border-color: #ffb900;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    color: #f87171;
    border-color: #f87171;
}
.wpcf7-spinner {
  margin-top: 10px;
  border: 3px solid rgba(30, 58, 138, 0.2);
  border-top-color: rgb(30, 58, 138);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  z-index: 10;
}

/* =========================================
   WordPress content 最低限リセット
   Tailwind前提
   ========================================= */

/* 投稿・固定ページ本文幅 */
.entry-content {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

/* 画像のはみ出し防止 */
.entry-content img {
    max-width: 100%;
    height: auto;
}

/* Gutenbergの余白対策 */
.wp-block {
    margin-bottom: 1.5rem;
}

/* ブロック引用の最低限 */
.wp-block-quote {
    border-left: 4px solid #c5a059;
    padding-left: 1rem;
    color: #475569;
}

/* 表が崩れないように */
.wp-block-table {
    overflow-x: auto;
}
/* ======================================
   WordPress Content 
====================================== */


.entry-content h2 {
    font-size: 1.25rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #0A2342;
}

.entry-content h3 {
    font-size: 1.125rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.entry-content h4 {
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.entry-content p {
    margin-bottom: 1.4rem;
    line-height: 1.85;
}

.entry-content a {
    text-decoration: underline;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}
/* ===== SP typography fix ===== */
@media (max-width: 640px) {

    .entry-content h2 {
        font-size: 1.125rem;   /* text-lg */
    }

    .entry-content h3 {
        font-size: 1rem;       /* text-base */
    }

    .entry-content h4 {
        font-size: 0.95rem;
    }
}

