@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@400;500&family=Noto+Serif+JP:wght@400;700&family=Open+Sans:ital,wght@0,400;1,600&family=Shippori+Mincho:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Love+Ya+Like+A+Sister&family=Nanum+Myeongjo&family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

/* ===================================
   2026年召天者記念礼拝・記念会 専用CSS
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a, a:link, a:visited {
    color: inherit;
    text-decoration: none;
}

li {
    list-style: none;
}

.container {
    width: 1140px;
    margin: 0 auto;
}

/* ===================================
   Header
   =================================== */
header {
    position: fixed;
    top: 0;
    z-index: 1;
    width: 100%;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
    padding: 12px 20px;
    width: 100%;
}

header button {
    background-color: transparent;
    border: 0;
    color: black;
    cursor: pointer;
}

header h1 {
    margin: 0;
}

header h1 button {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 15px;
    margin: 0;
}

header nav ul {
    display: flex;
    margin: 0;
}

header nav ul li {
    padding: 0;
}

header nav ul li button {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 15px;
    margin: 0;
}

header.active {
    background-color: rgb(254, 214, 214);
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* ===================================
   Section
   =================================== */
section {
    font-family: 'Noto Serif JP', serif;
    padding: 5rem 0;
}

section .title {
    margin-bottom: 3rem;
}

/* ===================================
   召天者記念 メインスタイル
   =================================== */
section .title .shoutenshyakinen h2 {
    font-size: 1.7rem;
    width: 100%;
    height: auto;
    min-height: 78px;
    border-bottom: 1px solid #030c2b;
    background-color: white;
    text-align: center;
    padding: 20px 15px;
    color: #116c73;
    line-height: 1.5;
    word-break: keep-all;
}

section .title .shoutenshyakinen h1 {
    font-size: 1.5rem;
    color: rgb(9, 40, 111);
    padding: 10px;
}

section .title .shoutenshyakinen h4 p {
    color: rgb(28, 33, 126);
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: left;
}

section .title .shoutenshyakinen h3 {
    color: rgb(0, 0, 0);
    margin-top: 5px;
    font-size: 1.5rem;
    padding: 10px 0;
    text-align: left;
}

section .title .shoutenshyakinen h6 {
    color: rgb(0, 0, 0);
    margin-top: 5px;
    font-size: 1.4rem;
    padding: 10px 0;
    text-align: center;
}

section .title .shoutenshyakinen img {
    width: 90%;
    border: 1px solid rgba(113, 158, 206, 0.5);
    box-shadow: 0 0 10px rgba(113, 158, 206, 0.5);
    margin-bottom: 20px;
    margin-left: 5%;
}

section .title .shoutenshyakinen h5 {
    margin-left: 10px;
    font-size: 1.5rem;
    line-height: 28px;
    color: #000000;
    text-align: right;
}

section .title .shoutenshyakinen p {
    font-size: 1.3rem;
    color: rgb(96, 92, 92);
    text-align: center;
    text-decoration: none;
}

section .title .shoutenshyakinen iframe {
    width: 100%;
    border: 1px solid rgba(113, 158, 206, 0.5);
    box-shadow: 0 0 10px rgba(113, 158, 206, 0.5);
}

/* ===================================
   Memorial Card
   =================================== */
.memorial-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 30px;
    margin: 30px auto;
    max-width: 800px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.memorial-header {
    text-align: center;
    margin-bottom: 25px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #e8f5f5 0%, #f0e6f0 50%, #e6ecf5 100%);
    border-radius: 12px;
    border: none;
}

.memorial-header i {
    font-size: 2.8rem;
    color: #7a9a9a;
    margin-bottom: 15px;
    display: block;
    opacity: 0.85;
}

.memorial-header h3 {
    color: #5a7a7a !important;
    font-size: 1.35rem !important;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center !important;
    margin: 0 auto;
}

/* ===================================
   Greeting Box
   =================================== */
.greeting-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px 35px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.greeting-box .greeting-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #116c73;
    margin-bottom: 20px;
    text-align: left;
}

.greeting-box p {
    font-size: 1.1rem;
    line-height: 2.0;
    color: #333;
    text-align: left;
    margin: 0 0 18px 0;
    text-indent: 1em;
}

.greeting-box p:last-child {
    margin-bottom: 0;
}

.greeting-box .closing {
    text-align: right;
    margin-top: 25px;
    font-weight: 500;
    color: #555;
    text-indent: 0;
}

/* ===================================
   Info Box
   =================================== */
.info-box {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
    border-left: 4px solid #116c73;
}

.info-box h4 {
    color: #116c73;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box p {
    font-size: 1.15rem;
    line-height: 2.0;
    color: #333;
    text-align: left;
    margin: 8px 0;
}

/* ===================================
   Schedule Table
   =================================== */
.schedule-table {
    width: 100%;
    margin: 15px 0;
}

.schedule-table tr {
    border-bottom: 1px dotted #ddd;
}

.schedule-table td {
    padding: 12px 10px;
    font-size: 1.15rem;
    vertical-align: top;
}

.schedule-table .time-label {
    font-weight: 600;
    color: #116c73;
    width: 140px;
}

.schedule-table .location {
    color: #666;
    font-size: 1.0rem;
}

/* ===================================
   Notice Box
   =================================== */
.notice-box {
    background: #fff8e1;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #f9a825;
}

.notice-box p {
    color: #5d4037;
    font-size: 1.1rem;
    text-align: left;
}

.notice-box i {
    color: #f9a825;
    margin-right: 8px;
}

/* ===================================
   Access Section
   =================================== */
.access-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.access-header {
    text-align: center;
    margin-bottom: 30px;
}

.access-header h3 {
    color: #116c73;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-weight: 600;
}

.access-header h3 i {
    font-size: 1.2rem;
    color: #116c73;
}

/* ===================================
   Map Container
   =================================== */
.map-container {
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.map-container iframe {
    border-radius: 10px;
    width: 100%;
    height: 400px;
}

/* ===================================
   Station Badge
   =================================== */
.station-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1.1rem;
    color: #2e7d32;
    font-weight: 600;
    margin-top: 15px;
}

.station-badge i {
    color: #43a047;
}

/* ===================================
   Church Info Card
   =================================== */
.church-info-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-top: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.info-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item:first-child {
    padding-top: 0;
}

.info-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 20px;
}

.info-item-icon i {
    font-size: 1.3rem;
    color: #2e7d32;
}

.info-item-icon.text-icon {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.info-item-icon.text-icon span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #2e7d32;
    text-align: center;
    line-height: 1.2;
}

.info-item-icon.blue {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.info-item-icon.blue i {
    color: #1976d2;
}

.info-item-content {
    flex: 1;
}

.info-item-content h4 {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.info-item-content p {
    color: #1a1a1a;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

.info-item-content .address-text {
    font-size: 1.05rem;
    font-weight: 500;
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top-area {
    display: flex;
    justify-content: center;
    padding: 30px 0;
    background-color: transparent;
}

.back-to-top {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    font-family: 'Noto Serif JP', serif;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

/* ===================================
   Footer
   =================================== */
footer {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: rgb(254, 214, 214);
    padding: 15px;
    font-family: 'Noto Serif JP', serif;
}

/* ===================================
   Media Queries
   =================================== */
@media screen and (max-width: 1140px) {
    section .container {
        width: 600px;
    }
}

@media screen and (max-width: 992px) {
    html {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 13px;
    }
    
    section .container {
        width: 400px;
    }
    
    header .container {
        gap: 30px;
    }
    
    header h1 button,
    header nav ul li button {
        font-size: 1.0rem;
    }
    
    .access-section {
        padding: 25px 20px;
        margin: 30px 10px;
    }
    
    .access-header h3 {
        font-size: 1.2rem;
    }
    
    .church-info-card {
        padding: 20px;
    }
    
    .info-item {
        padding: 15px 0;
    }
    
    .info-item-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }
    
    .info-item-icon i {
        font-size: 1.1rem;
    }
    
    .info-item-content p {
        font-size: 1.0rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .memorial-card {
        padding: 20px;
        margin: 20px 10px;
    }
    
    .greeting-box {
        padding: 25px 20px;
    }
    
    .greeting-box p {
        font-size: 1.0rem;
        line-height: 1.9;
    }
    
    .info-box {
        padding: 20px 15px;
    }
    
    .schedule-table .time-label {
        width: 100px;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 12px;
    }
    
    section .container {
        width: 360px;
    }
    
    section .title .shoutenshyakinen h2 {
        font-size: 1.3rem;
        padding: 15px 10px;
    }
}

@media screen and (max-width: 400px) {
    html {
        font-size: 11px;
    }
    
    section .container {
        width: 320px;
    }
    
    section .title .shoutenshyakinen h2 {
        font-size: 1.15rem;
        padding: 12px 8px;
    }
}
