/* ------------------------------------------------
                    SP Design  
---------------------------------------------------*/


/* --------------
common                     
-----------------*/
html {
    scroll-behavior: smooth;
}

body {
    background-color: #F1F1F1;
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
    color: #3D3434;
    font-size: 18px;
}

.page {
    margin: 0 auto;
}

#Mainpage .toppage h1,
#Mainpage .aisatsu h1,
#Mainpage .oshinagaki,
#Mainpage .about h1,
#Mainpage .details h1 {
    font-family: "HG行書体", "HGP行書体", "cursive", 'Shippori Mincho', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
}

/* header ------------------------------*/

/* #Mainpage header .toppage img {
    width: 100%;
    background-size: cover;
    position: relative;
    z-index: -1;
    margin-bottom: 60px;
} */

header .toppage img {
    margin-bottom: 200px;
}


header .toppage .top-slider.pc-only {
    display: none;
}

header .toppage .pc-only {
    display: none;
}

header .toppage .hamburger-menu .hamburger-button {
    background-color: rgba(255, 255, 255, 0.3);
    /* border: 1px solid #343434; */
    position: fixed;
}


header .toppage .hamburger-nav {
    background-color: #AA0000;
}

header .toppage .hamburger-menu path {
    fill: #343434;
}

header .toppage .hamburger-menu ul {
    padding: 10px;
    text-align: center;
    font-size: 15px;
}

header .toppage .hamburger-menu li {
    padding: 10px;
    line-height: 23px;
    color: #ffffff;
}

/*ボトムナビゲーション*/
header .toppage .bottom-Nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    /* background-color: #AA0000; */
    z-index: 2;
    box-shadow: 0px -1px 5px #727272;
}

header .toppage .bottom-Nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    /* padding: 10px 0; */

}

header .toppage .bottom-Nav ul li {
    font-size: 20px;
}

header .toppage .bottom-Nav ul li:first-child {
    /* border-right: #ffffff 1px solid; */
    width: 50%;
    height: 80px;
    text-align: center;
    background-color: #AA0000;
    padding: 10px;
    line-height: 2.6;
    background-image: url(../images/icon_rightarrow.png);
    background-repeat: no-repeat;
    background-size: 8px;
    background-position: right 20px center;
    outline-offset: -8px;
    outline: 1px solid #Ffffff;
}

header .toppage .bottom-Nav ul li:last-child {
    width: 50%;
    text-align: center;
    background-color: #AA9300;
    height: 80px;
    padding: 10px;
    background-image: url(../images/icon_rightarrow.png);
    background-repeat: no-repeat;
    background-size: 8px;
    background-position: right 20px center;
    line-height: 1.25;
    outline-offset: -8px;
    outline: 1px solid #Ffffff;
}

header .toppage .bottom-Nav ul li span.font14 {
    font-size: 14px;
}

header .toppage .bottom-Nav ul li span {
    display: inline-block;
    width: 100%;
}

header .toppage .bottom-Nav ul li:first-child a {
    display: inline;
    vertical-align: middle;
}

header .toppage .bottom-Nav ul li:last-child a {
    display: inline;
    vertical-align: middle;
}


/* #Mainpage header .toppage h1 {
    color: #ffffff;
    text-align: center;
    margin: 0 auto;
    font-weight: 500;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
} */

header .toppage h1 span:first-child {
    font-size: 50px;
    writing-mode: vertical-lr;
    letter-spacing: 5px;
}

header .toppage h1 span:last-child {
    font-size: 25px;
    writing-mode: vertical-lr;
    padding-bottom: 75px;
}

/* button ------------------------------*/
.tp-btn {
    text-align: center;
    max-width: 300px;
    margin: 60px auto 100px auto;
    border: #AA0000 1px solid;
    color: #ffffff;
    background-color: #AA0000;
    border-radius: 50px;
}

.tp-btn a {
    display: block;
    padding: 20px;
}

/* font ------------------------------*/
.red {
    color: #AA0000;
}

/* footer ------------------------------*/
footer {
    background-color: #474747;
    width: 100%;
    color: #ffffff;
    padding: 15px 10px;
    text-align: center;
    font-size: 15px;
    margin-bottom: 83px;

    position: relative;
    bottom: 0;
}

/* --------------
top                     
-----------------*/
/* main aisatsu ------------------------------*/
#Mainpage main .aisatsu .top,
#Mainpage main .about,
#Mainpage main .info {
    text-align: center;
    padding: 35px 25px;
    line-height: 30px;
    margin-bottom: 80px;
    background-color: #Ffffff;
}

#Mainpage main .aisatsu,
#Mainpage main .info {
    width: 90%;
    margin: 0 auto 200px auto;
    margin-top: -50px;
    padding-top: 50px;
}

#Mainpage main .aisatsu h1,
#Mainpage main .about h1,
#Mainpage main .info h1,
#Errorpage main .error .title {
    margin-bottom: 30px;
    position: relative;
    font-size: 30px;
    margin-bottom: 50px;
    line-height: 35px;
}

#Mainpage main .aisatsu h1::after,
#Mainpage main .about h1::after,
#Mainpage main .info h1::after,
#Errorpage main .error .title::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    /* 位置調整 */
    transform: translate(-50%);
    /* 位置調整 */
    bottom: -20px;
    /* 下線の上下位置調整 */
    width: 35px;
    /* 下線の幅 */
    height: 1px;
    /* 下線の太さ */
    background-color: #3D3434;
    /* 下線の色 */
}

#Mainpage main .aisatsu .top p>span {
    font-weight: 700;
    font-size: 25px;
}

#Mainpage main .aisatsu .top p span:last-child {
    font-size: 20px;
}

#Mainpage main .aisatsu img {
    margin: 0 auto;
    width: 60%;
    display: block;
    margin-top: -200px;
}

#Mainpage main .aisatsu p,
#Mainpage main .about p {
    background-color: #Ffffff;
    margin-bottom: 200px;
}

/* main info ------------------------------*/
#Mainpage main .info dl {
    display: block;
    text-align: start;
    margin-bottom: 20px;
}

#Mainpage main .info dl dt {
    padding: 0;
}

/* main oshinagaki ------------------------------*/
#Mainpage main .oshinagaki h1 {
    font-size: 30px;
    background-color: #ffffff;
    text-align: center;
    padding: 25px;
    border-bottom: 2px solid #AA9300;
    margin-bottom: 10px;
}

#Mainpage main .oshinagaki .border {
    background-color: #ffffff;
    border-bottom: 12px solid #AA0000;
    margin-bottom: 50px;
}

#Mainpage main .oshinagaki {
    /* background-color: red; */
    text-align: center;
    width: 100%;
    margin: 0 auto 250px auto;
}

#Mainpage main .oshinagaki .top,
#Mainpage main .oshinagaki .center,
#Mainpage main .oshinagaki .bottom {
    background-color: #ffffff;
    width: 90%;
    margin: 0 auto;
}

#Mainpage main .oshinagaki .top h2,
#Mainpage main .oshinagaki .center h2,
#Mainpage main .oshinagaki .bottom h2 {
    padding-top: 30px;
    margin-bottom: 10px;
    font-size: 28px;
}

#Mainpage main .oshinagaki .top h3,
#Mainpage main .oshinagaki .center h3,
#Mainpage main .oshinagaki .bottom h3 {
    width: 65%;
    margin: 0 auto;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid #3D3434;
    font-size: 20px;
}

#Mainpage main .oshinagaki .top ul,
#Mainpage main .oshinagaki .center ul,
#Mainpage main .oshinagaki .bottom ul {
    padding-bottom: 30px;
    margin-bottom: 80px;
}

#Mainpage main .oshinagaki .top ul li,
#Mainpage main .oshinagaki .center ul li,
#Mainpage main .oshinagaki .bottom ul li {
    padding-bottom: 25px;
    font-size: 20px;
}


/* #Mainpage main .oshinagaki .top p,
#Mainpage main .oshinagaki .center p,
#Mainpage main .oshinagaki .bottom p {
    line-height: 40px;
    margin-bottom: 70px;
    padding-bottom: 80px;
    font-size: 20px;
} */

#Mainpage main .gridimage {
    margin-bottom: 250px;
    text-align: center;
}

#Mainpage main .gridimage img {
    width: 80%;
}


/* main about ------------------------------*/
#Mainpage main .about {
    width: 90%;
    margin: 0 auto 200px auto;
}

#Mainpage main .about p {
    margin-bottom: 100px;
}


/* main details ------------------------------*/
#Mainpage main .details .wrapper {
    padding-top: 200px;
    margin-top: -200px;
}

#Mainpage main .details .top img {
    width: 100%;
    background-size: cover;
    margin-bottom: 180px;
}

#Mainpage main .details .bottom img {
    display: none;
}

#Mainpage main .details h1 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 30px;
}

#Mainpage main .details .center table {
    margin: 0 auto 250px auto;
    line-height: 25px;

}

#Mainpage main .details th {
    text-align: center;
    vertical-align: top;
    padding: 10px;
    font-weight: 700;

}

#Mainpage main .details td {
    padding: 10px 0;
}

#Mainpage main .details .map {
    padding: 25px;
    text-align: center;
    margin-bottom: 100px;
}

#Mainpage main .details .form input {
    background-color: #ffffff;
    font-weight: 700;
    color: #AA0000;
    border-radius: 50px;
    border: 1px solid #828282;
    text-align: center;
    font-size: 13px;
    width: 150px;
    height: 40px;
    padding: 6px;
    display: block;
    margin: 0 auto;
}

#Mainpage main .details .otoiawase {
    padding-top: 200px;
    margin-top: -200px;
}

#Mainpage main .details .otoiawase .inner {
    background-color: #AA0000;
    color: #ffffff;
    margin: 0 auto 150px auto;
    width: 100%;
    text-align: center;
    padding: 30px;
}

#Mainpage main .details .otoiawase .top {
    padding: 20px;
    border-bottom: 1px solid #ffffff;
}

#Mainpage main .details .otoiawase h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

#Mainpage main .details .otoiawase .top p {
    font-size: 15px;
}

#Mainpage main .details .otoiawase .left {
    padding: 20px;
    border-bottom: 1px solid #ffffff;
    font-size: 15px;
    /* width: 300px;
    margin: 0 auto; */
}

#Mainpage main .details .otoiawase .left a {
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 10px;
}

#Mainpage main .details .otoiawase .left p img {
    width: 28px;
    height: auto;
    margin-right: 6px;
    margin-bottom: 3px;
}


#Mainpage main .details .otoiawase .left p,
#Mainpage main .details .otoiawase .right p {
    line-height: 20px;
}

#Mainpage main .details .otoiawase .wrapper h3 {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 18px;
}

#Mainpage main .details .otoiawase .right {
    padding: 20px;
    /* width: 300px;
    margin: 0 auto; */

}

/* --------------
news                     
-----------------*/
/* main n_info ------------------------------*/
#Newspage main .n_info {
    text-align: start;
    padding: 35px 25px;
    line-height: 30px;
    background-color: #Ffffff;
    margin: 100px auto 200px auto;
    width: 90%;
}

#Newspage main .n_info .title {
    margin-bottom: 30px;
    position: relative;
    font-size: 30px;
    margin-bottom: 50px;
    line-height: 35px;
    text-align: center;
}

#Newspage main .n_info .title::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    /* 位置調整 */
    transform: translate(-50%);
    /* 位置調整 */
    bottom: -20px;
    /* 下線の上下位置調整 */
    width: 35px;
    /* 下線の幅 */
    height: 1px;
    /* 下線の太さ */
    background-color: #3D3434;
    /* 下線の色 */
}

#Newspage main .n_info h1 {
    margin-bottom: 30px;
    font-size: 20px;
    margin-bottom: 20px;
    line-height: 35px;
    text-align: center;
}

#Newspage main .n_info span {
    margin-bottom: 30px;
    text-align: right;
    display: block;
    font-size: 15px;
}

#Newspage main .n_info .content p {
    margin-bottom: 20px;
}

/* --------------
error                     
-----------------*/
/* main error ------------------------------*/
#Errorpage main .error {
    text-align: start;
    padding: 35px 25px;
    line-height: 30px;
    background-color: #Ffffff;
    margin: 100px auto 0px auto;
    width: 90%;
}

#Errorpage main .error {
    padding: 20px;
}

#Errorpage main .error .title {
    text-align: center;
    display: block;
    margin-bottom: 20px;
    font-size: 25px;
}

#Errorpage main .error p {
    text-align: center;
    line-height: 1.7;
}

#Errorpage main .error p:first-child {
    padding-top: 20px;
}

#Errorpage footer {
    position: fixed;
    bottom: 0;
}




/* main slideshow ------------------------------*/
#Mainpage main .slideshow {
    margin-bottom: 250px;
}

#Mainpage main .slideshow img {
    margin: 0 auto;
    width: 60%;
    padding: 10px;
    margin-top: 15px;
}

/* #Mainpage main .slideshow::before {
    content: "";
    background-color: red;
    display: block;
    content: "";
    width: 60%;
    height: 40%;
    position: absolute;
    right: 0;
} */