@charset 'utf-8';


/*---------- TOP ----------*/
.TOP_sec { width: 100vw; position: relative; }
.TOP_sec .top_bg_img { width: 100%; height: auto;  }
.TOP_sec .top_man { position: absolute; top: 97vw; left: 9vw; width: 35vw; }
.TOP_sec .top_tochi { display: none; }
.TOP_sec .top_no1 { position: absolute; top: 41vw; left: 16.5vw; width: 38.5vw; }
.TOP_sec .contents { position: relative; top: 0; left: 0; right: 0; bottom: 0; }
/* link */
/* .top_link_wrap { position: fixed; bottom: 0; right: 0; left: 0; padding: 12px 5vw; background: #00000044; z-index: 10; } */
.top_link_wrap { position: relative; bottom: 8vh; right: 0; left: 0;  z-index: 10; }
.top_link_wrap li { flex: 1; }
.button_top { justify-content: left; height: 60px; background: #FFF; border: 2px solid #000; }
.button_top span { display: flex; align-items: center; gap: 1.5vw; padding-left: 2vw; }
.button_top span .top_link_icon { width: 40px; aspect-ratio: 1/1; object-fit: contain;  }
.button_top .button_arrow { width: 0.8vw; right: 1.8vw; transform: rotate(90deg); }
.button_top:hover .button_arrow { right: 1.8vw; transform: translateY(0.5vw) rotate(90deg); }

@media screen and (max-width: 767px) {
    .top_link_line { display: none; }
}
@media screen and (min-width: 768px) {
    .TOP_sec .top_man { top: 21.5vw; left: 6vw; width: 12vw; }
    .TOP_sec .top_tochi { position: absolute; top: 10vw; left: 77.5vw; width: 8vw; display: block; }
    .TOP_sec .top_no1 { top: 4vw; left: 33vw; width: 27vw; }
    .button_top { width: 30vw; height: 10vw; max-width: none; }
    .button_top span { font-size:2vw; }
    .button_top span .top_link_icon { width: 5vw; }
    .TOP_sec { position: relative; }
    .top_link_wrap { display:flex; position: absolute; bottom: 3vw; right: auto; left: 5vw; padding: 0; background: transparent; gap:20px; }
}



/*---------- NEW ----------*/
.NEW_sec { position: relative; }
.NEW_sec .contents { padding-top: 60px; }
.NEW_sec .new_en { position: absolute; top: 0; left: 0; font-size: 100px; line-height: 0.7em; opacity: 0.2; }
.NEW_sec h2 { position: relative; font-size: 20px; z-index: 1; }
.NEW_sec .new_img_wrap { position: absolute; top: 12px; right: 5vw; }
.NEW_sec .new_img_wrap_inner { position: relative; width: fit-content; height: fit-content; }
.NEW_sec .new_img { height: 100px; }
.NEW_sec .new_img_text { position: absolute; top: 14%; left: -30%; font-size: 14px; }
@media screen and (min-width: 500px) {
    .NEW_sec h2 { font-size: 24px; }
    .NEW_sec .new_img { height: 120px; }
    .NEW_sec .new_img_text { font-size: 16px; }
}
@media screen and (min-width: 768px) {
    .NEW_sec .new_en { font-size: 120px; }
    .NEW_sec h2 { font-size: 28px; transform: translateY(16px); }
    .NEW_sec .new_img_wrap { top: 20px; }
}
@media screen and (min-width: 1025px) {
    .NEW_sec .new_en { left: max(calc(50% - 50vw), -100px); font-size: 140px; }
    .NEW_sec h2 { font-size: 32px; transform: translateY(24px); }
    .NEW_sec .new_img_wrap { top: 24px; right: min(5vw, 60px); }
    .NEW_sec .new_img { height: 140px; }
    .NEW_sec .new_img_text { top: 18%; left: -24%; font-size: 18px; }
}


/*---------- MERIT ----------*/
.MERIT_sec { position: relative; overflow: hidden; }

/* Header */
.merit_header { position: relative; padding-bottom: 40px; }

.merit_main_title { font-size: 24px; line-height: 1.6em; text-align: center; font-weight: 400; display: flex; flex-direction: column; align-items: center; gap: 8px; display: inherit;}
.merit_logo_svg { height: 40px; width: auto; position: relative; z-index: 1; }
.merit_title_highlight { display: inline-block; padding: 0 8px; background: linear-gradient(transparent 60%, #F5FD37 60%); font-weight: 700; }
.merit_title_highlight_all { display:inline; background: linear-gradient(transparent 60%, #F5FD37 60%); padding: 4px 8px; font-weight: 700; }

/* Speech bubbles */
.merit_bubbles { position: relative; margin-top: 40px; }
.merit_bubble { position: relative; padding: 16px 20px; background: #FFF; border: 2px solid #000; border-radius: 20px; font-size: 14px; line-height: 1.6em; width: fit-content; }
.merit_bubble::after { content: ''; position: absolute; width: 0; height: 0; border-style: solid; }

.merit_bubble_1 { margin-left: 20px; margin-bottom: 20px; }
.merit_bubble_1::after { bottom: -20px; left: 30px; border-width: 20px 15px 0 0; border-color: #000 transparent transparent transparent; }
.merit_bubble_1::before { content: ''; position: absolute; bottom: -16px; left: 31px; width: 0; height: 0; border-style: solid; border-width: 18px 13px 0 0; border-color: #FFF transparent transparent transparent; z-index: 1; }

.merit_bubble_2 { margin-left: auto; margin-right: 20px; margin-bottom: 20px; }
.merit_bubble_2::after { top: -20px; right: 40px; border-width: 0 0 20px 15px; border-color: transparent transparent #000 transparent; }
.merit_bubble_2::before { content: ''; position: absolute; top: -16px; right: 41px; width: 0; height: 0; border-style: solid; border-width: 0 0 18px 13px; border-color: transparent transparent #FFF transparent; z-index: 1; }

.merit_bubble_3 { margin-left: auto; margin-right: 40px; }
.merit_bubble_3::after { bottom: -20px; right: 40px; border-width: 20px 0 0 15px; border-color: #000 transparent transparent transparent; }
.merit_bubble_3::before { content: ''; position: absolute; bottom: -16px; right: 41px; width: 0; height: 0; border-style: solid; border-width: 18px 0 0 13px; border-color: #FFF transparent transparent transparent; z-index: 1; }

/* Character */
.merit_character { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 200px; }
.merit_character img { width: 100%; height: auto; }

/* お悩み画像 */
.merit_nayami img { width: 100%; height: auto; margin-top:40px; }

/* Orange banner */
.merit_banner { position: relative; margin: 0 -5vw 60px; padding: 24px 5vw; background: #EB6D2E; }
.merit_banner::after { content: ''; position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-style: solid; border-width: 20px 20px 0 20px; border-color: #EB6D2E transparent transparent transparent; }

.merit_banner_characters { position: absolute; bottom:0; left: 0; right: 0; display: flex; justify-content: space-between; pointer-events: none; }
.merit_banner_char_left { position: absolute; left: -40px; bottom: -24px; height: 120px; }
.merit_banner_char_right { position: absolute; right: -40px; bottom: -24px; height: 120px; }

.merit_banner_title { text-align: center; color: #000; font-size: 18px; line-height: 1.6em; font-weight: 700; position: relative; z-index: 1; }
.merit_banner_title_line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.merit_banner_logo_svg { height: 32px; width: auto; }
.merit_banner_text { display: inline-block; color: #FFF; }
.merit_banner_highlight { font-size: 24px; color: #F5FD37; font-weight:700; }

@media screen and (min-width: 768px) {
    .merit_banner { margin:0 0 60px; }
}

/* お悩みを一気に解決 */
@media screen and (min-width: 768px) {
    .merit_title_line { display: flex; align-items: center; gap: 8px; }
    .merit_nayami img{ max-width: 700px; margin: 40px auto;}
}

/* Merit items */
.merit_items { display: flex; flex-direction: column; gap: 60px; }

.merit_item { position: relative; }

.merit_item_content { position: relative; padding: 40px 24px 24px; background: #FFF; }

.merit_item_number { position: absolute; top: -30px; left: 20px; font-size: 60px; line-height: 1em; color: #EB6D2E; font-family: "Arial Rounded MT Bold", Arial, sans-serif; letter-spacing: 0.08em !important; font-weight: 500; }

.merit_item_text { margin-bottom: 20px; }

.merit_item_title { font-size: 20px; line-height: 1.6em; font-weight: 700; margin-bottom: 24px; }
.merit_item_title_highlight { display: inline; background: linear-gradient(transparent 60%, #F5FD37 60%); }

.merit_item_description { font-size: 14px; line-height: 1.8em; font-weight:700; }
.merit_item_description_highlight { display: inline; background: linear-gradient(transparent 60%, #F5FD37 60%); font-weight: 700; }
.merit_item_description .color_main { font-weight:700; font-size:24px; }

.merit_item_image { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.merit_item_image img { width: 100%; height: 100%; object-fit: cover; }

.merit_item_illustration_02 { position: absolute; bottom: 3vh; right: 30%; width: 22%; }
.merit_item_illustration_02 img { width: 100%; height: auto; }
.merit_item_illustration_03 { position: absolute; bottom: 3vh; right: 26%; width: 22%; }
.merit_item_illustration_03 img { width: 100%; height: auto; }

/* Detail button */
.merit_detail_button { margin-top: 60px; }

/* Tablet and up */
@media screen and (min-width: 768px) {
    .merit_main_title { font-size: 28px; }
    .merit_logo_svg { height: 50px; }

    
    .merit_bubbles { margin-top: 60px; }
    .merit_bubble { font-size: 16px; padding: 20px 24px; }
    
    .merit_bubble_1 { margin-left: 40px; }
    .merit_bubble_2 { margin-right: 40px; }
    .merit_bubble_3 { margin-right: 60px; }
    
    .merit_character { width: 280px; }
    
    .merit_banner { padding: 32px 5vw; }
    .merit_banner_title { font-size: 22px; }
    .merit_banner_logo_svg { height: 40px; }
    .merit_banner_highlight { font-size: 28px; }
    
    .merit_banner_char_left { left: 20px; height: 140px; }
    .merit_banner_char_right { right: 20px; height: 140px; }
    
    .merit_items { gap: 80px; }
    
    .merit_item_content { display: flex; gap: 30px; padding: 60px 40px 40px; }
    
    .merit_item_number { font-size: 100px; top: -40px; left: 40px; }
    
    .merit_item_text { flex: 1; margin-bottom: 0; }
    .merit_item_title { font-size: 20px; }
    .merit_item_description { font-size: 16px; }
    .merit_item_description .color_main { font-size: 30px; font-weight: 700; background: linear-gradient(transparent 60%, #F5FD37 60%);}
    
    .merit_item_image { width: 360px; aspect-ratio: 4 / 3; }
    
    .merit_item:nth-child(1) .merit_item_image { width: 360px; flex-shrink: 0; }
}

/* Desktop */
@media screen and (min-width: 1025px) {
    .merit_main_title { font-size: 32px; }
    .merit_logo_svg { height: 60px; }
    
    .merit_character { width: 320px; }

    .merit_main_title { display: flex; justify-content: center;}

    .merit_banner { padding: 40px 5vw; position: relative; }
    .merit_banner_title { font-size: 24px; }
    .merit_banner_logo_svg { height: 48px; }
    .merit_banner_highlight { font-size: 32px; }
    
    .merit_banner_char_left { left: min(2.25vw, 30px); height: 160px; bottom: 0; }
    .merit_banner_char_right { right: min(2.25vw, 30px); height: 160px; bottom: 0; }
    
    .merit_items { gap: 100px; }
    
    .merit_item_content { gap: 40px; padding: 80px 60px 60px; }
    
    .merit_item_number { font-size: 120px; top: -50px; left: 60px; }
    
    .merit_item_title { font-size: 40px; }
    .merit_item_description { font-size: 18px; }
}


/*---------- CONTENTS ----------*/
.CONTENTS_sec .h_wrap_outer { display: flex; justify-content: center; }
.CONTENTS_sec .h_deco_wrap { margin-top: -20px; z-index: 1; }
.contents_img_wrap { position: relative; }
.contents_img_1,.contents_img_2 { position: absolute; bottom: 32px; height: 80px; }
.contents_img_1 { right: -16px; }
.contents_img_2 { left: -16px; }
/* link */
.contents_link_wrap { display: flex; flex-direction: column; gap: 12px; }
.button_contents { justify-content: left; gap: 12px; max-width: 100%; height: auto; padding: 20px; background: #FFF; border: 2px solid #000; }
.button_contents .top_link_img { width: 36%; aspect-ratio: 4 / 3; background: #CCC; }
.button_contents span { line-height: 1.2em; }
.button_contents .button_arrow { right: 24px; }
.button_contents:hover .button_arrow { right: 12px; }
@media screen and (min-width: 500px) {
    .contents_img_1,.contents_img_2 { bottom: 0; height: 120px; }
    .contents_img_1 { right: 12px; }
    .contents_img_2 { left: 12px; }
}
@media screen and (min-width: 768px) {
    .contents_img_1,.contents_img_2 { bottom: -20px; height: 150px; }
    .contents_img_1 { right: 40px; }
    .contents_img_2 { left: 40px; }
    /* link */
    .contents_link_wrap { flex-direction: row; gap: 20px; }
}
@media screen and (min-width: 1025px) {
    /* link */
    .contents_link_wrap { gap: 40px; }
    .button_contents { gap: 20px; }
    .button_contents .top_link_img { width: calc(50% - 10px); }
    .button_contents span { font-size: 18px; }
    .button_contents span .top_link_en { font-size: 16px; }
    .button_contents span strong { font-size: 28px; }
}
@media screen and (min-width: 1300px) {
    /* link */
    .button_contents span { font-size: 24px; }
    .button_contents span .top_link_en { font-size: 18px; }
    .button_contents span strong { font-size: 32px; }
}