@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #254577;
}

ul {
    list-style: none;
}

body {
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 游ゴシック;
}

/* メインコンテナの調整ここは変えない */
main#f-mc,#a-mc,footer,small {
    position: relative;
    top: 80px; /* ヘッダーの高さに合わせて調整 */
}

/* ヘッダーここから */

.header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 75px;
    background-color: #fff;
    z-index: 100;
}

.header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.title {
    background-image: url(img/#);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    max-width: 600px;
    height: 100%;
    object-fit: cover;
    text-indent: 0;
    overflow: hidden;
    white-space: nowrap;
}

.logo {
    font-size: 2rem;
    font-weight: 600;
}

.nav {
    display: flex;
    justify-content: flex-end;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.nav_list {
    display: flex;
    margin: 0;
    padding: 0;
}

/* 通常時のドロップダウンの位置調整 */
.nav_item {
    position: relative; /* 親要素にrelativeを設定 */
    padding: 0 15px;
}

.nav_item a,.nav_item span {
    text-decoration: none;
    color: #333;
    padding: 10px;
    display: block;
}

.nav_item span {
    cursor: pointer;
}

.nav_item span::after {
    content: ">";
    transform: rotate(90deg);
    display: inline-block;
    font-size: 0.8em;
    margin: 0 0 0 10px;
}

.top-contact span {
    background-color: #254577;
    color: #fff;
    font-weight: bold;
    display: block;
    text-align: center;
}

/* ドロップダウンメニュー */
.dropdown {
    display: block;  /* 最初から表示 */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    padding: 0;
    opacity: 0; /* 初期状態で透明 */
    max-height: 0; /* 初期状態では高さゼロ */
    overflow: hidden; /* 内容が隠れるように */
    transition: max-height 0.3s ease, opacity 0.3s ease; /* スムーズな開閉アニメーション */
    z-index: 100;
    width: 200px; /* 幅の設定 */
    text-indent: 0.9rem;
}

/* 開いた時のアニメーション */
.nav_item.open .dropdown {
    opacity: 1; /* 開く時に完全に表示 */
    max-height: 500px; /* 開く時の最大高さ */
}

/* hover時にドロップダウンを表示する設定は削除 */

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    z-index: 300;
}

.hamburger_border {
    position: absolute;
    left: 11px;
    width: 18px;
    height: 2px;
    background-color: #333;
    transition: all .6s;
}

.hamburger_border_top {
    top: 14px;
}

.hamburger_border_center {
    top: 20px;
}

.hamburger_border_bottom {
    top: 26px;
}

.black_bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all .6s;
}

.nav-open .nav {
    right: 0;
}

.nav-open .black_bg {
    opacity: 1;
    visibility: visible;
}

.nav-open .hamburger_border_top {
    transform: rotate(45deg);
    top: 20px;
}

.nav-open .hamburger_border_center {
    width: 0;
    left: 50%;
}

.nav-open .hamburger_border_bottom {
    transform: rotate(-45deg);
    top: 20px;
}

/* ヘッダーここまで */

/* ----- Swiper Start ----- */

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 2160px;
    width: 100%;
}

.swiper-slide img {
    object-fit: cover;
    width: 100%;
}


/* ----- Swiper End ----- */

/* メインコンテナここから */

#f-mc-div-1 {
    width: 100%;
    height: 800px;
    display: flex;
    justify-content: left;
    align-items: center;
    text-align: left;
    text-shadow: 0 0 8px #888;
    font-size: 2vw;
    margin: 0 0 50px;
    position: relative;
}

#f-mc-div-1 h1 {
    color: #fff;
    font-family:  "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 50;
}

#f-mc-div-1 span {
    display: block;
}

#main-container {
    padding: 0;
    width: 100%;
}

/* news-section ここから */

.news-section {
    width: 800px;
    margin: 30px auto;
}

.news-section h2 {
    border-bottom: 1px solid #254577;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-section-span {
    font-size: 1rem;
}

.news-section ul li {
    display: flex;
    line-height: 2rem;
    justify-content: center;
    width: 80%;
    padding: 10px 0;
}

.news-span {
    color: #f71818;
    display: block;
    position: relative;
    width: 40%;
}

/* news-section ここまで */

/* main-section ここから */

.main-section {
    width: 100%;
    margin: 0 auto 100px;
}

.main-section-2 {
    width: 100%;
    margin: 0;
}

.section-h2 {
    width: 1000px;
    margin: 0 auto;
    font-size: 1.5rem;
    border-bottom: 1px solid #254577;
}

.fadeUpTrigger {
    opacity: 0;
}

.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {

    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translate(0);
    }
}

.main-section-div {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0 0;
}

.main-section-div img {
    display: block;
    width: 800px;
    border-radius: 50px;
}

.main-section-div div {
    width: 500px;
    margin: 0 0 0 150px;
    padding: 10px;
}

.main-section-div h3 {
    font-size: 3rem;
    margin: 0 0 50px;
}

.main-section-div p {
    font-size: 1.2rem;
}

.section-catch {
    font-size: 2rem;
    text-align: center;
    margin: 30px auto;
}

.main-section-div-2 {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 30px 0 0;
}

figure {
    width: 30%;
    padding: 10px 30px;
}

figure h4 {
    text-align: center;
    font-size: 1.5rem;
    margin: 20px 0;
}

.figure-text {
    font-size: 1.1rem;
    margin: 0 0 30px;
}

.btn-a {
    display: block;
    font-size: 1.2rem;
    background-color: #254577;
    border-radius: 50px;
    color: #fff;
    border: none;
    padding: 10px 20px;
    text-align: center;
    margin: 0 auto;
    box-shadow: 1px 1px 5px #333;
    width: 200px;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

/* main-section ここまで */

/* 採用 ここから*/

.saiyou {
    background-image: url(img/saiyou_02.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    width: 100%;
    height: 400px;
    object-fit: cover;
    text-align: left;
    text-shadow: 0 0 3px #333;
    font-size: 2vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 30px 0 0;
    padding: 0 0 0 150px;
    color: #fff;
}

.saiyou-div {
    margin: 0;
    position: left;
    width: 300px;
}

/* 採用 ここまで*/

/* メインコンテナここまで */

/* footerここから */

.foot-text {
    text-align: center;
    font-size: 1.2rem;
}

.tel img {
    width: 300px;
}

.foot-area {
    margin: 0;
    padding: 30px 0;
    background-color : #254577;
    color: #fff;
}

.foot-grid {
    display: flex;
    justify-content: space-evenly;
}

.foot-area dt {
    font-size: 1.2em;
}

.foot-area a {
    color: #fff;
}

.foot-area-ul {
    display: flex;
}

.foot-area-ul ul {
    margin: 0 30px 0 ;
}

small {
    display: block;
    text-align: center;
    padding: 10px 0;
}

/* footerここまで */

/* about ここから */

#top-text {
    font-size: 2rem;
    background-color: #254577;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin: 30px auto;
}

#table {
    width: 800px;
    margin: 0 0 30px;
    font-size: 1.2rem;
}

#table th {
    background-color: #254577;
    color: #fff;
    padding: 20px 10px;
    text-align: left;
    width: 30%;
}

#table td {
    background-color: #eee;
    padding: 20px 10px;  
    width: 70%;
}

#table ul li {
    text-align: left;
    font-size: 1.2rem;
}

iframe {
    width: 800px;
    height: 600px;
    margin: 0 auto;
    display: block;
    border: none;
}

.yakkan {
    max-width: 800px;
    width: 100%;
    font-size: 1.2em;
    margin: 30px auto 0;
    line-height: 2.6em;
}

.yakkan li {
    border-bottom: 1px dotted #254577;
    position: relative;
}

.yakkan li::before {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
}

/* about ここまで */

/* bussiness ここから */

.b-div {
    width: 800px;
    margin: 30px auto 0;
}

.b-div h3 {
    border: 1px solid #254577;
    border-left: 5px solid #254577;
    padding: 10px;
    font-size: 1.5rem;
    margin: 0 auto 30px;
    display: flex;
    gap: 30px;
}

.b-div h3 img.logo {
    max-width: 75px;
    width: 100%;
}

.ai_text {
    max-width: 700px;
    width: 100%;
    margin: 0 auto 30px;
}

.b-div dt {
    font-size: 1.5rem;
}

.b-div dd {
    width: 750px;
    padding: 10px;
    margin: 0 auto;
}

.b-div ul {
    list-style: disc;
    margin: 0 0 0 24px;
}

.b-div-school {
    width: 800px;
    margin: 30px auto 0;
    display: flex;
    justify-content: space-evenly;
    gap: 50px;
}

.b-div-school img {
    width: 300px;
    border-radius: 10px;
}

.b-div-school h3 {
    font-size: 2rem;
    border-bottom: 1px solid #254577;
}

.b-div-school p {
    margin: 20px 0 0;
}

.b-div-school-2 {
    width: 800px;
    margin: 30px auto 0;
}

.b-div-school-2 h3.div-h3-text {
    border-bottom: none;
    text-align: center;
    font-size: 2rem;
}

.b-div-school-2 a.div-contact {
    display: block;
    margin: 10px auto;
    background-color: #254577;
    color: #fff;
    border-radius: 30px;
    width: 350px;
    padding: 5px 8px;
    font-weight: bold;
    font-size: 0.8em;
    text-align: center;
}

.b-div-school-2 dl {
    margin: 50px auto;
}

.b-div-school-2 dt {
    background-color: #254577;
    color: #fff;
    border-radius: 10px;
    padding: 10px;
    font-size: 1.5rem;
}

.b-div-school-2 ul {
    font-size: 1.2em;
    margin: 10px 0 0 30px;
}

.b-div-school-2 ol {
    font-size: 1.2em;
    margin: 10px 0 0 50px;
}

.li-child {
    font-size: 0.8em;
}

.s-2-text {
    font-size: 0.8em;
    width: 600px;
    margin: 0 auto;
}

.table-wrapper {
    display: flex;
    justify-content: center;
}

.div-table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    line-height: 3em;
    table-layout: fixed;
}

.div-table th {
    height: 30px;
    font-size: 1.2em;
}

.div-table th:nth-child(even) {
    background-color: #f6f6f6;
}

.div-table td {
    height: 50px;
    font-size: 1.5em;
    text-align: center;
}

.div-table td:nth-child(even) {
    background-color: #f6f6f6;

}

div.b-div-school-2 dd {
    margin: 30px auto;
}

.dd-inner {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.ryoukin {
    width: 400px;
}

.ryoukin-top,.grid-text-box h4 {
    background-color: #254577;
    font-size: 1.4em;
    color: #fff;
    border-radius: 10px;
    text-align: center;
}

.ryoukin-top span {
    font-size: 1.4em;
}

.ryoukin ul {
    list-style-type: disc;
    font-size: 1em;
}

.ryoukin ul li span {
    font-weight: bold;
    font-size: 1.2em;
}

.details {
    width: 85%;
    margin: 0 auto;
}

.summary {
    height: 40px;
    list-style: none;
    box-shadow: 0 0 3px #ddd;
    font-size: 1.2em;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
}

.summary::before {
    content: "Q：";
    color: #254577;
}

.summary::after {
    content: "▼";
    float: right;
    color: #254577;
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.details[open] .summary::after {
    transform: rotate(180deg);
}

.summary-text {
    padding: 10px;
    text-indent: 1em;
}

.content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.details.show .content {
    max-height: 500px;
    opacity: 1;
}

.b-div-school-3 {
    width: 100%;
    margin: 30px auto 0;
}

.b-div-school-3 img {
    width: 400px;
}

.b-div-school-3 h3 {
    font-size: 2rem;
    border-bottom: 1px solid #254577;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.b-div-school-3 p {
    margin: 20px 0;
    max-width: 800px;
    width: 100%;
    margin: 30px auto;
}

.gallerySwiper {
    width: 100%;
    padding: 20px 0;
}

.gallerySwiper .swiper-slide img {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}

.service {
    width: 1000px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 30px auto;
    gap: 30px;
}

.card {
    max-width: 300px;
    width: 100%;
    height: 380px;
    margin: 0 auto;
}

.card span.mask {
    max-width: 300px;
    width: 100%;
    height: 180px;
    overflow: hidden;
    display: block;
    border-radius: 10px 10px 0 0;
}

.card span.mask img {
    width: 100%;
    object-fit: cover;
    top: -80px;
    position: relative;
}

.text-box {
    padding: 10px;
    background-color: #f6f6f6;
    height: 200px;
}

.text-box h3 {
    text-align: center;
    line-height: 3em;
}

.taxi-table {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    font-size: 1.2rem;
}

.taxi-table th {
    background-color: #254577;
    color: #fff;
    padding: 20px 10px;
    text-align: left;
    width: 30%;
}

.taxi-table-td-1 {
    background-color: #eee;
    padding: 20px 10px;  
    width: 70%;
}

.taxi-table ul li {
    text-align: left;
    font-size: 1.2rem;
}

.taxi-table-td-2 {
    background-color: #eee;
    padding: 20px 10px;  
    width: 30%;
}

.taxi-table-td-3 {
    background-color: #eee;
    padding: 20px 10px;  
    width: 40%;
}

/* bussiness ここまで */

/* recruits ここから */

.re-section {
    margin: 10px 0 10px;
}

.btn-1 {
    width: 200px;
    height: 50px;
    padding: 5px 10px;
    background-color: #254577;
    border-radius: 100px;
    text-align: center;
    color: #fff;
    border: none;
    font-size: 1.2em;
    margin: 0 auto;
    display: block;
    box-shadow: 1px 1px 5px #333;
}

/* recruits ここまで */

/* archive ここから */

.arch-section {
    display: grid;
    grid-template-columns: 300px 600px;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto 50px;
}

.arch-ul-1 {
    line-height: 3em;
}

.arch-ul-1 ul li {
    display: flex;
}

.arch-ul-1 ul li time {
    display: block;
    max-width: 200px;
    width: 100%;
}

.arch-ul-1 ul li span {
    display: block;
    max-width: 400px;
    width: 100%;
}

/* archive ここまで */


.not-found {
    text-align: center;
    padding: 50px;
}

.not-found h1 {
    font-size: 2em;
    color: #d9534f;
}

/* contact ここから */


.contact-section {
    width: 800px;
    margin: 0 auto;
}

.contact-section p {
    margin: 30px 0;
}

input[name] {
    width: 80%;
    height: 30px;
    background-color: #fff;
    border: none;
    padding: 0 0 0 5px;
    font-size: 1.1rem;
}

textarea {
    width: 80%;
    height: 300px;
    background-color: #fff;
    border: none;
    padding: 0 0 0 10px;
    font-size: 1.2rem;
}

#job {
    width: 80%;
    height: 30px;
    background-color: #fff;
    border: none;
    padding: 0 0 0 5px;
    font-size: 1.1rem;
}

.days p span.wpcf7-form-control {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: center;
    place-items: center;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
}

.wpcf7-submit {
    width: 200px;
    height: 50px;
    padding: 5px 10px;
    background-color: #254577;
    border-radius: 100px;
    text-align: center;
    color: #fff;
    border: none;
    font-size: 1.2em;
    margin: 0 auto;
    display: block;
    box-shadow: 1px 1px 5px #333;
    cursor: pointer;
}

/* contact ここまで */