/* Second Opening Page Specific Styles */

/* Hero Section */
.second-opening-hero {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 0 20px;
}

.second-opening-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 20, 50, 0.6); /* 紺色ベースのオーバーレイ */
    z-index: 1;
}

.second-opening-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.second-opening-hero h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.second-opening-hero .sub-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: block;
    color: #ffd700; /* ゴールドっぽいアクセント */
    font-weight: 700;
}

/* Common Section Styles */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #003366; /* プライマリーカラー */
}

/* Worries Section */
.worries-section {
    background-color: #f4f7f9;
    padding: 80px 0;
}

.worries-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.worries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.worry-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px; /* 角張ったデザインという要件だが、若干のRは許容範囲か、あるいは0にするか。要件は「角丸ではなく角張デザイン」なので0に近づける */
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid #da532c; /* 警告色 */
}

.worry-card h4 {
    font-size: 1.2rem;
    color: #da532c;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.worry-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Solution Section */
.solution-section {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.solution-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 40px;
}

.solution-box {
    background-color: #003366;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 2px;
}

.solution-box h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 20px;
    display: inline-block;
}

.solution-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    text-align: left;
}

.solution-feature {
    flex: 1 1 250px;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 2px;
}

.solution-feature h4 {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.solution-subtext {
    margin-top: 40px;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Merits Section */
.merits-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.merits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.merit-item {
    background: #fff;
    padding: 25px;
    border-left: 5px solid #003366;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.merit-item:hover {
    transform: translateY(-5px);
}

.merit-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.merit-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: #e6e6e6;
    line-height: 1;
}

.merit-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #003366;
}

.merit-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    padding-left: 5px;
}

/* Voice Section */
.voices-section {
    padding: 80px 0;
    background-color: #fff;
}

.voices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.voice-card {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 2px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.voice-content {
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
    position: relative;
    padding-left: 20px;
}

.voice-content::before {
    content: '"';
    font-size: 3rem;
    color: #ddd;
    position: absolute;
    left: -5px;
    top: -15px;
    font-family: serif;
}

.voice-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.voice-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #ccc;
}

.voice-info {
    font-size: 0.85rem;
}

.voice-info strong {
    display: block;
    color: #003366;
    margin-bottom: 2px;
}

.voice-info span {
    color: #666;
    font-size: 0.8rem;
}

/* Package Section */
.package-section {
    padding: 80px 0;
    background-color: #f0f4f8;
}

.package-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.package-intro {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #003366;
    font-weight: 700;
}

.package-list {
    margin-bottom: 40px;
}

.package-item {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.package-item:last-child {
    border-bottom: none;
}

.package-term {
    flex: 0 0 200px;
    font-weight: 700;
    color: #003366;
    padding-right: 20px;
}

.package-desc {
    flex: 1;
    color: #444;
}

.package-price-box {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.package-price-box p {
    font-size: 1.2rem;
    margin: 0;
}

.package-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
}

/* CTA Section */
.cta-section-bottom {
    padding: 100px 0;
    background-image: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.9)), url('../image/hero_section.jpg'); /* 仮画像 */
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.cta-list {
    text-align: left;
    display: inline-block;
    margin-bottom: 40px;
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.3);
}

.cta-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-list i {
    color: #ffd700;
}

.cta-button-large {
    display: inline-block;
    background: #ffd700;
    color: #003366;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 20px 60px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
    background: #ffec8b;
}

.closing-message {
    padding: 60px 0;
    text-align: center;
    background: #fff;
}

.closing-message h3 {
    font-size: 1.8rem;
    color: #003366;
    margin-bottom: 20px;
}

.closing-message p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

@media (max-width: 768px) {
    .second-opening-hero {
        height: auto;
        padding: 80px 20px;
    }
    
    .second-opening-hero h2 {
        font-size: 2rem;
    }
    
    .package-item {
        flex-direction: column;
    }
    
    .package-term {
        flex: auto;
        margin-bottom: 5px;
    }
}
