@charset "UTF-8";
:root {
    --primary_color : #043C78;
    --pink_color : #FF7F80;
    --red_color : #CC1A00;
    --ff_ja : "Zen Maru Gothic", sans-serif;
    --ff_en : "Roboto Condensed", sans-serif;
    --ff_copy : "Noto Serif JP", serif;
}

/* c-xxx */
.c-heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 100px 0 50px;
    position: relative;
    z-index: 1;
    pointer-events: none;
}
.c-heading__ja {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 1px;
}

.c-heading__ja span{
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}


.c-heading__en {
    font-size: 20px;
    font-weight: 600;
    font-family: var(--ff_en);
    color: var(--pink_color);
    letter-spacing: 0.5px;
}

/* メインビジュアル */
.p-hero {
    width: calc(100% - 200px);
    margin-left: auto;
    height: min(100vh, 727.5px); /* KCCT修正　2025.2 */
    position: relative;
    padding-top: 80px;
}
.p-hero__item{
    width: 100%;
    height:100%;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    position: relative;
}
.p-hero__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.15);
}
.slider {
    position:relative;
    z-index: 1;
    height: 100%;
}
.slider-item01 { background:url(/kobekosen_ac_wp/wp-content/uploads/hero01.webp); }
/* .slider-item02 { background:url(/kobekosen_ac_wp/wp-content/uploads/hero02.webp); } */
.slider-item03 { background:url(/kobekosen_ac_wp/wp-content/uploads/hero03.webp); }
/* .slider-item04 { background:url(/kobekosen_ac_wp/wp-content/uploads/hero04.webp); } */
/* .slider-item05 { background:url(/kobekosen_ac_wp/wp-content/uploads/hero05.webp); } */
.slider-item02, .slider-item03, .slider-item04, .slider-item05 {
	display: none;
}
.slick-list,
.slick-track {
    height: 100%;
}
.slick-dots {
    position: absolute;
    right: 0;
    bottom: 30px;
    display: flex;
    gap: 10px;
    width: 100%;
    padding-right: 20px;
    justify-content: right;
}
.slick-dots li {
    display: block;
}
.slick-dots button {
    color: transparent;
    cursor: pointer;
    outline: none;
    width:40px;
    height:5px;
    display:block;
    background:#888888;
    border: none;
}
.slick-dots .slick-active button{
    background:#fff;
}
.p-hero__bg {
    position: absolute;
    left: -9px;
    bottom: -23px;
    font-size  : min(150px, calc(100vh / 4.8)); /* KCCT修正　2025.2 */
    line-height: min(150px, calc(100vh / 4.8)); /* KCCT修正　2025.2 */
    font-weight: 600;
    font-family: var(--ff_en);
    color: rgba(255, 255, 255, 0.15);
    z-index: 2;
    pointer-events: none;
}
.p-hero__bg.fadeIn {
    opacity: 0;
    animation-duration: 0.7s !important;
    animation-delay: 0.2s; 
    animation-timing-function: ease-in-out; 
}
.p-hero__copy {
    position: absolute;
    left: 40px;
    bottom: 20px;
    color: #fff;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-family: var(--ff_copy);
    text-shadow: 1px 1px 2px black;
    line-height: 50px;
    width: 100%;
    z-index: 3;
    max-width: 880px;
    pointer-events: none;
}
.p-hero__min {
    font-size: 32px;
}
.p-hero__paragraph {
    font-size: 32px;
}
.p-hero__paragraphSP {
    display: none;
}

/* コンテンツレイアウト */
.p-main {
    width: calc(100% - 200px);
    margin-left: auto;
    background: #F0F0F0;
    padding: 80px 0 150px;
}
.l-container {
    margin-inline: auto;
    max-width: 1040px;
    box-sizing: content-box;
    padding: 0 20px;
}

/* 大切なお知らせ */
.p-announce {
    width: 100%;
    min-height: 50px;
    display: flex;
    margin-bottom: 100px;
}
.p-headingNews {
    padding-top: 0;
}
.p-announce__primary {
    font-size: 16px;
    font-weight: 700;
    background: var(--red_color);
    color: #fff;
    max-width: 180px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.p-announceWrap {
    display: flex;
    align-items: center;
    padding: 0 30px;
    gap: 5px 30px;
    width: 100%;
    background: #fff;
}
.p-announceWrap__date {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
}
.p-announceWrap__text {
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    padding-right: 50px;
}
.p-announceWrap__text::before {
    content: url(/kobekosen_ac_wp/wp-content/themes/kobe-kosen2024/common/images/click-black.svg);
    position: absolute;
    top: 0;
    right: 20px;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
}

/* 学科・専攻 */
.p-course__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.p-advanced__list {
    grid-template-columns: repeat(2, 1fr);
}
.p-course__list > li {
    min-width: 320px;
}
.p-course__list > li > a {
    display: flex;
    flex-direction: column;
}
.p-course__img {
    height: 150px;
    object-fit: cover;
    background: #555;
    border-radius: 10px 10px 0 0;
}
.p-courseWrap {
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
    border-radius: 0 0 10px 10px;
    color: #fff;
    position: relative;
    gap: 3px;
}
.p-courseWrap::before {
    position: absolute;
    top: 12px;
    left: 15px;
    width: 30px;
    height: 35px;
}
.p-courseWrap__title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.p-courseWrap__en {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-family: var(--ff_en);
}
/* 学科・専攻各々 */
.p-department__list .p-courseWrap.pink,
.p-advanced__list .p-courseWrap.pink {
    background: #DC536D;
}
.p-department__list .p-courseWrap.green,
.p-advanced__list .p-courseWrap.green {
    background: #4D9A50;
}
.p-department__list .p-courseWrap.purple,
.p-advanced__list .p-courseWrap.purple {
    background: #954593;
}
.p-department__list .p-courseWrap.bluepurple,
.p-advanced__list .p-courseWrap.bluepurple {
    background: #5654a2;
}
.p-department__list .p-courseWrap.blue,
.p-advanced__list .p-courseWrap.blue {
    background: #5E95C2;
}
.p-department__list .p-courseWrap.brown,
.p-advanced__list .p-courseWrap.brown {
    background: #AE7D52;
}

.p-department__list .p-courseWrap.yellow,
.p-advanced__list .p-courseWrap.yellow {
    background: #D1AD44;
}

/* リンクバナー集 */
.p-connection {
    width: calc(100% - 200px);
    margin-left: auto;
    padding: 50px 20px 80px;
    background: #888;
}
.p-connection__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(100px / 3);
    max-width: 1040px;
    margin-inline: auto;
}
.p-connection__list > li {
    width: 100%;
}
.p-connection__list > li > a {
    display: flex;
    align-items: center;
    color: var(--primary_color);
    background: #fff;
    font-size: 16px;
    font-weight: 700;
    position: relative;
    height: 60px;
    padding: 0 40px 0 15px;
    width: 100%;
}
.p-connection__list > li > a::before {
    content: url(/kobekosen_ac_wp/wp-content/themes/kobe-kosen2024/common/images/click-blue.svg);
    position: absolute;
    width: 15px;
    height: 15px;
    top: 22px;
    right: 15px;
    filter: grayscale(0.3);
}
.p-connection__list > li.u-window > a::before {
    content: url(/kobekosen_ac_wp/wp-content/themes/kobe-kosen2024/common/images/click-window.svg);
	filter: brightness(0.3);
}

.p-main {
    padding: 80px 0 0;
    overflow: hidden;
}

/* 特徴 */
.p-containerFeature {
    padding-top: 150px;
}
.p-feature {
    width: 100%;
    display: flex;
    height: 500px;
}
.p-feature__img {
    width: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}
.p-feature__inner {
    width: 50%;
    padding: 100px 50px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 1;
}
.p-feature__inner::before {
    content: "";
    position: absolute;
    width: 120%;
    height: 100%;
    background: #fff;
    top: 40px;
    right: 0;
    z-index: -1;
}
.p-feature__text {
    font-size: 16px;
    line-height: 28px;
}
.p-featureHeading {
    padding: 0;
    margin: 0;
    text-align: left;
}
.p-feature__button {
    padding: 0;
}
.p-feature__button > a {
    margin: 0;
}
/* 卒業生の活躍 */
.p-message {
    width: 100%;
    height: clamp(15.625rem, 14.274rem + 6.76vw, 21.875rem);
    background: url(/kobekosen_ac_wp/wp-content/themes/kobe-kosen2024/common/images/message.webp) center center / cover no-repeat;
    position: relative;
}
.p-message:hover {
    filter: brightness(1.2);
}
.p-message__link {
    display: block;
    width: 100%;
    height: 100%;
}
.p-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}
.p-messageHeading {
    padding: 40px 100px 0;
    text-align: left;
    flex-direction: column-reverse;
}
.p-messageHeading__ja {
    color: #fff;
    font-size: 16px;
}
.p-messageHeading__en {
    color: #fff;
    font-size: 40px;
}

/* 専攻科アコーディオン */
.p-department {
    padding-top: 50px;
    padding-bottom: 100px;
}

.p-newDepartment{
    padding-top: 100px;
    padding-bottom: 0;
}

.p-department__heading{
    width: 100%;
    margin-bottom: 40px;
}

.p-department__heading img{
    width: 100%;
    height: auto;
}

.p-newDepartment__text{
    line-height: 30px;
    font-size: 115%;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.p-newDepartment__text span.dep_new {
    color: rgb(3, 110, 184);
    font-weight: 700;
    background: linear-gradient(transparent 70%, #FFFF00 0%);
}

.p-newDepartment__text span.dep_change {
    color: rgb(46, 154, 57);
    font-weight: 700;
}

.p-newDepartment__text span.att_text{
    font-size: 14px;
}

@media (max-width: 450px) {

    .p-department__heading{
        margin-bottom: 20px;
    }

    .p-newDepartment__text{
        line-height: 30px;
        font-size: 100%;
        text-align: justify;
    }
}

.p-newDepartment + .p-department{
    padding-top: 0;
}

.p-advanced + .p-department {
    padding-top: 0;
}

.p-advanced {
    padding-bottom: 100px;
    background: #fff;
    position: relative;
}
.p-containerAdvanced {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.3s;
    max-height: 0;
    overflow: hidden;
}
.p-advanced__add {
    font-size: 20px;
    letter-spacing: 1px;
    font-weight: 700;
    padding: 50px 0 30px;
    text-align: center;
}
.p-more__input {
    display: none;
}
/* このあたりのギミック、潜在的なバグがあるので使用禁止です。 */
/*
.p-more {
    margin-inline: auto;
    cursor: pointer;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    display: flex;
    gap: 10px;
    padding: 0;
    letter-spacing: 0.5px;
    background: transparent;
    color: var(--primary_color);
    align-items: center;
    justify-content: center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.3s;
} .p-more::before {
    content: "専攻科を見る";
    transition: .5s;
    -erbkit-transition: .5s;
    width: 120px;
}
.p-more.on-click::before{
    content: "閉じる";
} */
.p-more__plus {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    background: var(--primary_color);
}
.p-more__plus::before {
    position: absolute ;
    content:'';
    width: 15px ;
    height: 2px;
    background-color: #fff; 
    top: 14px;
    right: 7px;
    transform: rotate(0deg);
    transition: all .5s ease;
}
.p-more__plus::after { 
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #fff;  
    top: 14px;
    right: 7px;
    transform: rotate(90deg);
    transition: all .5s ease;
}
.p-more.on-click .p-more__plus::after {
    transform: rotate(0deg);
    transition: all .5s ease;
}
.p-more__input:checked + .p-more + .p-containerAdvanced {
    max-height: fit-content;
    transition: all .3s;
    padding-top: 80px;
    padding-bottom: 50px;
}
@media screen and (max-width: 1399.98px) {
    /* 学科・専攻 */
    .p-course__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    /* 特徴 */
    .p-messageHeading {
        margin-inline: auto;
        max-width: 1040px;
        padding: 30px 20px 0;
    }
}

@media screen and (max-width: 1299.98px) {
    /* 大切なお知らせ */
    .p-announce {
        flex-direction: column;
    }
    .p-announce__primary {
        padding: 10px 0;
        width: 100%;
        max-width: none;
    }
    .p-announceWrap {
        flex-direction: column;
        padding: 20px;
        align-items: normal;
    }
    .p-announceWrap__text::before {
        right: 0;
    }
    /* リンクバナー集 */
    .p-connection__list {
        grid-template-columns: repeat(3, 1fr);
    }
    .p-connection__list > li > a {
        font-size: 14px;
    }
    .p-connection__list > li > a::before {
        top: 22px;
    }
}

@media screen and (max-width: 1049.98px) {
    /* メインビジュアル */
    .p-hero__bg {
        font-size: 120px;
        line-height: 120px;
        max-width: calc(100% + 9px);
        clip-path: inset(0 0 0 9px);
        overflow: hidden;
        white-space: nowrap;
        bottom: 30px;
    }
    .slick-dots {
        padding-right: 0;
        justify-content: center;
    }
    .p-hero__copy {
        font-size: 32px;
        line-height: 40px;
        max-width: 500px;
        bottom: 60px;
    }
    .p-hero__min {
        font-size: 28px;
    }
    .p-hero__paragraph {
        font-size: 24px;
        line-height: 34px;
    }
    /* 大切なお知らせ */
    .p-announceWrap__date {
        font-size: 12px;
    }
    .p-announceWrap__text {
        font-size: 14px;
    }
    .p-announceWrap__text::before {
        top: 0;
    }
    /* リンクバナー集 */
    .p-connection__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 959.98px) {
    /* メインビジュアル */
    .p-hero {
        width: 100%;
        margin-left: 0;
        padding-top: 60px;
        height: min(100vh, 600px); /* KCCT修正　2025.2 */
    }
    .p-hero__copy {
        left: 20px;
        max-width: 335px;
    }
    .p-hero__paragraphSP {
        display: block;
    }
    /* コンテンツレイアウト */
    .p-main {
        width: 100%;
        margin-left: 0;
        padding: 60px 0 0;
    }
    .l-container {
        padding: 0 15px;
    }
    /* リンクバナー集 */
    .p-connection {
        width: 100%;
        margin-left: 0;
        padding: 50px 15px 130px 15px;
    }
}

@media screen and (max-width: 767.98px) {
    /* c-xxx */
    .c-button {
        padding-top: 30px;
    }
    .c-heading {
        padding: 50px 0 30px;
    }
    .c-heading__ja {
        font-size: 28px;
    }
    .c-heading__en {
        font-size: 16px;
    }
    /* 大切なお知らせ */
    .p-announce {
        margin-bottom: 50px;
    }
    .p-headingNews {
        padding-top: 0;
    }
    .p-course__list > li {
        min-width: 0;
    }
    /* リンクバナー集 */
    .p-connection__list > li > a {
        font-size: 12px;
        line-height: 18px;
    }
    .p-course__img {
        height: 100px;
    }
    /* 卒業生の活躍 */
    .p-messageHeading {
        padding: 20px 15px 0;
    }
    .p-messageHeading__ja {
        font-size: 12px;
    }
    .p-messageHeading__en {
        font-size: 32px;
    }
    /* 専攻科ボタン */
    .p-more {
        font-size: 16px;
    }
    .p-advanced__add {
        font-size: 16px;
    }
    .p-more__input:checked + .p-more + .p-containerAdvanced {
        padding-top: 50px;
        padding-bottom: 0;
    }
    /* 調整 */
    .p-main {
        padding: 60px 0 0;
    }
    .p-activity {
        padding: 30px 0;
    }
    .p-activity::before {
        top: 30px;
    }
    /* 特徴 */
    .c-heading.p-featureHeading {
        padding: 0;
    }
    .c-button.p-feature__button {
        padding-top: 10px;
    }
    .p-feature {
        margin-bottom: 10px;
    }
    .p-feature__inner {
        padding: 100px 30px 0;
    }
}

@media screen and (max-width: 599.98px) {
    /* 高専だより */
    /* 学科・専攻 */
    .p-activity__list, 
    .p-course__list {
        grid-template-columns: repeat(1, 1fr);
    }
    /* 特徴 */
    .p-containerFeature {
        padding: 100px 15px 0;
    }
    /* 特徴 */
    .p-feature {
        flex-direction: column;
        height: auto;
    }
    .p-featureHeading {
        padding: 0;
        text-align: center;
    }
    .p-feature__button {
        padding: 0;
    }
    .p-feature__button > a {
        margin-inline: auto;
    }
    .p-feature__img {
        width: 100%;
        height: 300px;
    }
    .p-feature__inner {
        width: 100%;
        padding: 25px 20px;
        gap: 20px;
        background: #fff;
    }
    .p-feature__inner::before {
        display: none;
    }
    .p-feature__text {
        font-size: 14px;
        line-height: 24px;
    }
}

@media screen and (max-width: 374.98px) {
    .p-advanced__add {
        font-size: 14px !important;
    }
}
.multi {flex-direction: column;}
.multi .p-announce__primary {
	padding: 10px 0;
	width: 100%;
	max-width: none;
}
.multi .p-announceWrap {
	padding: 20px;
	align-items: normal;
}