@charset "utf-8";

/*共通項目*/

html {
    scroll-behavior: smooth;
}

body,
input {
    /*
    font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
    line-height: 1.5;
    */
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
}

a,
li {
    transition: 0.5s;
}

a:hover,
li:hover {
    transition: 0.5s;
}

a.link {
    color: #1A0DAB;
    text-decoration: underline;
}

.bgpaper {
    background-image: url(../image/ULOCO.png);
}

.bgpng {
    background-image: url(../image/bg.png);
}

.yu-mincho {
    font-family: "Yu Mincho", "YuMincho", serif;
}

.small {
    font-size: 90%;
}

b,
strong,
.bold {
    font-weight: bold;
}

a {
    text-decoration: none;
    color: #000;
}

a:hover img {
    opacity: 0.8;
}

.pc_none {
    display: none;
}

.sp_none {
    display: block;
}

.p10 {
    padding: 10px;
}

.p20 {
    padding: 20px;
}

.px20 {
    padding: 0 20px;
}

.py10 {
    padding: 10px 0;
}

.py60 {
    padding: 60px 0;
}

.pt60 {
    padding-top: 60px;
}

.pt20 {
    padding-top: 20px;
}

.pt100 {
    padding-top: 100px;
}

.pb10 {
    padding-bottom: 10px;
}
.pb20 {
    padding-bottom: 20px;
}

.pb30 {
    padding-bottom: 30px;
}

.pb60 {
    padding-bottom: 60px;
}

.pb100 {
    padding-bottom: 100px;
}

.pr10 {
    padding-right: 10px;
}

.pr20 {
    padding-right: 20px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb30 {
    margin-bottom: 30px;
}

.mt30 {
    margin-top: 30px;
}

.container-wide {
    width: 1200px;
    margin: 0 auto;
}

.container {
    width: 950px;
    margin: 0 auto;
}

.container-mini {
    width: 680px;
    margin: 0 auto;
}
.display-ib{
    display: inline-block;
}

.hasu {
    font-size: 28px;
    /*    padding: 20px 10px 20px 55px;*/
    padding: 90px 10px 20px 55px;
    margin: -70px 0 10px;
    color: #475842;
    border-bottom: 1px dashed #bbb;
    background-image: url(../image/hasu.jpg);
    -webkit-background-size: 80px;
    background-size: 80px;
    background-repeat: no-repeat;
    background-position: 100% 100%;
    position: relative;
    z-index: 10;
}

.hasu:before {
    content: "";
    background-image: url(../image/suisai.png);
    -webkit-background-size: 60px;
    background-size: 60px;
    background-repeat: no-repeat;
    background-position: 0% 90px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-around {
    justify-content: space-around;
}

.align-items-center {
    align-items: center;
}

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

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

.lh200 {
    line-height: 2;
}

.lh170 {
    line-height: 1.7;
}


/*TOPページメイン画像*/

.slide-animation {
    animation: fadezoom 8s 0s forwards;
    overflow: hidden;
}

@keyframes fadezoom {
    0% {
        transform: scale(1.01);
    }
    100% {
        transform: scale(1.03);
    }
}


/**/

#main_image_wrap {
    position: relative;
}

.box {
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    padding: 10px;
}

#main_image_wrap #mainimage img {
    width: 100%;
    object-fit: cover;
    font-family: 'object-fit: cover;'; /* IE対策 */
    max-height: 850px;
}

#main_image_wrap #logo {
    position: absolute;
    top: 45%;
    left: 50%;
    display: inline;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: left;
    filter: drop-shadow(3px 3px 5px #333);
}

#main_image_wrap #logo>img {
    padding-bottom: 20px;
}

#main_image_wrap #logo h1 {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    color: #fff;
    line-height: 45px;
}

h1 .syuha {
    font-size: 18px;
    letter-spacing: 5px;
}

h1 .junkyoji {
    font-size: 50px;
    letter-spacing: 25px;
}

.hamburger {
    display: none;
}

.globalMenuSp {
    display: none;
}

header {
    position: relative;
    bottom: 60px;
    left: 0;
    right: 0;
    margin: auto;
    background: rgba(255, 255, 255, 0.8);
}

header nav {
    width: 1200px;
    margin: 0 auto;
}

header nav ul {
    height: 60px;
    display: flex;
    justify-content: space-around;
}

header nav ul li {
    padding: 20px;
    color: #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

header nav ul li.fixed_sitename {
    padding: 20px;
}


/*サイト名の動き*/

header.initial .fixed_sitename {
    display: none;
}

header.fixed .fixed_sitename {
    display: block;
}

.fixed_sitename {
    display: block;
}

#sp_logo,
#sp_name {
    display: none;
}


/*fixedクラス付与*/

header.fixed {
    position: sticky;
    z-index: 200;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
    border-bottom: 1px solid #7c994d;
    width: 100%;
    min-width: 1200px;
    background: rgb(255, 255, 255, 0.95);
}

header.fixed nav {
    width: 100%;
}

header.fixed nav ul {
    justify-content: flex-end;
}

header.fixed nav ul li {
    font-size: 16px;
    font-weight: bold;
}

header.fixed nav ul li.fixed_sitename {
    display: flex;
    align-items: center;
    font-size: 24px;
    letter-spacing: 19px;
    font-weight: bold;
    margin-right: auto;
    margin-left: 0;
    ;
    flex: 1;
}

header.fixed nav ul li.fixed_sitename:before {
    content: "";
    width: 40px;
    height: 40px;
    margin-right: 13px;
    background-image: url(../image/top/kamon_green.svg);
    -webkit-background-size: cover;
    background-size: cover;
}

header.fixed nav ul li.fixed_sitename a .navisyuha {
    display: block;
    font-size: 14px;
    letter-spacing: initial;
    padding-bottom: 2px;
    margin-left: -2px;
}


/*アクティブ*/

.active a {
    color: #475842;
    text-decoration: underline;
}


/*NEWSエリア*/

#news h2 {
    background-image: url(../image/top/kamon.png);
    background-repeat: no-repeat;
background-position: 50% 25%;
text-align: center;
padding: 10px 0 60px;
}

#news h2 span {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: 26px;
    letter-spacing: 10px;
}


/**/

#newsWrap {
    padding-top: 60px;
    padding-bottom: 60px;
}

#newsWrap_top {
    padding-bottom: 30px;
}

#newsList {
    max-width: 650px;
    margin: 0 auto 30px;
}

#newsList li {
    padding: 25px 0;
    border-bottom: 1px dotted #7c994d;
    list-style-type: none;
}

#newsList a:hover li {
    background: #EDF4EA;
}

.up_ymd {
    margin-right: 10px;
}

.catName {
    color: #fff;
    background: #7c994d;
    padding: 2px 10px;
    margin-right: 10px;
    font-size: 16px;
}

.old_news {
    margin-top: 30px;
    margin-bottom: 100px;
}

.old_news a {
    border: 2px solid #7c994d;
    padding: 10px 25px;
    width: 250px;
    margin: 0 auto 50px;
    text-align: center;
    background: #7c994d;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    display: inline-block;
}

.old_news a:hover {
    background: #fff;
    color: #7c994d;
}

.news_button a {
    color: #fff;
    background: #7c994d;
    border: 2px solid #7c994d;
    padding: 10px 25px;
    width: 250px;
    text-align: center;
    margin: 0 auto;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
}

.news_button a:hover {
    background: #fff;
    color: #7c994d;
}

.newMark {
    display: inline-block;
    padding: 1px 4px;
    font-size: 13px;
    color: #c00;
    border-radius: 8px;
    margin-left: 10px;
    font-family: sans-serif;
}

.pNav {
    font-size: 14px;
    line-height: 1.75;
    position: relative;
    z-index: 11;
}

.pNav>div {
    padding: 15px 0;
}

.pNav>div>a {
    color: #475842;
    text-decoration: underline;
    padding: 10px 5px;
}

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

.pager a {
    border: 1px solid #000;
    width: 35px;
    height: 35px;
    display: inline-block;
    text-align: center;
    line-height: 35px;
    margin: 0 3px;
}

.pager a:hover,
.pager a.current {
    border: 1px solid #7c994d;
    background: #7c994d;
    color: #fff;
}

h3.newshead:before {
    border-top: 20px solid #7c994d;
    width: 20px;
    padding-bottom: 30px;
    margin: 0 auto;
    content: "";
    display: block;
}

h3.newshead {
    font-size: 30px;
    text-align: center;
    padding: 50px 0 10px;
    font-weight: bold;
}

#up_ymd {
    text-align: center;
    font-size: 14px;
}

#detail {
    margin-top: 60px;
    margin-bottom: 60px;
    min-height: 300px;
    font-size: 18px;
    position: relative;
    border-radius: 5px;
    padding-bottom: 60px;
    ;
}

#detail_dayori {
    background: rgb(255, 255, 255, 0);
    min-height: 300px;
    font-size: 18px;
    position: relative;
    border-radius: 5px;
    padding-bottom: 60px;
    ;
}

.detail_inner {
    max-width: 700px;
    padding: 60px 0;
    margin: 0 auto;
}

.detailUpfile {
    margin: 5px 0 35px;
    text-align: center;
}

.detailUpfile a {
    color: #0074E8;
    text-decoration: underline;
}

.detailUpfile a img {
    vertical-align: middle;
}

.title_dayori {
    background-color: #f2f2f2;
    padding: 10px 10px 10px 20px;
    border: #f0f0f0 1px solid;
    border-radius: 5px;
    position: relative;
    display: block;
    font-weight: bold;
}

.title_dayori::before {
    content: "";
    width: 1em;
    height: 1px;
    top: 0;
    bottom: 0;
    position: absolute;
    left: -0.6em;
    background-color: #888;
    margin: auto;
}

#dayoriList_bak li {
    margin-left: 20px;
}

#dayoriList_bak li a {
    color: #0074E8;
    text-decoration: underline;
}

#dayoriList_bak .title {
    padding: 5px;
    background-color: transparent;
    border: none;
    border-radius: 5px;
    position: relative;
    display: block;
    font-weight: normal;
}

#dayoriList_bak .title::before {
    display: none;
}

.comment {
    padding: 30px;
    line-height: 1.7;
}


/**/

#dayoriWrap {
    padding-top: 60px;
}

#dayoriList {
    margin: 0 auto 30px;
    max-width: 600px;
}

#dayoriList a:hover {
    opacity: 0.8;
}

#dayoriList li {
    padding: 25px 0;
    border-bottom: 1px dotted #7c994d;
    list-style-type: none;
}

#dayori_page h3:before {
    border-top: 20px solid #7c994d;
    width: 20px;
    padding-bottom: 30px;
    margin: 0 auto;
    content: "";
    display: block;
}

#dayori_page h3 {
    font-size: 30px;
    text-align: center;
    padding: 50px 0 50px;
    font-weight: bold;
}


/**/

#contents {
    padding-bottom: 0;
}

.contents_wrap {
    background-color: #f2f2f2;
}

.kuwashiku {
    border: 1px solid #7c994d;
    padding: 10px;
    width: 250px;
    margin: 0 0 0 auto;
    text-align: center;
    background: #fff;
}

#contentsgrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 393px 393px 393px;
    gap: 10px;
    padding-bottom: 10px;
    padding-top: 10px;
}


/*1つめだけ大きく*/

.grid-big-top {
    grid-column: 1/4;
    grid-row: 1/2;
}

.grid-big-top a {
    text-align: right;
    justify-content: flex-start !important;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
}

.grid-big-top a span {
    font-size: 18px;
    padding-right: 30px;
    padding-top: 40px;
}

.grid-big-top a span.his_bold {
    font-size: 32px;
    padding-right: 150px;
}

#contentsgrid li {
    overflow: hidden;
    list-style-type: none;
    background: rgb(0, 0, 0, 0.8);
    transition: .8s;
}

#contentsgrid li a {
    transition: .8s;
}

#contentsgrid li:hover {
    background: rgb(0, 0, 0, 0.4);
    transition: .8s;
}

#contentsgrid li:hover a {
    transform: scale(1.01);
    transition: .8s;
}

#contentsgrid li.c00>a {
    background-image: url(../image/top/contents01.png);
}

#contentsgrid li.c01>a {
    background-image: url(../image/top/contents02.png);
}

#contentsgrid li.c02>a {
    background-image: url(../image/top/contents03.png);
}

#contentsgrid li.c03>a {
    background-image: url(../image/top/contents04.png);
}

#contentsgrid li.c04>a {
    background-image: url(../image/top/contents05.png);
}

#contentsgrid li.c05>a {
    background-image: url(../image/top/contents06.png);
}

#contentsgrid li.c06>a {
    background-image: url(../image/top/contents07.png);
}

#contentsgrid li a {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: 26px;
    letter-spacing: 5px;
    font-weight: bold;
    width: 100%;
    height: 100%;
    color: #fff;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    text-align: left;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    background-position: center center;
}

footer {
    border-top: 1px solid #ccc;
    background-image: url(../image/bgfooter.png);
}

footer nav {
    margin: 0 auto;
    background: rgba(242, 242, 242, 0.5);
    border-bottom: 1px solid #fff;
}

footer nav ul {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: 1200px;
    margin: 0 auto;
    border-left: 1px solid #ccc;
    /*
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
*/
}

footer nav ul li {
    position: relative;
    padding: 10px;
    display: inline-block;
    border-right: 1px solid #ccc;
    border-left: 1px solid #fff;
    text-align: center;
}


/*

footer nav ul li::before {
    content: "";
    width: 0.5em;
    height: 1px;
    top: 0;
    bottom: 0;
    position: absolute;
    left: 0.6em;
    background-color: #888;
    margin: auto;
    transition: 0.4s ease-in-out;
}
*/


/*
footer nav ul li:hover::before {
    width: 0.6em;
    left: -0.3em;
    transition: 0.4s ease-in-out;
}
*/

footer nav ul li:hover a {
    color: #7c994d;
    text-decoration: underline;
}

footer nav ul li a {
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 17px;
}

footer>div {
    padding: 60px 20px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    text-align: center;
}

footer>div h2 {
    font-size: 32px;
    letter-spacing: 10px;
    padding-bottom: 10px;
}


footer>div a.footer_name{
    width: 200px;
    display: inline-block;
}
footer>div a.footer_name:hover h2{
   opacity: 0.8;
}

footer>div h2 span {
    font-size: 14px;
    display: block;
    letter-spacing: 2px;
    padding-bottom: 10px;
}

footer .kamon {
    width: 80px;
}

footer>div address {
    padding-top: 5px;
    font-style: normal;
    line-height: 2;
}

footer .copy {
    width: 1200px;
    margin: 0 auto;
    text-align: center;
}

footer .copy small {
    padding: 25px;
    display: inline-block;
}


/***********************************************/


/*

section[id$="_page"]{
    position: relative;
}

section[id$="_page"] .main_headline {
    color: #fff;
    text-align: center;
    font-size: 36px;
    letter-spacing: 2px;
    width: 100%;
    margin: 0 auto;
    position: absolute;
    top:0;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}
.main_headline h2 {
    filter: drop-shadow(3px 3px 5px #333);
}


.header-pattern{
    position: absolute;
    z-index: 4;
    -webkit-background-size: auto;
    background-size: auto;
    background-image: repeating-linear-gradient(225deg,transparent,transparent 2px,#fff 3px,#fff 3px);
}

.header-pattern, .header-img img{
    height: 240px;
    width: 100%;
    object-fit: cover;
}
*/

.headline_wrap {
    position: relative;
    margin-bottom: .5rem;
    top: -70px;
    margin-bottom: -70px;
}

.header-text {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    text-align: center;
}

.header-name {
    color: #000;
    background: rgba(255, 255, 255, 0.9);
    font-size: 40px;
    margin-bottom: 1rem;
    /*    filter: drop-shadow(3px 3px 5px #333);*/
    margin-top: 70px;
    padding: 30px;
    border-radius: 10px;
}

.header-pattern {
    position: absolute;
    z-index: 1;
    background-size: auto auto;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgb(0, 0, 0, 0.5) 2px, rgb(0, 0, 0, 0.5) 4px);
}

.headline_wrap img {
    object-fit: cover;
    font-family: 'object-fit: cover;'; /* IE対策 */
    object-position: center center;
    opacity: var(--video-opacity);
}

.header-text,
.header-pattern,
.headline_wrap img {
    width: 100%;
    min-width: 1200px;
    height: 350px;
}

.active_sidenavi {
    position: relative;
    background-color: #EDF4EA;
}

.active_sidenavi a {
    color: #475842;
    display: block;
}

.sidenav {
    border-radius: 5px;
    padding: 10px;
    background-color: #fff;
    position: sticky;
    top: 80px;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    border-top: 8px solid #7c994d;
}

.sidenav h4 {
    text-align: center;
    padding: 20px 0 40px;
    position: relative;
    font-size: 20px;
    letter-spacing: 2px;
}

.sidenav h4.kamon {
    /*background-image: url(../image/top/kamon.png);*/
    background-image: url(../image/top/kamon_menu.png);
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: 50% 0;
    margin-bottom: 10px;
    border-bottom: 1px dashed #7c994d;
}

.sidenav>ul>li {
    padding: 5px;
    border-bottom: 1px dotted #ccc;
}

.sidenav>ul>li>a {
    display: block;
}

.sidenav>ul>li:hover {
    display: block;
    background-color: #EDF4EA;
}

.sidenav>ul>li>ul>li {
    padding-top: 10px;
    padding-top: 10px;
}

.sidenav>ul>li>ul>li:first-of-type {
    margin-top: 10px;
}

.sidecontents {
    /*    padding: 10px 20px;*/
    padding: 10px 40px;
    border-radius: 5px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    /*    margin-bottom: 30px;*/
}

.SideGridStyle {
    padding: 0 10px;
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 10px;
}

.sidecontents h4 {
    background-color: #f2f2f2;
    padding: 5px 10px 5px 20px;
    border: #f0f0f0 1px solid;
    border-radius: 5px;
    position: relative;
}

.sidecontents h4::before {
    content: "";
    width: 1em;
    height: 1px;
    top: 0;
    bottom: 0;
    position: absolute;
    left: -0.6em;
    background-color: #888;
    margin: auto;
}

.sidecontents dd {
    padding-bottom: 10px;
}

.sidecontents ol {
    padding: 10px 0;
}

.sidecontents ol li {
    list-style-type: none;
}

.sidecontents ol li {
    margin-left: 1.5em;
    padding: 4px 0;
}

ol.number li {
    list-style-type: decimal;
}

ol.katakana li {
    list-style-type: katakana;
}

.chusyaku {
    background: #f2f2f2;
    font-size: 80%;
    padding: 10px 20px;
    margin-top: 10px;
}

.pageindexnav {
    border-radius: 5px;
    padding: 10px;
    background-color: #fff;
    top: 80px;
}

.pageindexnav .icon {
    width: 50px;
    color: #000;
    padding-right: 10px;
}

.sidenav .icon {
    width: 30px;
    color: #000;
    padding-right: 10px;
}

.pageindexnav h4 {
    text-align: center;
    padding: 40px 0 30px;
    background-image: url(../image/line2.png);
    background-repeat: repeat-x;
    background-color: #F6F8E5;
    font-size: 20px;
}

.pageindexnav ul li {
    border-bottom: 1px dotted #ccc;
}

.pageindexnav ul li a {
    padding: 20px 10px;
    display: flex;
    align-items: center;
}

.sidenav ul li a {
    padding: 5px 10px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.pageindexnav ul li:hover {
    display: block;
    background-color: #EDF4EA;
}

.qanda dt {
    padding: 20px 10px;
    background-color: #EDF4EA;
}

.qanda dt::before {
    content: "Q";
    font-size: 34px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    padding-right: 10px;
    position: relative;
    top: 4px;
    color: #7c994d;
    line-height: 1rem;
}

.qanda dd {
    padding: 20px 10px 50px;
}

.qanda dd::before {
    content: "A";
    font-size: 34px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    padding-right: 10px;
    color: #c55;
    line-height: 1rem;
    position: relative;
    top: 4px;
}

.funeraldl {
    border: 1px solid #c55;
    padding: 10px;
    margin: 10px 0;
}

.funeraldl dt {
    padding-bottom: 10px;
}

.funeraldl dd {
    padding-left: 10px;
}

.gojikaidl {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 3px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.gojikaidl dd,
.gojikaidl dt {
    background: #fcfcfc;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

.grid_access {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 40px;
    line-height: 1.7;
}

.grid_access address {
    font-style: normal;
}

.grid_access dt {
    background-color: #f2f2f2;
    padding: 5px 10px 5px 20px;
    border: #f0f0f0 1px solid;
    border-radius: 5px;
    position: relative;
}

.grid_access dt::before {
    content: "";
    width: 1em;
    height: 1px;
    top: 0;
    bottom: 0;
    position: absolute;
    left: -0.6em;
    background-color: #888;
    margin: auto;
}

.grid_access dd {
    padding: 10px 20px 20px;
}

.grid_access ul {
    margin-left: 1.5rem;
}


/*history*/

.historyindexnav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.historyindexnav ul li {
    text-align: center;
    /*   border:5px solid #EDDEC7;*/
    border: 5px solid #7c994d;
    margin: 1rem 1rem 5rem;
    padding: 1rem 1rem 2rem;
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px
}

.historyindexnav ul li:hover {
    transform: translateY(2px);
}

.historyindexnav ul li img {
    border: 2px solid #7c994d;
    padding: 10px;
    max-width: 339px;
    width: 100%;
}

.historyindexnav ul li span {
    display: block;
}

.historyindexnav ul li span.rekishi {
    padding-top: 1rem;
}

.historyindexnav ul li span.title {
    font-size: 1.8rem;
    font-weight: bold;
    padding: 0.5rem 0 1rem;
    letter-spacing: 2px;
    color: #475842;
}

.historyindexnav ul li span.title:after {
    content: "";
    background-image: url(../image/history/line.jpg);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    display: block;
    height: 5px;
    width: 150px;
    margin: 0 auto;
    padding-top: 1rem;
}

.historyindexnav ul li span.setsumei {
    line-height: 1.8;
    padding-bottom: 1rem;
    font-size: 16px;
    text-align: left;
}

.historyindexnav ul li span.kuwashiku {
    font-size: 16px;
    text-align: center;
    margin: 0 auto;
}

.indent {
    text-indent: 1em;
}

.story p {
    text-indent: 1em;
}

.story h4 {
    margin-bottom: 10px;
}

.storyimg {
    display: flex;
    justify-content: center;
}

.storyimg figure {
    text-align: center;
}

.storyimg figcaption {
    font-size: 14px;
    margin-top: -15px;
    margin-bottom: 15px;
}

.storyimg img {
    max-width: 300px;
    width: 100%;
    padding: 10px;
}

.indent br:after {
    content: "　";
    display: block;
    padding-right: 1rem;
}

.intro {
    line-height: 2;
    text-align: center;
    padding-bottom: 60px;
}

.staff_wrap {
    padding: 20px;
}

.staff_wrap h4,
.staff_wrap_2 h4,
.staff_wrap_roin h4 {
    background-color: #f2f2f2;
    padding: 8px 10px 8px 20px;
    border: #f0f0f0 1px solid;
    border-radius: 5px;
    position: relative;
    font-weight: bold;
    font-size: 20px;
}

.staff_wrap h4::before,
.staff_wrap_2 h4::before ,
.staff_wrap_roin h4::before {
    content: "";
    width: 1em;
    height: 1px;
    top: 0;
    bottom: 0;
    position: absolute;
    left: -0.6em;
    background-color: #888;
    margin: auto;
}

.staff_wrap>div img {
    width: 100%;
    max-width: 250px;
/*    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;*/
}

.staff_wrap>div {
    display: grid;
    grid-template-columns: 250px 1fr;
    position: relative;
    left: 20px;
    top: 20px;
    margin-bottom: 60px;
}

.staff_wrap>div>p:nth-of-type(2) {
    padding: 30px;
    position: relative;
    left: -20px;
    top: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    font-size: 18px;
}

.staff_wrap>p {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    padding: 30px;
    margin-bottom: 20px;
}

.staff_wrap p .small {
    
    color: #333;
}

.staff_wrap_2{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}
.staff_wrap_2 > div{
    margin-right: 15px;
    margin-left: 15px;
    flex:1;
    text-align: center;
}
.staff_wrap_2 h4{
    text-align: left;
}
.staff_wrap_2 > div p{
    text-align: left;
}

.staff_wrap_roin{
   padding: 20px;
}
.staff_wrap_roin>div{
   display: -webkit-flex;
   display: -moz-flex;
   display: -ms-flex;
   display: -o-flex;
   display: flex;
    padding: 20px;
}

.staff_wrap_roin>div>p:first-of-type{
    flex:1;
}
.staff_wrap_roin>div>p:last-of-type{
    flex:2;
}
.shugo {
    
    text-align: center;
}
.shugo img {
    width: 90%;
}

#contactpage .tel {
    font-size: 30px;
    font-weight: bold;
    font-family: sans-serif;
    color: #475842;
    padding: 20px 30px;
}

section#contact p:first-of-type {
    text-align: center;
    line-height: 2.0em;
    padding-top: 30px;
    padding-bottom: 30px;
}

.formTable {
    margin: 0 auto;
    width: 100%;
    table-layout: fixed;
    word-break: break-all;
    word-wrap: break-all;
}

.formTable tr {
    border-bottom: 3px solid #fff;
}

.formTable th {
    text-align: right;
    padding: 10px 10px 10px;
    vertical-align: top;
    vertical-align: middle;
    width: 21%;
}

.formTable td {
    padding: 10px 10px 10px;
}

.formTable input {
    border: 1px solid transparent;
    background: #f2f2f2;
    padding: 5px 10px;
    width: 80%;
    font-family: "Yu Gothic", "YuGothic", sans-serif;
}

.formTable input[name="郵便番号1"] {
    width:50px;
    display: inline;
}
.formTable input[name="郵便番号2"] {
    width:150px;
    display: inline;
}

.formTable input[type="submit"] {
    border: 2px solid #222;
}

.formTable select {
    border: 1px solid #ccc;
    padding: 10px 10px;
    background: #f2f2f2;
    font-size: 18px;
    
    font-family: "Yu Gothic", "YuGothic", sans-serif;
}

.formTable textarea {
    border: 1px solid transparent;
    background: #f2f2f2;
    width: 80%;
    padding: 5px 10px;
    font-family: "Yu Gothic", "YuGothic", sans-serif;
}

.formTable span.required {
    background-color: #fff;
    padding: 5px 10px;
    color: firebrick;
    border-radius: 15px;
}

.formTable span.supplement {
    font-size: 14px;
    padding-left: 10px;
    padding-top: 10px;
    display: inline-block;
}

/* NGなら赤くする */
 input:focus:invalid {
  border : tomato 2px solid;
}
/* 操作中、入力値が正しい場合は、不正エラーを消す */
 input:focus:valid + .error .invalid {
  display : none;
}

#policy dl {
    padding: 30px;
}

#policy dl dt {
    background-color: #f2f2f2;
    padding: 8px 10px 8px 20px;
    border: #f0f0f0 1px solid;
    border-radius: 5px;
    position: relative;
    margin-bottom: 10px;
    font-weight: bold;
}

#policy dl dt::before {
    content: "";
    width: 1em;
    height: 1px;
    top: 0;
    bottom: 0;
    position: absolute;
    left: -0.6em;
    background-color: #888;
    margin: auto;
}

#policy dl dd {
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 16px;
}