@charset "UTF-8";

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "游ゴシック Medium", YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    background-color: #41f6f328;
    font-size: 17px;
    line-height: 1.7;
}
header {
    margin-bottom: 100px;
}
header .logo {
    margin-left: 10px;
    font-size: 18px;
    align-self: center;
    padding: 5px;
}
header #logonav {
    display: flex;
    margin-bottom: 30px;
}
header #logonav img {
    width: 70px;
    height: 50px;
    overflow: hidden;
    align-self: center;
    margin-left: 15px;
}
header #top-allDesign {
    display: flex;
}
/* prev矢印 */
header #top-allDesign #prev {
    position: absolute;
    top: 440px;
    left: 40px;
    opacity: 0;
}
header #top-allDesign #prev:hover {
    opacity: 1;
}
header #top-allDesign #prev::after {
    content: "";
    width: 50px;
    height: 50px;
    border-top: 5px solid #fff;
    border-right: 5px solid #fff;

    display: inline-block;
    transform: rotate(225deg);
}
/* next矢印 */
header #top-allDesign #next {
    position: absolute;
    top: 440px;
    right: 540px;
    opacity: 0;
}
header #top-allDesign #next:hover {
    opacity: 1;
}
header #top-allDesign #next::after {
    content: "";
    width: 50px;
    height: 50px;
    border-top: 5px solid #fff;
    border-right: 5px solid #fff;

    display: inline-block;
    transform: rotate(45deg);
}
header #top-sentenceDesign {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin-left: 60px;
}
header #top-sentenceDesign h1 {
    margin-left: 60px;
    font-size: 65px;
    border-left : 2px solid #000;
}
header #top-sentenceDesign p {
    font-size: 30px;
    line-height: 2.0;
}
/* nav */
nav {
    margin: 0 0 0 auto;
}
nav ul {
    list-style-type: none;
    display: flex;
    padding: 0;
}
nav ul li:after {
    content: "";
    display: block;
    width: 20px;
    border-bottom: 2px solid #000;
    margin: 1px auto;
  }
nav ul li,
nav ul li a:link,
nav ul li a:visited {
    font-size: 16px;
    text-decoration: none;
    color: #000;
    margin: 0 25px;
    padding-bottom: 4px;
}

nav ul li:hover {
    opacity: 0.7;
}

/* main */
main h2 {
    font-size: 2.6em;
}
main h3 {
    font-size: 1.7em;
}
#main-wrapper {
    width: 1170px;
    margin: 50px auto;
}
main h2 {
    text-align: center;
}
main p {
    text-align: center;
}
main #site-warp {
    margin: 450px 0;
}
main #site-warp ul {
    display: flex;
    justify-content: space-between;
}
main #site-warp ul li {
    list-style-type: none;
    opacity: 0.4;
}
main #site-warp ul li:hover {
    opacity: 1;
    transition: opacity 1s;
}
main #site-warp p,
main #site-warp a:link,
main #site-warp a:visited {
    color: rgb(255, 255, 255);
}
main #site-warp p {
    font-size: 100px;
    position: absolute;
    margin-top: -215px;
    margin-left: 76px;
}
main #site-warp ul li img {
    width: 250px;
    height: 250px;
    border-radius: 70%;
    overflow: hidden;
}
main #gallery {
    margin-bottom: 300px;
}
main #gallery img {
    width: 285px;
    border-radius: 5%;
}
main #gallery ul {
    padding: 0;
}
main #gallery ul li {
    list-style-type: none;
}
main .li-wrapperFlex {
    display: flex;
    justify-content: space-between;
}

/* img changer */
main #img-changer {
    margin-bottom: 400px;
}
main #img-changer img {
    max-width: 100%;
}
main #img-changer .center {
    margin: 0 auto 0 auto;
    max-width: 90%;
    width: 800px;
}

main #img-changer .center ul li img{
    box-sizing: border-box;
    cursor: pointer;
    border: 2px solid #000;
}
main #img-changer .center ul li img:hover{
    opacity: 0.7;
}
main #img-changer ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style-type: none;
}
main #img-changer li {
    flex: 1 1 auto;
    margin-right: 8px;
}
main #img-changer li:last-child {
    margin-right: 0;
}

main #about {
    margin-bottom: 450px;
}

main #contact {
    margin: 0 0 200px 130px;
}
main #contact dt {
    float: left;
    clear: left;
    margin-right: 40px;
}
main #contact .dl-wrapper {
    border-bottom: 1px solid #8080804d;
    margin-bottom: 10px;
    padding: 0 0 5px 10px;
}
main #contact dl a,
main #contact dl a:link,
main #contact dl a:visited {
    text-decoration: none;
    color: #000;
    opacity: 0.7;
}
main #contact dl a:hover {
    opacity: 1;
}

/* footer */
footer {
    background-color: #41f6f363;
    padding: 30px;
}
footer p {
    text-align: right;
    margin: 0 50px;
}


/* modalのためのCSS */
.modal-outside {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(3px);
    top: 0;
    left: 0;
    cursor: pointer;
}
.modal-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    text-align: center;
}
.close-area {
    width: 1em;
    margin: 5px 10px 0 auto;
    font-size: 20px;
    cursor: pointer;
}
.modal-window #modalI {
    width: 900px;
}
.modal-window #modal-sentence {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
}