/* Base Styles */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8; /* Increased line height for readability and luxury feel */
    color: #333;
    max-width: 1080px; /* Slightly wider for a grander feel */
    margin: 0 auto;
    padding: 30px; /* More padding around the content */
    background-color: #f8f8f8; /* Very light, subtle background */
    box-sizing: border-box;
}

/* Main Content Container */
.content-section {
    background-color: #ffffff;
    padding: 50px 60px; /* Generous padding */
    border-radius: 12px; /* Slightly larger border-radius for softness */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); /* Deeper, softer shadow */
    margin-bottom: 40px; /* More space before the next section */
    border: 1px solid #eee; /* Subtle border */
}

/* Header Logo Section */
.header-logo {
    text-align: center;
    margin-bottom: 40px; /* Space below the logo */
    padding-top: 20px; /* Padding above the logo */
}

.header-logo img {
    max-width: 250px; /* Max width for the logo */
    height: auto;
    display: block; /* Ensures margin auto works for centering */
    margin: 0 auto; /* Center the image */
}

/* New container for logo and h1 */
.main-title-container {
    background-image: url('img/1-1.jpg'); /* 背景画像を追加 */
    background-size: cover; /* 画像がコンテナを覆うように */
    background-position: center; /* 画像を中央に配置 */
    background-repeat: no-repeat; /* 画像の繰り返しをしない */
    padding: 80px 20px; /* 上下のパディングを増やして高さを確保 */
    color: #ffffff; /* テキストを白くして背景画像とのコントラストを出す */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* テキストに影を追加して読みやすくする */
    display: flex; /* Flexboxを使ってロゴとH1を横並びにする */
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: center; /* 全体を水平方向の中央揃え */
    margin-bottom: 45px; /* H1の元のマージンをこちらに移す */
    text-align: left; /* コンテナ内は左寄せに */
}

/* Logo image beside title */
.small-logo-beside-title {
    max-width: 200px; /* ここでロゴを小さくするサイズを調整 */
    height: auto;
    margin-right: 15px; /* ロゴとH1の間にスペースを開ける */
}

/* Headings */
h1 {
    font-family: 'Roboto', sans-serif; /* A more elegant font for titles */
    color: #1a2a3a; /* Darker, sophisticated blue-grey */
    text-align: left; /* 親要素がjustify-content: center; なので、H1自体は左寄せにする */
    margin-bottom: 0; /* 親コンテナでマージンを管理するため、H1のマージンはリセット */
    font-size: 2.8em; /* Larger, more impactful heading */
    letter-spacing: 1.5px; /* Slightly increased letter-spacing */
    font-weight: 700;
}

h2 {
    font-family: 'Roboto', sans-serif;
    color: #2a4050; /* Slightly lighter than H1 */
    font-size: 2em; /* Larger subheading */
    margin-top: 50px; /* More space above subheadings */
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px; /* Space for the line */
}

h2::after {
    content: '';
    display: block;
    width: 80px; /* Short, elegant underline */
    height: 3px;
    background: linear-gradient(to right, #e67e22, #f39c12); /* Gradient for a premium look */
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Paragraphs */
p {
    margin-bottom: 25px; /* More vertical space between paragraphs */
    font-size: 1.1em; /* Slightly larger text for readability */
    color: #444;
}

/* Highlights */
.highlight {
    font-weight: 700;
    color: #d35400; /* Richer, deeper orange */
    background-color: #fffaf0; /* Softer, creamier background for highlight */
    padding: 3px 8px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* Very subtle shadow for highlight */
}

/* YouTube Embed */
.youtube-container {
    text-align: center;
    margin: 50px 0; /* More vertical space */
    background-color: #fdfdfd;
    padding: 25px; /* More padding */
    border-radius: 10px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05); /* Deeper inner shadow */
}

iframe {
    max-width: 100%;
    height: 400px; /* Taller iframe for a more immersive view */
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15); /* More pronounced, soft shadow */
    transition: transform 0.3s ease;
}

iframe:hover {
    transform: scale(1.01); /* Subtle zoom on hover */
}

/* Call to Action Button (Free Trial) */
.cta-button.free-trial {
    display: inline-block;
    background: linear-gradient(to right, #3498db, #2980b9); /* Gradient blue button */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15em;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.cta-button.free-trial:hover {
    background: linear-gradient(to right, #2980b9, #3498db); /* Reverse gradient on hover */
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Call to Action Button (Contact - Yellow) */
.cta-button.contact-yellow {
    display: inline-block;
    background: linear-gradient(to right, #FFD700, #FFA500); /* Gold-Orange gradient */
    color: #4A4A4A; /* Darker text for contrast on yellow */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15em;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    border: 1px solid #FFC107; /* Subtle border */
}

/* LINE相談ボタン（LINEカラー） */
.cta-button.contact-line {
    display: inline-block;
    background: linear-gradient(to right, #00c300, #00b200); /* LINE系の緑グラデーション */
    color: #ffffff;
    padding: 15px 30px; /* イエローと統一 */
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15em; /* イエローと統一 */
    margin-top: 30px; /* イエローと統一 */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* イエローと統一 */
    border: 1px solid #00a000; /* LINEグリーン系のボーダー追加 */
}

.cta-button.contact-line:hover {
    background: linear-gradient(to right, #00b200, #00c300); /* グラデーション反転 */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.cta-button.contact-line:hover {
    background: linear-gradient(to right, #00b200, #009900); /* 濃い緑に変化 */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

/* New CTA Button (Blue for PDF Download) */
.cta-button-blue {
    display: inline-block;
    background: linear-gradient(to right, #5d9cec, #4a89dc); /* A slightly different blue gradient */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15em;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.cta-button-blue:hover {
    background: linear-gradient(to right, #4a89dc, #5d9cec); /* Reverse gradient on hover */
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


/* Plan Details Section */
.plan-details {
    margin-top: 50px; /* More space */
    background-color: #fdfdfd; /* Very light background */
    padding: 35px; /* More padding */
    border-radius: 10px;
    border: 1px solid #e5e5e5; /* Softer border */
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}

.plan-details p {
    font-size: 1.05em;
    color: #555;
    margin-bottom: 20px;
}

.plan-details ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 25px;
}

.plan-details li {
    margin-bottom: 15px; /* More space between list items */
    padding-left: 35px; /* More space for icon */
    position: relative;
    font-size: 1.1em;
    color: #444;
}

.plan-details li strong {
    color: #2a4050; /* Stronger color for plan names */
}

.plan-details li::before {
    content: '★'; /* Star icon for luxury */
    color: #daa520; /* Gold-like color */
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
}

/* Note Styling within Plan Details */
.plan-details .note {
    background-color: #eff6fb; /* Lighter, more refined blue */
    padding: 20px;
    border-left: 6px solid #5d9cec; /* Slightly bolder, refined blue border */
    margin-top: 35px; /* More space */
    border-radius: 8px;
    font-size: 1em;
    color: #3a5b7d;
}

.plan-details .note p {
    margin-bottom: 10px;
}

/* Contact Information */
.contact-info {
    text-align: center;
    margin-top: 60px; /* More space */
    font-size: 1.2em;
    color: #34495e;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block; /* Allows transform */
}

.contact-info a:hover {
    color: #2980b9;
    transform: translateY(-1px); /* Subtle lift on hover */
}


/* Form Specific Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left; /* Align form elements to the left */
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box; /* Include padding in width */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #88ccee;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.d-grid {
    display: grid;
}

.gap-2 {
    gap: 0.5rem; /* Equivalent to Bootstrap's gap-2 */
}

.btn {
    display: inline-block;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-warning {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-warning:hover {
    color: #212529;
    background-color: #ffca2c;
    border-color: #ffc720;
}

.btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    border-radius: 0.3rem;
}

.fw-bold {
    font-weight: 700 !important;
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.text-center {
    text-align: center !important;
}

.lead {
    font-size: 1.25em; /* Adjusted for better appearance with existing font sizes */
    font-weight: 300;
    color: #555;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.text-primary {
    color: #3498db !important; /* Consistent with other blue links/buttons */
}
 
/* Footer */
#footer {
    text-align: center;
    margin-top: 60px; /* More space */
    padding: 30px;
    font-size: 0.85em; /* Slightly smaller for subtlety */
    color: #999; /* Softer gray */
    border-top: 1px solid #ececec; /* Lighter border */
}

#footer address {
    font-style: normal;
}

/* Added styles for the new "About Me" section */
.section-title {
    text-align: center;
    margin-top: 60px; /* More space above the section title */
    margin-bottom: 40px; /* More space below the section title */
    font-size: 2.2em; /* Slightly larger for prominence */
    color: #2a4050;
}

.section-title::after {
    left: 50%;
    transform: translateX(-50%); /* Center the underline */
}

.about-me-section {
    background-color: #ffffff;
    padding: 40px 60px; /* Generous padding */
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-top: 40px; /* Space above this section */
    border: 1px solid #eee;
}

.about-me-section img {
    display: block; /* Center image */
    margin: 0 auto 30px; /* Center and add space below */
    border: 4px solid #f39c12; /* Subtle border for image */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-me-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.about-me-content p {
    margin-bottom: 18px; /* Slightly less space between paragraphs for biography */
    font-size: 1.05em;
}

.about-me-content p strong {
    color: #e67e22; /* Highlight years/titles */
    font-size: 1.1em;
    display: block; /* Ensure strong tag starts on a new line */
    margin-bottom: 5px;
}

/* Responsive Adjustments (Retained and slightly adjusted) */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    .content-section, .about-me-section {
        padding: 30px 25px;
    }
    .header-logo {
        margin-bottom: 30px;
    }
    .header-logo img {
        max-width: 200px;
    }
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.8em;
    }
    .section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 30px;
    }
    iframe {
        height: 300px;
    }
    .cta-button.free-trial, .cta-button.contact-yellow, .cta-button-blue {
        padding: 12px 25px;
        font-size: 1em;
    }
    .plan-details {
        padding: 25px;
    }
    .plan-details li {
        padding-left: 30px;
        font-size: 1em;
    }
    .plan-details li::before {
        font-size: 1.1em;
    }
    .plan-details .note {
        padding: 15px;
    }

    .contact-form {
        padding: 20px; /* 左右の余白を調整 */
        margin-left: auto; /* 中央寄せ */
        margin-right: auto; /* 中央寄せ */
        max-width: 400px; /* フォームの最大幅を固定値に調整 */
    }
    .form-control {
        padding: 10px 12px;
        margin-bottom: 15px;
    }
    .about-me-section img {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    h2 {
        font-size: 1.5em;
    }
    .section-title {
        font-size: 1.5em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    iframe {
        height: 220px;
    }
    .content-section, .about-me-section {
        padding: 20px;
    }
    .header-logo {
        margin-bottom: 20px;
        padding-top: 10px;
    }
    .header-logo img {
        max-width: 180px;
    }
    p {
        font-size: 1em;
    }
    .cta-button.free-trial, .cta-button.contact-yellow, .cta-button-blue {
        padding: 10px 20px;
        font-size: 0.95em;
    }
    .plan-details {
        padding: 20px;
    }
    .plan-details li {
        font-size: 0.95em;
    }
    .about-me-section img {
        max-width: 200px;
    }
    .about-me-content p {
        font-size: 0.95em;
    }
    /* New responsive styles for logo and h1 container */
    .main-title-container {
        flex-direction: column; /* 狭い画面ではロゴとH1を縦に並べる */
        text-align: center;
    }
    .small-logo-beside-title {
        margin-right: 0;
        margin-bottom: 10px; /* 縦並びになったときに下部にスペース */
    }
    h1 {
        text-align: center;
    }
}