@charset "utf-8";

/*----------------------------------------------------
   共通css
----------------------------------------------------*/
#footer {
    background: #def6fa;
    padding: 1px;
}

p {
    word-break: break-all;
}

.txt-sub {
    font-size: 14px;
    color: #8c8c8c;
}

.btn-out a {
    color: #fff !important;
}

.btn-out a:hover {
    color: #000 !important;
}

.btn-in a {
    color: #fff !important;
    width: 460px;
    display: block;
    padding: 15px 0;
}

.btn-in a:hover {
    color: #000 !important;
}

.mgb40 {
    margin-bottom: 40px !important;
}

.btn-right {
    text-align: right;
}

.btn-right a {
    color: #1111cc;
}

.btn-right a:hover {
    color: #7e7ee5;
}

.btn-out a {
    color: #fff !important;
    width: 460px;
    display: block;
    padding: 20px 42px 20px 13px;
}

.bg-rank {
    padding: 10px !important;
}

.bg-rank {
    padding: 10px !important;
}

.txt-str {
    font-size: 16px;
    color: #d32358;
    font-weight: bold;
    background: #fff78e;
}

.txt-str a {
    font-size: 16px;
    color: #d32358;
    font-weight: bold;
    text-decoration: underline;
    background: #fff78e;
}

.txt-str a:hover {
    color: #e87195;
    font-weight: bold;
    text-decoration: none;
    background: #fff78e;
}

.txt-one {
    font-size: 20px;
    color: #ff0000;
    font-weight: bold;
    background: #fff78e;
}

.txt-one a {
    font-size: 20px;
    color: #ff0000;
    font-weight: bold;
    text-decoration: underline;
    background: #fff78e;
}

.txt-one a:hover {
    color: #ff7a7a;
    text-decoration: none;
}

.description-box {
    margin: 0 10px 0 10px;
    width: 97%;
    background: #ecf6f8;
    font-size: 15px;
    border: 1px solid #d2d3d4;
    padding: 15px;
}

.description-box p {
    margin: 0 !important;
}

.exc1 {
    background: url("https://www.cramschool-fees.com/wp/wp-content/uploads/tsunashima_jyuku-banner_hover.png") no-repeat;
}

.exc1 a {
    display: inline-block;
}

.exc1 a:hover {
    background-color: transparent;
    /* IE6対応 */
}

.exc1 a:hover img {
    visibility: hidden;
}

.exc1 {
    background: url("https://www.cramschool-fees.com/wp/wp-content/uploads/tsunashima_jyuku-banner_hover.png") no-repeat;
    width: auto;
    background-size: cover;
}

.exc1 a {
    display: inline-block;
}

.exc1 a:hover {
    background-color: transparent;
    /* IE6対応 */
}

.exc1 a:hover img {
    visibility: hidden;
}

img {
    max-width: 100% !important;
}

.img-cntr {
    margin: 0 auto;
    text-align: center;
}

.img-cntr img {
    border: 1px solid #aaa;
}

.txt-quote {
    font-size: 11px;
    color: #999;
}

#main_visual .text_area h1 {
    background: url(./img/sp/mv_pic_l.png) no-repeat 2% center, url(./img/sp/mv_pic_r.png) no-repeat 98% center, url(./img/sp/mv_catch_l.png) no-repeat 18% 10px, url(./img/sp/mv_catch_r.png) no-repeat 82% 85%, #def6fa;
    background-size: 57px 80px, 57px 80px, 50px, 50px;
    font-size: 17px;
    font-weight: bold;
    line-height: 1.4;
    padding: 15px 20%;
    text-align: center;
}

#index table th,
#category table th,
#page table th {
    background: #ecf6f8;
    border: 1px solid #dce1e2;
    font-size: 14px;
    font-weight: bold;
    padding: 5px;
    width: 30%;
    text-align: center;
    vertical-align: middle;
}

#index .hikaku th {
    width: auto;
}

#index .hikaku td {
    padding: 5px;
}

#index .hikaku .btn-out {
    font-size: 14px;
    margin: 0px 0px !important;
    border: 3px solid #febf7c;
    width: 80%;
    text-align: center;
    display: -webkit-inline-box;
}

#contents {
    margin: 10px auto;
    width: 100%;
}

#index p,
#category p,
#page p {
    margin: 0 10px 10px 10px;
}

#index p span,
#category p span,
#page p span {
    background: #fff78e;
    font-size: 16px;
    font-weight: bold;
}

#index .btn-tel,
#category .btn-tel,
#page .btn-tel {
    padding: 20px 0 20px 0;
    margin-bottom: 40px;
}

.mgb40 {
    margin-bottom: 30px !important;
}

.lp2_kuchikomi {
    border: solid 1px #dce1e2;
    width: 94%;
    margin: 0 auto 20px;
    overflow-y: scroll;
    padding: 20px;
    background: #fff;
}

.lp2_kuchikomi2 {
    border-bottom: 2px solid #fff914;
    padding-top: 10px;
}

#index table.lp2table {
    width: 80%;
}

table.lp2table td {
    font-weight: bold;
    font-size: 18px;
}

#index table.lp2table th,
#index table.lp2table td {
    padding: 10px;
}

#index table.lp2table .btn-out {
    padding: 0;
    width: 90%;
    margin: 0 auto;
}

#index table.lp2table .btn-out a {
    width: 90%;
    margin: 0 auto;
    display: block;
    padding: 10px 10px 10px 0px;
}


.list3 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.list3_2 {
    width: 33%;
    border: 4px solid #67B8C4;
}

.list3_title2 {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    color: #fff;
    background-color: #6FC7D4;
    text-align: center;
    padding: 5px;
}

.list3_title2 span {
    font-size: 22px;
    display: block;
}

.list3_2b {
    padding: 10px;
}

.list3_2 ul {
    height: 75px;
}

/*--------------------------------------
l-parts01
---------------------------------------*/
.l-parts01 {
    position: relative;
}

.l-parts01::before {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: calc(100% + 12rem);
    background: url(img/parts03_bg_01.png) repeat-x left bottom;
    background-size: auto 100%;
    content: '';
    z-index: -1;
}

.l-parts01 .float-wrap:nth-of-type(1) {
    width: 84rem;
    margin: 0 auto 2rem auto;
}

.l-parts01 .float-wrap:nth-of-type(2) {
    width: 84rem;
    margin: 0 auto;
}

.l-parts01 .float-wrap .float-img.fl {
    width: 24rem;
}

.l-parts01 .float-wrap .float-img.fr {
    width: 26rem;
}

.l-parts01 .float-wrap p:not([class]) {
    padding: 4rem 0 0 0;
}

.conpanies-wrap {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
}

.company-wrap {
    width: calc(100% / 3);
    margin: 1rem;
    border-radius: 1.8rem;
    background: #dff6fa;
    padding: 5px;
}

.company-wrap .catch-title span {
    font-size: 2.2rem;
}

.company-wrap .btn-web a {
    width: 95%;
    font-size: 1.6rem;
}

.company-features {
    min-height: 10rem;
}

.l-parts04-list .l-parts04-body::before {
    display: none;
}

p.btn-internal.additional-banner a {
    width: 45%;
}

.catch-title {
    padding: 0.5rem;
    background: #262a7f;
    border-radius: 1.8rem 1.8rem 0 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.catch-title span {
    font-size: 4rem;
    color: #fa8336;
}

.catch-title span span {
    color: #fa8336;
}

.company-name {
    text-align: center;
    font-size: 2.1rem;
    color: #262a7f;
    font-weight: bold;
    margin: 10px 0;
}

.reason {
    text-align: center;
    margin-top: 2.4rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: rgb(3, 113, 113);
}

#index .conpanies-wrap .btn-out {
    width: 90%;
    margin: auto;
}

.conpanies-wrap .btn-out a {
    width: 90%;
    margin: auto;
}

/*2024.10.04*/
#lp2 .l-parts01::before {
    content: none;
}

.custom-box {
    display: flex;
    justify-content: center;
}

.custom-box dl {
    display: flex;
    flex-direction: column;
    width: 48%;
    margin: 0 auto;
}

.custom-box dt {
    padding: 10px;
}

.selectionBoxGoogle {
    width: 100%;
    padding: 15px 0;
    margin: 14px 0 0;
}

.flex .selectionBoxGoogle {
    width: 48%;
}

.selectionBoxGoogle dt {
    background: #142244;
    vertical-align: middle;
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
    line-height: 1.2;
    font-weight: bold;
    color: #fff;

}

.selectionBoxGoogle dd {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: bold;
    background: #fff;
    min-height: 75px;
}

.selectionBoxGoogle dd span {
    color: #dc405d;
    font-size: 28px;
}

/*2024.12.24*/
#lp2 .catch-title{
	font-size:1.5rem;
}
#lp2 .company-name{
	font-size:1.3rem;
}
#lp2 .reason {
    margin-top: 1.5rem;
    margin-bottom:1.5rem;
}
#lp2 .company-features {
    min-height: auto;
}
/*----------------------------------------------------
   PR表記
----------------------------------------------------*/
#header .site_ttl:before {
    content: "PR";
    display: inline-block;
    background: #000;
    color: #fff;
    text-align: center;
    width: fit-content;
    margin-right: 1rem;
    font-size: 14px;
    padding: 0 .5rem;
    line-height: 1.4;
}

#header .site_ttl {
    display: flex;
    align-items: center;
    justify-content: center;
}


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

    #header .site_ttl:before {
        display: block;
    }

    #header .site_ttl {
        display: block;
        padding-top: 15px;
    }
}



/*----------------------------------------------------
    PCサイトcss
----------------------------------------------------*/

@media screen and (min-width: 600px) {
    #index {
        float: none;
        max-width: 1000px;
        width: 100%;
        margin: auto;
    }

    #footer .page_top_pc {
        display: inline-block;
        height: 95px;
        position: fixed;
        right: 0;
        bottom: 10rem;
        width: 95px;
    }

    .sp,
    .sp_br {
        display: none;
    }
	/*2024.12.24*/
	#lp2 .company-wrap .features_box{
	min-height:200px;
}
	.lp2_kuchikomi {
    max-height: 400px;
}
/*2025.02.17*/	
	#main_visual .inner.lp2_custom:before {
    content: url(https://www.cramschool-fees.com/wp/wp-content/uploads/mv_pic01_202502.png);
    left: 0;
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    z-index: -1;
}
#main_visual .inner.lp2_custom:after {
    content: url(https://www.cramschool-fees.com/wp/wp-content/uploads/mv_pic02_202502.png);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0%, -50%);
    z-index: -1;
}
	#index #lp2 .company-wrap table{
		min-height:300px;
	}
	#index #lp2 .info_list li{
		min-height:100px;
	}
}

/*----------------------------------------------------
    SPサイトcss
----------------------------------------------------*/
@media screen and (max-width: 599px) {

    .btn-out,
    .btn-in {
        width: 95%;
        margin: 20px auto 20px auto;
    }

    .btn-out a,
    .btn-in a {
        width: 100%;
        padding: 10px 20px 10px 10px;
    }

    #index .btn-in a,
    #category .btn-in a,
    #page .btn-in a {
        display: block;
        width: 100%;
        padding: 20px 20px 20px 0;
    }

    .description-box {
        width: 100%;
        margin: 0 0 20px 0;
    }

    .tbl-rank {
        width: 10%;
    }

    .tbl-name {
        width: 50%;
    }

    .tbl-fee {
        width: 40%;
    }

    #contents li {
        margin: 0 0 20px 0;
    }

    #contents li span {
        background: #fff78e;
        font-size: 16px;
        font-weight: bold;
    }

    #index .btn-tel,
    #category .btn-tel,
    #page .btn-tel {
        padding: 20px 0 20px 0;
    }

    iframe {
        width: 100%;
    }

    #index table.lp2table {
        width: 100%;
    }

    #index table.lp2table th,
    #index table.lp2table td {
        padding: 6px;
    }

    #index table.lp2table .btn-out a {
        width: 100%;
        font-size: 14px;
        min-width: 130px;
        padding-right: 20px;
    }

    .conpanies-wrap {
        display: block;
        margin: 0 auto;
    }

    .company-wrap {
        width: 100%;
        margin: 1rem 0rem;
        border-radius: 1.8rem;
        background: #dff6fa;
        padding: 5px;
    }

    /*2024.12.24*/
    #main_visual .text_area h2 {
        font-size: 22px;
        padding: 15px 14%;
    }
	
	#index #lp2 .btn-out {
		margin-top: 30px;
        margin-bottom: 30px;
    }
/*2025.02.17*/
#main_visual .text_area h2 {
    background: url(https://www.cramschool-fees.com/wp/wp-content/uploads/mv_pic01_202502_sp.png) no-repeat 2% center,
    url(https://www.cramschool-fees.com/wp/wp-content/uploads/mv_pic02_202502_sp.png) no-repeat 98% center,
    url(./img/sp/mv_catch_l.png) no-repeat 18% 10px,
    url(./img/sp/mv_catch_r.png) no-repeat 82% 85%, #def6fa;
    background-size: 57px 80px, 57px 80px, 50px, 50px;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.4;
    padding: 15px 14%;
    text-align: center;
}
}