/*****************************************************************
default
@フォント Googleフォント「https: //googlefonts.github.io/japanese/」
*****************************************************************/
/*************
Googleフォント
*************/

body {
    line-height: 1.25em;
    letter-spacing: 0.1em;
    -webkit-text-size-adjust: 100%;
    height: 100%;
    background-color: #ffffff;
    color: #333333;
}

body {
    font-family: 'Zen Maru Gothic', sans-serif !important;
    font-weight: 500;
}

ol.none,
ul.none,
li.none {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

img {
    max-width: 100%;
    height: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

iframe {
    max-width: 100%;
}

/*************
色関係
*************/

.bg-white {
    background-color: #ffffff !important;
}

/*************************
ヘッダー
*************************/
header a {
    text-decoration: none;
    color: inherit;
}

/*************************
フッター
*************************/
footer a {
    text-decoration: none;
    color: inherit;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

/*-------------------------------
ページトップへスクロール
--------------------------------*/
#page-top {
    position: fixed;
    bottom: 0%;
    right: 0%;
}

/*************
display関連
*************/
.block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.inline-block {
    display: inline-block;
}

/*************
文字関連
*************/
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

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

p {
    font-size: 1rem;
    text-align: justify;
    margin-bottom: 0.5em;
    line-height: 1.5em;
    font-weight: 500;
}

h1,
.h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5em;
    line-height: 1.25em;
    font-weight: bold;
}

h2,
.h2 {
    font-size: 2rem;
    margin-bottom: 0.5em;
    line-height: 1.25em;
    font-weight: bold;
}

h3,
.h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5em;
    line-height: 1.25em;
    font-weight: bold;
}

/*************
コンテンツ幅
*************/
.w50 {
    width: 50%;
}

.w65 {
    width: 65%;
}

.w70 {
    width: 70%;
}

.w75 {
    width: 75%;
}

.w80 {
    width: 80%;
}

.w90 {
    width: 90%;
}

.w95 {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.w100 {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}


.p-all-1 {
    padding: 1%;
    box-sizing: border-box;
}

.p-all-2 {
    padding: 2%;
    box-sizing: border-box;
}

.p-top-2 {
    padding-top: 2%;
    box-sizing: border-box;
}

.p-bottom-2 {
    padding-bottom: 2%;
    box-sizing: border-box;
}

.m-top-2 {
    margin-top: 2%;
}

.m-top-5 {
    margin-top: 5%;
}

.m-top-10 {
    margin-top: 10%;
}

.m-bottom-0 {
    margin-bottom: 0;
}

.m-bottom-2 {
    margin-bottom: 2%;
}

.m-bottom-5 {
    margin-bottom: 5%;
}

/*************
float関連
*************/
.float-wrap:after {
    content: "";
    display: block;
    clear: both;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

/*************
flex関連
*************/
.flex-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: normal;
}

.flex-row-reverse {
    flex-direction: row-reverse;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

/*************************
グルーバルナビゲーション
*************************/
/**ハンバーガーアイコン**/
#nav_icon {
    position: absolute;
    top: 5px;
    right: 5px;
    box-sizing: border-box;
    padding: 0.5em;
    width: 4em;
    height: 3.5em;
    background-color: #333333;
    display: none;
    z-index: 9999999999;
}

#nav_icon .menu-ic {
    display: block;
    width: 3em;
    height: 0.25em;
    background-color: #ffffff;
    position: absolute;
    top: 1.65em;
    transition: 0.5s;
}

#nav_icon .menu-ic:before {
    content: "";
    display: block;
    width: 3em;
    height: 0.25em;
    background-color: inherit;
    position: absolute;
    top: -0.75em;
    transition: 0.5s;
}

#nav_icon .menu-ic:after {
    content: "";
    display: block;
    width: 3em;
    height: 0.25em;
    background-color: inherit;
    position: absolute;
    bottom: -0.75em;
    transition: 0.5s;
}

.nav-contents .ic-toggle {
    display: none;
    position: absolute;
    top: 0.5em;
    right: 5px;
    width: 2em;
    height: 2em;
    background-color: #ffffff;
    color: #333333;
}

.nav-contents .ic-toggle::before {
    content: "";
    display: block;
    width: 1.5em;
    height: 0.25em;
    background-color: #333333;
    position: absolute;
    top: 50%;
    left: 0.25em;
    transition: 0.5s;
}

.nav-contents .ic-toggle::after {
    content: "";
    display: block;
    width: 1.5em;
    height: 0.25em;
    background-color: #333333;
    position: absolute;
    top: 50%;
    left: 0.25em;
    transform: rotate(90deg);
    transition: 0.5s;
}

.nav-contents .ic-toggle.active::before {
    transform: rotate(45deg);
}

.nav-contents .ic-toggle.active::after {
    transform: rotate(135deg);
}

/**オープン時**/
body.drawer-opened #nav_icon .menu-ic {
    width: 0;
    transition: 0s;
}

body.drawer-opened #nav_icon .menu-ic::before {
    transform: rotate(45deg);
    top: 0em;
}

body.drawer-opened #nav_icon .menu-ic::after {
    transform: rotate(-45deg);
    bottom: 0em;
}

body.drawer-opened .nav-contents>ul>li {
    position: relative;
}

body.drawer-opened .nav-contents .ic-toggle {
    display: block;
}

/**ハンバーガーメニュー表示**/
@media screen and (max-width:1119px) {

    /*　画面サイズが992pxから1119pxまではここを読み込む　*/
    .md-spmenu #nav_icon {
        display: block;
    }

    .md-spmenu .nav-contents {
        display: none;
        position: fixed;
        top: 10vh;
        width: 100%;
        left: 0;
        right: 0;
        height: 90vh;
        background-color: #333333;
        z-index: 999999999;
    }

    /**オープン時**/
    body.drawer-opened {
        overflow-y: hidden;
    }

    body.drawer-opened header {
        height: 10vh;
    }
}

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

    /*　画面サイズが768pxから991pxまではここを読み込む　*/
    .sm-spmenu #nav_icon {
        display: block;
    }

    .sm-spmenu .nav-contents,
    .xs-spmenu .nav-contents {
        display: none;
        position: fixed;
        top: 10vh;
        width: 100%;
        left: 0;
        right: 0;
        height: 90vh;
        background-color: #333333;
        z-index: 999999999;
    }
}

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

    /*　画面サイズが767pxまではここを読み込む　*/
    .xs-spmenu #nav_icon {
        display: block;
    }

    .md-spmenu .nav-contents,
    .sm-spmenu .nav-contents,
    .xs-spmenu .nav-contents {
        display: none;
        position: fixed;
        top: 13vh !important;
        width: 100%;
        left: 0;
        right: 0;
        height: 87vh;
        background-color: #333333;
        z-index: 999999999;
    }

    /**オープン時**/
    body.drawer-opened header {
        height: 13vh;
    }
}

nav ul {
    display: flex;
    justify-content: space-between;
}

nav ul li {
    width: 100%;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: inherit;
}

/**タイプ1**/
nav.type1 ul li>a {
    display: block;
    box-sizing: border-box;
    padding: 15px 0;
}

nav.type1 ul li ul {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    animation: show 0.8s linear 0s;
}

nav.type1 ul li ul li {
    display: inline-block;
    width: max-content;
    box-sizing: border-box;
    padding: 15px;
}

nav.type1 ul li ul li a {
    box-sizing: border-box;
    display: block;
}

/**オープン時**/
body.drawer-opened nav.type1 .nav-contents {
    display: block;
    animation: show 0.8s linear 0s;
    z-index: 999999999;
    overflow-y: auto;
}

body.drawer-opened nav.type1 .nav-contents>ul {
    display: flex;
    flex-wrap: wrap;
    color: #ffffff;
    padding: 5% 0%;
    box-sizing: border-box;
    font-weight: 500;
}

body.drawer-opened nav.type1 ul li ul {
    position: static;
}

body.drawer-opened nav.type1 ul li ul li {
    width: 100%;
    display: block;
    text-align: left;
    padding: 1em;
}

body.drawer-opened nav.type1 ul li ul li a {
    padding: 5px;
}

body.drawer-opened nav.type1 .nav-2 {
    display: flex;
    flex-wrap: wrap;
}

body.drawer-opened nav.type1 .nav-2 a {
    display: block;
    width: 48%;
    max-width: initial;
    border: 1px solid #ffffff;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 10px 5px;
    margin: 1%;
}

body.drawer-opened nav.type1 .nav-2 p {
    text-align: center;
}

/**ハンバーガーメニュー表示**/
@media screen and (max-width:1119px) {

    /*　画面サイズが992pxから1119pxまではここを読み込む　*/
    body.drawer-opened nav.type1 .nav-2 a {
        width: 48%;
    }

}

@media screen and (max-width:991px) {
    /*　画面サイズが768pxから991pxまではここを読み込む　*/
}

@media screen and (max-width:767px) {
    /*　画面サイズが767pxまではここを読み込む　*/
}

/**タイプ2**/
nav.type2 ul li>a {
    display: block;
    box-sizing: border-box;
    padding: 15px;
}

nav.type2 ul li ul {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    animation: show 0.8s linear 0s;
}

nav.type2 ul li ul li {
    display: inline-block;
    width: max-content;
    box-sizing: border-box;
    padding: 15px;
}

nav.type2 ul li ul li a {
    box-sizing: border-box;
    display: block;
}

/**オープン時**/
body.drawer-opened nav.type2 .nav-contents {
    display: block;
    right: 0 !important;
    z-index: 999999999;
    overflow-y: auto;
}

body.drawer-opened nav.type2 .nav-contents>ul {
    display: flex;
    flex-wrap: wrap;
    color: #ffffff;
    padding: 5% 0%;
    box-sizing: border-box;
}

body.drawer-opened nav.type2 ul li ul {
    position: static;
}

body.drawer-opened nav.type2 ul li ul li {
    width: 100%;
    display: block;
    text-align: left;
    padding: 1em;
}

body.drawer-opened nav.type2 ul li ul li a {
    padding: 5px;
}

body.drawer-opened nav.type2 .nav-2 {
    display: flex;
    flex-wrap: wrap;
}

body.drawer-opened nav.type2 .nav-2 a {
    display: block;
    width: 48%;
    max-width: initial;
    border: 1px solid #ffffff;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 10px 5px;
    margin: 1%;
}

body.drawer-opened nav.type2 .nav-2 p {
    text-align: center;
}

/**ハンバーガーメニュー表示**/
@media screen and (max-width:1119px) {

    /*　画面サイズが992pxから1119pxまではここを読み込む　*/
    body.md-spmenu nav.type2 .nav-contents {
        position: fixed;
        left: auto;
        right: -100vw;
        display: block;
        transition: 0.5s;
    }

}

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

    /*　画面サイズが768pxから991pxまではここを読み込む　*/
    body.sm-spmenu nav.type2 .nav-contents {
        position: fixed;
        left: auto;
        right: -100vw;
        display: block;
    }
}

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

    /*　画面サイズが767pxまではここを読み込む　*/
    body.xs-spmenu nav.type2 .nav-contents {
        position: fixed;
        left: auto;
        right: -100vw;
        display: block;
    }
}

/*****************************************************************
全てに適用
*****************************************************************/
/**背景**/
.bg_pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fffce9;
    z-index: -2;
    border: 100px solid #ba4fb8;
    box-sizing: border-box;
}

.Paper_v2 {
    background-image:
        repeating-linear-gradient(to bottom,
            transparent 25px,
            #fff4bb 26px, #fff4bb 26px,
            transparent 27px, transparent 51px,
            #fff4bb 52px, #fff4bb 52px,
            transparent 53px, transparent 77px,
            #fff4bb 78px, #fff4bb 78px,
            transparent 79px, transparent 103px,
            #fff4bb 104px, #fff4bb 104px,
            transparent 105px, transparent 129px,
            #fff4bb 130px, #fff4bb 130px),

        repeating-linear-gradient(to right,
            transparent 25px,
            #fff4bb 26px, #fff4bb 26px,
            transparent 27px, transparent 51px,
            #fff4bb 52px, #fff4bb 52px,
            transparent 53px, transparent 77px,
            #fff4bb 78px, #fff4bb 78px,
            transparent 79px, transparent 103px,
            #fff4bb 104px, #fff4bb 104px,
            transparent 105px, transparent 129px,
            #fff4bb 130px, #fff4bb 130px);
}

@media screen and (max-width:1650px) {
    .bg_pattern {
        border: 75px solid #ba4fb8;
    }
}

@media screen and (max-width:700px) {
    .bg_pattern {
        border: 35px solid #ba4fb8;
    }

    #page-top {
        display: none !important;
    }
}

@media screen and (max-width:700px) {
    .bg_pattern {
        border: 15px solid #ba4fb8;
    }
}

/**ハンバーガーメニュー表示**/
.spmenu #nav_icon {
    display: block;
    top: 0;
    right: 0;
    height: 4em;
    background-color: #a96196;
    border-radius: 50%;
}

/**オープン時**/
body.drawer-opened #nav_icon {
    background-color: #debd06 !important;
}

#nav_icon .menu-ic {
    top: 1.8em;
}

.spmenu .nav-contents {
    display: none;
    position: fixed;
    max-width: 100%;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
    background-color: #8c3e8ae3;
    z-index: 999999999;
}

body.drawer-opened nav.type1 .nav-contents>ul {
    padding: 200px 2rem 50px 2rem;
    width: 500px;
    max-width: 95%;
    font-size: 1.5rem;
}

/**オープン時**/
body.drawer-opened {
    overflow: hidden;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}

body.drawer-opened header {
    height: 4em;
}

body.drawer-opened nav.type1 .nav-2 a {
    border: none;
    display: inline-block;
    box-sizing: border-box;
}

nav.type1 {
    position: relative;
}

.w500 {
    width: 500px;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    padding-left: 1rem;
    padding-top: 20px;
    font-weight: bold;
}

h2 {
    text-align: center;
    background-color: #ba50b8;
    border-radius: 20px;
    padding: 0.3rem 0 1rem 0;
    color: #fff;
    font-weight: bold;
}

section {
    position: relative;
    padding: 20px 0;
    box-sizing: border-box;
}

.p-all-0 {
    padding: 0;
}

ul li {
    list-style: none;
}

header {
    height: 6em !important;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    margin: 1rem auto;
    padding: 0.8rem 1rem 0rem 1rem;
    border: 5px solid #333;
    box-sizing: border-box;
}


@media screen and (max-width:600px) {
    header {
        top: 45px !important;
        border: 3px solid #333;
    }

    body.drawer-opened nav.type1 .nav-contents>ul {
        padding: 110px 1rem 20px 1rem;
        max-width: 100%;
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.92rem;
    }
}

@media screen and (max-width:450px) {
    header img#header-logo {
        width: 200px;
        margin-left: 0;
    }

    h1 {
        padding-left: 0.5rem;
        padding-top: 5px;
    }
}

/**PCナビ**/
.pc_nav {
    display: block;
    position: fixed;
    left: 10%;
    /*top: 150px;*/
    width: 20%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    padding: 15px;
    box-sizing: border-box;
    border: 3px solid #333;
    border-radius: 20px;
    box-shadow: 5px 5px 1px #65491663;
}

@media screen and (max-width:1650px) {
    .pc_nav {
        width: 26%;
    }
}

@media screen and (max-width:1400px) {
    .pc_nav {
        left: 7%;
    }
}

@media screen and (max-width:1300px) {
    .pc_nav {
        left: 9%;
        width: 30%;
    }
}

@media screen and (max-width:1140px) {
    .pc_nav {
        display: none;
    }

    /*ヘッダー固定表示*/
    header {
        position: fixed;
        left: 50%;
        top: 3%;
        transform: translateX(-50%) translateY(-50%);
        z-index: 9999;
    }

    main:first-of-type {
        margin-top: 7em !important;
    }

    /*一個目のmain以外は全てヘッダー分の余白を開ける*/
    .anchor-offset {
        height: 5em;
        margin-top: -5em;
    }

    body.drawer-opened .nav-contents {
        position: fixed;
        top: -13px !important;
        left: 0;
        width: 100vw;
        height: 105vh;
        z-index: 999999999;
        display: block !important;
    }
}

@media screen and (max-width:600px) {
    .anchor-offset {
        height: 7em;
        margin-top: -7em;
    }
}

.pc_nav ul.nav-1 {
    font-size: 1.3rem;
}

.pc_nav .nav-1 li {
    padding: 0.5rem 0;
}

.pc_nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}


.side {
    position: fixed;
    max-width: 150px;
    top: 12vh;
    right: 45vh;
}

.side.left img {
    transform: translateX(-100%);
}

.side.right {
    width: 200px;
    max-width: 100%;
    right: 15%;

    top: 50%;
    transform: translateY(-50%);
}

@media screen and (max-width:1650px) {
    .side.right {
        width: 150px;
        right: 10%;
    }

    .w500 {
        margin-right: 27vw;
    }
}

@media screen and (max-width:1400px) {
    .side {
        right: 27vh;
    }
}

@media screen and (max-width:1300px) {
    .side.right {
        display: none;
    }

    .w500 {
        margin-right: 15vw;
    }
}

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

    .w500 {
        margin-right: auto;
    }
}

@media screen and (max-width: 600px) {
    .w500 {
        width: 90%;
    }
}

@keyframes loop {
    0% {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes loop2 {
    0% {
        transform: translateX(0);
    }

    to {
        transform: translateX(-200%);
    }
}

/*****************************************************************
左メニュー
*****************************************************************/
.hp-back {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 0rem;

    background-color: #5a5a5a;
    font-weight: bold;
    font-size: 1.2rem;
}

.hp-back a {
    color: #fff !important;
}

.hp-back::after {
    width: 1.25em;
    height: 1.25em;
    margin-left: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
    content: '';
}

.hp-back:hover {
    background-color: #fecb5d;
}

.hp-back a:hover {
    color: #333;
}

/*****************************************************************
main
*****************************************************************/
main {
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 1%;
    box-sizing: border-box;
    border-radius: 30px;
    border: 4px solid #333;
}

@media screen and (max-width: 1140px) {
    main {
        padding: 3%;
    }
}

@media screen and (max-width: 600px) {
    main {
        border: 3px solid #333;
        padding: 4%;
    }
}

/**メインビジュアル**/
.slide {
    height: 550px;
    position: relative;
}

@media screen and (max-width:767px) {
    .slide {
        height: 55vh;
    }
}

@media (orientation: landscape) and (max-width: 767px) {

    .slide {
        height: 300px;
    }
}

.slick-slide {
    display: flex !important;
    justify-content: center;
}

.slick-list {
    height: inherit;

}

.slick-track {
    height: inherit;
}

.slide img {
    object-fit: cover;
    width: 100%;
    height: auto;
}

.decoration_bottom {
    position: absolute;
    z-index: 10;
    right: 15px;
    bottom: 30px;
}


/*****************************************************************
01コース紹介
*****************************************************************/
.tab-4 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.tab-4>label {
    flex: 1 1;
    order: -1;
    position: relative;
    min-width: 70px;
    margin: 5px;
    padding: .7em 0em;
    box-sizing: border-box;
    border-bottom: 2px solid #008cc1;
    color: #008cc1;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
}

.tab-4>label:hover,
.tab-4 label:has(:checked) {
    background-color: #008cc1;
    color: #fff;
    border-radius: 10px;
}

.tab-4 label:has(:checked)::before {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 9px;
    background-color: #008cc1;
    content: '';
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.tab-4 input {
    display: none;
}

.tab-4>div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
}

.tab-4 label:has(:checked)+div {
    display: block;
    background-color: aliceblue;
}

/*情報ビジネス科 (#business)*/
#business .tab-4>label {
    border-bottom: 2px solid #6fad2e;
    color: #6fad2e;
    font-size: 1rem;
}

#business .tab-4>label:hover,
#business .tab-4 label:has(:checked) {
    background-color: #6fad2e;
    color: #fff;
}

#business .tab-4 label:has(:checked)::before {
    background-color: #6fad2e;

}

#business .tab-4 label:has(:checked)+div {
    background-color: #f7ffee;
}

/*機械科 (#mechanical)*/
#mechanical .tab-4>label {
    border-bottom: 2px solid #ea5541;
    color: #ea5541;
    font-size: 1rem;
}

#mechanical .tab-4>label:hover,
#mechanical .tab-4 label:has(:checked) {
    background-color: #ea5541;
    color: #fff;
}

#mechanical .tab-4 label:has(:checked)::before {
    background-color: #ea5541;

}

#mechanical .tab-4 label:has(:checked)+div {
    background-color: #fff8f7;
}

/*****************************************************************
#02 部活動紹介 (#club)
*****************************************************************/
main#club {
    background-color: #ffce00;
}

/***** #02 部活動紹介：Swiper  *****/


/* 矢印ボタンの土台（丸、枠、影、位置） */
#club01 .swiper-button-prev,
#club01 .swiper-button-next {
    --swiper-navigation-color: #333;
    /* アイコン色 */
    --swiper-navigation-size: 22px;
    /* アイコン自体の太さ/サイズ */
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #fff;
    border: 3px solid #000;
    box-shadow: 3px 5px 0 rgba(0, 0, 0, 0.25);
    opacity: 1;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
    z-index: 50 !important;

}

#club01 .swiper-button-prev {
    left: -5px;
}

#club01 .swiper-button-next {
    right: -5px;
}


/* ホバー／フォーカス時のふるまい（押し込み感） */
#club01 .swiper-button-prev:hover,
#club01 .swiper-button-next:hover,
#club01 .swiper-button-prev:focus-visible,
#club01 .swiper-button-next:focus-visible {
    transform: translateY(-1px) scale(0.97);
    box-shadow: 1px 2px 0 rgba(0, 0, 0, 0.2);
    background-color: #fff7d1;
    /* うっすら黄色でアクセント */
}

/* 無効化時（ループOFFなら出るが、今回はloop:trueなのでほぼ出ない） */
#club01 .swiper-button-disabled {
    opacity: .35;
}

/* スマホ：はみ出し防止で内側に寄せる */
@media (max-width: 480px) {


    #club01 .clubSwiper {
        --swiper-navigation-size: 20px;
    }
}

/*****************************************************************
#部活動スライドショー
*****************************************************************/
/*最初の1セットだけ表示、2セット目は非表示*/
.auto-slideshow-wrapper img:nth-child(n+24) {
    display: none;
}

.auto-slideshow {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 3rem;
    z-index: -1;
}

.auto-slideshow-wrapper {
    display: flex;
    width: max-content;
    /* コンテンツの幅に合わせて自動的に伸縮 */
    animation: slide 60s linear infinite;
}

.auto-slideshow-wrapper img {
    display: inline-block;
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    margin-right: 20px;
}

#work .auto-slideshow-wrapper img {
    border-radius: 100%;
}

.career .auto-slideshow-wrapper img {
    object-fit: contain;
    width: 400px;
    height: 400px;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 2));
    }
}

@media screen and (max-width: 768px) {
    .auto-slideshow-wrapper img {
        width: 300px;
        height: 220px;
    }
}

/*オーバーレイ画像*/
.overlay-wrapper {
    position: relative;
}

.overlay-image {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    max-width: 95%;
    z-index: 10;
    pointer-events: none;
}

@media screen and (max-width:1650px) {
    .overlay-image {
        left: 58%;
        transform: translateX(-58%);
    }
}

@media screen and (max-width:1300px) {
    .overlay-image {
        left: 75%;
        transform: translateX(-75%);
    }
}

@media screen and (max-width:1140px) {
    .overlay-image {
        left: 50%;
        transform: translateX(-50%);
    }
}

/*****************************************************************
顧問_タブ切り替え
*****************************************************************/
.tab-wrap {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
}

.tab-wrap:after {
    content: '';
    width: 100%;
    height: 3px;
    background: #eb5254;
    display: block;
    order: -1;
}

.tab-label {
    width: 32%;
    color: #fff;
    background: #f07e7e;
    font-weight: bold;
    font-size: 15px;
    white-space: nowrap;
    text-align: center;
    padding: 10px .5em;
    box-sizing: border-box;
    order: -1;
    position: relative;
    z-index: 1;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    flex: 1;
}

.tab-label:not(:last-of-type) {
    margin-right: 5px;
}

.tab-content {
    width: 100%;
    height: 0;
    overflow: hidden;
    opacity: 0;
}

@media screen and (max-width:500px) {
    .tab-content p {
        font-size: 0.8rem;
    }
}

.tab-switch:checked+.tab-label {
    background: #325A8C;
}

.tab-switch:checked+.tab-label+.tab-content {
    height: auto;
    overflow: auto;
    text-align: center;
    padding: 15px;
    opacity: 1;
    transition: .5s opacity;
    background-color: #fff;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.tab-switch {
    display: none;
}

.tab-switch:checked+.tab-label {
    background: #eb5254;
    margin-top: -0.5rem;
    transition: margin .3s;
    align-items: center;
    /*display: flex;*/
    justify-content: center;
}

.tab-label {
    border-radius: 0;
    position: relative;
}

.tab-label:after {
    position: absolute;
    top: 0;
    right: 0;
    content: '';
    width: 0;
    border-width: 0 16px 16px 0;
    border-style: solid;
    border-color: #fece04 #fece04 #b04444 #b04444;
    box-shadow: -1px 1px 2px rgba(0, 0, 0, .1);
}

/*****************************************************************
続きを読む
*****************************************************************/
.read-more-4 {
    position: relative;
}

.read-more-4 p {
    display: -webkit-box;
    position: relative;
    margin-bottom: 10px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 10;
    /* 開く前に見せたい行数を指定 */
}

.read-more-4:has(:checked) p {
    display: block;
}

.read-more-4 p::after {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .9) 50%, hsla(0, 0%, 100%, .9) 0, #fff);
    content: '';
}

.read-more-4:has(:checked) p::after {
    content: none;
}

.read-more-4 label {
    display: flex;
    align-items: center;
    gap: 0 4px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: .4em 1.2em;
    border-radius: 25px;
    background-color: #ee7d7e;
    color: #fff;
    font-size: .7em;
}

.read-more-4 label:hover {
    border: 1px solid #eb5254;
    background-color: #fff;
    color: #eb5254;
    cursor: pointer;
}

.read-more-4:has(:checked) label {
    display: none;
}

.read-more-4 label::after {
    display: inline-block;
    width: 10px;
    height: 5px;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

.read-more-4 label:hover::after {
    background-color: #eb5254;
}

.read-more-4 input {
    display: none;
}

/*****************************************************************
#03 数字で見る瓊浦 (#number)
*****************************************************************/
main#number {
    background-color: #fbeeff;
}

/* 中央ポップアップ */
.meishi-popup {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
    display: flex;
    justify-content: center;
    align-items: center;
}

.meishi-popup.show {
    opacity: 1;
    transform: scale(1);
}

.popup-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.main-popup-image {
    z-index: 2;
    position: relative;
}


/*------- キラン------- */
.kira-wrapper {
    position: relative;
    display: inline-block;
}

.kira {
    position: absolute;
    bottom: 40px;
    left: 35px;
    width: 100px;
    height: auto;
    overflow: hidden;
    display: inline-block;
    z-index: 10;
}

.kira::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -100%;
    width: 80%;
    height: 200%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.787) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    animation: kirakira 2s ease-in-out infinite;
    pointer-events: none;
    z-index: 20;
}

@keyframes kirakira {
    0% {
        left: -100%;
        opacity: 0;
    }

    50% {
        left: 100%;
        opacity: 0.8;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

/*-------ふわふわ-------*/
.fuwa01 {
    position: absolute;
    z-index: 50;
    animation: floatUpDown 2s ease-in-out infinite;
}

.fuwa02 {
    position: absolute;
    z-index: 50;
    animation: floatUpDown 4s ease-in-out infinite;
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

#number02 .fuwa01 {
    width: 95px;
    left: 0px;
    top: 100px;
}

#number02 .fuwa02 {
    width: 95px;
    right: -13px;
    bottom: -25px;
}

#number04 .fuwa01 {
    width: 110px;
    right: -17px;
    bottom: -25px;
}

#number05 .fuwa02 {
    width: 80px;
    left: 0px;
    bottom: 20px;
}


/*-------ゆらゆら-------*/
.yura01 {
    position: absolute;
    z-index: 50;
    animation: swayLeftRight 3s ease-in-out infinite;
}

.yura02 {
    position: absolute;
    z-index: 50;
    animation: swayLeftRight 5s ease-in-out infinite;
}

@keyframes swayLeftRight {

    0% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(-6deg);
    }

    50% {
        transform: rotate(6deg);
    }

    80% {
        transform: rotate(-6deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

#number04 .yura01 {
    width: 140px;
    left: -10px;
    top: 105px;
}

#number05 .yura02 {
    width: 110px;
    right: 5px;
    bottom: -20px;
}

#number06 .yura01 {
    width: 80px;
    left: 5px;
    top: 103px;
}

/*-------ぽよぽよ-------*/
.poyopoyo {
    animation: poyopoyo 2s ease-out infinite;
    opacity: 1;
}

@keyframes poyopoyo {

    0%,
    40%,
    60%,
    80% {
        transform: scale(1.0);
    }

    50%,
    70% {
        transform: scale(0.95);
    }
}

@media screen and (max-width:500px) {
    .kira {
        left: 30px;
        width: 85px;
    }

    #number02 .fuwa01 {
        width: 70px;
        top: 80px;
    }

    #number02 .fuwa02 {
        width: 70px;
        right: -5px;
    }

    #number04 .yura01 {
        width: 100px;
        left: -10px;
        top: 75px;
    }

    #number04 .fuwa01 {
        width: 80px;
        right: -12px;
        bottom: -5px;
    }

    #number05 .fuwa02 {
        width: 52px;
        bottom: 14px;
    }

    #number05 .yura02 {
        width: 75px;
    }

    #number06 .yura01 {
        width: 51px;
        top: 78px;
    }
}

@media screen and (max-width:430px) {
    .kira {
        width: 70px;
    }
}

@media screen and (max-width:380px) {
    .kira {
        bottom: 30px;
        width: 60px;
    }
}

/*****************************************************************
#04 先輩たちに聞いてみた！ (#senior)
*****************************************************************/
#senior .youtube-btn {
    background-color: #fd0333;
    color: #fff;
    text-decoration: none;
    padding: 1rem;
    display: block;
    text-align: center;
}

/*****************************************************************
#05 卒業生からのメッセージ (#graduate)
*****************************************************************/
main#graduate {
    background-color: #ffce00 !important;
}

#graduate .yura01 {
    width: 90px;
    left: -90px;
    top: 0px;
}

#graduate .yura02 {
    width: 120px;
    right: -90px;
    top: -20px;
}


/********/
#graduate .swiper {
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 7rem;
}

#graduate .swiper-slide {
    transition: transform 0.5s, filter 0.5s;
    overflow: hidden;
}

#graduate .swiper-slide img {
    width: 100%;
}

/* 中央以外のスライドはぼかし＋小さく */
#graduate .swiper-slide:not(.swiper-slide-active) {
    filter: blur(4px) brightness(0.7);
    transform: scale(0.85);
    z-index: 1;
}

/* 中央スライド */
#graduate .swiper-slide-active {
    z-index: 10;
    transform: scale(1.05);
    filter: none;
    z-index: 2;
}

/* ページネーション*/
#graduate .swiper-pagination {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

#graduate .swiper-pagination-bullet {
    background: #aaa;
    opacity: 0.7;
    width: 25px;
    height: 25px;
    margin-right: 10px;
    margin-left: 10px;
}

#graduate .swiper-pagination-bullet-active {
    background: #a341c6;
    opacity: 1;
}

@media screen and (max-width:500px) {
    #graduate .yura01 {
        width: 62px;
        left: -35px;
        top: 25px;
        z-index: 1;
    }

    #graduate .yura02 {
        width: 80px;
        right: -25px;
        z-index: 1;
    }

    #graduate .swiper-pagination-bullet {
        width: 20px;
        height: 20px;
        margin-right: 5px;
        margin-left: 5px;
    }
}


/*****************************************************************
footer
*****************************************************************/
footer {
    position: relative;
    padding-bottom: 100px;
}

footer ul li::after {
    content: "";
    display: block;
    background: url(../img/blank.svg) no-repeat center / contain;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

footer ul li:first-of-type {
    background-color: #ff91b8;
}

footer ul li:first-of-type::after {
    background: url(../img/blank_w.svg) no-repeat center / contain;
}

footer ul li:first-of-type a {
    color: #fff;
}




/*-----------100周年特設ページボタン-----------*/
#btn-100wrap {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.btn-100container {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
    text-align: center;
}

/* 背景画像（回転） */
.btn-100bg {
    position: absolute;
    width: 100%;
    animation: spin 10s linear infinite;
    top: 0;
    left: 0;
    z-index: 1;
}

.btn-100top {
    position: absolute;
    width: 80%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/*100周年特設ページボタンここまで*/