/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}



html {
    font-size: 62.50%;
}

body {
    display: none;
    width: 100%;
    font-size: 1.8em;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 400;
    background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),
        linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
    background-size: 16px 16px;
    background-repeat: repeat;
    background-position: center center;
}

header {
    background-color: #DDEDE5;
}

header nav .topmenu {
    height: 300px;
    background-image: url("../img/image.jpg");
    background-position: 0% 75%;
    background-size: cover;
    padding: 5%;
}

header nav .topmenu h1 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 2em;
    margin: 5% 0 3%;
    text-shadow: 0 -1px 1px #000, 1px 1px 1px #fff;
}

header nav .topmenu h1 a {
    color: #203864;
    text-decoration: none;
}

header nav .topmenu .flex li a {
    font-size: 1.3em;
    text-decoration: none;
    color: #203864;
}

header nav .flex {
    display: flex;
    flex-wrap: wrap;
    padding-top: 3%;
}

header nav .flex li {
    padding: 0 2%;
    border-right: 1px solid #333333;
}

header nav .flex li:first-of-type {
    padding-left: 0;
}

header nav .flex li:last-of-type {
    padding-right: 0;
    border: none;
}

header nav .flex li a {
    text-decoration: none;
    color: #203864;
    font-size: 1em;
}

header nav .flex li a:hover {
    font-weight: bold;
}

header nav .others {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

header nav .others #g-nav {
    width: 50%;
    padding: 3%;
}

header nav .others #g-nav .flex {
    padding-top: 0;
    justify-content: flex-end;
    align-items: center;
}

header nav .others #g-nav .flex li {
    font-family: 'BIZ UDPGothic', sans-serif;
}

header nav .others h1 {
    font-family: 'BIZ UDPGothic', sans-serif;
    font-size: 1.3em;
    padding: 3%;
}

header nav .others h1 a {
    text-decoration: none;
    color: #333333;
}

/* .fixed {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    background-color: rgba(221, 237, 229, 0.8);
    z-index: 10;
} */

header .openbtn {
    display: none;
}

article {
    width: 90%;
    margin: 0 auto;
}

section .eventlink a {
    display: block;
    background-color: #125e34;
    color: #fff;
    width: 20%;
    padding: 2%;
    border-radius: 15px;
    text-align: center;
    margin: 5% auto 0;
}

section .link a {
    display: block;
    background-color: #72b6a7;
    width: 15%;
    padding: 2%;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    text-align: center;
    margin: 10% 0 0 auto;
}

section .link a:hover {
    font-weight: bold;
    background-color: #5c9286;
}

#btn {
    position: relative;
}

#btn #btntop {
    position: fixed;
    top: 80%;
    left: 90%;
    width: 5%;
    padding: 2% 0;
    text-decoration: none;
    text-align: center;
    color: #203864;
    border-radius: 50%;
    border: #203864 solid 1px;
}

#btn2 {
    display: none;
}

footer {
    background-color: #DDEDE5;
    color: #7f7f7F;
    padding: 5% 7% 2%;
    margin: 10% 0 0;
}

footer #footer {
    width: 100%;
}

footer h2 {
    font-size: 1.5em;
}

footer .address {
    padding: 2em 0 1.5em;
}

footer .flex {
    display: flex;
    flex-wrap: wrap;
    margin: 2em 0;
}

footer .flex a {
    margin: 0 1em;
}

footer .flex li {
    list-style-type: none;
}

footer .flex li a {
    text-decoration: none;
    font-size: 1em;
}

footer .flex li {
    padding: 0 1.5% 0;
    border-right: 1px solid #7F7F7F;
}

footer .flex li:first-of-type {
    padding: 0 1.5% 0 0;
}

footer .flex li:last-of-type {
    padding: 0 0 0 1.5%;
    border: none;
}

footer div a {
    display: inline-block;
    font-size: 1em;
    color: #7F7F7F;
    text-decoration: none;
}

footer .flex a {
    font-size: 1.5em;
}

footer .mainlink {
    display: block;
    background-color: #fff;
    box-shadow: 0px 0px 0px 5px #fff;
    /*線の外側*/
    margin-left: 5px;
    /*はみ出ないように調整*/
    margin-right: 5px;
    /*はみ出ないように調整*/
    border: dashed 2px #8acedf;
    border-radius: 10px;
    color: #3389A1;
    padding: 0.8em 0.5em;
    text-align: center;
}

footer .flex2 {
    display: none;
}

footer #small {
    text-align: center;
    margin: 10% auto 0;
}

footer #small small {
    font-size: 0.8em;
    color: #000;
}

img {
    max-width: 100%;
    height: auto;
}

main h1 {
    font-family: 'BIZ UDPGothic', sans-serif;
    font-size: 1.5em;
    color: #323e4e;
    text-align: center;
    margin: 20% auto 10%;
    position: relative;
}

main h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 5px;
    background: -webkit-repeating-linear-gradient(-45deg, #6ad1c8, #6ad1c8 1px, #fff 1px, #fff 4px);
    background: repeating-linear-gradient(-45deg, #6ad1c8, #6ad1c8 1px, #fff 1px, #fff 4px);
}


main a {
    text-decoration: none;
}

main ul li {
    list-style: none;
}

main p {
    line-height: 2em;
    text-align: justify;
}

/* 
#banner {
    width: 100%;
}

#banner img {
    width: 100%;
}
*/

#banner2 {
    display: none;
}

.campaign {
    margin-top: 5%;
    width: 100%;
    background-color: #ffa8df;
    border-radius: 25px;
}

.campaign a {
    font-size: 3em;
    font-weight: bold;
    color: #fff;
    text-shadow:
        1px 1px #df1028,
        -1px 1px #df1028,
        -1px -1px #df1028,
        1px -1px #df1028;
}

.campaign a div p {
    text-align: center;
}

section {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.reserve {
    text-align: center;
}

.reserve a {
    display: inline-block;
    font-size: 1.3em;
    font-weight: bold;
    font-family: 'BIZ UDPGothic', sans-serif;
    color: #fff;
    text-shadow: 0 -1px 1px #fff, 1px 1px 1px #2f2f2f;
}

.reserve a:hover {
    text-shadow: 0 -1px 1px #000, 1px 1px 1px #fff;
}

.reserve a div {
    width: 450px;
    background-color: #8F815B;
    border-radius: 100px;
    padding: 3%;
    text-align: center;
    margin: 10% auto 0;
    box-sizing: border-box;
}

.reserve a div:hover {
    opacity: 0.8;
}

.reserve a div p {
    text-align: center;
    border: 3px dashed #fff;
    padding: 5%;
    border-radius: 50px;
}

.reserve a div p:hover {
    border: 3px solid #fff;
}

/* お知らせ項目 */

#index section ul li,
#news section ul li {
    padding: 1%;
    border-bottom: 1px dotted #7f7f7f;
}

#index section ul li:hover,
#news section ul li:hover {
    background-color: #DDEDE5;
    border-radius: 10px;
}

#index section ul li a,
#news section ul li a {
    display: block;
    color: #000;
}

#index section ul li a:hover,
#news section ul li a:hover {
    font-weight: bold;
}

#index section h2 {
    font-family: 'BIZ UDPGothic', sans-serif;
    font-size: 1.5em;
    color: #323e4e;
    text-align: center;
    margin: 10% auto 10%;
}

/* ここまで */

#news section ul {
    height: 300px;
    overflow-y: scroll;
}

#newspage section h1 {
    font-size: 1.8em;
    color: #203864;
    text-align: left;
    margin: 20% 0 5%;
    border-bottom: 2px solid #203864;
    padding-bottom: 0.5em;
}

#newspage section img {
    margin: 3% auto;
}

#newspage section #date {
    text-align: right;
    margin: 0 0 10%;
}

#newspage section p {
    text-align: justify;
    padding: 0 5%;
}

#newspage section p:nth-of-type(3) {
    margin: 3% auto;
    font-weight: bolder;
}

#newspage section p a {
    text-decoration: underline dashed #70AD47;
    color: #000;
}

#newspage section p a:hover {
    font-weight: bold;
}

.tab {
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
}

.tab .tab_item {
    font-family: 'BIZ UDPGothic', sans-serif;
    width: 20%;
    color: #fff;
    background: #72b6a7;
    text-align: center;
    border-radius: 10px;
    margin: 0.2em;
    padding: 1.2em 0.5em;
    order: -1;
    position: relative;
    z-index: 1;
    cursor: pointer;
    float: left;
    transition: all 0.2s ease;
}

.tab_item:hover {
    font-weight: bold;
    background-color: #5c9286;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
    display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
    width: 70%;
    margin: -15% 0 0 auto;
    display: none;
    clear: both;
    overflow: hidden;
}

/*選択されているタブのスタイルを変える*/
.tab input:checked+.tab_item {
    background-color: #fff;
    border: #70AD47 solid 3px;
    color: #203864;
    font-weight: bold;
}

/* 項目ラベル共通 */

#about .tab_content h2,
#counseling .tab_content h2 {
    font-family: 'BIZ UDPGothic', sans-serif;
    font-size: 1.3em;
    color: #203864;
    margin: 0 auto 5%;
    text-align: center;
}

#about .tab_content p a,
#counseling .tab_content p a {
    border-bottom: #72b6a7 dashed 2px;
}

#about .tab_content p a:hover,
#counseling .tab_content p a:hover {
    font-weight: bold;
}

#about .tab_content table,
#counseling .tab_content table {
    margin: 0 auto;
}

#about .tab_content table tr,
#counseling .tab_content table tr {
    border-bottom: #72b6a7 dashed 2px;
}

#about .tab_content table tr:first-of-type,
#counseling .tab_content table tr:first-of-type {
    border-top: #72b6a7 dashed 2px;
}

#about .tab_content table th,
#counseling .tab_content table th {
    width: 35%;
    vertical-align: middle;
}

#about .tab_content table td,
#counseling .tab_content table td {
    padding: 2em;
    width: 65%;
    vertical-align: middle;
}

/* ここまで */

#counseling .tab_content h3 {
    color: #203864;
    margin: 7% auto 0;
}

#counseling .tab_content ul {
    padding: 0.5em 1em 0.5em 2.3em;
    position: relative;
}

#counseling .tab_content ul li {
    line-height: 1.5;
    padding: 0.5em 0;
}

#counseling .tab_content ul li:before {
    display: block;
    content: "\f00c";
    position: absolute;
    left: 1em;
    color: #70AD47;
}

#counseling .tab_content ol {
    padding: 0;
    position: relative;
}

#counseling .tab_content ol li {
    border-left: solid 2.5em #5c9286;
    background: #f4f8f6;
    margin-bottom: 1.5%;
    line-height: 1.5;
    border-radius: 5px 15px 15px 5px;
    padding: 0.7em 1em;
    position: relative;
}

#counseling .tab_content ol li span {
    position: absolute;
    top: 0.7em;
    left: -1.7em;
    color: #fff;
    font-weight: bold;
}

#counseling .tab_content ol li ul {
    margin: 0.5em;
    padding: 0.5em;
    border: dashed 2px #70AD47;
    background-color: #fff;
    border-radius: 10px;
}

#counseling .tab_content ol li ul li {
    border-left: none;
    padding: 0;
    margin-bottom: 0;
    background-color: #fff;
}

#counseling .tab_content ol li ul li:before {
    display: none;
}

#counseling .tab_content .arrow::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.5em 0 0.5em 0.7em;
    border-color: transparent transparent transparent #70AD47;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -2px;
    margin-right: 3px;
}

#counseling .tab_content .arrow {
    margin: 2em 0;
}

/*選択されているタブのコンテンツのみを表示*/
#about #corporate:checked~#corporate_content,
#message:checked~#message_content,
#business:checked~#business_content {
    display: block;
}

#counseling #foryou:checked~#foryou_content,
#fee:checked~#fee_content,
#flow:checked~#flow_content {
    display: block;
}

.tab2 {
    height: 100%;
    min-height: 300px;
    width: 100%;
}

.tab2 .tab2_item {
    font-family: 'BIZ UDPGothic', sans-serif;
    width: 17%;
    color: #fff;
    background: #5c9286;
    text-align: center;
    border-radius: 10px 10px 0 0;
    padding: 1.2em 0.5em;
    order: -1;
    position: relative;
    z-index: 1;
    cursor: pointer;
    float: left;
    transition: all 0.2s ease;
}

.tab2_item:hover {
    font-weight: bold;
    background-color: #5c9286;
}

/*ラジオボタンを全て消す*/
input[name="tab2_item"] {
    display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab2_content {
    width: 100%;
    display: none;
    clear: both;
    overflow: hidden;
}

.tab2_content_description {
    background-color: #f4f8f6;
    padding: 3%;
    border-radius: 0%;
}


/*選択されているタブのスタイルを変える*/
.tab2 input:checked+.tab2_item {
    background-color: #fff;
    border: #70AD47 solid 3px;
    border-bottom: none;
    color: #203864;
    font-weight: bold;
    position: relative;
    top: -3px;
}

/* 項目ラベル共通 */

/* #counseling .tab2_content h3 {
    font-family: 'BIZ UDPGothic', sans-serif;
    font-size: 1.3em;
    color: #203864;
    margin: 0 auto 5%;
    text-align: center;
} */

/*選択されているタブのコンテンツのみを表示*/
#counseling #basic:checked~#basic_content,
#schoolrefusal:checked~#schoolrefusal_content,
#hikikomori:checked~#hikikomori_content,
#disability:checked~#disability_content,
#outreach:checked~#outreach_content {
    display: block;
}

#counseling .tab2_content p a {
    border-bottom: #72b6a7 dashed 2px;
}

#counseling .tab2_content p a:hover {
    font-weight: bold;
}

#counseling .tab2_content table {
    margin: 0 auto;
}

#counseling .tab2_content table tr {
    border-bottom: #70AD47 dashed 2px;
}

#counseling .tab2_content table tr:first-of-type {
    border-top: #70AD47 dashed 2px;
}

#counseling .tab2_content table th {
    width: 50%;
    vertical-align: middle;
}

#counseling .tab2_content table td {
    padding: 2em;
    width: 50%;
    vertical-align: middle;
}

#list .box {
    border: 2px solid #70AD47;
    border-radius: 50px;
    padding: 3%;
    margin-bottom: 5%;
}

#list .flex {
    display: flex;
    flex-wrap: wrap;
    padding: 1%;
    border-bottom: 2px dashed #70AD47;
}

#list .box .flex p:nth-of-type(1) {
    width: 10%;
}

#list .box .flex p img {
    width: 100%;
}

#list .box .flex p:nth-of-type(2) {
    width: 90%;
    font-size: 1.2em;
    font-weight: bold;
    height: 110px;
    line-height: 110px
}

#list .box .text {
    padding: 1%;
}

#seminar table,
#event table {
    width: 70%;
    margin: 3% auto 0;
    border: 3px solid #70AD47;
    background-color: #fff;
    border-collapse: separate;
    border-radius: 25px;
}

#seminar table caption,
#event table caption {
    text-align: start;
    margin-bottom: 3%;
    font-weight: bold;
}

#seminar table td,
#event table td {
    padding: 3%;
    border-bottom: 1px dashed #70AD47;
    vertical-align: middle;
}

#event table tr .bordernone {
    border-bottom: none;
}

#seminar table td:first-of-type {
    width: 20%;
    background-color: #70AD47;
    font-weight: bold;
    border-radius: 20px;
    border: 5px solid #fff;
    font-size: 1em;
    text-align: center;
}

#event div {
    text-align: center;
}

#event table td:first-of-type {
    width: 30%;
    text-align: center;
    font-weight: bold;
    font-size: 1em;
    color: #125e34;
    border-right: 1px dashed #70AD47;
}

#access .flex {
    display: flex;
}

#access .flex div {
    width: 50%;
}

#access .flex div p {
    font-size: 1.2em;
    padding-bottom: 0;
    padding: 3%;
}

#access .flex div ul {
    padding: 3%;
}

#access .flex div ul li {
    line-height: 1.5em;
}

#access .flex div ul li::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.3em 0 0.3em 0.5em;
    border-color: transparent transparent transparent #70AD47;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -2px;
    margin-right: 3px;
}

#access .flex div iframe {
    display: block;
    box-sizing: border-box;
}

#reserve p {
    text-align: start;
}

#reserve .box {
    margin: 10% auto 5%;
    font-size: 1em;
    width: 70%;
}

#reserve .box div {
    margin-top: 5%;
}

#reserve .box input,
#reserve .box select {
    border: #5c9286 solid 1px;
    height: 25px;
    border-radius: 10px;
}

#reserve .box .mail input {
    width: 350px;
}

#reserve .box .phone input {
    width: 100px;
}

#reserve .box .date input {
    width: 210px;
}

#reserve .box select {
    border-radius: 10px;
}

#reserve .box textarea {
    width: 500px;
    border: #5c9286 solid 1px;
    height: 100px;
    border-radius: 10px;
}

#reserve .box .agree p a {
    color: #203864;
}

#reserve .box .agree p a:hover {
    font-weight: bold;
}

#reserve .box .agree p input:hover {
    cursor: pointer;
}

#reserve .check p {
    text-align: center;
}

#reserve .check p input {
    font-family: 'BIZ UDPGothic', sans-serif;
    color: #2E5254;
    font-size: 1em;
    padding: 2% 3%;
    background-color: #F2FBE1;
    border: #70AD47 solid 3px;
    border-radius: 10px;
}

#reserve .check p input:hover {
    cursor: pointer;
    opacity: 0.8;
    border: #70AD47 dashed 3px;
    font-weight: bold;
}

#reserve .formmailer {
    margin: 5% 0;
}

.calendar-wrap {
    margin: 0 auto;
}

.calendar {
    width: 100%;
    border-collapse: collapse;
}

.calendar caption {
    font-weight: bold;
    padding: 5%;
    font-size: 1.2em;
}

.calendar th,
.calendar td {
    border: 1px solid #000;
    text-align: center;
    padding: 3%;
    font-weight: bold;
}

.calendar .am {
    position: relative;
}

.calendar .am::before {
    content: "●";
    color: rgb(98, 231, 98);
    position: absolute;
    top: 30%;
    left: 45%;
    z-index: -1;
}

.calendar th {
    padding: 1%;
}

.calendar .sun {
    color: #e42d2a;
}

.calendar .sat {
    color: #2329d2;
}

.calendar .mute {
    color: #aaa;
}

/* #privacy h1 {
    font-size: 1.5em;
    color: #203864;
    text-align: center;
    margin: 20% 10% 10%;
}

#privacy div h2 {
    margin: 0 0 2%;
}

#privacy div p {
    margin: 0 0 5% 1%;
}

#privacy div ul li {
    list-style: none;
    margin: 5px;
}

#privacy div ul li:nth-of-type(5) {
    margin: 0 0 5% 5px;
}

#privacy div table {
    text-align: right;
    margin: 10% 0 0 auto;
}

#privacy div table tr th {
    padding: 2% 0;
}

#privacy div table tr td {
    padding: 2% 0;
} */

/*以下レスポンシブデザイン*/

@media screen and (max-width: 1024px) {
    body {
        display: block;
        font-size: 2.3vw;
    }

    #g-nav {
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top: -120%;
        left: 0;
        width: 100%;
        height: 100vh;
        /*ナビの高さ*/
        background: #DDEDE5;
        /*動き*/
        transition: all 0.6s;
    }

    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive {
        top: 0;
    }

    /*ナビゲーション*/
    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70%;
    }


    /*リストのレイアウト設定*/
    header nav .flex {
        display: block;
        padding-top: 0;
    }

    header nav .flex li {
        text-align: center;
        padding: 5%;
        border-right: none;
        border: 1px solid #2e5254;
        border-radius: 50px;
        margin: 10%;
    }

    header nav .flex li:first-of-type {
        padding-left: 5%;
    }

    header nav .flex li:last-of-type {
        border: 1px solid #2e5254;
        border-radius: 50px;
        padding-right: 5%;
    }

    header nav .flex li a {
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
        font-size: 2.5vw;
        color: #000;
    }

    header nav .topmenu #g-nav .flex li a {
        font-family: 'BIZ UDPGothic', sans-serif;
        font-size: 2.5vw;
        color: #000;
    }

    header nav .others #g-nav {
        width: 100%;
        padding: 0;
    }

    header .openbtn {
        display: block;
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 1%;
        right: 1%;
        width: 70px;
        height: 50px;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #666;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 15px;
        transform: translateY(6px) rotate(-45deg);
        width: 40%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 15px;
        transform: translateY(-6px) rotate(45deg);
        width: 40%;
    }

    header nav .topmenu {
        height: 200px;
    }

    header nav .topmenu h1 {
        font-size: 4vw;
        text-align: center;
        margin: 0;
        align-items: center;
        line-height: 200px;
        background-color: #fff;
        border-radius: 20px;
        opacity: 0.8;
    }

    header nav .topmenu h1 a {
        color: #0d172a;
        text-shadow: none;
    }

    header nav .others h1 {
        font-size: 2.5vw;
    }

    footer .flex {
        width: 100%;
        justify-content: center;
    }

    footer .flex li {
        padding: 0;
        border: none;
    }

    footer .flex li:first-of-type {
        padding: 0;
    }

    footer .flex li:last-of-type {
        padding: 0;
    }

    footer .flex a {
        margin: 0 0.5em;
        font-size: 2.5vw;
    }

    article {
        width: 95%;
    }

    main h1 {
        font-size: 3.3vw;
        margin-bottom: 5%;
    }

    main p {
        line-height: 1.5em;
    }

    .campaign a {
        font-size: 1.5em;
        text-shadow:
            0.5px 0.5px #df1028,
            -0.5px 0.5px #df1028,
            -0.5px -0.5px #df1028,
            0.5px -0.5px #df1028;
    }

    section .link a {
        width: 20%;
    }

    .reserve a div {
        margin-top: 25%;
        padding: 5%;
        width: 500px;
    }

    .reserve a div p {
        font-size: 3vw;
        text-shadow: none;
    }

    #index section h2 {
        font-size: 3.3vw;
    }

    #newspage section h1 {
        font-size: 3vw;
    }

    #about .tab_content h2,
    #counseling .tab_content h2 {
        font-size: 2.7vw;
    }

    #about .tab_content table th,
    #counseling .tab_content table th {
        width: 25%;
    }

    #about .tab_content table td,
    #counseling .tab_content table td {
        width: 75%;
        padding: 2em 1em;
    }

    .tab .tab_item {
        width: 22%;
        font-size: 2vw;
    }

    #list .box .flex p:nth-of-type(2) {
        height: 70px;
        line-height: 70px;
    }

    #access .flex div p {
        padding-left: 0;
        font-size: 2.5vw;
    }

    #reserve .box {
        font-size: 2.5vw;
        margin-top: 5%;
    }

    #reserve .box textarea {
        width: 100%;
    }

    #reserve .check p input {
        font-size: 2.5vw;
    }
}



@media screen and (max-width: 820px) {
    body {
        font-size: 2.5vw;
    }

    main h1 {
        margin: 10% auto 5%;
    }

    footer #footer {
        display: block;
    }

    footer .about {
        text-align: center;
    }

    footer .about p {
        text-align: left;
        display: inline-block;
    }

    footer .about .mainlink {
        width: 70%;
        margin: 3% auto 0;
    }

    footer .flex a {
        font-size: 2.9vw;
    }

    .reserve a div {
        margin-top: 15%;
    }

    .tab {
        flex-direction: row;
        height: auto;
        min-height: auto;
        justify-content: center;
    }

    .tab .tab_item {
        width: 27%;
        font-size: 2.5vw;
    }

    .tab_content {
        width: 100%;
        margin: 15% auto;
    }

    #counseling .tab2_content table {
        margin: 2vw auto;
    }

    #counseling .tab2_content table th {
        width: 50%;
    }

    #counseling .tab2_content table td {
        padding: 4vw;
        width: 50%;
    }

    .calendar-wrap {
        display: flex;
        flex-direction: column;
    }

    .calendar th,
    .calendar td {
        font-size: 0.9em;
    }

    .calendar .am::before {
        top: 24%;
        left: 41%;
    }


    .calendar th {
        padding: 3px 6px;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 4vw;
    }

    #btn {
        display: none;
    }

    #g-nav {
        height: 100vh;
        /*ナビの高さ*/
    }

    /*ナビゲーション*/
    #g-nav ul {
        width: 90%;
    }

    /*×に変化*/
    .openbtn span {
        left: 25px;
        width: 40%;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 25px;
        transform: translateY(6px) rotate(-45deg);
        width: 40%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 25px;
        transform: translateY(-6px) rotate(45deg);
        width: 40%;
    }

    header nav .flex li a {
        font-size: 4vw;
    }

    header nav .topmenu {
        height: 100px;
    }

    header nav .topmenu #g-nav .flex li a {
        font-size: 4vw;
    }

    header nav .topmenu h1 {
        font-size: 4.5vw;
        line-height: 100px;
    }

    header nav .others h1 {
        font-size: 4vw;
        padding: 7% 5%;
    }

    footer .about {
        text-align: left;
    }

    footer .about h2 {
        font-size: 4vw;
    }

    footer .about p {
        font-size: 3vw;
    }

    footer .about .mainlink {
        width: 80%;
        margin: 7% auto 0;
        font-size: 3vw;
    }

    footer .about .mainlink br {
        display: block;
    }

    footer .about .flex {
        display: none;
    }


    footer .flex {
        display: none;
    }

    footer .flex2 {
        display: block;
        margin: 5% auto;
        text-align: center;
    }

    footer .flex2 a {
        font-size: 4vw;
        width: 30%;
    }

    footer .flex2 a img {
        object-fit: cover;
        width: 80%;
        height: 80%;
    }


    main h1 {
        font-size: 4.5vw;
        margin: 15% auto 10%;
    }

    .campaign a {
        font-size: 1em;
        text-shadow:
            0.3px 0.3px #df1028,
            -0.3px 0.3px #df1028,
            -0.3px -0.3px #df1028,
            0.3px -0.3px #df1028;
    }

    section .link a {
        width: 30%;
        font-size: 3.5vw;
        padding: 3% 5%;
        border-radius: 50px;
    }

    section .eventlink a {
        width: 30%;
        padding: 5%;
    }

    .reserve a {
        width: 70%;
        text-shadow: none;
    }

    .reserve a div {
        margin: 10% auto 0;
        display: block;
        width: 100%;
        /* border: none; */
    }

    .reserve a div img {
        display: none;
    }

    .reserve a div p {
        font-size: 4vw;
        white-space: nowrap;
        margin-right: 0;
        text-align: center;
    }

    #index #banner {
        display: none;
    }

    #index #banner2 {
        width: 100%;
        display: block;
    }

    #index .what {
        background: #F2FBE1;
        padding: 2%;
        border-radius: 10px;
        border: 2px dashed #70AD47;
        margin-top: 10%;
    }

    #index .what p {
        padding-bottom: 10%;
    }

    #newspage section h1 {
        font-size: 5vw;
    }

    #counseling .tab_content ul li {
        padding: 0.5em 0;
    }

    #about .tab_content h2,
    #counseling .tab_content h2 {
        font-size: 4vw;
    }

    .tab {
        flex-direction: row;
        height: auto;
        min-height: auto;
        justify-content: center;
    }

    .tab .tab_item {
        font-size: 3vw;
    }

    .tab_content {
        width: 100%;
        margin: 15% auto;
    }

    .tab2 .tab2_item {
        width: 16%;
        font-size: 3vw;
    }

    #counseling .tab2_content table {
        margin: 3vw auto;
    }

    #counseling .tab2_content table th {
        width: 50%;
    }

    #counseling .tab2_content table td {
        padding: 5vw;
        width: 50%;
    }

    .tab2_content_description {
        font-size: 4vw;
    }

    #seminar table,
    #event table {
        width: 90%;
        border-radius: 15px;
    }

    #seminar table td,
    #event table td {
        padding: 3% 1%;
    }

    #seminar table td:first-of-type {
        border-radius: 15px;
        line-height: 1.3em;
    }

    #event table td:first-of-type {
        width: 30%;
        text-align: center;
        font-weight: bold;
        font-size: 1em;
        color: #125e34;
        border-right: 1px dashed #70AD47;
    }

    #list .box {
        padding: 5%;
    }

    #list .box .flex p:nth-of-type(1) {
        width: 20%;
    }

    #list .box .flex p:nth-of-type(2) {
        width: 80%;
        height: 70px;
        line-height: 70px;
    }

    #access .flex {
        display: block;
    }

    #access .flex div {
        width: 100%;
    }

    #access .flex div p {
        padding-left: 3%;
        font-size: 4vw;
    }

    #reserve .box {
        font-size: 4.5vw;
        width: 90%;
    }

    #reserve .box .mail input {
        width: 100%;
    }

    #reserve .box .phone input {
        width: 25%;
    }

    #reserve .box .date input {
        width: 50%;
    }

    #reserve .box textarea {
        width: 100%;
    }

    .calendar .am::before {
        top: 18%;
        left: 37%;
    }

}