/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333333;
    line-height: 1.7;
    background-color: #ffffff;;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul {
    list-style: none;
}

/* 共通レイアウトコンテナ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-small {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* 共通見出しスタイル */
.section-header-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-sub {
    display: block;
    font-size: 0.85rem;
    color: #002255; /* 深いネイビー */
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.section-main {
    font-size: 1.8rem;
    color: #0d2a54;
    font-weight: 700;
    position: relative;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo img {
    height: 40px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

.btn-contact-small {
    display: inline-block;
    background-color: #002255;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('./img/top.jpg'); /* 鹿と奈良の風景画像 */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-left: 10%;
    margin-top: 80px; /* ヘッダー分の余白 */
}

.hero-content {
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 40px;
    border-radius: 4px;
}

.hero-title {
    font-size: 2.8rem;
    color: #002255;
    line-height: 1.3;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 0.9rem;
    color: #666;
    letter-spacing: 0.15em;
    margin-bottom: 30px;
}

.hero-lead {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    display: inline-block;
    background-color: #002255;
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: #002255;
    border: 1px solid #002255;
    padding: 15px 40px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
    width: 100%;            /* 横幅を画面いっぱいに広げます */
    padding: 0;             /* 上下の余白を一旦ゼロにしてヘッダーとの隙間をなくします */
    background-color: #ffffff;
}

.about-inner {
    max-width: 100%;        /* 1100pxの制限を解除して100%にします */
    margin: 0;              /* 中央寄せを解除します */
    padding: 0;             /* 内側の余白もゼロにします */
    display: flex;
    align-items: center;
    gap: 0;                 /* 左右の要素の間の隙間をなくしてピタッとくっつけます */
}

.about-text {
    flex: 1;
    padding: 60px 10%;      /* 文字の周りにだけ、見やすくなるよう適切な余白を作ります */
}

.about-text .section-main {
    margin-bottom: 20px;
}

.about-text .section-main::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: #002255;
    margin-top: 15px;
}

.about-description {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
}

.about-image {
    flex: 1;
    height: 370px;          
    overflow: hidden;       /* 画像がはみ出さないように*/
}

.about-image img {
    width: 100%;
    height: 100%;           /* 親要素（about-image）の高さ370pxに100%*/
    object-fit: cover;      
    border-radius: 0;       
    box-shadow: none;       /
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000000 20%);
    mask-image: linear-gradient(to right, transparent 0%, #000000 20%);
}
/* ==========================================================================
   SERVICE SECTION
   ========================================================================== */
.service {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 4px;
    border: 1px solid #eef2f5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}

.service-icon {
    margin-bottom: 25px;
}

.service-icon img {
    height: 45px;
}

.service-card-title {
    font-size: 1.1rem;
    color: #002255;
    margin-bottom: 15px;
}

.service-card-text {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 25px;
    flex-grow: 1;
}

.link-more {
    font-size: 0.9rem;
    color: #002255;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.link-more::after {
    content: '>';
    margin-left: 8px;
    font-size: 0.8rem;
}

/* ==========================================================================
   STRENGTH SECTION
   ========================================================================== */
.strength {
    padding: 100px 0;
    background-color: #ffffff;
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.strength-card {
    background-color: #fcfdfe;
    border: 1px solid #e2e8f0;
    padding: 40px 25px;
    text-align: center;
    border-radius: 4px;
}

.strength-icon {
    margin-bottom: 20px;
}

.strength-icon img {
    height: 40px;
}

.strength-card-title {
    font-size: 1.2rem;
    color: #002255;
    margin-bottom: 15px;
    font-weight: 600;
}

.strength-card-text {
    font-size: 0.88rem;
    color: #555555;
    text-align: left;
}

/* ==========================================================================
   MESSAGE SECTION
   ========================================================================== */
.message {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.message-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.message-text {
    flex: 1.2;
}

.message-text .section-main {
    margin-bottom: 30px;
}

.message-text .section-main::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: #002255;
    margin-top: 15px;
}

.message-title {
    font-size: 1.6rem;
    color: #002255;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 25px;
}

.message-description {
    font-size: 0.95rem;
    color: #444444;
    margin-bottom: 30px;
}

.message-author {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333333;
    margin-bottom: 35px;
}

.message-image {
    flex: 0.8;
}

.message-image img {
    width: 100%;
    border-radius: 4px;
}

/* ==========================================================================
   NEWS SECTION
   ========================================================================== */
.news {
    padding: 100px 0;
    background-color: #ffffff;
}

.news-flex {
    display: flex;
    gap: 60px;
}

.news-left {
    flex: 0.3;
}

.news-right {
    flex: 0.7;
}

.news-list {
    border-top: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.news-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.news-date {
    font-size: 0.9rem;
    color: #888888;
}

.news-category {
    font-size: 0.75rem;
    background-color: #f0f4f8;
    color: #002255;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.news-link {
    font-size: 0.95rem;
    color: #333333;
    flex-grow: 1;
}

.btn-news-more {
    display: inline-block;
    border: 1px solid #cccccc;
    padding: 12px 35px;
    font-size: 0.9rem;
    color: #555555;
    border-radius: 4px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact {
    background-image: url('contact-bg.jpg'); /* 奈良の夜景や夕景の画像 */
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.contact-bg-overlay {
    background-color: rgba(0, 22, 85, 0.85); /* ネイビーの透過レイヤー */
    padding: 80px 0;
}

.contact .section-sub {
    color: #ffffff;
    opacity: 0.8;
}

.contact-title {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-text {
    font-size: 1.05rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-contact-large {
    display: inline-block;
    background-color: #ffffff;
    color: #002255;
    padding: 18px 50px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #001133; /* より深いダークネイビー */
    color: #ffffff;
    padding: 70px 0 20px 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    flex: 0.3;
}

.footer-logo {
    height: 45px;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-links-wrap {
    flex: 0.7;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-nav-block h4 {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: #8da2bb;
}

.footer-nav-block ul li {
    margin-bottom: 12px;
}

.footer-nav-block ul li a {
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-nav-block ul li a:hover {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.icon-sns img {
    width: 24px;
    height: 24px;
    opacity: 0.8;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* ==========================================================================
   RESPONSIVE (スマートフォン対応)
   ========================================================================== */
@media (max-width: 768px) {
    .header-inner {
        justify-content: space-between;
    }
    .nav {
        display: none; /* 簡易的にスマホナビは非表示（必要に応じてハンバーガーメニュー化） */
    }
    .hero {
        padding-left: 20px;
        padding-right: 20px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .about-inner, .message-inner, .news-flex, .footer-inner, .footer-links-wrap {
        flex-direction: column;
        gap: 30px;
    }
    .footer-links-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}