/* =======================================
   リセット・共通設定
======================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    color: #222;
    line-height: 1.7;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =======================================
   ヘッダー
======================================= */

.header {
    position: relative;
    min-height: 100vh;
}

.header-image{
    position: relative;
    min-height: 100vh;
    margin: 0 auto;
	top: 0;
	max-width: 1900px;
	height: 100%;
}

/* Logo */
.header-logo {
    position: absolute;
    top: 30px;
    left: 200px;
    z-index: 1; /* レイヤーの奥行設定：[最後]1<2<3<4<5...[最前] */
}

.header-logo img {
    height: 40px;
}

/* 問合せボタン */
.header-contact {    
    position: absolute;
    top: 40px;
    right: 200px;
    z-index: 2; /* レイヤーの奥行設定：[最後]1<2<3<4<5...[最前] */
}
.contact-button{
    background: #1e88e5;
    color: #fff;
    padding: 10px 18px;
    border-style:solid;
    border-width:2px;
    border-color:#fff;
    border-radius: 6px; /* 角丸 */
    font-weight: bold;
    font-size: 24px;
}

/* 太陽と生きる新しいエネルギーのカタチ。 */
.header-content {
    writing-mode: vertical-rl; /* 縦書き） */
           /* for Internet Explorer */
       -ms-writing-mode: tb-rl;

}

@media screen and (max-width: 768px) {
    .header-content {
        writing-mode: horizontal-tb;
    }
}

.header-content {
    position: absolute;
    top: 120px;
    right: 200px;
    color: #fff;
    z-index: 3; /* レイヤーの奥行設定：[最後]1<2<3<4<5...[最前] */
}

.header-content h1 {
    font-size: 32px;
    font-weight: bold;
    text-shadow: 0 2px 6px rgba(0,0,0,.3);
}

/* メニュー */
.vertical-nav {
    position: absolute;
    left: 200px;
    bottom: 30px;
    z-index: 4; /* レイヤーの奥行設定：[最後]1<2<3<4<5...[最前] */
}


/* メニュー_文字背景設定(ul) */
.vertical-nav ul {
    list-style: none;
    padding: 10px 35px;
    background-color: rgba(0,0,0,0.6);
    border-radius: 5px;
}

/* メニュー_リスト(li) */
.vertical-nav li {
    font-size: 1.5em;
    white-space: nowrap;
}

/* メニュー_アンカー(a) */
.vertical-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}


/* =======================================
   main
======================================= */
main {
    overflow: hidden; 
    z-index: 1;
    background: #fff;
}

/* =======================================
   2. Message
======================================= */
/* 背景 */
.message-frame {
    width: 100%;
    background-color: #f0f8ff;
    padding: 40px 0;
}

/* レイアウト */
.message-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    background: transparent; /* ← ここ重要 */
}

.message-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.message-header .tagline {
    font-size: 16px;
    color: #555;
}

.message-content {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.message-text {
    flex: 1;
}

.message-text p {
    margin-bottom: 10px;
}

.representative-info { /* 写真サイズ */
    width: 280px;
    text-align: center;
}

.rep-photo-placeholder{
    border-radius: 6px;
}

.rep-title {
    margin-top: 5%;
    font-weight: bold;
    font-size: 14px;
}

/* =======================================
   3. 理由セクション
======================================= */
.reason-container {
    position: relative;
    margin: 0 auto;
    max-width: 1100px;
    margin: 6% auto;
}

.reason-wrapper {
    text-align: center;
    margin-bottom: 10px;
}
.reason-container {
    position: Center;
    max-width: 1100px;
}

.reason-title-wrapper {
     max-width: 1100px;
    text-align: center;
    margin-bottom: 10px;
}

.reason-item {
     position: relative;
    margin: 10px auto;
    display: flex;
    gap: 20px;
    
}

.reason-text-content {
    flex: 1;
}

.reason-sub-heading {
    font-size: 18px;
    margin: 10px 0;
}

/* =======================================
   4. 流れ
======================================= */
.process-container {
    max-width: 1100px;
    margin: 80px auto;
}

.process-title-wrapper {
    text-align: center;
    margin-bottom: 10px;
    color: #1e88e5;
}

.process-text-content2{

    margin-top: 40px;
}

/* =======================================
   5. サブイメージ
======================================= */
.sub-image-container {
    max-width: 1100px;
    margin: 10px auto;
}

/* =======================================
   6. Q&A / メーカー
======================================= */
.qa-container,
.maker-container {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.qa-container img,
.maker-container img {
    margin-bottom: 30px;
}

/* =======================================
    7. フッター
  ======================================= */ 
/* フッター全体（画面いっぱいの背景） */
.footer-band {
    width: 100%;
    background-color: #2c5fa0; /* フッター画像と同色 */
    margin: 0;
    padding: 0;

    line-height: 0; /* ← 画像下・右の白線対策 */
}

/* 中央の画像コンテナ（1100px固定） */
.lp-footer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

/* フッター画像 */
.footer-img {
    width: 100%;
    height: auto;
    display: block; /* ← 超重要（imgの隙間防止） */}

    /* =======================================
   レスポンシブ対応
======================================= */

/* ---------- タブレット ---------- */
@media screen and (max-width: 1024px) {

    /* ヘッダー */
    .header-image {
        max-width: 100%;
        min-height: 80vh;
    }

    .header-logo {
        left: 20px;
        transform: none;
    }

    .header-contact {
        right: 20px;
    }

    .header-content {
        right: 40px;
        top: 100px;
    }

    .header-content h1 {
        font-size: 28px;
    }

    .vertical-nav {
        left: 20px;
        bottom: 20px;
    }

    .vertical-nav li {
        font-size: 1.2em;
    }

    /* Message */
    .message-content {
        gap: 20px;
    }

    .representative-info {
        width: 300px;
    }
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 768px) {

     /* ヘッダー画像（基準） */
    .header {
        min-height: auto;
    }
    
    .header-image {
        min-height: auto;
    }

    .message-container {
        margin-top: 0;

    }

    /* ロゴ（左上） */
    .header-logo {
        position: absolute;
        top: 16px;
        left: 16px;
        z-index: 10;
    }

    .header-logo img {
        height: 28px;
    }

    /* 問合せボタン（右上） */
    .header-contact {
        position: absolute;
        top: 16px;
        right: 16px;
        z-index: 10;
    }

    .contact-button {
        font-size: 14px;
        padding: 6px 12px;
    }

    /* キャッチコピー（中央下） */
     .header-content {
        position: absolute;
        bottom: 32px;
        left: 0;
        width: 100%;
        transform: none;

        writing-mode: horizontal-tb;
        text-align: center;
        color: #fff;
        z-index: 10;

        padding: 0 16px;
    }

    .header-content h1 {
        font-size: 22px;
        line-height: 1.5;
        width: 100%;
    }

    /* メニューは非表示 */
    .vertical-nav {
        display: none;
    }

    /* =======================================
       Message（スマホは縦並び）
    ======================================= */

    .message-container {
        padding: 0 16px;
    }

    .message-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .representative-info {
        width: 100%;
    }

    /* =======================================
       理由セクション
    ======================================= */

    .reason-item {
        flex-direction: column;
        gap: 10px;
    }

    .reason-sub-heading {
        font-size: 16px;
    }

    /* =======================================
       流れ
    ======================================= */

    .process-container {
        padding: 0 16px;
    }

    /* =======================================
       Q&A / メーカー
    ======================================= */

    .qa-container,
    .maker-container {
        margin: 40px auto;
        padding: 0 16px;
    }

    /* =======================================
       フッター
    ======================================= */
    .lp-footer {
        margin: 20px auto;
        padding: 0 16px;
    }
}
