/* 共通 */
li {
    list-style: none;
}
a,
button,
.button {
    cursor: pointer;
}
a:hover,
button:hover,
.button:hover {
    opacity: 0.8;
}
button,
input.button {
    border: none;
}
p,
div {
    text-align: left;
    word-break: break-all;
}
.center {
    text-align: center;
}
@media screen and (max-width: 576px) {
    p.center {
        text-align: left;
    }
}

/* header */
header {
    background-color: #207e3b;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    box-shadow: 0px 5px 5px -1px rgba(0, 0, 0, 0.3);
    z-index: 999;
}
h1 {
    margin: auto 30px auto 20px;
    height: 60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
h1 img {
    width: 110px;
    vertical-align: middle;
}
h1 a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
}
h1 a span {
    margin-left: 1rem;
    vertical-align: middle;
    display: inline-block;
    margin-top: 10px;
}
/* header */
.header-nav > ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 60px;
}
.header-nav > ul li dt {
    padding: 0 10px;
    height: 60px;
    line-height: 60px;
    box-sizing: border-box;
    font-size: 14px;
    cursor: pointer;
}
.header-nav > ul li dt > i {
    display: none;
}
.header-nav > ul li:hover dt,
.header-nav li.entry:hover {
    background-color: #fff;
}
.header-nav > ul > li:hover dt a,
.header-nav ul li:hover dt {
    color: #207e3b;
}
.header-nav li.entry:hover a {
    color: #ff940e;
}
.header-nav li.entry {
    background-color: #ff940e;
    padding: 0 30px;
    height: 60px;
    line-height: 60px;
}
.header-nav > ul > li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    height: 100%;
    width: 100%;
}
.header-nav > ul li.entry a {
    font-size: 16px;
    font-weight: bold;
}
.header-nav > ul > li a:hover {
    opacity: 1;
    font-weight: bold;
}
.header-nav dd ul.sub-nav {
    position: absolute;
    background-color: rgb(242, 247, 242, 0.9);
    border: 1px solid #207e3b;
    top: 100%;
    left: 0;
    width: 100vw;
    box-sizing: border-box;
    padding: 10px calc((100vw - 1000px) / 2);
    display: none;
    max-height: calc(100vh - 60px);
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    box-shadow: 0px 5px 5px -1px rgba(0, 0, 0, 0.3);
}
ul.sub-nav li {
    padding: 10px;
    margin: 0;
    box-sizing: border-box;
    width: calc(100% / 3);
}
ul.sub-nav li.wide {
    width: 100%;
}
ul.sub-nav li > a {
    font-size: 16px;
}
ul.sub-nav li a {
    color: #207e3b;
}
ul.sub-nav li a:hover {
    font-weight: bold;
}
.menu-sp {
    display: none;
}
#layer-dark {
    display: none;
}
@media screen and (max-width: 1122px) {
    .menu-sp {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        margin: 0 0 0 auto;
    }
    .menu-sp .icon-wrap {
        padding: 0 1rem;
        cursor: pointer;
        text-align: center;
        width: 32px;
    }
    .menu-sp i {
        line-height: 60px;
        font-size: 32px;
    }
    .menu-sp i:hover {
        opacity: 0.8;
    }
    .menu-sp a.entry {
        display: inline-block;
        height: 60px;
        color: #fff;
        text-decoration: none;
        padding: 0 30px;
        line-height: 60px;
        background-color: #ff940e;
        font-weight: bold;
    }
    .header-nav {
        display: none;
        position: fixed;
        top: 60px;
        width: 500px;
        right: -500px;
        z-index: 900;
        height: calc(100vh - 60px);
        background-color: #fff;
    }
    .header-nav > ul {
        height: 100%;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        display: block;
    }
    .header-nav > ul > li {
        background-color: #fff;
        border-bottom: 1px solid #207e3b;
        border-left: 1px solid #207e3b;
        margin: 0;
    }
    .header-nav > ul li dt > i {
        display: inline-block;
        margin-left: 10px;
    }
    .header-nav ul li a,
    .header-nav ul li dt {
        color: #207e3b;
        font-size: 16px;
        position: relative;
    }
    .header-nav ul li.entry {
        display: none;
    }
    .header-nav dd ul.sub-nav {
        position: unset;
        width: 100%;
        border: none;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 10px;
    }
    ul.sub-nav li {
        padding-left: 20px;
        width: 100%;
    }
    .header-nav ul li dt i {
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 20px;
    }
    .header-nav ul li dt:hover {
        background-color: #207e3b;
        color: #fff;
    }
    .header-nav ul li dt:hover a {
        color: #fff;
    }
    #layer-dark {
        display: none;
        height: 100vh;
        position: fixed;
        width: 100%;
        background-color: rgba(70, 70, 70, 0.5);
        z-index: 800;
    }
}

@media screen and (max-width: 768px) {
    header {
        height: 48px;
    }
    header h1 {
        height: 48px;
        margin: 0 1rem;
    }
    h1 img {
        width: 80px;
    }
    h1 a span {
        display: none;
    }
    .menu-sp .icon-wrap {
        width: 24px;
    }
    .menu-sp i {
        line-height: 48px;
        font-size: 24px;
    }
    .menu-sp a.entry {
        display: inline-block;
        height: 48px;
        line-height: 48px;
        padding: 0 20px;
    }
    .header-nav {
        display: none;
        position: absolute;
        top: 48px;
    }
}
@media screen and (max-width: 576px) {
    .header-nav {
        width: 100%;
        right: -100%;
    }
}
/* footer */
footer {
    width: 100%;
    background-color: #fcfef6;
    margin-top: 50px;
}
footer .sns {
    text-align: center;
    padding: 50px 0 50px;
    background: #fff;
}
footer .sns p {
    text-align: center;
    font-size: 14px;
    line-height: 2;
}
footer .sns ul {
    margin: 25px 0;
}
footer .sns li {
    display: inline-block;
    width: 80px;
}
footer .sns a:hover {
    opacity: 0.8;
}
footer .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    width: 85%;
    margin: 0 auto;
    padding: 50px 0 30px;
}
footer .info {
    width: 20%;
}
footer .info img {
    max-width: 160px;
}
footer .info p {
    font-weight: bold;
    font-size: 14px;
    margin-top: 10px;
}
footer .info address {
    font-style: normal;
    font-size: 12px;
    margin-top: 15px;
    line-height: 1.5;
}
.footer-nav {
    width: 75%;
}
.footer-nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
}
.footer-nav ul li {
    flex: 1;
    padding-left: 30px;
    border-right: 1px dashed #114821;
    font-size: 14px;
}
.footer-nav ul li:last-child {
    border-right: none;
}
.footer-nav dt {
    margin-bottom: 10px;
    font-weight: bold;
}
.footer-nav dt i {
    color: #207e3b;
    margin-right: 5px;
}
.footer-nav dd {
    margin: 6px 0 0 20px;
}
.footer-nav dd i {
    color: #29a34d;
    margin-right: 5px;
}
.footer-nav dd a {
    text-decoration: none;
    color: #3a3a3a;
}
footer .copyright {
    background-color: #114821;
    color: #fff;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}
@media screen and (max-width: 768px) {
    footer .row,
    .footer-nav ul {
        display: block;
    }
    .row > div,
    .footer-nav {
        width: 100%;
    }
    footer .info {
        text-align: center;
        margin-bottom: 50px;
    }
    footer .info p {
        text-align: center;
    }
    .footer-nav ul li {
        padding: 20px 0;
        border-right: none;
        border-top: 1px dashed #207e3b;
    }
    .footer-nav ul li:first-child {
        padding-top: 0;
        border-top: none;
    }
}
/* topへ */
a.to-top {
    text-align: center;
    margin: 60px auto 80px;
    width: fit-content;
    display: block;
    text-decoration: none;
    cursor: pointer;
}
a.to-top:hover {
    text-decoration: none;
    font-weight: normal;
}
.to-top img {
    width: 70px;
    justify-content: space-evenly;
}
.bubble {
    background-color: #ffa722;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    position: relative;
    padding: 5px 10px;
    width: fit-content;
    margin: 0 auto 6px;
}
.bubble::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: -14px;
    left: calc(50% - 8px);
    border: 8px solid transparent;
    border-top: 6px solid #ffa722;
}

/* button */
.button {
    display: inline-block;
    color: #fff;
    height: 46px;
    padding: 0 30px;
    line-height: 46px;
    font-size: 20px;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    text-align: center;
}
.button i {
    position: relative;
    left: -20px;
}
.d-green {
    background-color: #207e3b;
}
.l-green {
    background-color: #29a34d;
}
.orange {
    background-color: #ffa722;
}
@media screen and (max-width: 768px) {
    .button {
        margin-bottom: 10px;
        font-size: 16px;
        height: 40px;
        line-height: 40px;
    }
}
/* 赤文字 */
.red {
    color: #ff0000;
}

/* link */
.link-more-blue {
    color: blue;
    text-decoration: none;
    letter-spacing: 2px;
}
.link-more-blue i {
    position: relative;
    left: -5px;
}

.visual {
    margin-top: 60px;
    background: url(../../images/old/visual.png);
    height: auto;
    text-align: center;
    color: #fff;
    padding: 40px;
    background-size: cover;
}
.visual h2 {
    font-size: 30px;
    margin-bottom: 40px;
}
.visual p.message {
    text-align: center;
}
section {
    text-align: center;
    padding: 30px 60px;
    box-sizing: border-box;
    max-width: 1000px;
    margin: 0 auto;
}
section h3 {
    display: inline-block;
    font-size: 28px;
    padding: 0 10px;
    border-bottom: 5px solid rgb(255, 234, 121, 0.8);
    margin-bottom: 20px;
}
section .describe {
    text-align: center;
    margin-bottom: 20px;
}
section h4 {
    display: inline-block;
    font-size: 22px;
    border-bottom: 3px solid rgb(255, 167, 34, 0.8);
    padding: 0 10px;
    margin-bottom: 20px;
}
.content.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.wid35 {
    width: 35%;
}
.wid60 {
    width: 60%;
}
.wid80 {
    width: 80%;
}
.wid100 {
    width: 100%;
}

.content p {
    text-align: left;
}
.content .image img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
}
@media screen and (max-width: 768px) {
    .content.row {
        display: block;
    }
    .wid35,
    .wid60 {
        width: 100%;
    }
    .content .image {
        margin-bottom: 10px;
    }
    .visual {
        margin-top: 48px;
        padding-top: 40px;
    }
    .visual h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .visual p.message {
        text-align: left;
    }
    section {
        padding: 30px 20px;
    }
    section h3 {
        font-size: 22px;
        margin-bottom: 18px;
    }
    section h4 {
        font-size: 20px;
        margin-bottom: 18px;
    }
    p.describe {
        text-align: left;
    }
}

/* 3階層目ナビゲーション */
nav.to-dtl {
    width: fit-content;
    max-width: 1000px;
    margin: 20px auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 14px;
}
.to-dtl .dtl-ttl {
    padding: 0 10px;
    white-space: nowrap;
}
.dtl-ttl i {
    margin-left: 5px;
    color: #207e3b;
}
.to-dtl ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.to-dtl ul li {
    border-right: 1px solid #cbcbcb;
    padding: 0 10px;
    margin-bottom: 5px;
}
.to-dtl ul li:last-child {
    border-right: none;
}
.to-dtl ul li a {
    text-decoration: none;
    color: #3a3a3a;
    padding: 4px 10px;
}
.to-dtl ul li.selected a {
    font-weight: bold;
    color: #fff;
    background-color: #207e3b;
}
.to-dtl ul li#to-index a {
    font-weight: bold;
}
@media screen and (max-width: 768px) {
    nav.to-dtl {
        display: block;
        background-color: #f4ffd3;
        box-sizing: border-box;
        width: 100%;
        padding: 10px 20px;
        margin-bottom: 0;
    }
    .to-dtl .dtl-ttl {
        text-align: center;
    }
    .to-dtl ul {
        display: none;
    }
    .to-dtl ul li {
        width: 100%;
        border-right: none;
        margin-top: 10px;
        box-sizing: border-box;
        padding: 0;
    }
    .to-dtl ul li a {
        box-sizing: border-box;
        display: inline-block;
        font-size: 14px;
        width: 100%;
    }
}

/* 薄紫のボックス */
.box-lpurple {
    background-color: #ecf0ff;
    padding: 20px;
}

/* エントリーへ */
section#to-entry {
    background: url(../../images/old/entry.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 60px;
    max-width: unset;
}
#to-entry h3 {
    color: #fff;
    line-height: 1.5;
    margin-bottom: 30px;
}
#to-entry h3 span {
    color: #ffa722;
    text-shadow: #fff 1px 1px 1px, #fff -1px 1px 1px, #fff 1px -1px 1px,
        #fff -1px -1px 1px;
}
#to-entry p {
    margin-bottom: 30px;
    text-align: center;
}
#to-entry .button.orange {
    border: 1px solid #fff;
    margin-bottom: 0;
}
#to-entry .button.orange:hover {
    opacity: 1;
    background-color: #fff;
    color: #ffa722;
}
@media screen and (max-width: 768px) {
    section#to-entry {
        padding: 30px;
    }
    #to-entry p {
        max-width: 420px;
        margin: 0 auto 30px;
        text-align: left;
    }
}

/* 追加 */
.ora_bor {
    font-size: 25px;
    border-bottom: 2px Solid rgba(255, 167, 34, 0.7);
    padding-left: 10px;
    padding-right: 10px;
}

/* form */
.form {
    margin: 60px auto 0;
    background-color: #f2f7f2;
    max-width: 800px;
    padding: 50px;
    text-align: left;
    box-sizing: border-box;
}
.form .item {
    margin-bottom: 30px;
}
.form .item p.text {
    word-break: break-all;
    white-space: pre-wrap;
}
.form .item:last-child {
    margin-bottom: 0;
}
.item-ttl {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: bold;
    margin-bottom: 10px;
}
.req::after {
    background: #ffa722;
    content: "\5FC5\9808";
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    height: 18px;
    width: 40px;
    line-height: 18px;
    text-align: center;
    margin-left: 5px;
    border-radius: 2px;
}
.optional::after {
    background: #9a9898;
    content: "\4EFB\610F";
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    height: 18px;
    width: 40px;
    line-height: 18px;
    text-align: center;
    margin-left: 5px;
    border-radius: 2px;
}
.form input,
.form select,
.form textarea {
    border: 1px solid #c4c4c4;
    border-radius: 4px;
}
input::placeholder,
textarea::placeholder {
    color: #b1b1b1;
}
.form input,
.form select {
    height: 32px;
    padding-left: 10px;
}
.form textarea {
    box-sizing: border-box;
    width: 100%;
    height: 180px;
    resize: vertical;
    padding: 10px;
    letter-spacing: 1px;
}
.item .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
}
.item-subttl {
    display: block;
    margin-bottom: 6px;
}
.row.name-wrap {
    max-width: 540px;
    min-width: 400px;
    width: 80%;
    box-sizing: border-box;
}
.name {
    width: 45%;
    box-sizing: border-box;
}
.name input {
    width: 100%;
    box-sizing: border-box;
}
input#tel,
input#mail {
    width: 380px;
}
.form-buttons {
    margin-bottom: 30px;
}
form .button {
    display: block;
    margin: 30px auto 60px;
    padding: 0px 40px;
}
.form-buttons .button {
    margin-bottom: 0;
}
form .back {
    display: block;
    margin: 30px auto;
    border: none;
    background-color: transparent;
    color: blue;
    text-decoration: underline;
    font-size: 14px;
    cursor: pointer;
}
form .error {
    color: red;
}
@media screen and (max-width: 768px) {
    .form {
        width: 100%;
        padding: 30px;
        margin-top: 40px;
    }
    .item .row {
        display: block;
    }
    .row.name-wrap {
        width: 100%;
        min-width: unset;
    }
    .row > .name {
        width: 80%;
        margin-bottom: 10px;
    }
    input#tel,
    input#mail {
        width: 100%;
        box-sizing: border-box;
    }
}
/* ページネーション */
nav ul.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 60px auto 0;
    width: fit-content;
    border: 1px solid #207e3b;
    border-radius: 0.2em;
}
ul.pagination > li {
    box-sizing: border-box;
    padding: 10px 0;
    width: 50px;
    border-right: 1px solid #207e3b;
}
ul.pagination > li:last-child {
    border-right: none;
}
ul.pagination > li a {
    text-decoration: none;
    color: #207e3b;
}
ul.pagination > li.active {
    background-color: #207e3b;
    color: #fff;
}
ul.pagination > li.disabled {
    color: #c4c4c4;
}
@media screen and (max-width: 768px) {
    ul.pagination > li {
        width: 40px;
        padding: 6px 0;
    }
}
