/* Top only (sync). sec1 hero + sec2 first-view. LP では読まない。
 * 更新時は front-page.css（後読み）も合わせること。
 */

/* =========================
   Sec1 (Hero/FV Section)
   ========================= */

/* stylesheet.css の旧 .top_fv（ベージュ）より後読みでも負けないよう body 付き */
body .top_fv {
    width: 100%;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2fa 50%, #ffffff 100%);
    padding: 0px 0 0px;
    position: relative;
    overflow: hidden;
}

.sec1-container {
    display: grid;
    grid-template-rows: auto;
    gap: 15px;
    position: relative;
    width: 100%; 
    max-width: none;
    margin: 0; 
    padding: 0 40px;
    grid-template-columns: 550px 1fr;
    box-sizing: border-box ;
}

/* 左側：テキストコンテンツ */
.sec1-left {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 2;
    align-items: center;
}


.sec1-subtitle {
    color: #3472a0;
    font-weight: 500;
    margin: 0 0 0px 0;
    font-size: 15px; 
    white-space: nowrap;
}

.sec1-main-title {
    font-size: 18px;
    font-weight: 700;
    color: #134263;
    line-height: 1.4;
    margin-bottom: 8px;
    white-space: nowrap;
    margin: 0;
    line-height: 1.2;
    display: inline-block;
    padding-right: 0; 
    font-family: 'Noto Sans JP', sans-serif;
    border-bottom: 2px solid #134263; 
    padding-bottom: 4px;
}

.sec1-title-imedx {
    color: #134263;
    font-family: 'Noto Sans JP', sans-serif; 
    font-size: 40px;
}

.sec1-title-lifedx {
    color: #134263;
    font-family: 'Noto Sans JP', sans-serif; 
    font-size: 40px;
}

.sec1-title-year {
    display: inline;
    margin-left: 5px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 28px ; 
    color: #134263;
}

.sec1-subtitle2 {
    margin-bottom: 8px;
    margin-left: 280px ; 
    white-space: nowrap ; 
    margin-top: -25px ;
}

.sec1-subtitle2 p {
    font-size: 18px;
    color: #333333;
    font-weight: 500;
    white-space: nowrap ; 
}
.sec1-time-text {
  white-space: nowrap;
}

/* 生活習慣病管理料 / 分～ */
.sec1-time-main {
  font-size: 32px;
  font-weight: 600;
  color: #134263;
}

/* の診療 */
.sec1-time-sub {
  font-size: 24px;
  color: #134263;
}


.sec1-highlight-blue.sec1-time-number {
  font-size: 54px;
  font-weight: 700;
}


.sec1-highlight-blue {
  color: #134263;
}
.sec1-highlight-blue {
    color: #5BA3DC;
    font-size: 36px;
    font-weight: 700;
    margin: 0 3px;
}

.sec1-benefits {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 280px ;
    margin-bottom: 0 ; 
    margin-top: 5px ;
}

.sec1-benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0 ;
    white-space: nowrap;
}

/* スマホ版のみ表示する改行 */
.sp-only {
    display: none;
}

.sec1-benefit-number {
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    font-size: 20px;
    background-color: #134263;
    color: white;
}

.sec1-benefit-text {
    color: #134263;
    line-height: 1.4;
    font-weight: 700;
    margin: 0;
    font-size: 36px;
    white-space: nowrap ;
    position: relative ;
    margin-top: -3px;
    letter-spacing: -1.5px;
}

.sec1-highlight-teal {
    color: #4597a0;
    font-weight: 700;
}

/* ベネフィットのハイライト（メインタイトルと同じサイズ） */
.sec1-benefit-highlight {
    font-weight: 700;
    color: #5BA3DC;
    font-size: 42px;
        letter-spacing: 1px;
}
.sec1-pc-bottom {
    display: flex ;
    align-items: center ;
    gap: 30px ; 
    margin-top: -60px ; 
    margin-left: 140px ;
}
.sec1-bebefit-text-h3right {
       font-size: 26px;
    color: #134263;
    margin-left: -46px;
    font-weight: 600;
    white-space: nowrap;
    align-self: flex-end;
    margin-bottom: 2px;

}
.sec1-benefit-highlight-blue {
    color: #5BA3DC;
}

.sec1-benefit-highlight-teal {
    color: #5BA3DC;
}

/* 左下：PC画像 */
.sec1-pc-image {
    width: 100%;
    margin-top: 0 ; 
    flex-shrink: 0 ; 
    align-self: center ; 
    margin-left: 140px; 
    max-width: 480px;
}

.sec1-pc-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 中央：キャンペーン + ボタン */
.sec1-center {
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    z-index: 3;
    padding: 0;
    grid-column: unset;
    grid-row: unset;
    margin-top: 55px; 
    margin-bottom: 0; 
    justify-content: flex-start;
    padding-left: 0; 
    margin-left: 0px ; 
    padding-bottom: 0 ;
}

.sec1-campaign-banner {
    background-color: #d32f2f;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    text-align: center;
    white-space: nowrap ; 
    width: 320px;
    box-sizing: border-box;
    margin-bottom: 10px ;
}

.sec1-campaign-banner p {
    font-size: 11px;
    font-weight: 700;
    margin: 0;
    font-size: 17px;
    white-space: nowrap ;
    margin-left: -10px ;
}

.sec1-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    width: 320px ;
    gap: 10px ;
}

.sec1-video-btn,
.sec1-simulation-btn {
    display: block;
    text-align: center;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: auto;
    box-sizing: border-box;
}

.sec1-buttons .sec1-video-btn {
    background-color: #ffffff;
    color: #4597a0;
    border: 2px solid #4597a0;
    font-size: 19px;
    width: 320px;
    box-sizing: border-box; 
    padding: 8px 25px;
}

.sec1-video-btn:hover {
    background-color: #4597a0;
    color: #ffffff;
}

.sec1-simulation-btn {
    background-color: #4597a0;
    color: #ffffff;
    border: 2px solid #4597a0;
}

.sec1-simulation-btn:hover {
    background-color: #367a82;
}

/* 右側：楕円形画像 */
.sec1-right {
    grid-column: 2;
    grid-row: 1;
    position: relative;
          min-height: 5px;
    /* min-height: 200px;
     */
}
.fvbottom {
        position: relative;
    /* bottom: 0; */
    /* left: 0; */
    width: 100%;
    height: 60px;
    margin-top: -44px;
    z-index: 1;
    overflow: hidden;
    /* position: absolute; bottom: 0; left: 0; width: 100%; height: 60px; overflow: hidden; z-index: 0; */
}
/* 背景画像（PC時にボタンの右側から右端まで表示） */
.sec1-bg-image {
    position: absolute;
    top: 0;
    left: 60.5%;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.sec1-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    background: linear-gradient(to right, #e6f2fa 0%, rgba(230, 242, 250, 0.5) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.sec1-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    object-position: center 15%; 
}

/* 楕円画像（背景画像の上に配置） */
.sec1-oval-image {
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    right: 200px;
    bottom: auto;
    top: 310px;
    width: 350px;
    height: 280px;
}

.sec1-oval-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.sec1-oval-caption {
    position: absolute;
        bottom: -29px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 700;
    color: #333333;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.sec1-title-block {
    margin-bottom: 15px;
    margin-left: 280px; 
    margin-top: -50px;
}
.sec1-text-content {
      padding: 10px 0;
    max-width: 550px;
    margin: 0 auto;
    margin-top: 80px;  
}

@media screen and (max-width: 1000px) {
    .sec1-highlight-blue.sec1-time-number {
    /* font-size: 35px; */
      font-size: clamp(
    35px,
    calc(18 * 100vw / 375),
    40px
  );
    font-weight: 700;
}
    .sec1-title-block {
        margin-bottom: 15px;
        margin-left: 0;
        margin-top: 15px;
        padding: 0 15px;
    }
    .sec1-title-imedx {
        color: #134263;
        font-family: 'Noto Sans JP', sans-serif;
        /* font-size: 18px; */
        font-size: clamp(
            16px,
            calc(18 * 100vw / 375),
            40px
        );
    }
    .sec1-title-lifedx {
        color: #134263;
        font-family: 'Noto Sans JP', sans-serif;
        /* font-size: 18px; */
         font-size: clamp(
            16px,
            calc(18 * 100vw / 375),
            40px
        );
    }
    .sec1-title-year {
        display: inline;
        margin-left: 5px;
        font-family: 'Noto Sans JP', sans-serif;
        /* font-size: 14px; */
          font-size: clamp(
            12px,
            calc(14 * 100vw / 375),
            28px
        );

        color: #134263;
    }
    .sec1-main-title {
        line-height: 1.2;
        white-space: nowrap;
        }
    .sec1-subtitle {
        color: #3472a0;
        font-weight: 500;
        margin: 0 0 0px 0;
        font-size: 12px;
        white-space: nowrap;
    }
    .sec1-bg-image {
        position: relative;
        top: unset;
        left: unset;
        right: unset;
        bottom: unset;
        z-index: 1;
        overflow: hidden;
    }
    .sec1-oval-image {
       position: absolute;
        z-index: 5;
        border-radius: 50%;
        overflow: visible;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        right: unset;
        bottom: 28px;
        top: unset;
        width: 57%;
        height: 59%;
        left: 20px;
    }
    .sec1-oval-caption {
    position: absolute;
    bottom: 11px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 9px;
    font-weight: 700;
    color: #333333;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
    .sec1-text-content {
        padding: 10px 0;
        max-width: 550px;
        margin: 0 auto;
        margin-top: 15px;
    }
    .sec1-subtitle2 {
          margin-bottom: 0;
        margin-left: 20px;
        white-space: nowrap;
        margin-top: -25px;
}
.sec1-time-main {
    /* font-size: 18px; */
      font-size: clamp(
    16px,
    calc(18 * 100vw / 375),
    40px
  );
    font-weight: 600;
    color: #134263;
}
.sec1-time-sub {
    /* font-size: 15px; */
      font-size: clamp(
    16px,
    calc(15 * 100vw / 375),
    40px
  );
    color: #134263;
}
.sec1-highlight-blue {
    color: #5BA3DC;
    font-size: 25px;
    font-weight: 700;
    margin: 0 3px;
}
.sec1-benefits {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 20px;
    margin-bottom: 0;
    margin-top: 0;
}
.sec1-benefit-number {
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    font-size: 16px;
    background-color: #134263;
    color: white;
}
.sec1-benefit-item {
    display: flex;
     align-items: flex-start;
    gap: 0;
    margin-bottom: 7px;
    white-space: nowrap;
    flex-wrap: wrap;
    column-gap: 7px;
}
.sec1-benefit-text {
    color: #134263;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
    /* font-size: 18px; */
      font-size: clamp(
    16px,
    calc(18 * 100vw / 375),
    40px
  );
    white-space: nowrap;
    position: relative;
    margin-top: -3px;
}
.sec1-bebefit-text-h3right {
    font-size: 16px;
    color: #134263;
    margin-left: 0;
    font-weight: 600;
    white-space: nowrap;
    align-self: flex-end;
    margin-bottom: 2px;
}
.sec1-benefit-highlight {
    font-weight: 700;
    color: #5BA3DC;
    /* font-size: 20px; */
      font-size: clamp(
    16px,
    calc(20 * 100vw / 375),
    40px
  );
}
.sec1-pc-bottom {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: -30px;
    margin-left: 0;
    flex-direction: column;
}
.sec1-pc-image {
    width: 100%;
            margin-top: -20px;
    flex-shrink: 0;
    align-self: center;
    margin-left: 0;
    max-width: 300px;
    z-index: 1;
}
.sec1-center {
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    z-index: 3;
    padding: 0;
    grid-column: unset;
    grid-row: unset;
    margin-top: 15px;
    margin-bottom: 0;
    justify-content: flex-start;
    padding-left: 0;
    margin-left: 0px;
    padding-bottom: 0;
}
.sec1-campaign-banner {
        background-color: #d32f2f;
        color: #ffffff;
        padding: 10px 20px;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        text-align: center;
        white-space: nowrap;
        max-width: 230px;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 10px;
}
.sec1-campaign-banner p {
    font-weight: 700;
    margin: 0;
    font-size: 12px;
    white-space: nowrap;
    margin-left: -10px;
}
.sec1-buttons .sec1-video-btn {
    background-color: #ffffff;
    color: #4597a0;
    border: 2px solid #4597a0;
    font-size: 14px;
    width: 230px;
    box-sizing: border-box;
    padding: 8px 25px;
}
.sec1-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 320px;
    gap: 10px;
}
.fvbottom {
    position: relative;
    /* bottom: 0;
    left: 0; */
    width: 100%;
    height: 45px;
    overflow: hidden;
    z-index: 0;
}
body .top_fv {
        padding-bottom: 0;
}
.sec1-subtitle {
    font-size: 16px;
}
}


/* --- sec2 first view --- */
.sec2-wrapper {
    width: 100%;
    background-color: #fff;
    padding: 60px 0;
}
.sec2-monitor-caption {
    font-size: 13px;
    color: #666666;
    text-align: center;
    font-weight: 400;
}
.sec2-monitor-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
/* =========================
   Sec2 (source: Sec2 screenshot)
   ========================= */

/* Sec2 Header - タイトルスタイル */
.sec2-header {
    text-align: center;
}

.sec2-title {
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    margin: 0;
    line-height: 1.6;
    background: linear-gradient(to top, #F5F5F5 40px, transparent 40px);
    padding: 20px 40px 16px;
    display: inline-block;
    letter-spacing: 0.5px;
    width: 1000px;
    max-width: 100%;
    white-space: nowrap;
    box-sizing: border-box;
}

/* Sec2 Description */
.sec2-description {
    text-align: left;
    max-width: 920px;
    margin: 0 auto;
}

.sec2-description p {
    font-size: 17.5px;
    line-height: 1.5;
    color: #333333;
    margin: 20px 0;
}

/* Sec2 Monitor Image */
.sec2-monitor {
    text-align: center;
    padding: 40px 0;
}

.sec2-monitor-image {
    max-width: 920px;
    width: 100%;
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 4px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.sec2-monitor-image p {
    font-size: 18px;
    color: #666666;
}

/* Sec2 Reform Title */
.sec2-reform-title {
    text-align: center;
    margin: 40px 0 30px;
}

.sec2-reform-title p {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    margin: 0;
}

/* Sec2 Blue Bands */
.sec2-blue-bands {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sec2-band {
    background-color: #3472a0;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: default;
}

/* 1〜3の帯の下で見える非リンク枠は、hover時も見た目を変えない */
.sec2-band:hover,
.sec2-band:focus,
.sec2-band:active {
    background-color: #3472a0;
    color: inherit;
}

.sec2-band-number {
    background-color: #ffffff;
    color: #3472a0;
    font-size: 24px;
    font-weight: 700;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sec2-band-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    flex: 1;
    min-width: 0;
    white-space: normal;
    overflow-wrap: break-word;
    display: flex;
    align-items: baseline;
    gap: 15px;
}
.sec2-litte-txt {
    font-size: 20px;
}
.sec2-big-txt {
    font-size: 30px; font-weight: 600;
}
.sec2-band-text .text-large {
    font-size: 24px;
    font-weight: 700;
}

/* Sec2 Arrow Triangle */
.sec2-arrow {
    text-align: center;
    margin: 25px 0;
}

.sec2-triangle {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 40px solid #cedbe6;
    margin: 0 auto;
}

.sec3-green-outline-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #4597a0;
    background-color: transparent;
    color: #4597a0;
    padding: 8px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s;
    width: 400px;
    min-width: 400px;
    margin: 0 auto;
    white-space: nowrap;
    box-sizing: border-box;
}

.sec3-green-outline-btn:hover {
    background-color: #4597a0;
    color: #ffffff;
}
.sec2-intro-feature-buttons {
    margin-bottom: 0;
}

@media screen and (max-width: 1000px) {
    .cwidth9 {
        width: 100%;
        padding: 0 10px;
    }
.sec2-band-number {
    background-color: #ffffff;
    color: #3472a0;
    font-size: 16px;
    font-weight: 700;
    width: 24px;
    margin-top: 4px;
    margin-right: 5px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sec2-description p {
    font-size: 16px; font-weight: 600; text-align: left;
}
.sec2-monitor-caption {
    font-size: 12px;
}
.sec2-description p br {
    display: none;
}
.sec2-title {
    font-size: 20px;
    line-height: 1.6;
    padding: 10px 20px 9px;
    width: 100%;
    background: linear-gradient(to top, #F5F5F5 25px, transparent 25px);
}
.spview.inline {
    display: inline;
}

.sec2-monitor {
    text-align: center;
    padding: 10px 0;
}
.sec2-reform-title {
    text-align: center;
    margin: 10px 0 15px;
}
.sec2-reform-title p {
    font-size: 20px!important;
    line-height: 1.4;
}
.sec2-blue-bands {
        gap: 10px;
}
.sec2-arrow {
    margin-top: 0;
}
.sec2-band {
    background-color: #3472a0;
    padding: 11px 10px;
    align-items: flex-start;
    display: flex;
    gap: 5px;
    white-space: unset;
    cursor: default;
}
.sec2-big-txt span {
    font-size: 14px;
    font-weight: 900;
}
.sec2-band-text {
    color: #ffffff;
    font-size: 11px;
    line-height: 1.6;
    flex: 1;
    white-space: unset;
    display: flex;
    align-items: baseline;
    gap: 0;
    flex-direction: column;
}
.sec2-big-txt {
    font-size: 17px;
    font-weight: 600;
}
.sec2-litte-txt {
        font-size: 14px;
}
}
