/*
Theme Name: dp-infinitii-child
Version: 1.1.4.1
Template: dp-infinitii
*/

/* 全体 */
.dp_text_widget p {
    margin: 0 !important;
}

.widget-box {
    margin-bottom: 0 !important;
}

.widget-container.full-wide .widget-box:not(.dp_archive_widget) {
    padding: 0 !important;
}

.content-wrap.two-col:not(.singular) {
    padding: 0 !important;
}


/* 梼原の紹介 */

.bottun {
    text-align: center;
    margin: 10px auto;
}

span.btn_orange01 {
    display: inline-block;
    text-align: center;
    background-color: #F39800;
    color: #fff;
    padding: 0.2em 1em;
    border-radius: 15px;
    font-size: 4rem;
    margin: 30px auto;
}

span.btn_orange01_s {
    text-align: center;
    background-color: #F39800;
    color: #fff;
    padding: 0.5em 1em;
    border-radius: 10px;
    font-size: 2rem;
}

.mid_blue {
    font-size: 3.3em;
    line-height: 70px;
    padding: 1.5em 2em 1em;
    color: #24bdd5;
}

.openschool .mid_blue {
    padding: 2em 2em 0.5em;
}

.mid_orange {
    font-size: 3em !important;
    color: #F39800;
    background-image: none !important;
    margin-bottom: 0 !important;
}

/*ゆすゆす寮*/
.yusuyusu_bg {
    background-image:url(https://kumonoue.kochi-yusuhara.jp/wp-content/uploads/2025/09/yusuyusu_01.png);
    height: 0;
    width: 100%;
    padding-top: 80%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


.yusuyusu {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 6em;
}

.yusuyusu .mid_orange {
    margin-top: 0;
}

.yusuyusu p .sub_org {
    color: #F39800;
    font-size: 1.5em;
}

/* div#dpcustomtextwidget-4 {
    position: relative;
    background-image:url(https://kumonoue.kochi-yusuhara.jp/wp-content/uploads/2025/09/yusuyusu_01.png);
    height: 1365px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
} */

.yusuyusu_family {
    position: relative;
    width: 1180px;
    margin: 0 auto;
}

.yusuyusu_family img {
    position: absolute;
}

img.classmate01 {
    width: 30%;
    bottom: 3.1em;
    right: 12em;
    border-radius: 10px;
    z-index: 50;
    box-shadow: 4px 5px 15px 0px rgba(0, 0, 0, 0.35);
}
img.classmate02 {
    width: 30%;
    right: 0;
    top: 0;
    border-radius: 10px;
    box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.4);
}


h2.mid_h2 {
    background-image: none !important;
    font-weight: bold;
    font-size: 2.5em;
    padding: 1rem 0 0 !important;
    margin-bottom: 0 !important;
}

.p_lightblue {
    color: #24bdd5;
    font-size: 23px;
    font-weight: 600;
}

.box_blue {
    width: 600px;
    border: 2px solid #24bdd5;
    border-radius: 20px;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
}

.setsubi {
    width: 1180px;
    margin: 0 auto 8em;
}


/* サポート体制 */
.support {
    width: 1180px;
    margin: 0 auto 7em;
}

/* listカスタム */

.dp_text_widget ul li::before {
    background-image: none !important;
    border: none !important;
}

.list_ryou-wrap {
    list-style: none !important;
    padding: 0 !important;
}

.list_ryou:before {
    background-image: none !important;
    content: "" !important;
    width: 10px !important;
    height: 10px !important;
    display: inline-block;
    background-color: #24bdd5 !important;
    border-radius: 50% !important;
}

.box_blue li li {
    padding-left: 0 !important;
}


ul.suppolist {
    list-style-type: none !important;
    margin-left: 30px !important;
    padding: 0 !important;
}


ul.suppolist li {
    font-size: 25px !important;
    margin-left: 20px;
    padding: 3px 0 3px 20px !important;
}

ul.suppolist li::before {
    display: inline-block;
    top: 0.6em !important;
    content: "" !important;
    margin-right: 10px;
    width: 25px !important;
    height: 25px !important;
    vertical-align: top;
    border-radius: 20px !important;
    background-color: #24bdd5 !important;
}

ul.suppolist li:last-child {
    margin-bottom: 0;
}



/* 留学サポート */
/* div#dpcustomtextwidget-6 {
    position: relative;
    background-image:url(https://kumonoue.kochi-yusuhara.jp/wp-content/uploads/2025/09/abroad_bg.png);
    height: 1657px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
} */

.abroad {
    position: relative;
    width: 100%;
    height: 0px;
    padding-top: 86%;
    background-image:url(https://kumonoue.kochi-yusuhara.jp/wp-content/uploads/2025/09/abroad_bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


.mid_white {
    position: absolute;
    color: #fff;
    font-size: 2.8em;
    letter-spacing: 2px;
    top: 1%;
    left: 30%;
}
div.mid_h3_yel {
    position: absolute;
    color: #fcff00;
    font-size: 33px !important;
    top: 7.5%;
    left: 13%;
}
.abroad p.r_top {
    position: absolute;
    color: #fff;
    font-size: 19px;
    line-height: 26px;
    letter-spacing: 3px;
    top: 13.5%;
    left: 13%;
}
.abroad p.r_btm {
    position: absolute;
    color: #fff;
    left: 35em;
    bottom: 17em;
    line-height: 32px;
    font-size: 22px;
}



/* 学びのコース */
div#dpcustomtextwidget-8 {
    background-image:url(https://kumonoue.kochi-yusuhara.jp/wp-content/uploads/2025/09/course_bg2.png);
    height: 2100px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 0 !important;
}

.course {
    width: 1180px;
    margin: 0 auto;
}

span.course_name {
    margin: 0 auto;
    text-align: center;
    display: block;
    font-size: 28px;
    color: #fff;
    background-color: #24bdd5;
    border-radius: 10px;
}

h6.mid_h6 {
    background-image: none !important;
    font-size: 20px !important;
    font-weight: 600;
    margin: 3.2rem 0 0 !important;
    padding: 0 !important;
}

div.shikaku {
    color: #24bdd5;
    margin-top: 1em !important;
}
span.shikaku_mid {
    display: inline-block;
    border: 1px solid #24bdd5;
    border-radius: 5px;
    padding: 0px 15px;
    margin-bottom: 10px !important;
}

/* 卒業生・在校生の声 */
div#dpcustomtextwidget-9 {
    background-image:url(https://kumonoue.kochi-yusuhara.jp/wp-content/uploads/2025/10/sky03.jpg);
    width: 100%;
    height: 2250px;
    background-repeat: no-repeat;
    background-position: center;
}


.comment {
    width: 1180px;
    margin: 0 auto;
}

.com_01 {
    position: relative;
    border: 1px solid #333;
    padding: 3em 3em;
    color: #333;
    background-color: #FCEBDE;
    border-radius: 35px;
    margin-bottom: 10em;
}
.com01_title {
    position: absolute;
    top: 7em;
    left: 14em;
    width: 240px;
}

p.graduate {
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid #ffaa00;
}
span.year {
    background-color: #ffaa00;
    color: #fff;
    padding: 7px 12px;
    border-radius: 10px;
    margin-right: 10px;
}
span.name {
    font-size: 22px;
    font-weight: 600;
}


.com_02 {
    border: 1px solid #333;
    padding: 3em 3em;
    color: #333;
    background-color: #FCEBDE;
    border-radius: 35px;
    margin-bottom: 10em;
}
.com02_title {
    position: absolute;
    bottom: 53em;
    left: 14em;
    width: 240px;
}

p.current {
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid #24bdd5;
}
span.home {
    background-color: #24bdd5;
    color: #fff;
    padding: 7px 12px;
    border-radius: 10px;
    margin-right: 10px;
}


/* オープンスクール案内 */
div#dpcustomtextwidget-10 {
    background-image:url(https://kumonoue.kochi-yusuhara.jp/wp-content/uploads/2025/10/opschool_bg.jpg);
    width: 100%;
    height: 2000px;
    background-repeat: no-repeat;
    background-position: center;
}

.openschool {
    width: 1180px;
    margin: 0 auto;
}

.fbox_event {
    display: flex;
    gap: 20px;
    margin: 15px auto;
}

.fbox_event div {
    flex: 1;
    border: 1px solid #ddd;
    padding: 20px;
    background-color: #fff;
    box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 15%);
}

.fbox_event p {
    margin: 15px 0 !important;
}


/* スライドループ設定 */
.loop_wrap {
    display: flex;
    width: 100vw;
    height: auto;
    overflow: hidden;
    margin: 80px 0;
}
.loop_wrap img {
    width: auto;
    height: 100%;
}
@keyframes loop {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes loop2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}
.loop_wrap img:first-child {
    animation: loop 50s -25s linear infinite;
}
.loop_wrap img:last-child {
    animation: loop2 50s linear infinite;
}
@media screen and (max-width: 1420px){
.top_1420 {
    width: 100%;
    margin: 0 auto;
}
}
@media screen and (max-width: 600px){
.loop_wrap {
    width: 300vw;
    margin: 0px calc(50% - 50vw) 30px;
}
.half_box div {
    padding: 10px 10px;
}
}

/* サイドバナー */
.pageside {
    width: 349px;
    position: fixed;
    z-index: 1000;
    bottom: 10%;
    right: 0;
}
.pageside a {
    display: block;
    opacity: 0.6;
}
.pageside a:hover {
    opacity: 1.0;
}

/* flexbox */
.fbox_photo {
    display: flex;
    margin: 10px auto;
    gap: 10px;
}
.fbox_photo div {
    flex: 1;
}
.fbox_photo div img {
    border-radius: 10px;
}

.supo_fbox {
    display: flex;
    gap: 45px;
    margin-bottom: 30px;
}
.supo_fbox div {
    flex: 1;
}
.supo_fbox p {
    margin-left: 45px !important;
}

.fbox_course:nth-child(even) {
    display: flex;
    flex-direction: row-reverse; /*左右入れ替え*/
    margin: 2em auto 5em;
    gap: 20px;
}
 @media(max-width : 750px ){
    .fbox_course:nth-child(even){
    display: block;
    margin: 2em auto 3em;
}
}
.fbox_course:nth-child(odd) {
    display: flex;
    margin: 2em auto 5em;
    gap: 20px;
}
 @media(max-width : 750px ){
.fbox_course:nth-child(odd){
    display: block;
    margin: 2em auto 3em;
}
}

.fbox_course div.co_text {
    flex: 1;
}
.fbox_course div.co_img {
    flex: 1;
}

.fbox_com {
    display: flex;
    gap: 15px;
    margin-bottom: 5em;
}
.fbox_com div.com_img {
    flex: 1;
    text-align: center;
}
.fbox_com div.com_text {
    flex: 5;
}

/* SNSアイコン大きさPC */
.hd_sns_links {
    margin: 15px auto 40px !important;
    padding-right: 0 !important;
}
.sns_contact_icons .menu-item {
    margin: 10px 20px 0 !important;
    font-size: 3rem !important;
}
.sns_contact_icons .sns_link span {
    bottom: -32px !important;
    margin-left: -25px !important;
}


/* SNSアイコン大きさSP */
.menu_sns_links .menu-item {
    font-size: 2.2rem !important;
}
.menu_sns_links .menu-link::before {
    width: 40px !important;
    height: 40px !important;
}
.menu_sns_links .menu-title::before {
    line-height: 43px !important;
    width: 42px !important;
}

/* SP設定 */
@media screen and (max-width: 768px){
    span.btn_orange01 {
    font-size: 2.2rem;
}

span.btn_orange01_s {
    font-size: 1.6rem;
}

.mid_blue {
    font-size: 1.8em;
    line-height: 40px;
    padding: 10px;
    color: #24bdd5;
}

/* ゆすゆす寮 */
.mid_orange {
    font-size: 1.6em !important;
    color: #F39800;
    background-image: none !important;
    padding: 1rem 0rem !important;
    margin-bottom: 0 !important;
    text-align: center;
}

.yusuyusu_sp {
    display: block;
}
.yusuyusu_sp span.sub_org {
    display: block;
    color: #F39800;
    font-size: 1.2em;
    text-align: center;
}

.setsubi {
    width: 100%;
    margin: 0 auto 5em;
}

.p_lightblue {
    font-size: 17px;
    font-weight: 600;
}
.box_blue {
    width: 100%;
    padding: 1em 0.5em;
    font-size: 15px;
}

img.classmate_sp {
    width: 100%;
    border-radius: 10px;
    box-shadow: 4px 5px 15px 0px rgba(0, 0, 0, 0.35);
}

/* 留学サポート */
div#dpcustomtextwidget-14 {
    background-image:url(https://kumonoue.kochi-yusuhara.jp/wp-content/uploads/2025/09/absp_bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    height: 780px;
}
.abroad_sp {
    padding: 2rem 1.5rem;
}
.abroad_sp p {
    color: #fff;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 2px;
}
.mid_white {
    position: static;
    font-size: 3rem;
    letter-spacing: normal;
    line-height: 45px;
    text-align: center;
}
h3.mid_h3_yel {
    position: static;
    color: #fcff00;
    font-size: 28px !important;
    margin: 0 !important;
}

/* サポート体制 */
.support {
    width: 100%;
    margin: 0 auto 5em;
}
.support p {
    margin-left: 30px !important;
}

ul.suppolist {
    margin-left: 0 !important;
    padding-bottom: 0px !important;
}

ul.suppolist li {
    font-size: 20px !important;
    margin-left: 20px;
    padding: 3px 0 3px 12px !important;
    font-weight: bold;
}
.fbox_photo div img {
    margin: 0 auto;
}

/* 卒業生/在校生の声 */
.comment {
    width: 100%;
}
.com_01 {
    padding: 3em 1.5em 0;
    margin-bottom: 5em;
}
.com_02 {
    padding: 3em 1.5em 0;
    margin-bottom: 5em;
}
.fbox_com {
    display: block;
}
p.graduate {
    padding-bottom: 0;
    margin: 2rem 0 !important;
}

/* オープンスクール */
.openschool {
    width: 100%;
}
.openschool .mid_blue {
    padding: 1em 0 0.2em;
}

.fbox_event {
    display: block;
}
.fbox_event div {
    margin: 15px auto;
}

}