@charset "UTF-8";

/*共通部分*/

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    line-height: 1.7;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

body {
    margin-top: 0;
    background-color: white;
    font-family: "遊明朝体", "Yu Mincho", "Yumincho", "HG明朝B", serif;
}

li {
    list-style: none;
}


/*header*/

header {
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    top: 0;
    height: auto;
    transition: all 0.3s ease;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: auto;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
    color: #432;
}

.nav-container {
    display: flex;
    align-items: center;
}

.main-nav {
    display: flex;
    text-transform: uppercase;
    font-size: 1rem;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: 2rem;
    list-style: none;
}

.main-nav a {
    color: #432;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    display: block;
    padding: 5px 0;
    position: relative;
}

.main-nav a:hover {
    color: #9D8033;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #9D8033;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #432;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* タブレット対応 */
@media screen and (max-width: 1024px) {
    .site-title {
        font-size: 1.5rem;
    }

    .main-nav {
        font-size: 0.9rem;
    }

    .main-nav li {
        margin-left: 1.5rem;
    }
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .site-title {
        font-size: 1.3rem;
    }

    .menu-button {
        display: flex;
    }

    .nav-container {
        position: relative;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding-top: 80px;
        z-index: 999;
    }

    .main-nav {
        flex-direction: column;
        align-items: center;
    }

    .main-nav li {
        margin: 0 0 20px 0;
        width: 100%;
        text-align: center;
    }

    .main-nav a {
        font-size: 1.2rem;
        padding: 10px 0;
    }

    .menu-toggle:checked ~ nav {
        right: 0;
    }

    .menu-toggle:checked ~ .menu-button .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle:checked ~ .menu-button .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .menu-button .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* 超小型スマホ対応 */
@media screen and (max-width: 480px) {
    .site-title {
        font-size: 1.1rem;
    }

    .page-header {
        padding: 10px;
    }

    .menu-button {
        width: 25px;
        height: 18px;
    }

    .bar {
        height: 2px;
    }

    .main-nav a {
        font-size: 1rem;
    }
}

@media screen and (min-width:1366px) {
    .main-nav {
        font-size: 26px;
        margin-top: 40px;
    }
}

/*mainの中のトップ画像のところ*/

main {
    padding-top: 70px; /* ヘッダーの高さに合わせる */
}

@media screen and (max-width: 768px) {
    main {
        padding-top: 60px;
    }
}

@media screen and (max-width: 480px) {
    main {
        padding-top: 0px;
    }
}

.top {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 1200px;
    margin: 4em auto 0;
    padding: 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    /* backdrop-filter: blur(4px); */
}

.station-access {
    margin-bottom: 1.5rem;
}

.station-access p {
    letter-spacing: 2px;
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.accent-number {
    color: #ffcc00 !important;
    font-size: 3rem;
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0.2rem;
}

.medical-specialties {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.specialty-item {
    background-color: rgba(157, 128, 51, 0.9);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.specialty-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-title {
    margin-bottom: 3rem;
    text-align: center;
}

.hero-title h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.hero-title h2 {
    font-size: 2.5rem;
    font-weight: 500;
    color: #ffcc00;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #9D8033, #D4AF37);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 1rem 2.5rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #D4AF37, #9D8033);
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .top {
        min-height: 60vh;
    }

    .container {
        width: 95%;
        padding: 1rem;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .station-access p {
        font-size: 1.4rem;
    }

    .accent-number {
        font-size: 2.2rem;
    }

    .specialty-item {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }

    .hero-title h1 {
        font-size: 2.5rem;
    }

    .hero-title h2 {
        font-size: 1.8rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }
}

@media screen and (max-width: 480px) {
    .top {
        min-height: 70vh;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .station-access p {
        font-size: 1.2rem;
    }

    .accent-number {
        font-size: 1.8rem;
    }

    .medical-specialties {
        gap: 0.5rem;
    }

    .specialty-item {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .hero-title h1 {
        font-size: 2rem;
    }

    .hero-title h2 {
        font-size: 1.5rem;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
    }
}

.btn {
    color: #9D8033;
    background: linear-gradient(to right, #9D8033, #fff 50%, #9D8033);
    padding: 20px 55px;
    color: black;
    font-size: 24px;
}

@media screen and ( max-width:480px) {
    .btn {
        font-size: 15px;
        padding: 10px 25px;
    }
}

@media screen and (min-width:1366px) {
    .btn {
        font-size: 30px;
        padding: 25px 70px;
    }
}

.btn:hover {
    box-shadow: 2px 2px 10px #fff, -5px 5px 30px rgba(255, 255, 255, 0.3), 5px -5px 30px rgba(255, 255, 255, 0.3), -5px -5px 30px rgba(255, 255, 255, 0.3);
}

.container p {
    letter-spacing: 5px;
    font-size: 30px;
    color: #9D8033;
    background: -webkit-radial-gradient(#fff, #998250 40%, #9D8033 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media screen and ( max-width:480px) {
    .container p {
        font-size: 18px;
    }
}

@media screen and (min-width:1366px) {
    .container p {
        font-size: 40px;
    }
}

.container h1 {
    border-bottom: 1px solid;
    margin-bottom: 20px;
    font-size: 85px;
    font-weight: bold;
    line-height: 1.1em;
    color: #9D8033;
    background: -webkit-radial-gradient(#fff, #998250 40%, #9D8033 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media screen and ( max-width:480px) {
    .container h1 {
        font-size: 2.5em;
        margin-bottom: 10px;
    }
}

@media screen and (min-width:1366px) {
    .container h1 {
        font-size: 100px;
        margin-bottom: 25px;
    }
}

.container h2 {
    font-size: 55px;
    font-weight: normal;
    padding-bottom: 60px;
    color: #9D8033;
    background: -webkit-radial-gradient(#fff, #998250 40%, #9D8033 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media screen and ( max-width:480px) {
    .container h2 {
        font-size: 36px;
        padding-bottom: 40px;
    }
}

.top {
    margin-top: 0;
}


/*大きい背景画像*/

.big-bg {
    background-size: cover;
}

#home {
    background-image: url(/image/top.png);
    background-position:bottom 0% right 40%;
    height: 100vh;
    width: 100%;
}

@media screen and (max-width:480px) {
    #home {
        width: 100%;
        height: 80vh;
    }
}

@media screen and (min-width:1366px) {
    #home {
        height: 100vh;
    }
}


/*特徴*/

.feature {
    padding-top: 45px;
    width: 100%;
    text-align: center;
}

@media screen and (max-width:480px) {
    .feature {
        padding-top: 10px;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .feature {
        padding-top: 10px;
    }
}

.feature p {
    font-size: 24px;
}

@media screen and (max-width:480px) {
    .feature p {
        font-size: 13px
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .feature p {
        font-size: 18px
    }
}

.red {
    color: #800200;
    font-size: 36px;
}

@media screen and (max-width:480px) {
    .red {
        font-size: 24px
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .red {
        font-size: 28px
    }
}

.boxs {
    padding: 45px 0;
    display: flex;
    justify-content: center;
    height: 135px;
}

@media screen and (max-width:480px) {
    .boxs {
        padding: 120px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 90px;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .boxs {
        padding: 30px 0;
        height: 80px;
    }
}

.box p {
    background-color: #908032;
    background: linear-gradient(70deg, #e0d9b6, #908032);
    text-align: center;
    margin: 5px 30px 5px 0;
    padding: 30px;
    height: 80px;
    width: 250px;
    font-size: 18px;
}

@media screen and (max-width:480px) {
    .box p {
        margin: 5px 20px 5px 0;
        padding: 10px;
        height: 60px;
        width: 250px;
        font-size: 15px;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .box p {
        margin: 5px 20px 5px 0;
        padding: 20px;
        height: 40px;
        width: 170px;
        font-size: 10px;
    }
}

.big {
    font-size: 30px;
}

@media screen and (max-width:480px) {
    .big {
        font-size: 20px;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .big {
        font-size: 20px;
    }
}

.re {
    color: #800200;
}


/*導入*/

.intro {
    width: 100%;
    padding-top: 45px;
    text-align: center;
}

.ba {
    width: 85%;
    background-image: url(/image/intro.back.png);
    background-size: cover;
    background-position: center top;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 70px;
}

@media screen and (max-width:480px) {
    .ba {
        width: 90%;
        margin-bottom: 50px;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .ba {
        width: 90%;
    }
}

.naka h3 {
    padding-top: 50px;
    padding-bottom: 15px;
    font-size: 30px;
    font-weight: normal;
}

@media screen and (max-width:480px) {
    .naka h3 {
        padding-top: 28px;
        padding-bottom: 10px;
        font-size: 20px;
    }
}

@media screen and (min-width:1366px) {
    .naka h3 {
        padding-top: 70px;
        padding-bottom: 15px;
        font-size: 40px;
    }
}

.naka {
    width: 92%;
    border-bottom: 1px solid;
    margin: auto;
    margin-bottom: 30px;
}

.txt {
    width: 75%;
    margin: auto;
    padding-bottom: 40px;
}

.txt p {
    font-size: 21px;
}

@media screen and (max-width:480px) {
    .txt p {
        font-size: 15px;
        text-align: left;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .txt p {
        font-size: 18px;
    }
}

@media screen and (min-width:1366px) {
    .txt p {
        font-size: 26px;
    }
}

.clc {
    width: 60%;
    height: 25px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

@media screen and (min-width:1366px) {
    .clc {
        width: 40%;
        height: 26px;
    }
}

.clc p {
    font-size: 20px;
    float: left;
}

@media screen and (max-width:480px) {
    .clc p {
        font-size: 13px;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .clc p {
        font-size: 18px;
    }
}

@media screen and (min-width:1366px) {
    .clc p {
        font-size: 26px;
    }
}

.bttn {
    display: block;
    width: 120px;
    margin: auto;
    color: #9D8033;
    background: linear-gradient(to right, #9D8033, #fff 50%, #9D8033);
    padding: 15px 100px;
    color: black;
    font-size: 24px;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
}

@media screen and (max-width:480px) {
    .bttn {
        display: inline-block;
        margin: 80px auto;
        padding: 10px 40px;
        font-size: 18px;
    }
}

.bttn:hover {
    box-shadow: none;
    transform: translate3d(0, 5px, 0);
    opacity: 0.7;
}


/*イメージ*/

.image {
    width: 100%;
    height: 800px;
    padding-top: 50px;
    margin-bottom: 150px;
    position: relative;
}

@media screen and (max-width:480px) {
    .image {
        height: 400px;
        padding-top: 0px;
    }
}

@media screen and (min-width:1366px) {
    .image {
        height: 1300px;
    }
}

.eki {
    width: 95%;
    height: 660px;
    margin: auto;
    background-image: url(/image/image.bldg.png);
    background-size: cover;
    background-position: center top;
}

@media screen and (max-width:480px) {
    .eki {
        height: 300px;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .eki {
        width: 768px;
    }
}

@media screen and (min-width:1366px) {
    .eki {
        height: 1000px;
    }
}

.nk {
    padding-top: 40px;
}

@media screen and (max-width:480px) {
    .nk {
        padding-top: 5px;
    }
}

@media screen and (min-width:1366px) {
    .nk {
        padding-top: 70px;
    }
}

.nk h1 {
    font-size: 26px;
    font-weight: normal;
    padding-left: 45px;
    padding-bottom: 50px;
}

@media screen and (max-width:480px) {
    .nk h1 {
        font-size: 14px;
        padding-left: 5px;
        padding-bottom: 10px;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .nk h1 {
        font-size: 24px;
        padding-left: 10px;
        padding-bottom: 10px;
    }
}

@media screen and (min-width:1366px) {
    .nk h1 {
        font-size: 45px;
        padding-left: 50px;
        padding-bottom: 70px;
    }
}

.rd {
    color: #800200;
    font-size: 48px;
}

@media screen and (min-width:1366px) {
    .rd {
        font-size: 58px;
    }
}

.nk p {
    font-size: 17px;
    padding: 0 50px 0 160px;
}

@media screen and (max-width:480px) {
    .nk p {
        font-size: 8px;
        padding: 0 0 0 10px;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .nk p {
        font-size: 15px;
        padding: 0 0 0 50px;
    }
}

@media screen and (min-width:1366px) {
    .nk p {
        font-size: 30px;
    }
}

.nk span {
    font-size: 35px;
}

@media screen and (max-width:480px) {
    .nk span {
        font-size: 20px;
    }
}

@media screen and (min-width:1366px) {
    .nk span {
        font-size: 58px;
    }
}

.nk a {
    margin-top: 75px;
    color: #000;
    float: right;
    font-size: 18px;
    border: 1px solid #000;
    padding: 5px 50px
}

@media screen and (max-width:480px) {
    .nk a {
        margin-top: 20px;
        font-size: 10px;
        padding: 5px 30px
    }
}

@media screen and (min-width:1366px) {
    .nk a {
        font-size: 20px;
        padding: 10px 50px
    }
}

.nk a:hover {
    box-shadow: 0 0 8px gray;
}

.image img {
    position: absolute;
    top: 550px;
    left: 3%;
}
.image img.layout {
    position: absolute;
    top: 700px;
    left: 35%;
}

@media screen and (max-width:480px) {
    .image img {
        height: 150px;
        position: absolute;
        top: 240px;
        left: 3%;
    }
    .image img.layout {
        height: 20% !important;
        position: absolute;
        top: 400px;
        left: 35%;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .image img {
        width: 40%;
    }
    .image img.layout {
        top: 700px;
        left: 50%;
    }
}

@media screen and (min-width:1366px) {
    .image img {
        width: 40%;
        position: absolute;
        top: 850px;
        left: 3%;
    }
    .image img.layout {
        width: 40%;
        position: absolute;
        top: 1150px;
        left: 35%;
    }
}


/*間取り図*/

.pc-size {
    display: block !important;
}

.sp-size {
    display: none !important;
}

@media screen and (max-width: 480px) {
    .pc-size {
        display: none !important;
    }
    .sp-size {
        display: block !important;
        margin-top: 10px;
        width: 80%;
    }
}

@media screen and (min-width:1366px) {
    .pc-size {
        display: block !important;
        width: 130%;
    }
    .sp-size {
        display: none !important;
    }
}


/*文字たちの指定*/

.bc h4 {
    font-size: 24px;
}

.iro {
    color: #870200;
    font-size: 36px;
}

.sz {
    font-size: 18px;
}

.mini {
    font-size: 10px;
}

.bc p {
    font-size: 15px;
}

@media screen and (max-width: 480px) {
    .bc h4 {
        font-size: 18px;
    }
    .iro {
        font-size: 30px;
    }
    .sz {
        font-size: 15px;
    }
    .mini {
        font-size: 8px;
    }
    .bc p {
        font-size: 13px;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .bc h4 {
        font-size: 18px;
    }
    .iro {
        font-size: 30px;
    }
    .sz {
        font-size: 15px;
    }
    .mini {
        font-size: 8px;
    }
    .bc p {
        font-size: 13px;
    }
}

@media screen and (min-width:1366px) {
    .bc h4 {
        font-size: 30px;
    }
    .iro {
        font-size: 40px;
    }
    .sz {
        font-size: 24px;
    }
    .mini {
        font-size: 15px;
    }
    .bc p {
        font-size: 20px;
    }
}

.wrpr {
    width: 100%;
    height: 1700px;
    background-color: #C4B690;
    font-weight: normal;
    position: relative;
}

@media screen and (max-width:480px) {
    .wrpr {
        height: 2300px;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .wrpr {
        height: 1300px;
    }
}

@media screen and (min-width:1366px) {
    .wrpr {
        height: 2100px;
    }
}

.zi {
    width: 94%;
    background-color: #fff;
    margin: auto;
    position: absolute;
    top: 100px;
    left: 2%;
    right: 2%;
    z-index: 1
}

@media screen and (max-width:480px) {
    .zi {
        top: 70px;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .zi {
        height: 1150px;
    }
}

.wrpr h1 {
    font-size: 100px;
    color: #9D8033;
    position: absolute;
    top: 10px;
    left: 85px;
    z-index: 2
}

@media screen and (max-width:480px) {
    .wrpr h1 {
        font-size: 60px;
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 2
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .wrpr h1 {
        font-size: 80px;
        position: absolute;
        top: 30px;
        left: 30px;
        z-index: 2
    }
}

.floor {
    width: 800px;
    margin: auto;
    margin-top: 100px;
}

@media screen and (max-width:480px) {
    .floor {
        width: 90%;
        height: 80%;
        margin-top: 50px;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .floor {
        width: 80%;
        height: 80%;
        margin-top: 50px;
    }
}

@media screen and (min-width:1366px) {
    .floor {
        width: 80%;
    }
}

.floor h5 {
    font-size: 24px;
    padding-top: 80px;
    text-align: center;
    font-weight: normal;
}

@media screen and (max-width:480px) {
    .floor h5 {
        font-size: 16px;
        padding-top: 50px;
    }
    .floor-txt {
        display: inline-block;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .floor h5 {
        font-size: 18px;
        padding-top: 50px;
    }
    .floor-txt {
        display: inline-block;
    }
}

.floor a {
    color: #870200;
}

.floor a:hover {
    color: #ffcc00;
}

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


/*中身の位置調整*/

.bbc {
    display: flex;
}

.cb {
    padding-left: 120px;
}

.on {
    padding-top: 80px;
}

.bc {
    width: 50%;
    display: flex;
    justify-content: space-between;
}

.mzi {
    line-height: 15px;
    padding-top: 20px;
}

@media screen and (max-width:480px) {
    .bbc {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .cb {
        padding-left: 10px;
    }
    .on {
        padding-top: 10px;
    }
    .bc {
        width: 90%;
    }
}


/*ロケーション*/

.location {
    height: 1100px;
    width: 100%;
    font-weight: normal;
    position: relative;
}

.mm p {
    text-align: left;
}

@media screen and (max-width:480px) {
    .location {
        height: 500px;
        margin-top: 5em;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .location {
        height: 800px;
    }
}

@media screen and (min-width:1366px) {
    .location {
        height: 1500px;
    }
}

.loca {
    width: 35%;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.75);
    position: absolute;
    top: 65px;
    left: 60%;
    right: 10%;
    z-index: 2
}

@media screen and (max-width:480px) {
    .loca {
        width: 94%;
        text-align: center;
        position: absolute;
        top: 40px;
        left: 3%;
        z-index: 2
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .loca {
        width: 50%;
        position: absolute;
        top: 50px;
        left: 45%;
    }
}

.mm {
    width: 85%;
    padding: 50px 30px 30px 30px;
}

@media screen and (max-width:480px) {
    .mm {
        width: 90%;
        padding: 30px 20px 20px 20px;
    }
}

.location img {
    position: absolute;
    top: 380px;
    z-index: 1
}

@media screen and (max-width:480px) {
    .location img {
        position: absolute;
        top: 200px;
    }
}

@media screen and (min-width:1366px) {
    .location img {
        width: 90%;
    }
}

.loca h1 {
    font-size: 48px;
    line-height: 40px;
}

.loca h2 {
    font-size: 21px;
}

.mm p {
    font-size: 18px;
    padding-top: 60px;
}

@media screen and (max-width:480px) {
    .loca h1 {
        font-size: 30px;
        line-height: 30px;
    }
    .loca h2 {
        font-size: 16px;
    }
    .mm p {
        font-size: 15px;
        padding-top: 30px;
        font-weight: bold;
    }
}


/*概要*/

.out {
    background: linear-gradient(to bottom, #FFF, #DBD1B4 20%, #C4B690);
    margin-top: 100px;
    height: 1100px;
}

@media screen and (max-width:480px) {
    .out {
        margin-top: 30px;
        height: 950px;
    }
}

.ot {
    height: 930px;
}

@media screen and (max-width:480px) {
    .ot {
        height: 830px;
    }
}

table {
    width: 90%;
    margin: auto;
    margin-top: 100px;
    border: 1px solid #838383;
    border-collapse: collapse;
}

@media screen and (max-width:480px) {
    table {
        margin-top: 40px;
    }
}

@media screen and (min-width:1366px) {
    table {
        width: 60%;
    }
}

th {
    background: #0A2144;
    padding: 10px 0 10px 20px;
    border: 1px solid #838383;
    color: #fff;
    text-align: left;
}

@media screen and (max-width:480px) {
    th {
        font-size: 15px;
        padding: 5px 0 5px 10px;
    }
}

td {
    background: #fff;
    padding: 10px 0 10px 20px;
    border: 1px solid #838383;
}

@media screen and (max-width:480px) {
    td {
        font-size: 15px;
        padding: 5px 0 5px 10px;
    }
}


/*お問い合わせフォーム*/

.inquiry {
    width: 100%;
}

@media screen and (max-width:480px) {
    .inquiry {
        margin-bottom: 50px;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .inquiry {
        height: 1300px;
        border: 1px solid white;
    }
}

.contact {
    margin-top: 100px;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 35px 0 rgba(0, 0, 0, .5);
    background-color: #fff;
    position: relative;
    z-index: 1;
}

@media screen and (max-width:480px) {
    .contact {
        margin-top: 50px;
        width: 90%;
        position: relative;
        z-index: 1;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .contact {
        margin-top: 50px;
        width: 90%;
    }
}

.Form {
    margin-top: 80px;
    padding-bottom: 80px;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
}

.error {
    padding-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.Form h1 {
    font-size: 36px;
    text-align: center;
    padding-top: 70px;
    padding-bottom: 25px;
    font-weight: normal;
    letter-spacing: 0.05em;
}

@media screen and (max-width: 480px) {
    .Form h1 {
        font-size: 30px;
        padding-top: 50px;
    }
}

@media screen and (max-width: 480px) {
    .Form {
        margin-top: 30px;
    }
}

.Form-Item {
    border-top: 1px solid #E9DEC2;
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 480px) {
    .Form-Item {
        width: 80%;
        padding-left: 15px;
        padding-right: 30px;
        padding-top: 16px;
        padding-bottom: 16px;
        margin-left: auto;
        margin-right: auto;
        flex-wrap: wrap;
    }
}

@media screen and (min-width:768px) and ( max-width:1024px) {
    .Form-Item {
        width: 80%;
        padding-left: 15px;
        padding-right: 30px;
        padding-top: 16px;
        padding-bottom: 16px;
        margin-left: auto;
        margin-right: auto;
        flex-wrap: wrap;
    }
}

.Form-Item-Label {
    width: 100%;
    max-width: 248px;
    letter-spacing: 0.05em;
    font-size: 18px;
    padding-left: 20px;
    text-align: left;
}

@media screen and (max-width: 480px) {
    .Form-Item-Label {
        max-width: inherit;
        display: flex;
        align-items: center;
        font-size: 15px;
    }
}

.Form-Item-Label.isMsg {
    margin-top: 15px;
    margin-bottom: auto;
}

@media screen and (max-width: 480px) {
    .Form-Item-Label.isMsg {
        margin-top: 0;
    }
}

.Form-Item-Label-Required {
    margin-right: 8px;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-right: 20px;
    width: 48px;
    display: inline-block;
    text-align: center;
    background: #908032;
    color: #fff;
    font-size: 14px;
}

@media screen and (max-width: 480px) {
    .Form-Item-Label-Required {
        border-radius: 4px;
        padding-top: 4px;
        padding-bottom: 4px;
        width: 32px;
        font-size: 10px;
        margin-left: 25px;
    }
}

.Form-Item-Input {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 48px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #fff;
    font-size: 18px;
}

@media screen and (max-width: 480px) {
    .Form-Item-Input {
        width: 80%;
        margin-left: 35px;
        margin-top: 18px;
        height: 40px;
        flex: inherit;
        font-size: 15px;
    }
}

.Form-Item-Textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 216px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #fff;
    font-size: 18px;
}

@media screen and (max-width: 480px) {
    .Form-Item-Textarea {
        width: 80%;
        margin-top: 18px;
        margin-left: 35px;
        height: 200px;
        flex: inherit;
        font-size: 15px;
    }
}

.Form-Btn {
    border: none;
    border-radius: 6px;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    background: #908032;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, .5);
}

@media screen and (max-width: 480px) {
    .Form-Btn {
        margin-top: 24px;
        padding-top: 8px;
        padding-bottom: 8px;
        width: 160px;
        font-size: 16px;
    }
}

.Form-Btn:hover {
    box-shadow: none;
    transform: translate3d(0, 5px, 0);
    opacity: 0.7;
}

.check {
    padding-top: 20px;
    text-align: center;
}

.checkbox-input {
    display: none;
}

.checkbox-parts {
    padding-left: 20px;
    position: relative;
    margin-right: 20px;
}

.checkbox-parts::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    border: 1px solid #999;
    border-radius: 4px;
}

.checkbox-input:checked+.checkbox-parts {
    color: #D01137;
}

.checkbox-input:checked+.checkbox-parts::after {
    content: "";
    display: block;
    position: absolute;
    top: -5px;
    left: 5px;
    width: 7px;
    height: 14px;
    transform: rotate(40deg);
    border-bottom: 3px solid #D01137;
    border-right: 3px solid #D01137;
}

.check a {
    color: #800200;
}

.check a:hover {
    color: #C4B690
}


/*フッター*/

.footer-box {
    text-align: center;
    margin-top: 130px;
    padding-top: 150px;
    padding-bottom: 80px;
    background-image: url(/image/footer.png);
}

@media screen and (max-width:480px) {
    .footer-box {
        margin-top: 200px;
        padding-top: 180px;
        padding-bottom: 50px;
    }
}

.footer-box a {
    color: #000;
    font-size: 18px;
    padding-right: 15px;
}

@media screen and (max-width:480px) {
    .footer-box a {
        font-size: .75em;
        padding-right: 3px;
    }
}

.footer-box a:hover {
    color: #ffcc00;
}

.footer-box p {
    padding-top: 20px;
    font-size: 18px;
}

@media screen and (max-width:480px) {
    .footer-box p {
        padding-top: 10px;
        font-size: 10px;
    }
}

/** 追加部分 **/

/* TOPオススメ部 */

.osusume-box {
    padding:  10px;             /* 余白指定 */
    display: flex;              /* フレックスボックスにする */
    justify-content:center;
    color: black;
}

.osusume-box div.osusume-item {
    padding: 5px;
    margin:  10px;              /* 外側の余白 */
    border-radius:  5px;        /* 角丸指定 */
    width: 30%;                 /* 幅指定 */
    font-size: 1.5em;
    background-color:#FFF;}

@media screen and (max-width:480px) {
    .osusume-box div.osusume-item {
        font-size: 1em;
    }
}

/* 3科の誘致 */
.specialty-cards-box {
    display: block;
    justify-content: center;
    margin-top: 6em;
    margin-bottom: 6em;
}
.specialty-cards-box h3.title {
    margin: 2em auto;
    border-bottom: 2px solid #800200;
    max-width: 1200px;
    justify-content: center;
    text-align: center;
}
.specialty-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.specialty-card {
    background-color: white;
    color: #333;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 350px;
    text-align: left;
    overflow: hidden;
}

.specialty-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.specialty-card-content {
    padding: 25px;
}

.specialty-card h3 {
    color: #e74c3c;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.large-text {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .specialty-cards {
        flex-direction: column;
        align-items: center;
    }
}
