@charset "UTF-8";
/*
Theme Name: MY THEME 1.1
Author: RYO
Description: Portfolio
Version: 1.1
*/

html{
    font-size: 100%;
    padding-top: 0;
    max-width: 1980px;
    margin-right: auto;
    margin-left: auto;
}
@media screen and (max-width: 769px) { 
    .html{
        max-width: 100%;
    }
}
body{
    font-family: "Roboto Serif", serif;
    font-weight: 600;
    line-height:1.7;    /*行の高さ指定*/
    color:#432;
    margin: 0;
    padding: 0;
}
.section-h5{
    font-family: "Playfair Display", serif;
    font-weight: 900;
    font-size: 4rem;
    position: relative;
    padding-top: 8%;
    padding-left: 15%;
    z-index: 10;
}
@media screen and (max-width: 769px) { 
    .section-h5{
        text-align: center;
        font-size: 3rem;
        padding-left: 0%;
        padding-top: 20%;
    }
}
.section-h6{
    font-size: 2.5rem;
}
p {
    font-size: 1.25rem;
}
.pagename{
    font-family: "Playfair Display", serif;
    font-weight: 900;
}
a{
    font-size: 1.25rem;
}
.button{
    width: fit-content;
    height:fit-content;
    position:relative;
    text-align:center;
    padding-top: 5px;
    padding-left: 10px;
    padding-bottom: 5px;
    padding-right: 10px;
    font-size: 1.5rem;
	font-family: "Roboto Serif", serif;
	letter-spacing: 0.18em;
    background: #e2e2e2;
    border: 1px solid #343434;
    color:#000000;
    border-radius:0;
    -webkit-border-radius:0;
    -moz-border-radius:0;
    text-decoration: none;
}
.button:hover {
	border: 1px solid transparent;
	background: #E6C2BF;
    color: #000000;
}
@media screen and (max-width: 769px) { 
    .p{
        font-size: 1rem;
    }
    .section-h6{
        font-size: 2rem;
    }
}
/*HEADER
-----------------------------------------------*/
header{
    position: fixed;
    top: 0;
    min-width: 100%;
    max-width: 1980px;
    right: 0;
    z-index: 100;
}
.header-index{
    background-color: #F7EF66;
    max-width: 1980px;
    height: 100px;
}
.header-front{
    background-image: url(../mytheme_v2/img/header_back_removebg.png);
    background-size: cover;
    height: 120px;
}
@media screen and (max-width: 769px) {
    header{
        max-width: 100%;
        position: fixed;
    }
    .header-front, .header-index{
        background-image: none;
        background-color: #F7EF66;
        height: 60px;
    }
}
.page-header{
    display: block;
    position: relative;
}
.page-header-width{
    display: flex; /*横並びの設定*/
    justify-content:space-between;  /*両端配置の設定*/
}
.logo{
    display: flex;
    position: absolute;
    left: 0;
}
.logo-img{
    width: 80px;
    margin-top: 0;
    padding-top:14px;
    padding-left: 14px;
}
.logo2{
    padding-left: 10px;
    padding-top: 20px;
    a{
        font-family: "Lato", sans-serif;
        font-weight: 700;
        font-style: italic;
        font-size: 2.5rem;
        color: rgb(0, 0, 0);
        text-decoration: none;
    }
}
.nav-position{
    position: absolute;
    right: 4%;
}
.nav{
    margin-top: 0;
    display:flex;   /*横並びの設定*/
    font-size: 1.25rem;
    text-transform:uppercase;
    padding-top:34px;
    list-style: none;
    li{
        margin-left:36px;
    }
    a{
        color:rgb(0, 0, 0);
        text-decoration: none; /*下線を消す*/
    }
    /*:hoverは類似クラス。マウスポインタを要素の上に置いたときに実行させるクラス*/
    a:hover{
        color:rgb(255, 0, 0);
        text-decoration: none; /*下線を消す*/
    }
}
.sp-nav{
    display: none;
}
@media screen and (max-width: 769px) { 

    .logo-img{
        width: 50px;
        padding-top: 10px;
    }
    .logo2{
        padding-top: 5px;
        a{
            font-size: 1.7rem;
        }
    }
    .nav{
        display: none;
    }
    .hamburger {
        position: relative;
        display: block;
        width: 30px;
        height: 25px;
        margin: 18px 20px 0 auto;

     }
     .hamburger span {
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 100%;
        height: 2px;
        background-color: black;
        transform: translateY(-50%);
     }
     .hamburger::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: black;
     }
     .hamburger::after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 70%;
        height: 2px;
        background-color: black;
     }
     .sp-nav {
        z-index: 1;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        display: block;
        width: 100%;
        background: rgba(0, 0, 0, .8);
        transition: all .2s ease-in-out;
        opacity: 0;
        transform: translateY(-100%);
        
     }
     .sp-nav ul {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        list-style: none;
        text-decoration: none;

     }
     .sp-nav li {
        margin: 0;
        padding: 0;
        

     }
     .sp-nav li span {
        font-size: 15px;
        color: #fff;
        
     }
     .sp-nav li a, .sp-nav li span {
        display: block;
        padding: 20px 0;
        color: white;
        
     }
     /*基準となるli要素*/
    .sp-nav .close {
        position: relative;
        padding-left: 20px;
    }
    /*バツ印線1*/
    .sp-nav .close::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 16px;
        height: 1px;
        background: #fff;
        transform: rotate( 45deg );
    }
    /*バツ印線2*/
    .sp-nav .close::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 16px;
        height: 1px;
        background: #fff;
        transform: rotate( -45deg );
    }
    .toggle {
        transform: translateY( 0 );
        opacity: 1;
     }
     
}
/*main
-----------------------------------------------*/
.welcome{
    position: relative;
    margin-top: 150px;
    height: 600px;
    img{
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
    }
}
.top{
    position:absolute;
    width: fit-content;
    height:fit-content;
    background:#E6C2BF;
    padding:10px;
    font-size: 20px;
    text-align:center;
    color:#000000;
    border-radius:8px;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
}
.comment1:after{
    border: solid transparent;
    content:'';
    height:0;
    width:0;
    pointer-events:none;
    position:absolute;
    border-color: rgba(230, 194, 191, 0);
    border-top-width:8px;
    border-bottom-width:8px;
    border-left-width:8px;
    border-right-width:8px;
    margin-top: -8px;
    border-left-color:#E6C2BF;
    left:100%;
    top:50%;
}
.comment2:after{
    border: solid transparent;
    content:'';
    height:0;
    width:0;
    pointer-events:none;
    position:absolute;
    border-color: rgba(230, 194, 191, 0);
    border-top-width:8px;
    border-bottom-width:8px;
    border-left-width:8px;
    border-right-width:8px;
    margin-top: -8px;
    border-right-color:#E6C2BF;
    right:100%;
    top:50%;
}
.comment3:after{
    border: solid transparent;
    content:'';
    height:0;
    width:0;
    pointer-events:none;
    position:absolute;
    border-color: rgba(230, 194, 191, 0);
    border-top-width:8px;
    border-bottom-width:8px;
    border-left-width:8px;
    border-right-width:8px;
    margin-left: -8px;
    border-top-color:#E6C2BF;
    top:100%;
    left:50%;
}
.comment4:after{
    border: solid transparent;
    content:'';
    height:0;
    width:0;
    pointer-events:none;
    position:absolute;
    border-color: rgba(230, 194, 191, 0);
    border-top-width:8px;
    border-bottom-width:8px;
    border-left-width:8px;
    border-right-width:8px;
    margin-left: -8px;
    border-bottom-color:#E6C2BF;
    bottom:100%;
    left:50%;
}
.top1{
    position: absolute;
    display: none;
    top: 30%;
    left: 30%;
}
.top2{
    position: absolute;
    display: none;
    top: 40%;
    left: 15%;
}
.top3{
    position: absolute;
    display: none;
    top: 50%;
    left: 20%;
}
.top4{
    position: absolute;
    display: none;
    top: 60%;
    left: 25%;
}
.top5{
    position: absolute;
    display: none;
    top: 70%;
    left: 18%;
}
.top6{
    position: absolute;
    display: none;
    top: 30%;
    right: 30%;
}
.top7{
    position: absolute;
    display: none;
    top: 40%;
    right: 25%;
}
.top8{
    position: absolute;
    display: none;
    top: 50%;
    right: 20%;
}
.top9{
    position: absolute;
    display: none;
    top: 60%;
    right: 25%;
}
.top10{
    position: absolute;
    display: none;
    top: 70%;
    right: 23%;
}
.top11{
    position: absolute;
    display: none;
    top: 20%;
    right: 35%;
}
.top12{
    position: absolute;
    display: none;
    top: 20%;
    left: 38%;
}
.top13{
    position: absolute;
    display: none;
    bottom: 15%;
    right: 40%;
}
.top14{
    position: absolute;
    display: none;
    bottom: 15%;
    left: 35%;
}
@media screen and (max-width: 769px) { 
    .comment1:after, .comment2:after{
        margin-left: -8px;
        margin-top: none;
        top:100%;
        bottom: none;
        left:50%;
        right: none;
    }
    .comment4:after{
        border: solid transparent;
        content:'';
        height:0;
        width:0;
        pointer-events:none;
        position:absolute;
        border-color: rgba(230, 194, 191, 0);
        border-top-width:8px;
        border-bottom-width:8px;
        border-left-width:8px;
        border-right-width:8px;
        margin-left: -8px;
        border-top-color:#E6C2BF;
        top:100%;
        left:50%;
        bottom: none;
    }
    .top1, .top2, .top3, .top4, .top5, .top6, .top7, .top8, .top9, .top10, .top11, .top12, .top13, .top14{
        top: 10%;
        left: 50%;
        transform: translate(-50%);
        min-width: max-content;
    } 
}

/*Works
-----------------------------------------------*/
.works{
    background-image: url(../mytheme_v2/img/page_back.png);
    background-size:cover;
    margin-top: 100px;
    min-height: 1080px;
    position: relative;

}
.works-flex{
    display: flex;
    margin-left: 15%;
    margin-top: 2%;
 

}
.works-character{
    min-width: 40%;
    max-width: 40%;
    height: 100%;
}
.works-img{
    margin-left: 5%;
    list-style: none;
    width: 500px;
    height: 300px;
    img{

        max-width: 500px;
        max-height: 300px;
        min-width: 500px;
        min-height: 300px;
        object-fit: cover;
    }
}
.works-button{
    text-align: center;
    margin-top: 150px;
}
@media screen and (max-width: 769px) { 

    .works-flex{
        display: block;
        position: relative;
        text-align: center;
        margin-left: 1%;
        margin-right: 1%;
    }
    .works-character{
        margin: auto;
        min-width: 90%;
        max-width: 90%;
        padding-top: 2%;
    }
    .works-img{
        margin: auto;
        padding-top: 15%;
        width: 80%;
        height: 80%;
        img{
            max-width: 100%;
            max-height: auto;
            min-width: 100%;
            min-height: auto;
            object-fit: cover;
        }
    }
    .works-button{
        margin-top: 10%;
    }

}

/*
.pc{
    position: absolute;
    bottom: 15%;
    left: 45%;
    z-index: 2;
    img{
        width: 42vw;
        height: auto;
        max-width: 56rem;
        max-height: 50rem;
    }
}
/*About
-----------------------------------------------*/
.about{
    background-image: url(../mytheme_v2/img/capybara_all.png);
    background-size: 50%;
    background-color: rgba(255,255,255,0.9);
    background-blend-mode: lighten;
    background-position-y: 400px;
    background-position-x: center;
    min-height: 1080px;
    position: relative;
    display: block;
}
.about-flex{
    display: flex;
}
.about-img{
    padding-top: 2%;
    padding-left: 15%;
    img{
        width: 20vw;
        max-width: 15rem;
    }
}
.about-character{
    padding-top: 5%;
    padding-left: 10%;
    width: 55%;
}
.img108{
    display: flex;
    justify-content: space-between;
    padding-top: 5%;
    list-style: none;
    li{
        float:left;
    }
    img{
        margin-left: 20px;
        object-fit: cover;
        min-height: 20rem;
        max-height: 20rem;
        min-width: 30rem;
        max-width: 30rem;
        border-radius: 10px;
        border: 3px solid #ccc;
    }
}
@media screen and (max-width: 769px) {

    .about{
        background-image: none;
        min-height: auto;
    }
    .about-flex{
        display: block;
        position: relative;
        text-align: center;
    }
    .about-img{
        margin: auto;
        padding-top: 10%;
        padding-left: 0;
        img{
            width: 40%;
        }
    }
    .about-character{
        margin: auto;
        padding-top: 10%;
        padding-left: 0;
        width: 90%;
    }
    .img108{
        margin-top: 20%;
    }

}
/*Blogs
-----------------------------------------------*//*
.blogs{
    background-image: url(../mytheme_v2/img/page_back.png);
    background-size: cover;
    height: 1080px;
    position: relative;
}
.watch{
    padding-top: 500px;
    text-align: center;
}*/
/*Contact
-----------------------------------------------*/
.contact{
    background-image: url(../mytheme_v2/img/capybara_pc_removebg.png);
    background-size: 40%;
    background-color: rgba(255,255,255,0.9);
    background-blend-mode: lighten;
    background-position: center;
    height: 700px;
    h6{
        padding-top: 5%;
        text-align: center;
    }
}
.button-contact{
    text-align: center;
}
@media screen and (max-width: 769px) {
    
    .contact{
        background-size: 50%;
        height: auto;
        text-align: center;
        h6{
            margin: auto;
            width: 90%;
            font-size: 1.25rem;
        }
    }
    .button-contact{
        margin-bottom: 15%;
    }

}
/*footer
-----------------------------------------------*/
footer{
    height: 100px;
    background-color: #727272;
    text-align: center;
    p{
        line-height: 100px;
    }
}

/* --------------------------------
 * smart phone
 * -------------------------------- */
 @media screen and (max-width: 769px) { 

 }