/* ===========================
   sp_style.css
   スマホ専用スタイル（～767px）
   =========================== */

/* common */
body {
    line-height: 1.6;
    word-break: break-word;
}

.section {
    max-width: 355px;
}

img {
    width: 100%;
}

.pc_only { display: none !important; }
.sp_only { display: block !important; }
.pc-img { display: none !important; }
.sp-img { display: unset !important; }


/* commmon_title */
h1 {
    font-size: 25px;
}
.section-title h2 {
    font-size: 15px;
    padding: 5px 10px;
    font-weight: bold;
    border-left: 6px solid #ccc;
}
.section-title .btn_call {
    display: none;
}

/* commmon_テキストリンク */
.anc_back{
    margin-top: 15px;
}
.anc_back:hover{
    text-decoration: unset;
}

.btn_call {
    display: inline-block;
    margin: 30px auto;
    color: #1122cc;
    font-size: 14px;
    text-decoration: underline;
}

/* congestion */
#congestion{
    row-gap: 10px;
}
#congestion .contact{
    gap: 3px;
}
#congestion .box_contact {
    padding: 5px;
}
#congestion .box_contact:hover {
    border: 1px solid #d8d8d8;
}
#congestion .box_contact > a {
    display: grid;
    grid-template-rows: 70px auto;
    padding: 0;
}
#congestion .box_contact > a .head {
    padding-bottom: 0;
    font-size: 14px;
    line-height: 1.45 !important;
    text-align: start;
    background: none;
}
#congestion .box_contact > a .head span{
    font-size: 18px;
    text-wrap: nowrap;
}
#congestion .box_contact .time {
    padding: 5px 0 20px;
    border-top: unset;
    border-bottom: unset;
    position: relative;
}
#congestion .box_contact .time::after {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--jcom-red);
    border-right: 2px solid var(--jcom-red);
    position: absolute;
    bottom: 10px;
    left: calc(50% - 5px);
    transform: rotate(135deg);
}
#congestion .box_contact table .txt {
    display: none;
}
#congestion .box_contact table .takeTime {
    position: relative;
    font-size: 14px;
    text-align: center;
    padding-top: 5px;
}
#congestion .box_contact table .num {
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
    padding-right: 2px;
}
#congestion .box_contact .links {
    border-top: 1px solid #ccc;
}
#congestion .box_contact .links ul {
    display: grid;
    grid-template-rows: auto;
    row-gap: 5px;
    margin-top: 7px;
}

/* prospect */
#prospect .content_wrap{
    padding: 0;
}
#prospect .header{
    margin-top: 30px;
    margin-bottom: 0;
}
#prospect h3 {
    min-height: 50px;
    padding-top: 10px;
    padding-left: 50px;
    font-size: 15px;
    background-size: auto 50px;
}

#prospect .container > div {
    grid-template-columns: none;
}
#prospect .container h4 {
    margin-top: 15px;
    padding: 5px 15px;
    font-size: 14px;
}
#prospect #service h4 {
    background: #FEEDD7;
}
#prospect #tv h4 {
    background: #ffe7f4;
}
#prospect #net h4 {
    background: #e4f5fe;
}
#prospect .container > div p {
    margin-top: 10px;
}
#prospect .container .img{
    margin-top: 10px;
    padding-left: 0;
}

#prospect .congestion-table{
    width: 100%;
    margin: 10px auto;
}
#prospect table thead th{
    line-height: 2.5;
    font-weight: normal;
}
#prospect table thead th:first-child {
    width: 15%;
}
#prospect table tbody th{
    font-size: 12px;
}
#prospect table tbody td {
    padding: 8px 11px;
    vertical-align: middle;
}
#prospect table tbody td img {
    width: 26px;
    height: auto;
}
#prospect .note {
    width: 100%;
    padding-left: 1em;
    color: #666;
    font-size: 12px;
    text-indent: -1em;
}

/* info */
#info .section-title{
    margin-bottom: 30px;
}
#info .content_wrap{
    padding: 0;
}
#info .flex{
    grid-template-columns: none;
}
#info .child.desc{
    padding-right: 0;
}
#info .child.desc h3 {
    padding: 5px 10px;
    font-size: 15px;
    font-weight: bold;
    border-left: 6px solid #ccc;
}
#info .child.desc p{
    display: none;
}
#info .flex .list li {
    display: inline-block;
    vertical-align: middle;
}
#info .flex .list li .btn_orange {
    font-size: 13px;
}
#info .flex .list li a:hover {
    opacity: .6;
}
#info .flex .list li img {
    width: 66px;
    height: unset;
}

/* faq */
#faq .content_wrap {
    padding: 0;
}
#faq .content_wrap li a {
    font-size: 14px;
    padding-left: 45px;
    background-position: 10px;
}
#faq .content_wrap li a:hover{
    color: #444;
    border: 1px solid #ccc;
}
#faq .content_wrap li a::after {
    content: "";
    width: 12px;
    height: 12px;
    border-top: 3px solid var(--jcom-red);
    border-right: 3px solid var(--jcom-red);
    position: absolute;
    top: 50%;
    right: 30px;
    -webkit-transform: rotate(45deg) translateY(-50%);
    transform: rotate(45deg) translateY(-50%);
}

/* controller */
.controller {
    width: 100%;
    padding: 10px 0 15px;
    font-size: 12px;
}
.controller li.prev {
    position: relative;
    float: left;
    padding-left: 25px;
}
.controller li.prev::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 2px solid #999;
    border-left: 2px solid #999;
    position: absolute;
    top: 50%;
    left: 15px;
    -webkit-transform: rotate(-45deg) translateY(-50%);
    transform: rotate(-45deg) translateY(-50%);
}
.controller li.pageUp {
    position: relative;
    float: right;
    padding-right: 25px;
}

.controller li.pageUp::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 2px solid #999;
    border-right: 2px solid #999;
    position: absolute;
    top: 50%;
    right: 10px;
    -webkit-transform: rotate(-45deg) translateY(-50%);
    transform: rotate(-45deg) translateY(-50%);
}
.controller li a{
    color: var(--jcom-blue);
    text-decoration: underline;
}