* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
}

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

/* ヘッダー */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-size: clamp(12px, 1.8vw, 16px);
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    width: 30%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    white-space: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #e67e22;
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(90deg, #e67e22, #f39c12);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8d0 100%);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;

}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(237, 141, 48, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(32px, 5.5vw, 56px);
    font-weight: 700;
    color: #c05f1a;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
    /* WebKit系（Safari / Chrome / Edge(Chromium)）のアウトライン */
    -webkit-text-stroke: 0.5px rgba(0,0,0,0.6);
    -webkit-text-fill-color: #c05f1a;

    /* フォールバック：多重 text-shadow で安定させる（非対応ブラウザ向け） */
    text-shadow:
        1px 1px 0 rgba(0,0,0,0.55),
       -1px -1px 0 rgba(0,0,0,0.55),
       -1px 1px 0 rgba(0,0,0,0.55),
        1px -1px 0 rgba(0,0,0,0.55),
        0 1px 0 rgba(0,0,0,0.55),
        1px 0 0 rgba(0,0,0,0.55),
       -1px 0 0 rgba(0,0,0,0.55),
        0 -1px 0 rgba(0,0,0,0.55);

    /* アンチエイリアスの微調整 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero p {
    font-size: clamp(17px, 1.2vw, 20px);
    color: #ffffff;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-slideshow,
.hero-slide,
.hero-slide img {
    width: 100%;
    max-width: 100vw;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #e67e22, #f39c12);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(12px, 1.5vw, 16px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.3);
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(230, 126, 34, 0.4);
}

/* サービスセクション */
.services {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: clamp(28px, 4.0vw, 40px);
    color: #c05f1a;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e67e22, #f39c12);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #c05f1a;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* 特徴セクション */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8d0 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e67e22, #f39c12);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 60px;
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: #c05f1a;
    margin-bottom: 1rem;
}

/* お知らせセクション */
.news {
    padding: 100px 0;
    background: white;
}

.news-list {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fff9f0;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid #e67e22;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.15);
}

.news-date {
    color: #e67e22;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 100px;
}

.news-tag {
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.news-tag.important {
    background: #fee2e2;
    color: #dc2626;
}

.news-tag.new {
    background: #dbeafe;
    color: #1e40af;
}

.news-tag.event {
    background: #fef3c7;
    color: #92400e;
}

.news-title {
    flex: 1;
    color: #333;
    font-weight: 500;
}

.news-link {
    text-align: center;
    margin-top: 2rem;
}

.news-more {
    color: #e67e22;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.news-more:hover {
    color: #c05f1a;
}

@media (max-width: 640px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .news-date {
        min-width: auto;
    }
}

/* お問い合わせセクション */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
    /* center → end に変更 */
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #c05f1a;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details {
    background: #fff9f0;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #e67e22;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    /* 均等配置 */
    height: 300px;
    /* 固定の高さを設定 */
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0;
    /* パディング削除 */
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e67e22, #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-icon img {
    width: 50%;
    height: 50%;
}

.contact-form {
    display: flex;
    /* flexboxを適用 */
    align-items: flex-end;
    /* 緑の枠を下に揃える */
}

.contact-form>div {
    background: #fff9f0;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 300px;
    /* contact-detailsと同じ高さに設定 */
}

.contact-form h4 {
    color: #c05f1a;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    margin-top: 0;
}

.contact-form p {
    color: #666;
    margin-bottom: 2rem;
}

/* フッター */
footer {
    background: #c05f1a;
    color: white;
    padding: 3rem 0 2rem;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #f39c12;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #f39c12;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e67e22;
    color: #999;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* ハンバーガーアイコン */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    justify-content: center;
    gap: 6px;
}

.hamburger span {
    display: block;
    height: 4px;
    background: #e67e22;
    border-radius: 2px;
    transition: all 0.3s;
}

/* スマホ時に表示 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        right: 20px;
        background: white;
        flex-direction: column;
        gap: 1.5rem;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
        padding: 2rem 2rem;
        border-radius: 16px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }


}