@charset "utf-8";
@import url(reset.css);

* {
    font-family: 'Noto Sans JP', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1vw;
    line-height: 2vw;
    letter-spacing: 0.025em;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

h2 {
    font-size: 4vw;
    line-height: 7.2vw;
}

h3 {
    font-size: 2vw;
    line-height: 3.6vw;
}

body {
    background-color: #d3d3d3;
}

#global-btns {
    display: none;
}

#global-menu {
    text-align: right;
}

#global-menu nav {
    padding: 2vw 6vw;
}

#global-menu nav ul li {
    padding-bottom: 0.5vw;
    text-align: right;
    font-weight: bold;
    font-size: 1.4vw;
    line-height: 2.1vw;
}

#global-menu nav ul li i {
    font-size: 1.5vw;
}

#global-menu nav ul li a {
    color: #003333;
    text-decoration: none;
}

#global-menu nav ul li a:hover {
    color: #226666;
}

#wrapper {
    color: #333333;
    background-color: #ffffff;
}

#main {
    position: relative;
    width: 100%;
    aspect-ratio: 1600 / 1067;
    /* min-height: 100vh; */
    background-image: url('../img/top_main.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#main img {
    position: absolute;
    width: 25%;
    top: 22.5vw;
    left: 40%;
}

#profile .container {
    position: relative;
    height: auto;
}

#profile .container .txt {
    position: relative;
    height: auto;
    top: 0;
    left: 12%;
    width: 45%;
    padding: 4vw 10vw 7vw 4.5vw;
    /* background-color: #c0d8d8; */
    background-color: rgba(192, 216, 216, 0.5);
}

#profile .container .txt h2 {
    color: #003333;
}

#profile .container .img {
    position: absolute;
    height: auto;
    top: 11vw;
    right: 0;
    width: 50%;
}

#profile .container .img p {
    font-size: smaller;
    text-align: right;
    padding: 0.5vw 2vw;
}

#links {
    position: relative;
    height: auto;
}

#links .container {
    position: relative;
    height: auto;
    top: -4vw;
    left: 34%;
    width: 34%;
    padding: 6vw 0 4vw;
    background-color: rgba(192, 216, 192, 0.5);
}

#links .container p {
    text-align: center;
}

#links .container .buttons {
    margin: auto;
    padding: 1vw 0 0;
}

#links .container .buttons ul li {
    padding: 0.5vw 0 0;
}

#links .container .buttons ul li a {
    margin: auto;
    display: block;
    text-align: center;
    text-decoration: none;
}

#contact {
    padding: 5vw 0 10vw;
}

#contact .container {
    width: 51%;
    margin: auto;
}

#contact .container .txt {
    margin-bottom: 2vw;
}

#contact .container .txt h2,
#contact .container .txt h3 {
    text-align: center;
}

#contact .container .txt p {
    text-align: center;
    padding: 0.4vw 0 0;
}

#contact .container .txt p span,
.input-head span {
    color: #f33;
}

.input-group {
    position: relative;
    height: auto;
    padding: 2.5vw 0 0.1vw;
}

.input-line {
    border-bottom: 1px solid #ddd;
    margin-bottom: 0.8vw;
}

.input-head {
    position: absolute;
    height: auto;
    width: 12vw;
    padding: 0.4vw 1vw 0.4vw 0;
}

.input-body {
    position: relative;
    height: auto;
    width: 38vw;
    left: 12vw;
}

.input-body input,
.input-body textarea {
    width: 99%;
    padding: 0.4vw;
    background-color: #fff;
    border: none;
}

.input-body textarea {
    height: 16vw;
    border: 1px solid #ddd;
}

.input-action {
    height: auto;
    text-align: center;
}

#links .container .buttons ul li a,
.input-action input.button {
    width: 18vw;
    padding: 0.6vw;
    color: #fff;
    background-color: #033;
    border: 1px solid #033;
    border-radius: 0.6vw;
}

#links .container .buttons ul li a:hover,
.input-action input.button:hover {
    opacity: 0.8;
}




@media screen and (max-width: 1200px) {
    #contact .container {
        width: 74%;
    }

    .input-head {
        width: 16vw;
    }

    .input-body {
        left: 16vw;
        width: 58vw;
    }
}

@media screen and (max-width: 600px) {
    * {
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 3.8vw;
        line-height: 7vw;
    }

    h2 {
        font-size: 9vw;
        line-height: 16.4vw;
    }

    #global-btns {
        display: block;
        background-color: rgba(192, 216, 216, 0.05);
        padding: 6vw 4vw;
    }

    #global-onoff {
        font-size: 6vw;
    }

    #global-menu nav {
        position: absolute;
        display: none;
        background-color: rgba(192, 216, 216, 0.05);
        z-index: 10;
        right: 0;
        width: 64%;
    }

    #global-menu nav.active {
        display: block;
    }

    #global-menu nav,
    #global-menu nav ul,
    #global-menu nav ul li {
        padding: 0;
    }

    #global-menu nav ul li a {
        display: block;
        background-color: rgba(255, 255, 255, 0.9);
        padding: 4vw 4vw 3vw;
        margin-top: 1px;
        font-size: 4.6vw;
        line-height: 5vw;
    }

    #global-menu nav ul li i {
        font-size: 6vw;
        line-height: 5vw;
    }

    #main img {
        width: 48%;
        top: 16vw;
        left: 36vw;
    }

    #profile .container {
        position: relative;
        height: auto;
        width: 90%;
    }

    #profile .container .txt {
        position: relative;
        height: auto;
        top: 5vw;
        left: 5%;
        width: 100%;
        padding: 4.5vw 4.5vw 4.5vw;
    }

    #profile .container .img {
        position: relative;
        height: auto;
        top: -0.5vw;
        right: -5%;
        width: 100%;
    }

    #links .container {
        position: relative;
        height: auto;
        top: inherit;
        left: inherit;
        width: 90%;
        padding: 0;
        margin: 5vw auto 10vw;
        padding: 6vw 0 8vw;
    }

    #contact .container {
        position: relative;
        height: auto;
        width: 90%;
        margin: 5vw auto 10vw;
    }

    #contact .container {
        position: relative;
        height: auto;
        width: 90%;
        margin: 5vw auto 10vw;
    }

    .input-head {
        position: relative;
        width: 88vw;
    }

    .input-body {
        left: 0;
        width: 88vw;
    }

    .input-body input,
    .input-body textarea {
        width: 100%;
    }

    .input-body textarea {
        height: 32vw;
    }

    #links .container .buttons ul li {
        padding: 1.8vw 0 0;
    }

    #links .container .buttons ul li a,
    .input-action input.button {
        font-size: 4vw;
		width: 70vw;
        padding: 2.8vw;
        border-radius: 1.8vw;
    }
    
    .input-action input.historyBack {
        margin-bottom: 1vw;
    }
}


footer {
    color: #ffffff;
    background-color: #003333;
    text-align: center;
    padding: 1vw 1vw 2vw;
}

/* 選択禁止 */
html {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/* 保存禁止 */
img {
    pointer-events: none;
}
