@charset "utf-8";
*, ::before, ::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 80%;
    text-align: left;
    scroll-behavior: smooth;
    scroll-padding-top: 66px;
}
img   {
    vertical-align: top;
    max-width: 100%;
    height: auto;
}

.container {
	max-width: 640px;
	margin-left: auto;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-right: 0px;
	padding-top: 68px;
}
.bg {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    right: auto;
    bottom: auto;
    z-index: -1;
}
.bg img {
    width: 100%;
    height: 100%;
    opacity: 0.3;
    object-fit: cover;
}
header {
    width: 100%;
    display: flex;
    position: fixed;
    align-items: center;
    background-color: rgba(17,40,115,0.50);
    z-index: 1;
    top: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0 2em;
    margin-left: auto;
    max-width: 640px;
}
.zen-kaku-gothic-antique-regular {
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 500;
    font-style: normal;
}
body {
    background-color: #FFFFFF;
    line-height: 1.2;
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    color: #000000;
}
.inview {
    opacity: 0;
    transform: translateY(100px);
    transition: 1s;
}
.inview.fade-in {
    opacity: 1;
    transform: translateY(0);
}


.logo {
	padding-top: 5px;
	padding-bottom: 5px;
}
.mainimage {
    margin-bottom: 5rem;
    left: auto;
    right: auto;
}
.mainimage img {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    text-align: center;
    height: auto;
}
.slide {
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;
}


a {
    text-decoration: none;
}
a:hover {
    color: rgba(90,164,144,1.00);
    text-decoration: underline;
}



nav {
    width: calc(100%-640px)/2;
    height: calc(100%-66px);
    position: fixed;
    left: 0px;
    color: #FFFFFF;
}
nav ul {
    height: 100%;
    display: inline-block;
    font-size: 16px;
    list-style-type: none;
    overflow: auto;
    border-collapse: collapse;
    color: #000000;
}
nav a {
    padding: 15px 20px;
    display: block;
    color: #000000;
    line-height: 1.3;
    text-decoration: none;
}
nav a:hover {
    background-color: rgba(90,164,144,0.50);
    color: #FFFFFF;
}
section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    line-height: 1;
    margin-top: 2rem;
}
.click {
    margin-top: 20px;
    margin-bottom: 20px;
}

.profileimage img {
	left: auto;
	right: auto;
	height: auto;
	max-width: 600px;
}

section {
    padding-top: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.box-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}
.box {
    margin-bottom: 2rem;
    height: auto;
    width: 48%;
    margin-top: 30px;
}
.textbox {
    width: auto;
    height: 50px;
}



footer {
	padding-top: 2rem;
	padding-bottom: 2rem;
	color: #000;
	text-align: center;
	background-color: rgba(17,40,115,0.00);
	padding-right: 0px;
	padding-left: 0px;
}
.abouttext {
    max-width: 600px;
    background-color: rgba(216,145,104,0.50);
    display: none;
    line-height: 1.7;
}
.newtext {
    line-height: 1.7;
}
.aboutprofile {
    line-height: 1.7;
}




@media (max-width:900px){
.nav-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: auto;
    position: relative;
    margin-right: 0px;
}
.nav-button span {
    width: 20px;
    height: 2px;
    background-color: #FFFFFF;
    position: absolute;
    left: 8px;
}
.nav-button span:nth-child(1) {
    top: 9px;
}
.nav-button span:nth-child(2) {
    top: 17px;
}
.nav-button span:nth-child(3) {
    top: 25px;
}
nav {
    width: 100%;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
}
nav ul {
    display: block;
    margin: 0 auto;
    padding: 5rem 0;
    max-width: 640px;
    font-size: 16px;
    text-align: center;
    background-image: url(../img/nvimg.png);
    background-repeat: no-repeat;
    background-position: 20% 0%;
    color: #FFFFFF;
}
nav a {
    color: #FFFFFF;
}

.open nav {
    opacity: 1;
    visibility: visible;
}
.open .nav-button span:nth-child(1) {
    top: 17px;
    transform: rotate(315deg);
}
.open .nav-button span:nth-child(2) {
    width: 0px;
    left: 50%;
}
.open .nav-button span:nth-child(3) {
    top: 17px;
    transform: rotate(-315deg);
}












}

@media (max-width:640px){
.box {
    margin-top: 20px;
}
.box-area {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
h2 {
    text-align: center;
}
.newtext dl {
	text-align: left;
	display: table;
	margin-left: auto;
	margin-right: auto;
}
.minilink {
    width: 48%;
    margin-left: auto;
    margin-right: auto;
}
.click {
	display: table;
	margin-left: auto;
	margin-right: auto;
}
.maeoki {
	text-align: center;
}
.profileimage {
	align-items: center;
	justify-content: center;
	left: auto;
	right: auto;
}
.profileimage img {
	width: 100%;
	height: auto;
	text-align: center;
}

}
