html {
    height: 100%;
}

body {
    margin: 0px;
    padding: 0px;
    font-family: 'Zen Maru Gothic', sans-serif;
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 100%;
}


img {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    object-fit: cover;
}

.insta-img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    text-align: center;
    object-fit: cover;
}


div {
    font-size: 0;
}

/* Font */
h1 {
    font-size: 40px;
    font-weight: bold;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 18px;
    font-weight: 100;
}

p {
    font-size: 16px;
}

li {
    list-style: none;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: rgba(0, 125, 212);
}

a:hover {
    color: darkturquoise;
}

/* Header */
.header-container {
    width: 100%;
    height: 20vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.menu-upper {
    display: flex;
    padding: 5px;
}

.header-logo {
    width: 30%;
    margin: 5px 30px;
}

.insta {
    width: 30px;
    padding: 0 20px;
    margin: auto 10px;
}

.search-box {
    width: 200px;
    margin: auto 2px;
}

.search-form {
    padding: 1px 3px;
    border: 1px solid rgba(0, 125, 212);
    border-radius: 30px;
    max-width: 100%;
    display: flex;  
    justify-content: center;  
    align-items: center;

    background: #FFF;
    font-size: 15px;
}
.search-input {
    border: none;  
    background: none;  
    outline: none;
    width: 140px;

    color: #333;
}
.search-button {
    border: none;  
    background: none;  
    outline: none;
    color: #999;  
    font-weight: 900;  
    font-family: "Font Awesome 5 Free";

    transition: color 0.3s ease 0s;
}
.search-button:hover {
    color: darkturquoise;
}

/* Nav */
.main-container {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
    height: 80vh;
}

.main-container-page {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
}

.menu-container {
    height: 80vh;
    width: 20vw;
}

.menu-container-page {
    width: 20vw;
    padding-right: 0.5rem;
}

.pic-container {
    margin: 0 auto;
    width: 80vw;;
    height: 80vh;
    padding-right: 2rem;
}

.pic-container img {
    height: 75vh;    
}

.menu-items {
    padding-right: 1rem;
}

.menu-items ul {
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
}

.menu-items li {
    margin: 0.6rem 0.5rem;
    border-bottom: solid lightblue;
}

.menu-items li::first-letter {
    font-size: 1.5rem;
}

.menu-items a {
    color: rgba(0, 125, 212);
    font-size: 15px;
    font-weight: bold;
}

.menu-items a:hover {
    color: darkturquoise;
}

.menu-member{
    padding-top: 1.5rem;
    color: palevioletred;
}

/* section common*/
.section-container {
    margin: 1rem auto 1rem 1rem;
    width: 70vw;
}

.section-title {
    margin: 1rem;
    color: rgba(0, 125, 212);
}

.section-contents {
    max-width: 600px;
    margin: 0 auto;
}

.section-pager {
    padding-right: 10%;
    padding-top: 5%;
}

.pager-arrow {
    display: flex;
    justify-content: end;
}

.pager-arrow::after {
    content: " ";
    width: 40px;
    height: 8px;
    border-bottom: 1px solid rgba(0, 125, 212);
    border-right: 1px solid rgba(0, 125, 212);
    transform: skew(45deg);
}

.pager-arrow-left {
    display: flex;
    justify-content: flex-start;
}

.pager-arrow-left::before {
    content: " ";
    width: 40px;
    height: 8px;
    border-bottom: 1px solid rgba(0, 125, 212);
    border-left: 1px solid rgba(0, 125, 212);
    transform: skew(135deg);
}


.section-pager a:hover {
    color: hotpink;
}



/* News */
.news-list {
    font-size: 18px;
    color:  rgba(0, 125, 212);
    list-style: none outside;
    margin: 0;
}

.news-item {
    display: flex;
}

.news-date {
    min-width: 100px;
}

.news_date_up {
    color: palevioletred;
    padding-left: 0.3rem;
}

.news-cate {
    background-color: #6091d3;
    text-align: center;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    padding: 0.2rem 0 0.2rem 0;
    width: 50px;
    height: 1rem;
}

.news-content {
    font-weight: bold;
    padding-left: 1rem;
}

/* NewsPaper */
.newspaper-item {
    margin: 10px;
}

p .newsletter-info {
    color: gray;
}

.newsletter-info {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    background: #FFF;
    border: solid 3px #6091d3;
    border-radius: 10px;
}


/* Guide */
.guide-title-span {
font-style: italic;
font-size: 0.9rem;
color: palevioletred;
padding-right: 1rem;
}

.guide-pic {
    padding-bottom: 3rem;
    padding-top: 0.5rem;
}

.section-contents ol {
    counter-reset:number; /*数字をリセット*/
    list-style-type: none!important; /*数字を一旦消す*/
    padding:0;
}

.section-contents ol li {
    position: relative;
    padding: 0.5em;
    line-height: 1.5em;
    background: #f1f8ff;
    border-left : solid 35px cornflowerblue;
    margin-bottom: 5px;
}

.section-contents ol li:before {
    /* 以下数字をつける */
    position: absolute;
    counter-increment: number;
    content: counter(number);
    /*数字のデザイン変える*/
    display:inline-block;
    color: white;
    font-family: 'Avenir','Arial Black','Arial',sans-serif;
    font-weight:bold;
    font-size: 15px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: -35px;
    width: 35px;
    height: 1em;
    line-height: 1;
    text-align: center;
}

/* Resource */
.resource-pic{
    margin-bottom: 2rem;
}

/* Inquire */
.inquire-container {
    margin: 10px auto 0 auto;
    max-width: 960px;
    padding: 4rem 0;
}

.inquire-contents {
    max-width: 600px;
    margin: 0 auto 60px auto;
    text-align: center;
}

/* Pager Inquire */
a.section-pager-inquiry {
    border: 2px solid  rgba(0, 125, 212);
    border-radius: 20px;
    background:  rgba(0, 125, 212);
    
    -webkit-transform-style: preserve-3d;
    
    transform-style: preserve-3d;

    padding: 10px;
    color: #fff;
    }
    
a.section-pager-inquiry:before {
    /* position: absolute; */
    top: 0;
    left: 0;
    
    width: 5px;
    height: 100%;
    
    content: '';
    -webkit-transition: all .3s;
    transition: all .3s;
    
    background:  rgba(0, 125, 212);
}
    
a.section-pager-inquiry:hover {
    color: #fff;
    background: hotpink;
    border: hotpink;
}
    
a.section-pager-inquiry:hover:before {
    background: #fff;
}

/* Inquiry-page */
.form-table {
    width: 100%;
}

.form-contents {
    font-size: 14px;
}

.form-item-title,
.form-item {
    padding: 20px;
    border: 1px solid #ccc;
    display: block;
    white-space: nowrap;
}

.form-item {
    color: rgba(0, 125, 212);
    text-align: start;
}

#select-radio1,
#select-radio2,
#select-radio3 {
    margin-right: 3px;
}

.form-item-title {
    color: #fff;
    background-color: rgba(0, 125, 212);
    text-align: left;
    padding: 5px;
    white-space: nowrap;
    vertical-align: middle;
}

.form-item-title-required {
    font-size: 12px;
    color: #fff;
    text-align: right;
    margin-bottom: 5px;
    background-color: hotpink;
}

.form-item textarea,
.form-item input[type=text],
.form-item input[type=tel],
.form-item input[type=email] {
	width: 100%;
    border-radius: 5px;
    border: 1px solid #ccc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    max-width: 400px;
}



.form-submit-btn {
    margin: 2rem auto;
    text-align: center;
}

.form-submit-btn input {
	width: 150px;
	line-height: 2em;
	margin: 10px auto;
	background: rgba(0, 125, 212);
	color: #fff;
	border-radius: 20px;
    border-color: rgba(0, 125, 212);
    box-shadow: none;
 }

.form-submit-btn input:hover {
	background: hotpink; 
	color: #fff;
    border-radius: 20px;
    border-color: hotpink;
    box-shadow: none;
 }

.btn-send {
    font-size: 14px;
    margin: 5px 0;
}

.error {
    color: hotpink;
    font-size: 0.8rem;
}


/* radio button */
.radio-text {
    display: none;
}

.radio-text + span {
    font-size: 14px;
    cursor: pointer;
    padding-left: 20px;
    position: relative;
}


.radio-text + span::before {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid gray;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.radio-text + span::after {
    content: "";
    width: 11px;
    height: 11px;
    background: skyblue;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    opacity: 0;
}


.radio-text + span::after {
    opacity: 1;
}



/* Footer */
.footer-section {
    background-color: cornflowerblue;
    height: 60px;
    text-align: center;
    font-size: 18px;
}

.footer-section p {
    line-height: 60px;
    margin: 0 auto 0 auto;
    color: #fff;
}

/* Mobile */
@media (max-width: 767px) {

    h1 {
        font-size: 0.9rem;
        font-weight: bold;
    }

    .header-letter h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 0.7rem;
        font-weight: bold;
    }

    .header-letter h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 0.7rem;
    }

    p {
        font-size: 0.7rem;
    }

    li {
        font-size: 0.7rem;
    }

    dt,dd {
        font-size: 0.7rem;
    }

    /* Header */
    .header-container {
        height: 10vh;
    }

    .search-box {
        width: 120px;
    }

    .search-input {
        width: 70px;
    }

    .search-form {
        font-size: 12px;
        padding: 2px 10px;
    }

    .menu-items a {
        font-size: 12px;
    }

    .menu-items-page a {
        font-size: 10px;
    }

    /* Nav */
    .menu-upper {
        padding: 1.5rem;
    }

    .menu-container {
        padding-right: 1rem;
    }

    /* Common */
    .section-pager a {
        margin: 0 10px 0 auto;
    }

    /* News */
    .news-container {
        max-width: 500px;
    }

    .news-contents {
        margin: 0 40px;
    }

    .news-item {
        flex-direction: column;
        margin-bottom: 20px;
    }

    .news-date {
        margin-bottom: 0;
    }

    /* Newspaper */
    .newspaper-contents {
        margin: 0 40px;
    }

    .newspaper-list {
        display: flex;
        flex-direction: column;
    }

    .newspaper-items {
        width: 100%;
    }

    .newspaper-items img {
        width: 50%;
        height: auto;
    }


    /* Guide */
    .guide-title-span {
        font-size: 0.5rem;
        padding-right: 0.5rem;
    }

    /* inquire-page */
    .section-contents {
        margin: 0 5px;
    }

    .form-table {
        margin: 0 auto;
    } 

    .form-contents {
        font-size: 10px;
    }

    .form-item-title {
        width: 90%;
        white-space: pre-wrap;
        display: table;
    }

    .form-item-title-required {
        font-size: 8px;
    }

    .form-item {
        display: block;
        width: 90%;
        padding: 5px;
        text-align: center;
    }

    .form-item textarea,
    .form-item input[type=text],
    .form-item input[type=email],
    .form-item input[type=tel] {
	    width: 95%;
        max-width: -webkit-fill-available;
    }



}
