@charset "utf-8";

body {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #333;
}

.font-zenmaru {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.pc_only{
    display: block;
}

.sp_only{
    display: none;
}

.tab_none{
    display: block;
}

/* -----------------------------------------------header */

header {
    width: 100%;
    padding: 0 8px;
}

.header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    max-width: 270px;
    justify-content: center;
    gap: 24px;
    align-items: center;
}

nav ul li a {
    display: block;
    text-decoration: none;
    font-size: 1rem;
    color: #212121;
    padding: 10px 24px;
    border: 1px solid #8F8F8F;
    border-radius: 4px;
    background-color: #fff;
    transition: background-color 0.2s ease;
}

/* PC：マウス操作できる端末 */
@media (hover: hover) and (pointer: fine) {
    nav ul li a:hover {
        background-color: #d9efff;
    }
}

/* スマホ・タブレット：タップ時 */
@media (hover: none) {
    nav ul li a:active {
        background-color: #d9efff;
    }
}

/* -----------------------------------------------fv */

.wrap main .fv {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.wrap main .fv_bg_top {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: -1;
    pointer-events: none;
}

.wrap main .fv_bg_top img {
    width: 100%;
    height: auto;
    display: block;
}

.wrap main .fv .fv_bg_bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 630px;
    z-index: -1;
    pointer-events: none;
}

.fv_bg_bottom img {
    width: 100%;
    height: auto;
    display: block;
}

.fv .fv_body {
    position: relative;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 86px 16px 86px;
}

.fv .fv_body .fv_contents {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

.fv .fv_body .fv_contents .fv_main h1 {
    font-size: 3.1875rem;
    letter-spacing: 5%;
}

.fv .fv_body .fv_contents .fv_main h1 .txt_low {
    font-size: 2.3125rem;
}

.fv .fv_body .fv_contents .fv_main h1 .txt_ten {
    font-size: 4rem;
    letter-spacing: -24px;
}

.fv .fv_body .fv_contents .fv_main h1 .txt_last {
    font-size: 3.4375rem;
    letter-spacing: -24px;
}

.under_line_pink,
.under_line_bule {
    position: relative;
    font-size: 4.9375rem;
    letter-spacing: 15%;
}

.under_line_pink::before,
.under_line_bule::before {
    position: absolute;
    z-index: -1;
    content: "";
    background-image: url(../images/line_pink.svg);
    background-repeat: no-repeat;
    background-size: contain;
    height: 53px;
    width: 181px;
    bottom: 0;
}

.under_line_bule::before {
    background-image: url(../images/line_blue.svg);
}

.fv_service ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
}

.fv_service ul li {
    width: 120px;
    aspect-ratio: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;

    text-align: center;
    font-weight: bold;

    border-radius: 50%;
    box-shadow: 0 0 7px rgba(32, 154, 255, 0.75);
    padding-bottom: 8px;
    background-color: #fff;
}

.fv_service ul li p{
    font-size: 1rem;
    line-height: 120%;
}

.fv_side {
    width: 100%;
    max-width: 482px;
}

.fv_side_inner {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.fv_side_item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fvFade 9s infinite;
}

.fv_side_item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 各画像の表示タイミングをずらす（3秒間隔 × 3枚 = 9秒サイクル） */
.fv_side_item:nth-child(1) {
    animation-delay: 0s;
}

.fv_side_item:nth-child(2) {
    animation-delay: 3s;
}

.fv_side_item:nth-child(3) {
    animation-delay: 6s;
}

@keyframes fvFade {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* ------------------------------------------tab */

.service_tabs {
    display: flex;
    align-items: flex-end;
    max-width: 1110px;
    margin: 44px auto 0;
}

.service_tabs h2{
    flex: 1;
    margin: 0;
}

.service_tab {
     width: 100%;
    min-height: 76px;
    padding: 18px 12px;

    background: #eef1f3;
    border: 1px solid #b7b7b7;

    color: #666;
    font-size: 16px;
    font-weight: bold;
    text-align: center;

    cursor: pointer;
    position: relative;
}

.service_tabs button {
    font-size: 1.5rem;
    font-weight: bold;
}

/* 枠線の重なり対策 */
.service_tabs h2 + h2 {
    margin-left: -1px;
}

/* 共通：選択中 */
.service_tab.is_active {
    background: #fff;
    z-index: 2;
}

/* 優待特典が選択中 */
.service_tabs:has(.service_tab[data-tab="benefit"].is_active)
.service_tab:not(.is_active) {
    border-bottom-color: #00aeef;
    font-weight: 400;
}

/* 優待特典 */
.service_tab[data-tab="benefit"].is_active {
    color: #00aeef;
    border-color: #00aeef;
    border-bottom: none;
}

/* 広告ブロックが選択中 */
.service_tabs:has(.service_tab[data-tab="adblock"].is_active)
.service_tab:not(.is_active) {
    border-bottom-color: #ff4747;
    font-weight: 400;
}

/* 広告ブロック */
.service_tab[data-tab="adblock"].is_active {
    color: #ff4747;
    border-color: #ff4747;
    border-bottom: none;
}

/* 通信端末機器修理が選択中 */
.service_tabs:has(.service_tab[data-tab="repair"].is_active)
.service_tab:not(.is_active) {
    border-bottom-color: #FF9D00;
    font-weight: 400;
}

/* 通信端末機器修理 */
.service_tab[data-tab="repair"].is_active {
    color: #FF9D00;
    border-color: #FF9D00;
    border-bottom: none;
}

.service_panel {
    display: none;
}

.service_panel.is_active {
    display: block;
}

/* --------------------------------------------yutai_section */

.service_panel{
    max-width: 1080px;
    margin: 0 auto;
}
.service_banner{
    max-width: 960px;
    margin: 40px auto;
}

.service_banner p small{
    font-size: 0.875rem;
}

.service_main .service_main_title{
    font-size: 1.5rem;
    font-weight: bold;
}

.service_main ul{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
    padding: 0 16px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.service_main ul li{
    max-width: 341px;
    width: 100%;
    margin: 0 auto;
}

.service_main ul li a{
    text-decoration: none;
    display: block;
    max-width: 341px;
    width: 100%;
}

.service_main ul li a .service_btn{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    border: 2px solid #1BACEB;
    border-radius: 12px;
    padding: 8px 0 8px 24px;
    margin-bottom: 10px;
    box-shadow: 0 4px 0 #1BACEB;
    background-color: #EEF8FF;
    transition: background-color 0.2s ease;
}

/* PC */
@media (hover: hover) and (pointer: fine) {
    .service_main ul li a .service_btn:hover {
        background-color: #d9efff;
    }
}

/* スマホ・タブレット */
@media (hover: none) {
    .service_main ul li a .service_btn:active {
        background-color: #d9efff;
    }
}


.service_main ul li a .service_btn h3{
    font-size: 1.375rem;
    font-weight: bold;
}

.service_main .service_main_small{
    margin-bottom: 32px;
}

.service_main .service_main_small small{
    font-size: 1rem;
    font-weight: 400;
}

/* ------------------------------広告ブロック */

.ad_section{
    max-width: unset;
}

.ad_top{
    margin-top: 104px;
    width: 100%;
    background-color: #E83333;
    display: flex;
    gap: 67px;
    justify-content: center;
    align-items: center;
    padding-top: 24px;
    flex-wrap: wrap;
}

.ad_top_txt{
    max-width: 400px;
}

.ad_top_txt h3{
    color: #fff;
    font-weight: bold;
    font-size: 2rem;
    text-align: center;
}

.ad_top_txt p{
    text-align: center;
    color: #fff;
    line-height: 150%;
    padding-top: 24px;
}

.ad_top_img{
    max-width: 331px;
}

.ad_case{
    background-color: #F5F5F5;
    padding: 72px 16px;
}

.ad_case h3{
    font-size: 2rem;
    text-align: center;
    font-weight: bold;
    color: #202020;
}

.ad_case h3 span{
    color: #E83333;
}

.ad_case p{
    padding: 48px 0;
    font-size: 1.25rem;
    text-align: center;
    line-height: 160%;
}

.ad_case ul{
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.ad_case ul li{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
}

.ad_case ul li p{
    max-width: 293px;
    padding: 13px;
    text-align: left;
    font-size: 1rem;
    background-color: #fff;
    border-radius: 0 12px 12px 12px;
}

.ad_case ul li p span{
    color: #E83333;
}

.ad_merit{
    position: relative;
    background-color: #E83333;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 62px 0 0;
    gap: 29px;
    flex-wrap: wrap;
}

.ad_merit::before,
.ad_merit::after{
    position: absolute;
    content: "";
    width:0;
    height:0;
    border-style:solid;
    border-width: 30px 22px 0 22px;
    border-color: #F5F5F5 transparent transparent transparent;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: -1px;
}

.ad_merit::after{
     border-color: #E83333 transparent transparent transparent;
     bottom: -24px;
     top: unset;
     z-index: -1;
}

.ad_merit h3{
    text-align: center;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    line-height: 160%;
    padding-top: 8px;
}

.ad_merit div{
    max-width: 342px;
}

.ad_tokucho{
    padding: 72px 0;
    max-width: 1217px;
    margin: 0 auto;
}

.ad_tokucho ol{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 77px;
}

.ad_tokucho ol li{
    position: relative;
    max-width: 344px;
    border-radius: 12px;
    border: 1px solid #666;
    padding: 22px;
}

.ad_tokucho ol li::before{
    position: absolute;
    content: "";
    background-image: url(../images/kumamori_tokucho1.webp);
    background-repeat: no-repeat;
    background-size: contain;
    width: 80px;
    height: 80px;
    left: -24px;
    top: -24px;
}

.ad_tokucho ol li:nth-of-type(2):before{
    background-image: url(../images/kumamori_tokucho2.webp);
}

.ad_tokucho ol li:nth-of-type(3):before{
    background-image: url(../images/kumamori_tokucho3.webp);
}

.ad_tokucho ol li .tokucho_bgc{
    background-color: #F5F5F5;
    border-radius: 8px;
    padding: 27px 16px 0;
}

.ad_tokucho ol li .tokucho_bgc .tokucho_cnt{
    max-width: 300px;
    margin: 0 auto;
}

.ad_tokucho ol li h3{
    text-align: center;
    font-size: 1.375rem;
    line-height: 160%;
    font-weight: bold;
    padding: 15px 0;
}

.ad_tokucho ol li p.tokucho_txt{
    line-height: 160%;
    font-size: 1rem;
    max-width: 297px;
    margin: 0 auto;
}

.ad_tokucho ol li p small{
    font-size: 0.75rem;
}

.ad_faq {
    background-color: #F5F5F5;
    padding: 72px 0;
}

.ad_faq h3 {
    margin-bottom: 40px;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
}

.ad_faq_list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}

.ad_faq_item {
    border: 1px solid #777;
    border-radius: 6px;
    overflow: hidden;
}

/* デフォルトの三角マークを非表示 */
.ad_faq_item summary {
    list-style: none;
}

.ad_faq_item summary::-webkit-details-marker {
    display: none;
}

/* 質問部分 */
.ad_faq_item summary {
    position: relative;
    padding: 20px 56px 20px 20px;
    font-weight: bold;
    cursor: pointer;
}

/* ＋マークの横線 */
.ad_faq_item summary::before,
.ad_faq_item summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 10px;
    height: 1px;
    background-color: #333;
    transform: translateY(-50%);
}

/* ＋マークの縦線 */
.ad_faq_item summary::after {
    transform: translateY(-50%) rotate(90deg);
}

/* 開いたときは＋を－にする */
.ad_faq_item[open] summary::after {
    transform: translateY(-50%) rotate(0deg);
}

/* 回答部分 */
.ad_faq_content {
    padding: 16px 20px 20px;
    background-color: #fff;
}

.ad_faq_content p {
    margin: 0;
    line-height: 1.8;
}

/* ------------------------------通信端末機器修理 */

.service_panel.repair_wrap{
    width: 100%;
    max-width: none;
}
.service_panel .repair_top{
    max-width: 1164px;
    margin: 104px auto;
    display: flex;
    justify-content: center;
    gap: 72px;
    align-items: center;
    background-color: #fff;
}

.service_panel .repair_top .repair_txt h3{
    position: relative;
    text-align: center;
    font-weight: bold;
    font-size: 2rem; 
    margin-bottom: 51px;   
}

.service_panel .repair_top .repair_txt h3::before{
    position: absolute;
    content: "";
    background-image: url(../images/repair_title_line.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 86px;
    height: 3px;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -16px;
}

.service_panel .repair_top .repair_txt p{
    font-size: 1.25rem;
    line-height: 180%;
    max-width: 575px;
    width: 100%;
}

.repair_tel{
    background-color: #FFF8EE;
    padding: 64px 0;
}

.repair_tel h3{
    position: relative;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 35px;
}

.repair_tel h3::before{
    position: absolute;
    content: "";
    background-image: url(../images/repair_title_line.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 86px;
    height: 3px;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -16px;
}

.repair_tel .tel_flex{
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 32px 0;
    align-items: center;
    flex-wrap: wrap;
}

.repair_tel .tel_flex .tel_cnt .tel_icon_flex{
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
}

.repair_tel .tel_flex .tel_cnt{
    max-width: 525px;
    width: 100%;
}

.repair_tel .tel_flex .tel_cnt p{
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.repair_tel .tel_icon_flex .tel_icon{
    max-width: 66px;
    width: 100%;
}

.repair_tel .tel_icon_flex p.tel_number{
    font-size: 4rem;
}

.repair_tel .tel_flex .form_cnt .repair_small{
    font-size: 0.875rem;
    text-align: center;
    padding: 8px;
    font-weight: bold;
}

.repair_tel .tel_flex .form_cnt a.repair_mail_btn{
    display: block;
    text-decoration: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 16px;
    border-radius: 100px;
    border: 3px solid #FF9D00;
    background-color: #fff;
    max-width: 471px;
    width: 100%;
    padding: 15px;
    max-height: 96px;

    transition:
        background-color 0.3s ease,
        transform 0.1s ease;
}

@media (hover: hover) {
    .repair_tel .tel_flex .form_cnt a.repair_mail_btn:hover {
        background-color: #ffedcc;
    }
}

.repair_tel .tel_flex .form_cnt a.repair_mail_btn:active {
    transform: translateY(4px);
}

.repair_tel .tel_flex .form_cnt a.repair_mail_btn p{
    font-size: 1.5rem;
    font-weight: bold;
}

.repair_merit{
    max-width: 1088px;
    margin: 85px auto;
}

.repair_merit h3{
    position: relative;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 86px;
}

.repair_merit h3::before{
    position: absolute;
    content: "";
    background-image: url(../images/repair_title_line.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 86px;
    height: 3px;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -16px;
}

.repair_merit ul{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.repair_merit ul li p{
    font-size: 1.25rem;
    text-align: center;
    padding-top: 32px;
    font-weight: 500;
}

.repair_merit .merit_txt{
    background-color: #F2F0ED;
    text-align: center;
    line-height: 180%;
    font-size: 1.25rem;
    padding: 26px 0;
    border-radius: 16px;
    font-weight: 500;
}

.repair_shosai{
    max-width: 1088px;
    margin: 86px auto;
}

.repair_shosai h3{
    position: relative;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 86px;
}

.repair_shosai h3::before{
    position: absolute;
    content: "";
    background-image: url(../images/repair_title_line.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 86px;
    height: 3px;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -16px;
}

.repair_shosai ul li {
    display: flex;
    justify-content: center;
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.repair_shosai ul{
    margin-bottom: 64px;
}

.insurance_table {
    width: 100%;
    border-collapse: collapse;
}

.insurance_table th,
.insurance_table td {
    padding: 16px 12px;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
    text-align: left;
}

.insurance_table th {
    width: 22%;
    color: #F2AB38;
    font-weight: bold;
    font-size: 1.125rem;
}

.insurance_table td {
    width: 78%;
    font-size: 1rem;
    line-height: 1.8;
}

.insurance_table small {
    font-size: 0.75rem;
}

.insurance_table ol {
    margin: 0;
}

.repair_flow{
    background-color: #FFF6E1;
    padding: 48px 0;
}

.repair_flow h3{
    position: relative;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 51px;
}

.repair_flow h3::before{
    position: absolute;
    content: "";
    background-image: url(../images/repair_title_line.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 86px;
    height: 3px;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -16px;
}

.repair_flow .repair_flow_txt{
    max-width: 600px;
    margin: 0 auto;
    background-color: #FFF;
    border-radius: 20px;
    text-align: center;
    padding: 26px 0;
}

.repair_flow .repair_flow_txt p:nth-child(1){
    font-size: 1rem;
    font-weight: 500;
    padding-bottom: 16px;
}

.repair_flow .repair_flow_txt p:nth-child(2){
    font-size: 0.875rem;
    font-weight: 400;
}

.repair_flow ol{
    max-width: 700px;
    margin: 51px auto;
}

.repair_flow ol li{
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    align-items: center;
    padding-bottom: 95px;
}

.repair_flow ol li:last-child{
    padding-bottom: 0;
}

.repair_flow ol li .repair_flow_icon{
    min-width: 106px;
}

.repair_flow ol li div h4{
    font-size: 1.25rem;
    font-weight: bold;
    padding-bottom: 8px;
}

.repair_flow ol li div p{
    font-size: 0.875rem;
}

.repair_flow ol li .repair_flow_icon{
    position: relative;
}

.repair_flow ol li:nth-child(1) .repair_flow_icon::after,
.repair_flow ol li:nth-child(2) .repair_flow_icon::after{
    position: absolute;
    content: "";
    bottom: -64px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width:0;
height:0;
border-style:solid;
border-width: 28px 19.5px 0 19.5px;
border-color: #FFB640 transparent transparent transparent;
}



.repair_under{
    background-color: #fff;
}

/* ---------------------------------footer */

footer{
    background-color: #E3EFFB;
    padding: 48px 0 14px 0;
}

footer ul{
    max-width: 768px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    flex-wrap: wrap;
}

footer ul li a{
    font-size: 1rem;
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    footer ul li a:hover {
        text-decoration: underline;
    }
}

/* スマホ・タブレット */
@media (hover: none) {
    footer ul li a:active {
        text-decoration: underline;
    }
}

footer .footer_copy{
    text-align: center;
    font-size: 0.875rem;
    margin-top: 40px;
}


@media screen and (min-width:1650px){
    /* -----------------------------------------header */
    .nav ul{
        gap: 16px;
        max-width: 180px;
    }

    /* --------------------------------------------fv */
    .fv .fv_body{
        max-width: 1150px;
    }

    .fv .fv_body .fv_contents {
    justify-content: space-between;
    }
    .fv .fv_body .fv_contents .fv_main h1{
        font-size: 3.5rem;
    }

    .fv .fv_body .fv_contents .fv_main h1 .txt_low{
        font-size: 2.5rem;
    }

    .under_line_pink,
    .under_line_bule{
        font-size: 5.2rem;
    }

    .under_line_pink::before,
    .under_line_bule::before{
        width: 400px;
}

.fv_service ul li {
    width: 160px;
}

.fv_service ul li p{
    font-size: 1.5rem;
}
}

@media screen and (max-width:1266px){
/* -------------------------------------------広告ブロック */
.ad_tokucho ol{
    gap: 24px;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 24px;
}
}

@media screen and (max-width:1067px){
.service_main{
    max-width: 780px;
    margin: 0 auto;
}
.service_main ul{
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 0;
    max-width: 780px;
    margin: 40px auto;
}

.service_main .service_main_title{
    text-align: left;
}

.service_tabs{
    padding: 0 16px;
    gap: 6px;
    justify-content: center;
}

.service_panels{
    padding: 0 16px;
}

.ad_panels{
    padding: 0;
}

.service_main ul{
    padding: 0;
}
}

@media (min-width: 825px) and (max-width: 973px) {
    .fv .fv_body .fv_contents{
        gap:8px;
    }

    .fv_side{
        max-width: 350px;
    }
}

@media (min-width: 768px) and (max-width: 824px) {
    .fv .fv_body .fv_contents .fv_main h1{
        font-size: 3rem;
    }

    .under_line_pink,
    .under_line_bule{
        font-size: 4.5rem;
    }

    .fv_side{
        max-width: 300px;
    }

    .fv .fv_body .fv_contents{
        align-items: end;
    }
}


/* タブレット */
@media (min-width: 560px) and (max-width: 1023px) {

    .tab_none{
        display: none;
    }

/* -------------------------------------------広告ブロック */
    .ad_tokucho ol{
    gap: 40px;
    grid-template-columns: repeat(1, 1fr);
}

.ad_tokucho ol li{
    max-width: 630px;
    margin: 0 auto;
    width: 100%;
}

.ad_tokucho ol li p.tokucho_txt{
    max-width: 500px;
}

.ad_top{
    gap: 24px;
}

.ad_merit h3{
    font-size: 1.75rem;
}

/* ----------------------------------------端末機器修理 */

.repair_shosai ul li {
   max-width: 800px;
}

.service_panel .repair_top{
    gap: 24px;
    padding: 0 16px;
}

.repair_merit{
    padding: 0 16px;
}

.repair_shosai{
    padding: 0 16px;
}

/* -------------------------------------------footer */

footer ul{
    max-width: 670px;
}

.service_main .service_main_small small{
    font-size: 0.875rem;
}
}


@media screen and (max-width:767px){
    .pc_only{
    display: none;
}

.sp_only{
    display: block;
}

.tab_none{
    display: block;
}

    nav ul li a{
        padding: 7px 10px;
        font-size: 0.75rem;
    }
/* --------------------------------------------tab */
.service_tabs h2{
    max-width: 120px;
}

.service_tab{
    max-width: 120px;
    margin: 0 auto;
    width: 100%;
    padding: 6px 0px;
}

.service_tabs button{
    font-size: 1.25rem;
}

.service_tab[data-tab="benefit"].is_active{
    border: 2px solid #00aeef;
    border-radius: 8px;
}

.service_tabs:has(.service_tab[data-tab="benefit"].is_active) .service_tab:not(.is_active) {
    background-color: #fff;
    border: 1px solid #666;
    border-radius: 8px;
}

.service_tab[data-tab="adblock"].is_active{
    border: 2px solid #ff4747;
    border-radius: 8px;
}

.service_tabs:has(.service_tab[data-tab="adblock"].is_active)
.service_tab:not(.is_active) {
    background-color: #fff;
    border: 1px solid #666;
    border-radius: 8px;
}

/* 通信端末機器修理が選択中 */
.service_tabs:has(.service_tab[data-tab="repair"].is_active)
.service_tab:not(.is_active) {
    background-color: #fff;
    border: 1px solid #666;
    border-radius: 8px;
}

/* 通信端末機器修理 */
.service_tab[data-tab="repair"].is_active {
    border: 2px solid #FF9D00;
    border-radius: 8px;
}

/* --------------------------------------------fv */

.fv .fv_body{
    padding: 68px 16px 105px 24px;
}
    .fv_service ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 11px;
    margin-top: 32px;
}

/* --------------------------------------------yutai_section */

.fv_service ul li {
    /* width: 120px;
    aspect-ratio: 1; */

    width: 100%;
    max-width: 180px;
    aspect-ratio: 0;

    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;

    text-align: center;
    font-weight: bold;

    border-radius: 8px;
    /* border-radius: 50%; */
    box-shadow: 0 0 7px rgba(32, 154, 255, 0.75);
    padding-bottom: 8px;
    padding-top: 8px;
    padding-left: 8px;
    background-color: #fff;
}

.fv_service ul li div img{
    width: 20px;
}

.fv_service ul li p{
    font-size: 0.875rem;
}

.fv_side {
    position: absolute;
    z-index: -1;
    max-width: 250px;
    right: 15px;
    bottom: 0;
}

.wrap main .fv .fv_bg_bottom{
    z-index: -2;
    max-width: 350px;
}

.service_main{
    max-width: 400px;
    margin: 0 auto;
}

.service_main ul{
    grid-template-columns: repeat(1, 1fr);
    gap: 32px;
}

.service_main .service_main_title{
    font-size: 1.25rem;
}

.service_main .service_main_small{
    padding: 0 16px;
}

.service_banner{
    padding: 0 8px;
}

.service_banner p small{
    font-size: 0.75rem;
}

/* -------------------------------広告ブロック */

.ad_top{
    padding-top: 32px;
    margin-top: 48px;
    gap:32px;
}

.ad_top_txt h3{
    font-size: 1.5rem;
}

.ad_case h3{
    font-size: 1.4375rem;
}

.ad_case p{
    font-size: 1rem;
}

.ad_case ul{
    gap: 32px;
}

.ad_case ul li:nth-of-type(2){
    flex-direction: row-reverse;
}

.ad_case ul li:nth-of-type(2) p{
    border-radius: 12px 0 12px 12px;
}

.ad_merit{
    padding: 47px 0 0;
    gap: 16px;
}

.ad_merit h3{
    font-size: 1.5rem;
}

.ad_panels{
    padding: 0;
}

.ad_tokucho ol{
    gap: 40px;
    grid-template-columns: repeat(1, 1fr);
}

.ad_tokucho ol li{
    margin: 0 auto;
}

.ad_tokucho ol li::before{
    left: -16px;
}

.ad_faq{
    padding: 72px 16px;
}

.ad_faq h3{
    font-size: 1.875rem;
}

.ad_faq_item summary{
    padding: 20px 48px 20px 20px;
}

.ad_faq_content p{
    font-size: 0.875rem;
}

/* ----------------------------------------端末機器修理 */

.service_panel .repair_top .repair_txt h3,
.repair_tel h3,
.repair_merit h3,
.repair_shosai h3,
.repair_flow h3{
    font-size: 1.5rem;
}

.service_panel .repair_top .repair_txt p{
    font-size: 1.125rem;
}

.repair_shosai ul li {
   max-width: 500px;
}

.service_panel .repair_top{
    flex-wrap: wrap;
    padding: 0 16px;
    margin: 72px auto;
}

.repair_tel{
    padding: 64px 16px;
}

.repair_tel .tel_flex .tel_cnt p{
    font-size: 1.125rem;
    padding-bottom: 8px;
}

.repair_tel .tel_icon_flex{
    padding-bottom: 16px;
}

.repair_tel .tel_icon_flex .tel_icon{
    max-width: 43px;
}

.repair_tel .tel_icon_flex .tel_number{
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
}

.repair_tel .tel_flex .form_cnt a.repair_mail_btn div.icon_user{
    max-width: 50px;
}

.repair_tel .tel_flex .form_cnt a.repair_mail_btn div{
    font-size: 1.125rem;
}

.repair_tel .tel_flex .form_cnt a.repair_mail_btn p{
    font-size: 1.125rem;
}

.repair_tel .tel_flex .form_cnt a.repair_mail_btn{
    padding: 8px;
    max-width: 380px;
    font-size: 1.25rem;
}

.repair_tel .tel_flex{
    gap: 32px;
    flex-direction: column-reverse;
    padding: 16px 0;
}

.repair_merit .merit_txt{
    max-width: 330px;
    margin: 0 auto;
    font-size: 1rem;
    padding: 26px 8px;
}

.repair_shosai ul li {
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        gap: 12px;
        align-items: end;
    }

    .repair_shosai ul li > div {
        grid-column: span 2;
        text-align: center;
    }

    /* 1段目の先頭を1マスずらして中央寄せ */
    .repair_shosai ul li > div:first-child {
        grid-column: 2 / span 2;
    }

    .repair_shosai{
        padding: 0 8px;
    }

    .repair_shosai ul{
        margin-bottom: 32px;
    }

    .repair_shosai h3{
        margin-bottom: 64px;
    }

    .insurance_table th{
        font-size: 0.875rem;
        width: 30%;
    }

    .insurance_table td{
        font-size: 0.875rem;
        width: 70%;
    }

    .insurance_table th, .insurance_table td{
        padding: 16px 8px;
    }

    .repair_flow{
        padding: 48px 16px;
    }

    .repair_flow ol li{
        gap: 24px;
        padding-bottom: 58px;
    }

    .repair_flow ol li div h4{
        font-size: 1.125rem;
    }

    .repair_flow ol li:nth-child(1) .repair_flow_icon::after,
    .repair_flow ol li:nth-child(2) .repair_flow_icon::after{
      border-width: 20px 12px 0 12px;
    }

/* ------------------------------footer */

footer ul{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}
}

@media screen and (max-width:500px){

.header_inner{
    gap: 8px;
    min-width: 0;
}

.header_inner .logo_img{
    flex: 0 1 160px;
    min-width: 0;
    max-width: 160px;
}

.header_inner .logo_img img{
    width: 100%;
    height: auto;
}

nav{
    min-width: 0;
}

nav ul{
    max-width: none;
    gap: 8px;
}

nav ul li a {
    padding: 9px clamp(8px, 4vw, 18px);
    white-space: nowrap;
}

/* ------------------------------------fv */

.fv .fv_body .fv_contents{
    position: relative;
    justify-content: flex-start;
}
    .fv .fv_body .fv_contents .fv_main h1{
     font-size: 1.9375rem;
     line-height: 150%;  
    }

    .fv .fv_body .fv_contents .fv_main h1 .txt_low{
     font-size: 1.375rem;   
    }

    .under_line_pink,
    .under_line_bule{
        font-size: 2.9375rem;
    }

    .under_line_pink::before,
    .under_line_bule::before{
        width: 120px;
        height: 28px;
}

.fv .fv_body .fv_contents .fv_main h1 .txt_ten{
     font-size: 2.375rem;
}

.fv .fv_body .fv_contents .fv_main h1 .txt_last{
        font-size: 2rem;
    }

    .fv_side {
    position: absolute;
    z-index: -1;
    max-width: 250px;
    right: -20px;
    bottom: -90px;
}

.wrap main .fv .fv_bg_bottom{
    z-index: -2;
    max-width: 350px;
}

/* ----------------------------------------広告ブロック */

    .ad_merit div{
    position: relative;
     display: flex;
    justify-content: center;
    z-index: 0;
    max-width: 250px;
}

.ad_merit div::before {
    position: absolute;
    content: "";
    background-image: url(../images/merit_sp_bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    height: 165px;
    left: 50%;

    z-index: -1;
    bottom: 0;
    transform: translateX(-50%);
}

.ad_merit::after{
     border-color: #ED5858 transparent transparent transparent;
}
/* ----------------------------------------端末機器修理 */
.repair_flow ol li .repair_flow_icon{
        min-width: 78px;
    }
}

@media screen and (max-width:399px){
    .fv_side {
    max-width: 220px;
}
nav ul{
    gap: 8px;
}

nav ul li a{
    padding: 9px 8px;
}

.service_tabs h2{
    max-width: 106px;
}

.service_tab{
    max-width: 106px;
}

.service_main .service_main_title{
    padding-left: 16px;
}

}
