/* --- 基本設定 & 変数 --- */
:root {
    --color-primary: #ff6347; /* メインカラー */
    --color-text: #333;
    --font-family-base: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    color: var(--color-text);
    background-color: #fff;
    /* ↓画面下部の追従ボタン分の余白を確保 */
    padding-bottom: 80px;

    /* PCで見たときの左右の余白部分の背景色 */
    background-color: #f0f2f5;
}

.wrapper {
    /* 推奨する最大幅 */
    max-width: 600px;

    /* 画面が480px以下の場合は画面幅に合わせる */
    width: 100%;

    /* PCで見たときに中央揃えにする */
    margin-left: auto;
    margin-right: auto;

    /* コンテンツエリアの背景色（通常は白） */
    background-color: #ffffff;

    /* 影をつけるとスマホの筐体のように見える（お好みで） */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* --- 全体のレイアウト --- */
.container, section {
    padding-left: 0%;
    padding-right: 0%;
}

section {
    padding-top: 0px;
    padding-bottom: 0px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    /* フォントサイズを画面幅に応じて可変にする */
    font-size: clamp(1.5rem, 6vw, 2rem);
}
.section-title span {
    display: inline-block;
    border-bottom: 3px solid var(--color-primary);
    padding-bottom: 5px;
}

/* --- ボタン --- */
.button {
    display: block;
    width: 90%;
    max-width: 320px;
    margin: 20px auto 0;
    padding: 15px 10px;
    background-color: var(--color-primary);
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.button:hover {
    transform: scale(1.05);
}

.contact-button {
    display: block;
    width: 90%;
    max-width: 320px;
    margin: 20px auto 0;
    padding: 15px 10px;
    background-color: var(--color-primary);
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.contact-button:hover {
    transform: scale(1.05);
}


/* --- 各セクション --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    gap: 20px; /* ← この行を追記 */
}

.logo img {
    width: 140px; /* ロゴのサイズを少し調整 */
    vertical-align: middle; /* vertical-alignを追加 */
    margin-right: 20px; /* ロゴの右側に20pxの余白を追加 */
}

.hero { text-align: center; padding-top: 0px; }
.hero-image { margin-top: 0px; }

.problem { background-color: #f7f7f7; }
.problem-list { list-style: none; padding-left: 0; }
.problem-list li {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.solution-item { text-align: center; margin-bottom: 40px; }
.solution-item img { width: 80px; margin-bottom: 10px; }

.cta { text-align: center; background-color: #f7f7f7; }

/* --- フッター --- */
.footer {
    padding: 30px 0;
    text-align: center;
    font-size: 0.8rem;
}
.footer-nav { margin-bottom: 15px; }
.footer-nav a { margin: 0 10px; }

/* --- 追従ボタン --- */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 100;
}
.fixed-cta .button {
    margin-top: 0;
}

.header-line-button img {
    width: 240px; /* LINEボタンのサイズを指定 */
    height: auto;
}

.sim-button img {
    width: 240px; /* LINEボタンのサイズを指定 */
    height: auto;
}

/* --- ヒーローセクションのナビゲーションボタン --- */
.hero-nav {
    display: flex; /* Flexboxを有効にして横並びにする */
    justify-content: space-between; /* 要素間のスペースを均等に配置 */
    gap: 10px; /* ボタン同士の隙間を10pxに設定 */
    margin: 20px 15px 20px 15px;
}

.hero-nav a {
    /* 横幅を均等に3分割するため、flex: 1; を指定 */
    flex: 1;
    display: block;
}

.hero-nav a img {
    /* 画像がリンクの幅いっぱいに広がるようにする */
    width: 100%;
}

.margin_btn {
    margin: 20px 15px 20px 15px;    
}

.margin_btn02 {
    margin: 20px 15px 20px 15px;    
}

.header_thanks {
    text-align:center; 
    padding:20px;
}

.img_thanks {
    margin: 20px 30px 20px 30px;  

}

.contents_thanks {


}

.contents_thanks p {
    margin: 20px 30px 20px 30px;  

}

/* Thanksページのロゴ画像のサイズを調整 */
.header_thanks .img_thanks img {
    width: 200px; /* ロゴの横幅を200pxに指定 */
}