/* mainFlexAreaWrapper: 全体のエリア */
#mainFlexAreaWrapper {
    display: flex;
    flex-direction: row;
    /* 横並びに変更 */
    align-items: flex-start;
    /* 上揃え */
    width: 100%;
    background: beige;
    position: relative;
    margin-top: 60px;

}

/* 右エリア */
#mainFlexArea {
    padding-top: 60px;
    /* headerの高さ分 */
    display: flex;
    align-items: flex-start;
    /* or stretch */
    justify-content: space-between;
    margin-top: 0;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    background-color: #f8f8f8;
    background-image: radial-gradient(#cccccc 1px, transparent 1px);
    background-size: 20px 20px;
    overflow: visible;

    /* 追加 */
    min-height: 100vh;
    /* 画面全体の高さ確保 */
}

.iframe {
    width: 38%;
    /* 動画が全体の60%の幅を占める */
    height: 38%;
    /* 高さはアスペクト比を保持したまま調整 */
    aspect-ratio: 16 / 9;
    /* 16:9のアスペクト比を維持 */
    border-radius: 5px;
    object-fit: cover;
    /* アスペクト比を維持しつつ、エリアにフィット */
}


/* 各エリアを縦並びにして、中央寄せ */
.contentWrapper {
    max-width: 900px;
    width: 100%;
    margin: 20px auto;
    /* 元の40pxから20pxに縮小 */
    background: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* 視認性のためのシャドウ */
    padding: 15px 25px;
    /* パディングもやや縮小 */
}

/* 左エリア */
#mainLeft {
    width: 30%;
    /* 左側の幅を30%に設定 */
    max-width: 300px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ヘッダーエリアの固定 */
#header {
    width: 100%;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}


/* プランエリア */
#planArea {
    display: flex;
    flex-direction: column;
    /* 縦並びに変更 */
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

.contentWrapper {
    max-width: 900px;
    width: 100%;
    margin: 20px auto;
    /* 元の40pxから20pxに縮小 */
    background: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* 視認性のためのシャドウ */
    padding: 15px 20px;
    /* パディングもやや縮小 */
}

.heading01 {
    padding: 0.25em 0.5em;
    /*上下 左右の余白*/
    color: #494949;
    /*文字色*/
    background: transparent;
    /*背景透明に*/
    border-left: solid 5px #e67d97;
    /*左線*/
}

.heading02 {
    padding: 0.25em 0.5em;
    /*上下 左右の余白*/
    color: #494949;
    /*文字色*/
    background: transparent;
    /*背景透明に*/
    border-left: solid 5px #e6e47d;
    /*左線*/
}

.heading03 {
    padding: 0.25em 0.5em;
    /*上下 左右の余白*/
    color: #494949;
    /*文字色*/
    background: transparent;
    /*背景透明に*/
    border-left: solid 5px #7db4e6;
    /*左線*/
}

/* プランボタン（.btn-flat） */
a.btn-flat {
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: 1.5rem 6rem;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 0;
    background: #353535;
    transition: all 0.3s ease;
    padding: 1rem 4rem;
    /* パディングを縮小 */
    margin-right: 20px;
}

a.btn-flat span {
    position: relative;
    z-index: 1;
}

a.btn-flat:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    content: '';
    transition: all .5s ease-in-out;
    transform: translateX(-80%) translateY(-25px);
    border-radius: 50%;
    background: #00A99D;
}

a.btn-flat:hover:before {
    width: 400px;
    height: 400px;
    transform: translateX(-1%) translateY(-175px)
}

/* ボタンエリアの設定 */
.serviceBanners {
    display: flex;
    flex-direction: column;
    /* 縦並びに設定 */
    gap: 20px;
    justify-content: center;
    max-width: 100%;
    box-sizing: border-box;
}

/* ワンストップサービスエリア */
.oneStopService {
    position: sticky;
    top: 60px;
    align-self: flex-start;
    padding: 20px 30px;
    /* 内側余白を増やす */
    border-radius: 5px;
    max-width: 900px;
    /* 最大幅を制限 */
    width: 100%;
    /* 幅は親幅に合わせる */
    margin: 0 auto 20px;
    /* 左右マージン自動で中央寄せ、下に余白 */
    z-index: 10;
}

/* サービスセクションのタイトル */
.one-stop {
    position: sticky;
    top: 60px;
    /* ヘッダーの高さに合わせて調整 */
    z-index: 20;
    padding: 10px 0;
}

.one-stop h2 {
    padding: 5px;
    background-image:
        linear-gradient(45deg, transparent 15px, #353535 16px calc(100% - 16px), transparent calc(100% - 15px)),
        repeating-linear-gradient(#00A99D, 2px, #353535 2px 4px);
    color: white;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    margin: 5px;
}

/* サービスセクションのテキスト */
.serviceText {
    font-size: 18px;
    text-align: center;
}

.serviceText h2 {
    font-size: 24px;
    color: #00A99D;
    margin-bottom: 10px;
}

.serviceText p {
    font-size: 16px;
    color: #353535;
}

.serviceImage {
    width: 35%;
}

.serviceImage img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* チェックポイントエリア */
#checkPointArea {
    display: flex;
    flex-direction: flex;
    /* 横並びにする */
    gap: 20px;
    justify-content: center;
    margin: 10px 0;
    max-width: 900px;
    width: 100%;
}

/* チェックポイントセクション */
.checkPoint {
    width: 30%;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #00A99D;
}

.checkPoint p {
    font-size: 14px;
    color: #333;
}

/* 問合せボタンエリア */
#inquiryBtnArea {
    display: flex;
    flex-direction: flex;
    /* 横並びにする */
    gap: 20px;
    justify-content: center;
    margin: 0px 0;
    max-width: 900px;
    width: 100%;
}

/* チェックポイントセクション */
.inquiryBtn {
    width: 30%;
    background: #fff;
    padding: 38px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/*ボタン*/
.cta_btn05 {
    font-weight: bold;
    /* 文字の太さ */
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1em 1em 1em calc(5em - 12px);
    transition: 0.3s;
    text-decoration: none;
    color: #fff;
    /* 文字色 */
    border-radius: 0.5rem;
    background: #45B173;
    /* 背景色 */
    box-shadow: 0 5px 0 #19934e;
    margin-left: 10px;
    margin-top: 40px;
}

.cta_btn05 p {
    margin: 0;
}

.cta_btn05 .cta_btn05_copy {
    position: absolute;
    bottom: 0.5em;
    left: -10px;
    display: inline-block;
    width: 5em;
    height: 5em;
    line-height: 5em;
    text-align: center;
    color: #45B173;
    font-size: 80%;
    font-weight: bold;
    background: #fff;
    border: 3px solid #45B173;
    border-radius: 50%;
    box-sizing: border-box;
    transform: rotate(-10deg);
}

.cta_btn05 .cta_btn05_copy::before {
    position: absolute;
    content: "";
    bottom: -5px;
    right: -10px;
    border: 9px solid transparent;
    border-left: 15px solid #FFF;
    z-index: 0;
    transform: rotate(45deg);
}

/* マウスオーバーした際のデザイン */
.cta_btn05:hover {
    transform: translate(0, 3px);
    background: #a4fff9;
    /* 背景色 */
    box-shadow: 0 2px 0 #00A99D;
}

/* .cta_btn05 にホバーしたとき、 .cta_btn05_copy も変更 */
.cta_btn05:hover .cta_btn05_copy {
    background: #ffffff;
    /* 背景色 */
    border: 3px solid #a4fff9;
    color: #00A99D;
}