/*
カラー設定

ベースのピンク　F0B7B6
差し色ピンク　E68B8A

お知らせ　32B75A
受験生　E68B8A
調達情報　3474C3
ボタンのイエロー　FFE802
*/

/* プリント時にメニューの非表示 */
@media print {
    nav {
        display: none;
    }
    body {
        width: 100%;
        max-width: 100%;
    }
}

body, ul {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    color: #2A2F32 ;
    font-size: 16px;
    letter-spacing: 0;
    font-feature-settings:"palt";
}
section {
    width: 100%;
}

h1, h2, h3, h4, h5, h6, strong, b {
    font-weight: 700;
}

a {
    color:#32B75A;
    transition: color 0.3s ease;
}
a:hover {
    color:#edcf10
}
main {
    width: 100%;
    position: relative;
    background-color: #FEFDF8;
}
main a {
    transition: transform 0.3s ease;
    display: inline-block;
}
  
main a:hover  {
    transform: translateY(-4px);
}

/* カーソル設定 */
.cursor-defolt {
    cursor: default;
}
.cursor-pointer {
    cursor: pointer;
}

/* ボタン類 */
.gray-btn {
    background: #b4b4b4;
    border-radius: 17px;
    font-size: 14px;
    color: #6c6c6c;
    letter-spacing: 1.2px;
    text-decoration: none;
    padding: 5px 12px;
}
.white-btn {
    background: #FFFFFF;
    border-radius: 17px;
    font-size: 14px;
    color: #32B75A;
    letter-spacing: 1.2px;
    text-decoration: none;
    padding: 5px 12px;
}
.white-btn::before {
    font-size: 18px;
    color: #32B75A;
    content: "\f054";
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; /* Solidアイコンのためのfont-weight */
    padding-right: 15px;
}
.white-btn:hover {
    color: #32B75A;
}

.green-btn {
    text-decoration: none;
    background: #32B75A;
    border-radius: 17px;
    font-size: 14px;
    color: #ffffff;
    letter-spacing: 1.2px;
    text-decoration: none;
    padding: 5px 12px;
}
.green-btn::before {
    font-size: 18px;
    color: #ffffff;
    content: "\f054";
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; /* Solidアイコンのためのfont-weight */
    padding-right: 15px;
}

.green-btn-dl {
    text-decoration: none;
    background: #32B75A;
    border-radius: 17px;
    font-size: 14px;
    color: #ffffff;
    letter-spacing: 1.2px;
    text-decoration: none;
    padding: 5px 12px;
}
.green-btn-dl::before {
    font-size: 18px;
    color: #ffffff;
    content: "\f019";
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; /* Solidアイコンのためのfont-weight */
    padding-right: 15px;
}
.green-btn:hover, .green-btn-dl:hover {
    color: #ffffff;
}

.pink-btn {
    text-decoration: none;
    background: #E68B8A;
    border-radius: 17px;
    font-size: 14px;
    color: #ffffff;
    letter-spacing: 1.2px;
    text-decoration: none;
    padding: 5px 12px;
}
.pink-btn::before {
    font-size: 18px;
    color: #ffffff;
    content: "\f054";
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; /* Solidアイコンのためのfont-weight */
    padding-right: 15px;
}
.pink-btn:hover {
    color: #ffffff;
}

.yellow-btn, .yellow-btn-dl {
    text-decoration: none;
    background: #FFE802;
    border: 2px solid #E68B8A;
    border-radius: 3px;
    font-size: 14px;
    color: #2A2F32;
    letter-spacing: 1.2px;
    text-decoration: none;
    padding: 10px 30px;
}
.yellow-btn-dl::before {
    font-size: 18px;
    color: #2A2F32;
    content: "\f019";
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; /* Solidアイコンのためのfont-weight */
    padding-right: 15px;
}
.yellow-btn:hover {
    color: #2A2F32;
}

#sp_form_btn {
    display: none;
}

header {
    width: 100%;
    height: 100px;
    background-color: #fff;
    border-bottom: 2px solid #F0B7B6;
    position: relative;
    z-index: 5;
}
header a {
    color: #2A2F32 ;
    text-decoration: none;
}

#header-logo {
    position: absolute;
    left: 40px;
    top: 20px;
}

#header-logo img {
    width: auto;
    height: 57px;
    transition: all 0.3s ease;
}
@media screen and (max-width: 1250px)  {
    #header-logo {
        top: 14px;
    }
    #header-logo img {
        height: 43px;
    }
}

#nav-container {
    position: absolute;
    right: 40px;
    bottom: 12px;
    text-align: right;
}

#nav-sub ul {
    list-style: none;
    margin-bottom: 12px;
}
#nav-sub ul li {
    display: inline-block;
    position: relative;
    height: 21px;
    font-size: 16px;
}
#nav-sub ul li.nav-contact-btn {
    padding: 6px 12px;
    margin-left: 27px;
    background: #E68B8A;
    border-radius: 3px;
}
#nav-sub ul li.nav-contact-btn a {
    border-radius: 3px;
    font-size: 16px;
    color: #FFFFFF;
}
#nav-sub ul li.nav-contact-btn a i {
    font-size: 20px;
}
#nav-sub ul li.nav-access-btn {
    padding: 6px 12px;
    margin-left: 27px;
    background: #32B75A;
    border-radius: 3px;
}
#nav-sub ul li.nav-access-btn a {
    border-radius: 3px;
    font-size: 16px;
    color: #FFFFFF;
}
#nav-sub ul li.nav-access-btn a i {
    font-size: 20px;
}


nav ul {
    list-style: none;
    font-size: 0;
}

nav > ul.layer1 > li {
    display: inline-block;
    position: relative;
    border-right: 1px solid #979797;
    font-size: 16px;
}
nav > ul > li > a {
    padding: 2px 10px;
    transition: all 0.3s ease;
}

nav > ul > li:hover > a {
    background: #E68B8A;
    color: #ffffff;
}

nav > ul.layer1 > li:last-child {
    border-right: none;
}
nav a {
    display: inline-block;
    text-decoration: none;
    padding: 0 10px;
}

.dropdown > a::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; 
    padding-left: 4px;
}

/* ドロップダウンメニュー用のスタイル */
nav ul.layer1 > li.dropdown:hover a {
    border-radius: 6px 6px 0 0;
}
nav ul.layer1 > li.dropdown:hover > a::after  {
    content: "\f00d";
    padding: 0 4px 0 3.5px;
}

.dropdown-content {
    display: block;
    opacity: 0;
    position: absolute;
    width: 265px;
    border-right: none;
    background: #E68B8A;
    box-shadow: 8px 13px 0 0 rgba(199,101,99,0.75);
    border-radius: 0 6px 6px 6px;
    margin-top: 0;
    padding-top: 6px;
    z-index: 1;
    transform: scaleY(0%);
    transform-origin: top;
    transition: all 0.3s ease;
}
.dropdown:last-child .dropdown-content {
    border-radius: 6px 0 6px 6px;
    right: 0;
}
.dropdown:hover .dropdown-content {
    opacity: 1;
    transform: scaleY(100%);
}

.dropdown-content > li {
    background-color: #ffffff;
    border-radius: 3px;
    padding:12px 5px 12px 14px;
    margin: 10px;
    text-align: left;
    font-size: 16px;
    letter-spacing: normal;
}
.dropdown-content > li > a {
    position: relative;
    text-decoration: none;
    line-height: 18px;
}
.dropdown-content > li > a::before {
    content: "\f054";
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900;
    padding-right: 4px;
    position: absolute;
    left: -5px;
    line-height: 18px;
}
.dropdown-content > li:hover > a {
    color: #E68B8A;
}

.hamburger-menu {
    display: none;
}

/* 閉じるボタン */
.close-btn {
    display: none;
    position: absolute;
    padding: 10px;
}
.close-btn::before {
    display: inline-block;
    content: "\f057";
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900;
    padding-right: 6px;
}
    

/* パンくず設定 */
.breadcrumb {
    width: 100%;
    padding: 30px 0 0;
    color: #322D2A;
    background-color: #FEFDF8;
}
.breadcrumb > ol {
    max-width: 1080px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 12px;
    letter-spacing: 0.8px;
}

.breadcrumb li {
    margin-right: .5rem;
}

.breadcrumb li::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; 
    margin-left: .5rem;
}

.breadcrumb li:last-child::after {
    content: none;
}

.breadcrumb li a {
    text-decoration: none;
}

.breadcrumb li.active {
    pointer-events: none;
    cursor: default;
}

/* ページ装飾 */
.decoration {
    position: absolute;
    width: 350px;
    height: 550px;
    background-size: auto;
    background-repeat: no-repeat;
}
.deco-l1 {
    left: 0;
    background-image: url(../img/deco-l1.png);
    background-position: top left;
    z-index: 3;
}
.deco-r1 {
    right: 0;
    top: 550px;
    background-image: url(../img/deco-r1.png);
    background-position: top right;
    z-index: 3;
}
.deco-l2 {
    left: 0;
    top: 1050px;
    background-image: url(../img/deco-l2.png);
    background-position: top left;
}
.deco-r2 {
    right: 0;
    top: 2000px;
    background-image: url(../img/deco-r2.png);
    background-position: top right;
}
.deco-l3 {
    left: 0;
    top: 2800px;
    background-image: url(../img/deco-l3.png);
    background-position: top left;
}
.deco-r3 {
    right: 0;
    top: 3400px;
    background-image: url(../img/deco-r1.png);
    background-position: top right;
}
.deco-lower-l {
    left: 0;
    top: 103px;
    background-image: url(../img/deco-l1.png);
    background-position: top left;
    z-index: 3;
}
.deco-lower-r {
    right: 0;
    bottom: 0;
    background-image: url(../img/deco-r1.png);
    background-position: bottom right;
    z-index: 3;
}

/* パンフレットダウンロード */
.pamph-download {
    width: 100%;
    background-color: #F0B7B6;
    padding: 28px 0;
    display: flex;
    justify-content: center;
}
.pamph-dl-set {
    display: flex;
}
.pamph-download img {
    width: auto;
    height: 260px;
}
.top-pamph-dl {
    margin: 0 12px;
    padding: 0;
    text-align: center;
}
.top-pamph-dl img {
    width: 162px;
    height: auto;
    box-shadow: 8px 8px 0 0 rgba(199,101,99,0.75);
}
.top-pamph-dl a {
    text-decoration: none;
    display: inline-block;
    margin: 12px  0;
}

footer {
    padding-top: 60px;
    text-align: center;
}
footer p {
    font-size: 16px;
    color: #322D2A;
    letter-spacing: -0.14px;
    line-height: 2.4em;
}
.footer-sitemap {
    width: 893px;
    margin: 0 auto;
}
.footer-sitemap ul {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-sitemap ul li {
    display: inline;
    margin-right: -2px;
    margin-left: -2px;
}

.footer-sitemap ul li::before {
    content: "|";
    padding-right: 6px;
}
.footer-sitemap ul li::after {
    content: "|";
    padding-left: 6px;
}

.footer-sitemap ul li a {
    text-decoration: none;

    font-size: 15px;
    color: #322D2A;
    letter-spacing: 1px;
    text-align: center;
    line-height: 42px;
}
.footer-logo {
    width: 261px;
    height: auto;
    margin: 30px auto 6px;
}
.footer-logo img {
    width: 100%;
}

 

/* スマートフォン用のスタイル */
@media (max-width: 1024px) {

    #sp_form_btn {
        display: block;
        position: fixed;
        bottom: 55px;
        margin: 0 auto;
        z-index: 110;
        text-align: center;
    }
    #sp_form_btn img {
        width: calc(100% - 24px);
        height: auto;
    }
    /* スマートフォンでナビゲーションが展開中のときに非表示 */
    body.menu-active #sp_form_btn {
        display: none;
    }

    /* ヘッダーを画面下部に固定 */
    header {
      position: fixed;
      bottom: 0;
      width: 100%;
      height: 58px;
      z-index: 100;
      box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
    }
    #header-logo {
        left: 24px;
    }
    
    #header-logo img {
        width: auto;
        height: 28px;
    }
    /* ハンバーガーメニューアイコンのスタイル */
    .hamburger-menu {
      display: block;
      position: absolute;
      right: 12px;
      top: 6px;
      bottom: 0;
      font-size: 28px;
      line-height: 1em;
      padding: 8px;
      z-index: 100;
    }
    /* メニューがアクティブなときの閉じるボタンのスタイル */
    .menu-active .close-btn {
        display: inline-block;
        position: relative;
        cursor: pointer;
    }
    #nav-container {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        transform: translateY(100%); /* 最初は画面外に隠れている */
        transition: transform 0.5s ease-in-out; /* トランジションで滑らかに */
        z-index: 1000; /* 他の要素より前面に表示 */
        background: #fff; /* 背景色、必要に応じて変更してください */
        box-shadow: 0 -2px 5px rgba(0,0,0,0.2); /* 上部に影をつける */
    }

    .menu-active #nav-container {
        transform: translateY(0%); 
        display: flex;
        opacity: 1;
        text-align: right;
        overflow-y: scroll;  
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        background: #ffffff;
        z-index: 101;
        flex-wrap: nowrap;
        flex-direction: column;
        padding-top: 24px;
    }
    #nav-sub {
        width: calc(100% - 24px);
        margin: 0 auto;
    }
    #nav-sub ul {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        text-align: center;
        padding-bottom: 12px;
    }
    #nav-sub ul li {
        height: auto;
        display: block;
        margin-top: 12px;
        font-size: 1rem;
        margin: 0 10px;
    }
    #nav-sub ul li:first-child {
        width: 100%;
        padding: 3px 16px;
        border: 1px solid #979797;
        border-radius: 3px;
        flex-basis: 100%;
    }
    #nav-sub ul li.nav-access-btn, #nav-sub ul li.nav-contact-btn {
        margin-left: 0;
        margin-right: 0;
        margin-top: 10px;
        flex-basis: 40%;
    }
    #nav-sub ul li.nav-access-btn a, #nav-sub ul li.nav-contact-btn a {
        border-radius: 3px;
        font-size: 1rem;
        color: #FFFFFF;
    }
    #nav-sub ul li.nav-access-btn a i, #nav-sub ul li.nav-contact-btn a i {
        font-size: 20px;
    }
    
    nav ul {
        list-style: none;
        font-size: 0;
    }
    
    nav > ul.layer1 > li {
        display: block;
        border-right: none;
        text-align: center;
        padding:0;
    }
    nav > ul.layer1 > li:first-child {
        border-top: 1px solid #979797;
    }
    nav > ul > li > a {
        padding: 12px 0 16px ;
        border-bottom: 1px solid #979797;
    }
    
    nav > ul > li:hover > a {
        background: none;
        color: #2A2F32;
    }
    nav a {
        display: block;
        text-decoration: none;
    }
    .dropdown > a {
        border-bottom: none;
        border-bottom: 1px dashed #979797;
    }
    .dropdown > a::after {
        content: none;
    }
    nav ul.layer1 > li > a  {
        text-align: left;
        padding-left: 1em;
        line-height: 1em;
    }
    nav ul.layer1 > li > a::before  {
        content: "\f054";
        font-family: "Font Awesome 6 Free"; 
        font-weight: 900;
        padding-right: 12px;
        left: 4px;
        line-height: 18px;
    }


    nav ul.layer1 > li.dropdown > a  {
        font-size: 13px;
        padding-left: 0.6em;
    }
    nav ul.layer1 > li.dropdown > a::before  {
        content: none;
    }

    /* ドロップダウンメニュー用のスタイル */
    nav ul.layer1 > li.dropdown:hover a {
        border-radius: none;
    }
    nav ul.layer1 > li.dropdown:hover > a::after  {
        content: none;
    }
    nav ul.layer1 > li.dropdown:hover > a::before  {
        content: none;
    }
    .dropdown-content {
        display: block;
        opacity: 1;
        position: relative;
        width: 100%;
        border-right: none;
        background: none;
        box-shadow: none;
        border-radius: none;
        margin-top: 0;
        padding: 6px 0;
        z-index: 1;
        transform: scaleY(100%);
    }
    .dropdown:last-child .dropdown-content {
        border-radius: none;
        right: 0;
    }
    .dropdown:hover .dropdown-content {
        opacity: 1;
        transform:  initial;
    }

    .dropdown-content > li {
        display: block;
        background-color: #ffffff;
        border-radius: 0;
        padding:12px 12px 12px 48px;
        margin: 0;
        text-align: left;
        font-size: 14px;
        border-bottom: 1px dashed #979797;
    }
    .dropdown-content > li:last-child {
        border-bottom: 1px solid #979797;
    }
    .dropdown-content > li > a {
        position: relative;
        text-decoration: none;
        line-height: 18px;
    }
    .dropdown-content > li:hover > a {
        color: #2A2F32;
    }
    .no-scroll {
        position: fixed; /* 位置を固定する */
        overflow-y: hidden; /* 縦スクロールを無効にする */
        width: 100%; /* 幅を100%に設定する */
        height: 100%; /* 高さを100%に設定する */
    }

    /* ページ装飾 */
    .decoration {
        position: absolute;
        width: 25vw;
        height: auto;
        aspect-ratio: 350 / 550;  
        background-size: cover;
        background-repeat: no-repeat;
    }
    .deco-l1 {
        left: 0;
        background-image: url(../img/deco-l1.png);
        background-position: top left;
        z-index: 3;
    }
    .deco-r1 {
        right: 0;
        top: 300px;
        background-image: url(../img/deco-r1.png);
        background-position: top right;
        z-index: 3;
    }
    .deco-l2 {
        left: 0;
        top: 1000px;
        background-image: url(../img/deco-l2.png);
        background-position: top left;
        z-index:4;
    }
    .deco-r2 {
        right: 0;
        top: 2100px;
        background-image: url(../img/deco-r2.png);
        background-position: top right;
        z-index: 3;
    }
    .deco-l3 {
        left: 0;
        top: 3000px;
        background-image: url(../img/deco-l3.png);
        background-position: top left;
        z-index: 3;
    }
    .deco-r3 {
        right: 0;
        top: 4000px;
        background-image: url(../img/deco-r1.png);
        background-position: top right;
        z-index: 7;
    }
    .deco-lower-l {
        left: 0;
        top: 0;
        background-image: url(../img/deco-l1.png);
        background-position: top left;
        z-index: 3;
    }

    /* パンくず設定 */
    .breadcrumb > ol {
        max-width: calc(100% - 24px);
        margin: 0 auto;
        display: block;
    }

    .breadcrumb li {
        margin-right: 0;
    }
    .breadcrumb li > a {
        display: inline-block;
        padding-left: 0;
    }
    
    /* パンフレットダウンロード */
    .pamph-download {
        width: 100%;
        background-color: #F0B7B6;
        padding: 28px 0;
        display: block;
        justify-content: center;
    }
    .pamph-download img {
        width: 100%;
        height: auto;
    }
    .top-pamph-dl {
        margin: 0 auto;
        padding: 0;
        text-align: center;
    }
    .top-pamph-dl img {
        width: 162px;
        height: auto;
        box-shadow: 8px 8px 0 0 rgba(199,101,99,0.75);
    }
    .top-pamph-dl a {
        text-decoration: none;
        display: inline-block;
        margin: 12px  0;
    }
    
    footer {
        padding-bottom: 60px;
    }
    footer p {
        font-size: 16px;
        color: #322D2A;
        letter-spacing: -0.14px;
        line-height: 2.4em;
    }
    .footer-sitemap {
        width: 100%;
        margin: 0 auto;
    }
    .footer-sitemap ul {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer-sitemap ul li {
        display: inline;
        margin-right: -2px;
        margin-left: -2px;
    }
    
    .footer-sitemap ul li::before {
        content: "|";
        padding-right: 6px;
    }
    .footer-sitemap ul li::after {
        content: "|";
        padding-left: 6px;
    }
    
    .footer-sitemap ul li a {
        text-decoration: none;
    
        font-size: 15px;
        color: #322D2A;
        letter-spacing: 1px;
        text-align: center;
        line-height: 42px;
    }
    .footer-logo {
        width: 261px;
        height: auto;
        margin: 30px auto 6px;
    }
    .footer-logo img {
        width: 100%;
    }
  }
  