@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

/* 固定化 */
.flex-wrapper {
    display: flex;   
}

.header-2,.header-3 {
    display: none;
}
body {
    width: 100%;
}

/* header */
.header-1 {
    position: fixed;
    width: 18%;
    padding-bottom: 25%;
    background-color: darkblue;
}
h1 {
    width: 80%;
    margin-top: 15%;
    margin-left: auto;
    margin-right: auto;
}
h1 a img {
    width: 100%;
    vertical-align: bottom;
}

/* nav */
nav {
    width: 80%;
    margin-top: 15%;
    margin-left: auto;
    margin-right: 4%;
}

nav ul {
    width: fit-content;
    list-style: none;
} 

nav ul li {
    margin-bottom: 10%;
    transition: 0.5s;
}
nav ul li:hover {
    transform: scale(1.05,1.05);
    transition: 0.5s;
    box-shadow: 3px 3px 0 0 cyan;  
}

nav ul li a {
    display: block;
    text-decoration: none;
    font-size: 1.2vw;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: whitesmoke;
}

/* nav mail-box */
.mail-box {
    width: 60%;
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15%;
    padding: 5%;
    text-align: center;
    border-radius: 5%;
    background-color: deepskyblue;
    transition: 0.3s;
}
.mail-box:hover {
    transform: scale(0.97,0.97);
    transition: 0.2s;
    background-color: cyan;
}

.mail-box a {
    display: block;   
    text-decoration: none;
}

.mail-box p {
    color: white;
}
.mail-child {
    width: 25%;
    margin-left: auto;
    margin-right: auto;
    
}
.mail-child img {
    display: block;
    width: 100%;
    background-color: white;
}
/* header 終了 */


.section-wrapper {
    width: 82%;
    margin-left: auto;
}


/* main */
main{
    width: 100%;
    height: 50vw; 
    background-color: whitesmoke; 
}   
.main-visual {
    position: relative;
    width: 100%;
}
.main-photo1 {
    position: absolute;
    top: 0vw;
    left: 0;
    width: 55%;   
}
.main-photo1 img {
    width: 100%;
    height: 32vw;
    vertical-align: bottom;
}
.main-photo2 {
    position: absolute;
    top: 2vw;
    left: 8%;
    width: 18%;  
}
.main-photo2 img {
    width: 100%;
    vertical-align: bottom;
}
.main-photo3 {
    position: absolute;
    top: 25vw;
    left: 5%;
    width: 23%;
}
.main-photo3 img {
    width: 100%;
    vertical-align: bottom;
}
.main-photo4 {
    position: absolute;
    top: 21vw;
    left: 30%;
    width: 70%;
}
.main-photo4 img {
    width: 100%;
    height: 28vw;
    vertical-align: bottom;
}
.main-photo5 { 
    position: absolute;
    top: 3vw;
    left: 68%;
    width: 22%;
}
.main-photo5 img {
    width: 100%;
    vertical-align: bottom;
}
.main-photo6 {
    position: absolute;
    top: 28vw;
    left: 75%;
    width: 18%;
}
.main-photo6 img {
    width: 100%;
    vertical-align: bottom;
}
.main-photo7 {
    position: absolute;
    top: 8vw;
    left: 25%;
    width: 50%;
}
.main-photo7 img {
    width: 100%;
    vertical-align: bottom;
}
.main-photo8 {
    position: absolute;
    top: 32vw;
    left: 37%;
    width: 18%;
}
.main-photo8 img {
    width: 100%;
    vertical-align: bottom;
}

/* section1 */
.section1 {
    width: 100%;
    height: 20vw;
    margin-top: 10%;
    margin-bottom: 10%;
    background-image: url(../images/imgi_30_s-2285x1200_v-frms_webp_e88e49d0-aba7-418c-8e76-99749c2f35cd_middle.webp);
    background-repeat: no-repeat;
    background-position: 100% 100%; 
}
.section1 h2 {
    width: 40%;
    font-size: 4.5vw;
    text-align: center;
    color: darkturquoise;
    text-shadow: 2px 2px 5px whitesmoke;
}
.section1 p:nth-of-type(1) {
    width: 60%;
    margin-top: 2%;
    margin-left: 10%;
    line-height: 1.8;
    font-size: 1.5vw;
    font-weight: 600;
    color: whitesmoke;
    text-shadow: 1px 1px 3px darkcyan;
}
.section1-box {
    display: flex;
}
.section1 p:nth-of-type(2) {
    display: flex;
    width: 10%;
    margin-left: 10%;
    font-size: 2vw;
    align-items: center;
    justify-content: center;
}
.section1 p:nth-of-type(2) a {
    display: block;
    padding: 20%;
    font-size: 1.5vw;
    text-indent: 1em;
    text-shadow: 1px 1px 3px darkblue;
    box-shadow: 2px 2px 0 0 darkcyan;
    text-decoration: none;
    border-radius: 50%;
    border: 3px solid white;
    background-color: darkturquoise;
    color: white;
    transition: 0.5s; 
}
.section1 p:nth-of-type(2) a:hover {
    transform: scale(0.97,0.97);
    transition: 0.2s;
    text-shadow: 0 0 0 darkblue;
    box-shadow: 0 0 0 0 darkcyan;  
}
/* section202 */
.section202 {
    display: none;
}
/* section2 */
.section2 {
    display: flex;
    width: 100%;
    margin-bottom: 5%;
    background-color: whitesmoke;
}

.section2-box1 {
    width: 40%;
    margin: 5%;
} 
.section2-box1 h3 {
    font-size: 1.5vw;
    line-height: 2; 
    color: darkblue;
}
.section2-box1 p:nth-of-type(1) {
    font-size: 2.5vw;
    font-weight: 600;
    color: darkturquoise;
}
.section2-box1 p:nth-of-type(2) {
    width: 80%;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5%;
    line-height: 1.6;
    font-size: 1.3vw;
}
.section2-box1 p:nth-of-type(3) a {
    display: block;
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    padding: 2%;
    text-decoration: none;
    text-align: center;
    font-size: 1.5vw;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-radius: 10px 10px 10px 10px;
    border: 3px solid darkorange;
    text-shadow: 2px 2px 2px darkgray;
    box-shadow: 2px 2px 0 0 darkgray;
    background-color: white;
    color: darkorange;
    transition: 0.3s;
}
.section2-box1 p:nth-of-type(3) a:hover {
    transform: scale(0.97,0.97);
    transition: 0.2s;
    text-shadow: 0 0 0 darkgray;
    box-shadow: 0 0 0 0 darkgray;
}
.section2-box2 {
    width: 40%;
    margin: 5%;
} 
.section2-box2 img {
    width: 100%;
}

/* figure */

.section3 {
    width: 100%;;
    padding-top: 5%;
    padding-bottom: 5%;
}

.section3-box1 {
    width: 25%;
    margin-left: 5%;
    margin-bottom: 3%;
}
.section3-box1 h3 {
    font-size: 1.5vw;
    line-height: 2;
    color: darkblue;
}
.section3-box1 p {
    font-size: 3vw;  
    font-weight: 600; 
    letter-spacing: 0.1em;
    color: darkturquoise; 
}

.section3-box2 {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.box2-child {
    display: flex;
    margin-bottom: 3%;
}
.figure {
    width: 96%;
    margin-left: 2%;
    background-color: whitesmoke;
    transition: 0.3s;
}
.figure:hover {
    transform: scale(1.03,1.03);
    transition: 0.2s;
    opacity: 0.5;
}
.figure a {
    display: block;
    text-decoration: none;
    font-size: 1.2vw;
    color: #404040;
}
.figure a img {
    width: 100%;
    vertical-align: bottom;
}
figcaption {
    width: 90%;
    margin-top: 3%;
    margin-left: auto;
    margin-right: auto;  
}
figcaption h4 {   
    font-size: 1.1vw;
}
figcaption p {
    margin-top: 2%;
}
.section3-box3 {
    width: 40%;
    margin-top: 3%;
    margin-left: auto;
    margin-right: auto;
}
.section3-box3 p a {
    display: block;
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    padding: 2%;
    text-decoration: none;
    text-align: center;
    text-shadow: 2px 2px 2px darkgray;
    box-shadow: 2px 2px 0 0 darkgray;
    font-size: 1.5vw;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-radius: 10px 10px 10px 10px;
    border: 3px solid darkorange;
    background-color: whitesmoke;
    color: darkorange;
    transition: 0.3s;
}
.section3-box3 p a:hover {
    transform: scale(0.97,0.97);
    transition: 0.2s;
    text-shadow: 0 0 0 darkgray;
    box-shadow: 0 0 0 0 darkgray;
}

/* footer2 tablet用 */
.footer-002,.footer-003 {
    display: none;
}
/* footer2 tablet用 */



/* footer */
.footer-001 {
    width: 100%;
    padding-top: 1%;
    background-color: #404040;
}
.footer-box1 {
    display: flex;
    width: 96%;
}
.rogo h2 {
    width: 25%;   
    margin-left: 3%;  
}
.rogo h2 img {
    width: 100%;
}

.icon {
    display: flex;
    width: 12%;
    margin-left: auto;
}
.icon i {
    display: block;
    margin-left: auto;
    text-align: right;
    font-size: 2.6vw;
    color: white;
    transition: 0.5s;
}
.icon i:hover {
    transform: scale(1.2,1.2);
    transition: 0.5s; 
}
.footer-box2 {
    display: flex; 
    width: 96%; 
    margin-left: auto;
    margin-right: auto;     
}
.footer-child1 {
    width: 16%;
    margin-left: 2%;
    line-height: 2;
    font-size: 1.2vw;
}
.footer-child1 h3 a {
    display: block;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: white;
    transition: 0.5s;
}
.footer-child1 h3 a:hover {
    transition: 0.5s;
    color: gray;
    background-color: whitesmoke;
}

.footer-child2 {
    width: 26%;
    margin-left: 5%;
    margin-right: 2%;
    line-height: 1.8;
}
.footer-child2 p a {
    font-size: 1.1vw;
    text-decoration: none;
    color: white;
    transition: 0.5s;
}
.footer-child2 p a:hover {
    transition: 0.5s;
    color: gray;
    background-color: whitesmoke;
}

.footer-nav {
    width: 40%;
    margin-left: auto;
    margin-right: 2%;
}
.footer-child3,.footer-child4 {
    display: flex;
    margin: 1%;
    line-height: 2;
    font-size: 1.3vw;
    list-style: none;
}
.footer-child3 li,.footer-child4 li {
    width: 30%;
    margin-left: auto;
    text-align: center;
}
.footer-child3 li a,.footer-child4 li a {
    line-height: 2;
    letter-spacing: 0.1em;
    text-decoration: none;
    font-size: 1.6vw;
    color: white;
    transition: 0.5s;
}
.footer-child3 li a:hover,.footer-child4 li a:hover {
    transition: 0.5s;
    color: gray;
    background-color: whitesmoke;
}

.footer-child5 {
    width: 100%;
}
.footer-child5 p {
    width: 94%;
    margin-top: 10%;
    margin-left: auto;
    text-align: center;
}
.footer-child5 p a {
    display: block;
    text-decoration: none;
    font-size: 1vw;
    color: white;
    transition: 0.5s;
}
.footer-child5 p a:hover {
    transition: 0.5s;
    color: gray;
    background-color: whitesmoke;
}


footer p small a {
    display: block;
    width: 99%;
    margin-top: 1%;
    margin-left: auto;
    margin-right: auto;
    padding: 0.5%;
    text-align: center;
    text-decoration: none;
    font-size: 1vw;
    color: whitesmoke;
    background-color: darkturquoise;
}
footer p small a:hover {
    transition: 0.5s;
    color: darkblue;
}