@charset "UTF-8";

#content {
    margin-top: 0;
    margin-bottom: 0;
}

.learning-contents {
    position: relative;
    z-index: 0;
}
.learning-contents::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/themes/ystandard-child/images/about/mg_bg1.png');
    background-size: contain;
    background-position: top;
    background-repeat: repeat-y;
    opacity: 0.3; /* ← 透明度調整（0〜1） */
    z-index: -1;
}

.colobo-wrapper {
    max-width: 1000px;
    padding: 0 20px;
    margin: 0 auto;
}
.pagelink-list {
    display: flex;
    margin-bottom: 80px;
}
.pagelink-list li {
    width: calc(100% / 4);
    border-left: solid 2px #94d1ca;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-align: center;
    position: relative;
}
.pagelink-list li:last-child {
    border-right: solid 2px #94d1ca;
}
.pagelink-list li::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #94d1ca;
    margin: 0 auto;
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
}
.pagelink-list li a{
    display: block;
}
.section-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 60px;
    position: relative;
}
.section-title span {
    max-width: 1000px;
    display: block;
    padding: 0 20px;
    margin: 0 auto;
}
.section-title::before {
    content: "";
    width: calc((100% - 1000px) / 2);
    height: 1px;
    background-color: #94d1ca;
    position: absolute;
    top: 12px;
    left: 0;
}

#feacher {
    margin-bottom: 120px;
}
#feacher .item{
    display: flex;
    align-items: stretch; /* テキストと画像の高さを揃える */
    margin-bottom: 40px;
    background-color: #FFE6DA;
    border-radius: 10px;
    position: relative;
}
#feacher .item.sozai {
    flex-direction: row-reverse;
}
#feacher .item .text {
    width: 44%;
    padding: 35px 5%;
    box-sizing: border-box;
    z-index: 20;
}
#feacher .item .text .title {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 20px;
}
#feacher .item.sozai .text .title {
    text-align: right;
}
#feacher .item .text .title span {
    font-size: 0.7em;
}

#feacher .item .text .description {
    font-size: 14px;
    margin-bottom: 0; /* 余白除去 */
}
#feacher .item .img {
    width: 56%;
    position: relative;
    aspect-ratio: 16 / 9; /* 高さを明示的に固定 */
    overflow: hidden;
}
#feacher .item.experience .img ,
#feacher .item.routine .img {
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
    border-radius: 10px 0px 0px 10px;
}
#feacher .item.sozai .img {
    clip-path: polygon(20%0, 100% 0, 100% 100%, 0 100%);
    border-radius: 0px 10px 10px 0px;
}
#feacher .item .img .fade-img {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
#feacher .item .img .fade-img li {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: fade 20s infinite;
    opacity: 0;
}
#feacher .item .img .fade-img li:nth-child(1) {
    animation-delay: 0s;
    animation-fill-mode: both;
    opacity: 1;
    z-index: 1;
}
#feacher .item .img .fade-img li:nth-child(2) {
    animation-delay: 5s;
}
#feacher .item .img .fade-img li:nth-child(3) {
    animation-delay: 10s;
}
#feacher .item .img .fade-img li:nth-child(4) {
    animation-delay: 15s;
}
@keyframes fade {
    0% {
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    30% {
        opacity: 1;
    }
    45% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
#feacher .item .img .fade-img li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    vertical-align: top;
}
#feacher .item.experience .ic,
#feacher .item.routine .ic{
    position: absolute;
    top: -20px;
    right: 15px;
    z-index: 10;
}
#feacher .item.sozai .ic{
    position: absolute;
    top: -20px;
    left: 15px;
    z-index: 10;
}

#process {
    margin-bottom: 120px;
}
#process h2.title{
    text-align: center;
    font-size: 35px;
    letter-spacing: 5px;
    margin: 0px 0px 20px 0px;
}
#process h2.title span {
    font-size: 2em;
    color: #F9793B;
}
#process h2 br.br_sp {
    display: none;
}
#process .process-img {
    text-align: center;
    margin-bottom: 40px;
}
#process  h3 {
    font-size: 37px;
    letter-spacing: 7px;
    text-align: center;
    margin: 0px 0px 20px 0px;
}
#process h3 span {
    font-size: .6em;
}
#process h3 span.en {
    letter-spacing: 3px;
    display: block;
    color: #94d1ca;
}
#process .item {
    display: flex;
    margin-bottom: 80px;
    align-items: stretch;
    justify-content: center;
}
#process .item .img {
    width: 55%;
}
#process .item .img img {
    border-radius: 10px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
} 
#process .item .text {
    width: 45%;
    padding: 1% 3%;
}
#process  .item .text .title {
    font-size: 25px;
    font-weight: 600;
}
#process .item .text br.br_sp {
    display: none;
}
#process  .item .text .description {
    font-size: 14px;
    margin-bottom: 10px;
}
#process .item .text .box{
    background-color: #ffffff;
    border-radius: 10px;
    padding: 1% 3%;
}
#process  .item .text .box .title {
    font-size: 18px;
    color: #94d1ca;
    letter-spacing: 5px;
    text-align: center;
}
#process .item .text .box ul {
    padding-bottom: 5%;
}
#process .item .text .box li {
    font-size: 15px;
    list-style: disc;
    margin-left: 20px;
    padding-bottom: 5px;
}
#process .item .text .box li::marker {
    color: #94d1ca;
}

#support {
    margin-bottom: 120px;
}
#support .item {
    display: flex;
    margin-bottom: 80px;
    align-items: stretch;
    justify-content: center;
}
#support .item .title {
    font-weight: 600;
}
#support .item .category {
    width: 5%;
    background-color: #258378;
    padding: 5% 1%;
    border-radius: 10px;
    margin-right: 2%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#support .item .category p {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    writing-mode: vertical-rl;
    letter-spacing: 10px;
    margin: auto;
}
#support .tool1 .img {
    width: 50%;
}
#support .tool1 .img img {
    width: 100%;
}
#support .tool1 .text {
    width: 40%;
    padding: 1% 3%;
}
#support .tool1 .text .title,
#support .tool3 .text .title{
    font-size: 25px;
    margin-bottom: 20px;
}
#support .item .text .description {
    font-size: 14px;
    text-align: justify;
}
#support .tool2 {
    background-color: #fff;
    justify-content: center;
    padding: 5% 7%;
    border-radius: 10px;
    text-align: center;
    align-items: flex-start;
}
#support .tool2 .file {
    width: 29%;
    margin-right:6.5% ;
}
#support .tool2 .guidance {
    width: 29%;
    margin-right:6.5% ;
}
#support .tool2 .sheet {
    width: 29%;
}
#support .tool2 .img img{
    height: 100%;
}
#support .tool2 .title {
    font-size: 22px;
    margin: 20px 0px 20px;
}
#support .tool2 .description {
    font-size: 14px;
    text-align: justify;
}
#support .tool3 .img {
    width: 30%;
}
#support .tool3 .img img{
    width: 100%;
}
#support .tool3 .text {
    width: 60%;
    padding: 1% 3%;
} 
#support p.addition {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 3px;
}
#support p.addition .br_sp {
    display: none;
}

#plan {
    margin-bottom: 120px;
}
#plan .item1 {
    margin-bottom: 80px;
}
#plan .item1 p.select-title {
    font-size: 31px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 3px;
    margin-bottom: 30px;
}
#plan .item1 p.select-title span {
    font-size: .7em;
    padding-left: 5px;
}
#plan .item1 .box {
    display: flex;
    margin-bottom: 40px;
    align-items: center;
    justify-content: center;
}
#plan .item1 .box .title {
    width: 10%;
    font-size: 20px;
    font-weight: 800;
    writing-mode: vertical-rl;
    letter-spacing: 10px;
}
#plan .item1 .box .description {
    width: 90%;
    text-align: center;
}
#plan .item1 .box .description {
    font-size: 20px;
    font-weight: 600;
    margin: 10px;
}
#plan .item1 .box .description span {
    font-size: 1.3em;
    margin-right: 2px;
}
#plan .item1 .box .description span.right {
    margin-left: 3px;
}
#plan .item1 .box .single,
#plan .item1 .box .regular {
    display: flex;
    width: 48%;
    text-align: center;
}
#plan .item1 .box .single {
    margin-right: 4%;
    background-color: #FFE6DA;
    border-radius: 10px;
    padding: 10px 5px;
    align-items: center;
}
#plan .item1 .box .regular {
    background-color: #F9793B;
    border-radius: 10px;
    padding: 10px 5px;
    align-items: center;
}
#plan .item1 .box .single .title {
    color: #F9793B;
}
#plan .item1 .box .regular .title {
    color: #FFE6DA;
}
#plan .slide-wrap {
    display:flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 80px;
    overflow: visible;
    gap: 16px;
}
#plan .slide-wrap .box {
    width: 31%;
    background-color: #fff;
    border-radius: 10px;
    position: relative;
}
#plan .slide-wrap .box:last-child {
    margin-right: 0;
}
#plan .slide-wrap .box .ic {
    position: absolute;
    width: 20%;
}
#plan .slide-wrap .box .img img {
    border-radius: 10px 10px 0 0;
}
#plan .slide-wrap .box .text {
    padding: 0 5% 5% 5%;
}
#plan .slide-wrap .box .title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 3px;
}
#plan .slide-wrap .box .title span {
    font-size: .7em;
    display: block;
    letter-spacing: 0;
}
#plan .slide-wrap .box .description {
    font-size: 14px;
    text-align: justify;
    margin-bottom: 20px;
}
#plan .slide-wrap .box .text .iconbox {
  background-color: #FFE6DA;
  border-radius: 10px;
  padding: 1% 15%;
  text-align: center;  
  margin-bottom: 20px;
  color: #F9793B;
}
#plan .slide-wrap .box .text .iconbox .target,
#plan .slide-wrap .box .text .iconbox .time  {
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    padding-left: 30px;
}
#plan .slide-wrap .box .text .iconbox .time span.br {
    display: block;
}
#plan .slide-wrap .box .text .iconbox span {
    font-size: .7em;
    padding-left: 5px;
}
#plan .slide-wrap .box .text .iconbox .target {
    background: url(/wp-content/themes/ystandard-child/images/learning/ic_person.png) no-repeat;
}
#plan .slide-wrap .box .text .iconbox .time {
    background: url(/wp-content/themes/ystandard-child/images/learning/ic_time.png) no-repeat;
}
#plan .slide-wrap .box .text .btn {
    width: 100%;
    color: #258378;
    background-color: #D8EBE6;
    border: solid 2px #258378;
    border-radius: 30px;
    display: block;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
    text-align: center;
}
#plan .slide-wrap .box .text .btn::before {
    content: "";
    width: 8px;
    height: 2px;
    background: #258378;
    position: absolute;
    top: 20px;
    right: 15px;
    transform: rotate(45deg);
    left: auto;
    transform-origin: unset;
    transition: unset;
}
#plan .slide-wrap .box .text .btn::after {
    content: "";
    width: 8px;
    height: 2px;
    background-color: #258378;
    position: absolute;
    top: 25px; 
    right: 15px;
    transform: rotate(-45deg);
}
#plan .slide-wrap .box .text .btn:hover {
    background-color: #258378;
    color: #fff;
}
#plan .slide-wrap .box .text .btn:hover::before {
    background-color: #fff;
}
#plan .slide-wrap .box .text .btn:hover::after {
    background-color: #fff;
}
#plan p.addition {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 3px;
    color: #F9793B;
}
#plan p.addition .br_sp {
    display: none;
}

.page-last {
    background: #fffaf6;
    padding-bottom: 80px;
}

.contact {
    background-color: #258378;
    color: #fff;
    text-align: center;
    margin-bottom: 80px;
}
.contact .text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    padding: 40px 0;
    position: relative;
}
.contact .text::after {
    border: 30px solid transparent;
    border-top-color: #258378;
    border-bottom-width: 0;
    bottom: -29px;
    content: "";
    display: block;
    left: 50%;
    position: absolute;
    width: 0;
}


.contact .text br.br_sp {
    display: none;
}
.contact-btn {
    padding-bottom: 80px;
}
.contact-btn .text {
    margin: 0 5% 40px 5%;
    text-align: center;
}
.contact-btn .box {
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-btn .box .btn {
    width: 48%;
    max-width: 300px;
    display: block;
    text-align: center;
    color: #258378;
    background-color: #D8EBE6;
    border: solid 2px #258378;
    border-radius: 35px;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 0;
    position: relative;
    text-align: center;
}
.contact-btn .box .btn::before {
    content: "";
    width: 12px;
    height: 2px;
    background: #258378;
    position: absolute;
    top: 26px;
    right: 20px;
    transform: rotate(45deg);
    left: auto;
    transform-origin: unset;
    transition: unset;
}
.contact-btn .box .btn::after {
    content: "";
    width: 12px;
    height: 2px;
    background-color: #258378;
    position: absolute;
    top: 34px; 
    right: 20px;
    transform: rotate(-45deg);
}
.contact-btn .box .btn:hover {
    background-color: #258378;
    color: #fff;
}
.contact-btn .box .btn:hover::before {
    background-color: #fff;
}
.contact-btn .box .btn:hover::after {
    background-color: #fff;
}
.contact-btn .box .form {
    margin-right: 4%;
}

/*----------------------------------
タブレット
----------------------------------*/
@media screen and (max-width: 1024px) {
    
}

/*----------------------------------
スマートフォン
----------------------------------*/
@media screen and (max-width: 767px) {
    .custom-learning-content h1.page-title {
        margin: 0;
    }

    .pagelink-list {
        margin-bottom: 40px;
    }
    .pagelink-list li {
        font-size: 11px;
        letter-spacing: 0.1em;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .pagelink-list li a {
        display: block;
        width: 100%;
        text-align: center;
    }
    .pagelink-list span.spbr {
        display: block;
    }
    .section-title{
        margin-bottom: 20px;
    }
    .section-title::before {
        content: none;
    }

    #feacher {
        margin-bottom: 60px;
    }
    #feacher .item {
        flex-direction: column;
        margin-bottom: 20px;
    }
    #feacher .item.sozai {
        flex-direction: column;
    }
    #feacher .item .img {
        width: 100%;
    }
    #feacher .item .text {
        width: 100%;
        padding: 10px 20px 10px 20px;
        text-align: justify;
    }
    #feacher .item.experience .img ,
    #feacher .item.sozai .img,
    #feacher .item.routine .img  {
        clip-path: none;
        border-radius: 10px 10px 0px 0px;
    }
    #feacher .item .text .title {
        text-align: center;
        margin:10px 0 10px 0;
    }
    #feacher .item.sozai .text .title {
        text-align: center;
    }
    #feacher .item .text .description {
        margin-bottom: 20px;
        margin-top: 0;
    } 
    #feacher .item.experience .ic,
    #feacher .item.routine .ic{
        right: auto;
        top:10px;
        left: 10px;
        width: 20%;
    }
    #feacher .item.sozai .ic{
        right: auto;
        top:10px;
        left: auto;
        right: 10px;
        width: 20%;
    }

    #process {
        margin-bottom: 40px;
    }
    #process  h2.title {
        font-size: 23px;
        line-height: 1.7em;
    }
    #process .title span {
        vertical-align: sub;
    }
    #process h2 br.br_sp {
        display: block;
    }
    #process h3 {
        font-size: 30px;
    }
    #process .process-img {
        margin-bottom: 20px;
    }
    #process .item {
        flex-direction: column;
        margin-bottom: 40px;
    }
    #process .item .img,
    #process .item .text {
        width: 100%;
    }
    #process .item .text .title {
        text-align: center;
        margin: 10px;
    }
    #process .item .text .description {
        text-align: justify;
        margin-bottom: 20px
    }
    #process .item .text br.br_sp {
        display: block;
    }

    #support {
        margin-bottom: 60px;
    }
    #support .item {
        flex-direction: column;
        margin-bottom: 10px;
    }
    #support .item .category,
    #support .item .img,
    #support .item .text,
    #support .tool2 .file,
    #support .tool2 .guidance,
    #support .tool2 .sheet {
        width: 100%;
    }
    #support .tool3 .img {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    #support .tool3 .img img {
        width: auto;
        max-width: 80%;
        height: auto;
    }
    #support .item .category {
        padding: 2%;
        margin: 20px 0px 20px 0px; 
    }
    #support .item .category p{
        writing-mode: horizontal-tb;
        text-align: center;
    }
    #support .item .text .title {
        text-align: center;
        margin: 10px
    }
    #support .tool2 .title {
        margin: 10px;
    }
    #support .tool2 img {
        width: 200px;
    }
    #support p.addition {
        font-size: 20px;
    }
    #support p.addition .br_sp {
        display: block;
    }

    #plan {
        margin-bottom: 40px;
    }
    #plan .item1 {
        margin-bottom: 40px;
    }
    #plan .item1 p.select-title {
        font-size: 27px;
    }
    #plan .item1 p.select-title span {
        display: block;
        padding-left: 0%;
    }
    #plan .item1 .box {
        flex-direction: column;
    }    
    #plan .item1 .box .single {
        margin-right: 0%;
        margin-bottom: 10px;
    }
    #plan .item1 .box .single,
    #plan .item1 .box .regular {
        width: 100%;
    }
    #plan .item1 .box .description {
        font-size: 18px;
    }
    #plan .slide-wrap {
        display: flex;
        align-items: flex-start;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 16px;
        margin-bottom: 30px;
        margin-right: -20px;
    }
    #plan .slide-wrap .box {
        flex: 0 0 90%;
        border-radius: 10px;
        scroll-snap-align: start;
      }
    #plan .slide-wrap::-webkit-scrollbar {
        display: none;
    }
    #plan p.addition {
        font-size: 20px;
    }
    #plan p.addition .br_sp {
        display: block;
    }

    .contact {
        margin-bottom: 60px;
    }
    .contact .text {
        letter-spacing: 2px;
        font-size: 25px;
    }
    .contact .text br.br_sp {
        display: block;
    }
    .contact .text::after {
        left: 40%;
    }
    .contact-btn {
        margin-bottom: 60px;
    }
    .contact-btn .box {
        flex-direction: column;
        padding: 0 5%;
    }
    .contact-btn .box .btn {
        width: 100%;
        max-width: 400px;
        margin-bottom: 10px;
    }
    .contact-btn .box .form {
        margin-right: 0;
    }
}