/*
Theme Name:マイポートフォリオ
*/
@charset "UTF-8";
/****************************************
* リセットCSS
*****************************************/
*, *::before, *::after {
    box-sizing: border-box;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a,
abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike,
strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table,
caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-size: 100%;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}
body {
    font-family: 'Satisfy', 'cursive';
    width: 100%;
    height: 100%;
    margin: 0 auto;
    letter-spacing: 1.5px;
    line-height: 1.5;
    font-size: 0.75rem;
}
img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}
a {
    text-decoration: none;
    color: #333;
}
ol, ul {
    list-style: none;
}
table {
    border-collapse: separate;
    border-spacing: 0;
}
html{
    font-size: 1vw;
}

body{
    max-width: 1440px;
    width: 100%;
    font-family: 'Shippori Mincho', serif;
    font-size: 0.9rem;
    line-height: 1.7;
}

input,textarea {
-webkit-appearance: none;
}


.flex{
    display: flex;
    
    
}

.inner{
    margin: 0 auto;
    padding:0 20px;
}

/*
「background-attachment: fixed;」で背景を固定する
※background-attachment: fixed;とbackground-size: cover;
を同時に使用した場合、iOSでは正しく動作しない
*/
.fixed-bg {
    height: 300px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
/*  コンタクトフォーム*/
input[type="submit"],
input[type="button"] {
border-radius: 10px;
-webkit-box-sizing: content-box;
-webkit-appearance: button;
appearance: button;
border: none;
box-sizing: border-box;
cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
outline-offset: -2px;
}



/*-------------------------------------------
ヘッダー
-------------------------------------------*/
#header {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    margin: 0 auto;
    padding: 0 4%;
}

#header h1{
    font-size: 1.5rem;
}

#header ul {
    display: flex;
    padding: 10px 0;
}
#header li {
    font-size: 0.9rem;
    margin-left: 30px;
}
#header li a {
    color: #24292e;
}
#header li a:hover {
    opacity: 0.7;
}
#header li img.icon {
    width: 30px;
}










#profile{
    background-color: rgba(0,95,168,0.8);
    background-size: cover;
    background-position: bottom;
    min-height: 60vh;
    padding-top: 80px;
    color:#ffffff;
    text-shadow: 0.5px 0px 0px #4e4449, 0px .5px 0px #4e4449, -.5px 0px 0px #4e4449, 0px -.5px 0px #4e4449;
    width: 100%;
    background:linear-gradient(45deg, #0d3296,#2687a0,#311369);/*グラデーションを定義*/
    background-size: 200% 200%;/*サイズを大きくひきのばす*/
    animation: bggradient 10s ease infinite;

}

@keyframes bggradient{
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


.left__profile-box{
    padding-top: 30px;
    height: 100%;
    width: 100%;
    padding: 10px;
}

.left__profile-box img{
    width: 200px;
    height: 200px;
    display: block;
    margin:  0 auto;
}

.prof-img{
    text-align: center;
    width: 50%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.myname{
    text-align: center;
    margin: 20px auto;
    font-size: 2rem;
}

.licence{
    font-size: 2vw;
    text-align: center;
    white-space: pre;
}

.left__profile-box span{
    display: block;
    margin-bottom: 50px;
}

.right__profile-box{
    padding-top: 30px;
    height: 100%;
    width: 100%;
    padding: 20px 5px;
}

h2{
    font-size: 2vw;
}

.licence2 li{
    font-size: 2vw;
    padding: 5px 0;
}

.profile__content{
    margin-top: 30px;
    width: 80%;
    font-size: 2vw;
    line-height: 2.5rem;
}

/* ワークス　CSS */
#works{
    margin-top: 80px;
    
}


.fixed-bg{
    background-image: url(./img/PC.png);
    position: relative;
    
}



.section-title {
    font-size: 3rem;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%)translateX(-50%);
    filter: drop-shadow(2px 4px 6px #010101);
}

#works .wrap{
    
    flex-wrap: wrap;
} 

.works__container{
    
    margin-top: 80px;
    padding: 0 20px;
    width: 50%;
}

.works__container .works__portfolio{
    border: 1px solid rgba(0, 94, 172, 80%);
    border-radius: 50px;
    height: 400px;
    width: 100%;
    object-fit: cover;
}

#works .btn {
    display: block;
    margin: 30px auto;
    
    text-align: center;
    width: 230px;
    height: 70px;
    font-size: 1.5rem;
    line-height: 2.5;
    
    color: #000;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
#works .btn span {
    position: relative;
    display: block;
    font-size: 1vw;
    padding: 17px;
    width: 100%;
    height: 100%;
}

#works a{
    display: block;
}
/*
.btn::before 右の赤線
.btn::after 下の赤線
.btn span::before 左の赤線
.btn span::after 上の赤線
*/
#works .btn::before,
#works .btn::after {
    position: absolute;
    content: "";
    right: 0;
    bottom: 0;
    background: rgba(0, 94, 172, 80%);
    transition: all 0.3s ease;
}
#works .btn span::before,
#works .btn span::after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    background: rgba(0, 94, 172, 80%);
    transition: all 0.3s ease;
}
#works .btn::before,
#works .btn span::before {
    width: 2px;
    height: 50%;
}
#works .btn::after,
#works .btn span::after {
    width: 20%;
    height: 2px;
}
/*
ホバー時の縦の動作
右の赤線と左の赤線の高さを100%にする
*/
#works .btn:hover::before,
#works .btn span:hover::before {
    height: 100%;
}
/*
ホバー時の横の動作
下の赤線と上の赤線の横幅を100%にする
*/
#works .btn:hover::after,
#works .btn span:hover::after {
    width: 100%;
}

#works a{
    margin-top: 30px;
}

#works  .icon img{
    width: 100%;
    object-fit: none;
    margin-right: 20px;
}

#works .works__content{
    margin-top: 30px;
    padding:10px;
    font-size: 1.2vw;

}


/****************************************
* portfolio
*****************************************/
#portfolio{
    padding-top: 30px;
}

#portfolio ul{
    display: flex;
    flex-wrap: wrap;
}

#portfolio ul li{
    width: 50%;
    padding: 20px;
    

}

#portfolio .img{
    border: 2px solid rgba(0, 94, 172, 80%);
    border-radius: 30px;
    overflow: hidden;
    height: 500px;
}

#portfolio .event-box .img img{
    border-radius: 30px;
    object-fit:  cover;
    
}

#portfolio .event-box .portfolio-title{
    margin: 10px;
    text-align: center;
}

#portfolio .event-box .text{
    font-size: 1.3rem;
    padding: 5px;
}

#portfolio .btn {
    margin: 30px auto;
    text-align: center;
    width: 230px;
    line-height: 2.5;
    border: 2px solid #27c6ee;
    background-color: #fff;
    border-radius: 50px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.5s ease;
}

#portfolio .btn .text{
    font-size: 1.1rem;
}

#portfolio .btn:hover{
    background-color: #27c6ee;
    border: 2px solid #000;
}


#portfolio .btn a{
    display: block;
    color: #000;
}

#portfolio .btn a:hover{
    color: #fff;
}
/****************************************
* form
*****************************************/


#form{
    margin: 50px auto;    
    
}

#form a{
    margin: 0 auto;
    font-size: 1.8rem;
    width: 30%;
    height: 70px;
    border: 1px solid #000000;
    background-color: #f5003d;
    border-radius: 36px;
    color: #fff;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

/****************************************
* single-event(portfolio)
*****************************************/
.event-container{
    padding:100px 20px 50px;
}

.event-container .img__event{
    width: 40%;
}
.event-container .img__event img{
    border-radius: 30px;
    height: 100%;
    object-fit: cover;
    border:2px solid rgba(0, 94, 172, 80%)
}

.event-container .text__box{
    padding: 10px 30px;
    width: 65%;
}

.event-container .text__box .title{
    font-size: 2rem;
    margin: 10px auto;
}

.event-container .text__box .comment{
    font-size: 1.3rem;
    height: 60%;
}

.event-container .text__box .btn{
    border: 2px solid rgba(0, 94, 172, 80%);
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.5rem;
}
/****************************************
* archive-event(portfolio)
*****************************************/
.archive-box{
    padding-top: 100px;
    background-color: #ffffee;
    padding-bottom: 50px;
}
.archive-box h2{
    text-align: center;
    margin: 50px auto;
}
.archive-box .archive-event ul{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.archive-box .archive-event  li{
    width:calc(100%/3);
    padding: 10px;
}

.archive-box .archive-event .title{
    text-align: center;
    margin: 10px auto;
    font-size: 1.3rem;
}

.archive-box .archive-event img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 30px;
    border:2px solid #89c3eb
}

.archive-box .navigation{
    text-align: center;
    margin: 30px auto;
}


/****************************************
* ContactForm7
*****************************************/

.ContactForm7{
    background:linear-gradient(45deg, #0d3296,#2687a0,#311369);/*グラデーションを定義*/
    background-size: 200% 200%;/*サイズを大きくひきのばす*/
    animation: bggradient 10s ease infinite;
    color: #fff;
}

.ContactForm7__contact {
margin: 0px auto 0px;
max-width: 850px;
padding: 0 20px;

}
.ContactForm7__contact__title {
padding-top: 100px;
text-align: center;
font-size: 1.6rem;
font-weight: bold;
margin-bottom: 40px;
}
.ContactForm7__contact__label {
font-weight: bold;
font-size: 1.5rem;
    text-align:center;
}
.ContactForm7__contact__label span {
font-weight: bold;
color: #fff;
background-color: #f00;
padding: 0 10px;
margin: 0 5px;
font-size: 0.6rem;
}
.ContactForm7__contact input, .ContactForm7__contact textarea {
width: 100%;
border: none;
border: solid 1px #000000;
border-radius: 5px;
padding: 15px;
margin: 20px auto 40px;
}
.ContactForm7__contact textarea {
height: 45vh;
}
.ContactForm7__contact__submit {
text-align: center;
max-width: 380px;
margin: 0 auto;
}
.ContactForm7__contact input[type="submit"] {
    -webkit-appearance: none;
color: #fff;
background-color: #89c3eb;
border-radius: 50px;
font-size: 1.2rem;

margin: 50px auto;

}


.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
border-color: red;
text-align: center;
width: 50%;
margin: 20px auto;
}


.wpcf7 form.sent .wpcf7-response-output {
display: block;
text-align: center;
border-color: #46b450;
padding: 10px 20px;
margin: 10px auto;
width: 50%;
}


.ContactForm7__contact__submit{
    width: 40%;
}


/****************************************
* footer
*****************************************/



#footer .footer-img{
    
    padding:none;
    width: 100%;
    height: 200px;
    background-image: url(./img/footer.png);
    background-size: cover;
    position: relative;
}


#footer p{
    color: #ffffff;
    font-size: 1.5rem;
    filter: drop-shadow(2px 4px 9px #010101);
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%)translateX(-50%);
}


/****************************************
* レスポンシブ
*****************************************/


@media screen and (max-width: 900px) {

  /*-------------------------------------------
  ヘッダー
  -------------------------------------------*/
  #header {
    max-width: 100%;
    height: auto;
  }
  #header li {
    font-size: 0.8rem;
    margin-left: 20px;
  }
  #header li:first-child {
    margin-left: 0;
  }


.flex{
    display: block;
}
.myname{
    font-size: 4rem;
}

.licence{
    font-size: 3rem;
}

.right__profile-box{
    margin-top: 0;
    text-align: center;
}
.left__profile-box span{
    margin-bottom: 20px;
}

.profile__content{

    font-size: 3rem;
    margin:30px auto;
    text-align: center;
    line-height: 3.5rem;
}
h2{
    font-size: 2rem;
}

.licence2 li{
    font-size: 3rem;
}

/* WORKS */
.section-title{
    font-size: 5rem;
}

.works__container{
    width: 100%;
}

#works .btn{
    margin-top: 40px;
}

#works .btn span{
    line-height: 3.5;
    font-size: 3rem;
}
.btn{
    width: 70%;
}
#works .icon {
    width: 30%;
}

#works .works__content{
    font-size: 3rem;
}

.works__container .works__portfolio{
    height: 300px;
}
/****************************************
* portfolio
*****************************************/


#portfolio ul{
    flex-direction: column;
    flex-wrap: nowrap;
}

#portfolio ul li{
    width: 100%;
    padding: 20px;
    

}

#portfolio .img{
    border: 2px solid rgba(0, 94, 172, 80%);
    border-radius: 30px;
    overflow: hidden;
    height: 300px;
}

#portfolio .event-box .portfolio-title{
    margin: 10px;
    text-align: center;
}

#portfolio .btn a .text{
    font-size: 2rem;
}
/****************************************
* archive-event(portfolio)
*****************************************/

.archive-box .archive-event ul{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.archive-box .archive-event  li{
    width:50%;
    padding: 10px;
}


/****************************************
* single-event(portfolio)
*****************************************/
.event-container{
    padding:100px 20px 50px;
}

.event-container .img__event{
    width: 100%;
}
.event-container .img__event img{

}

.event-container .text__box{
    width: 100%;
    height: 100%;
}

.event-container .text__box .title{
    
}

.event-container .text__box .comment{
    font-size: 1.3rem;
}

.event-container .text__box .btn{
    border: 2px solid rgba(0, 94, 172, 80%);
    margin: 20px auto;
    display: block;
    width: 40%;
    text-align: center;
    padding: 10px 20px;
    font-size: 1.5rem;
}

}





@media screen and (max-width: 520px) {
    #header h1 a{
        font-size: 4rem;
    }


    .works__container .works__portfolio{
        height: 200px;
    }


    #works .btn span{
        padding: 14px;
    }

    .header .icon img{
        padding: 5px;
        height: 100%;
    }

    #form a {
        width: 50%;
        font-size: 16px;
    } 

.ContactForm7__contact__title {
    font-size: 4rem;
    
    }
    /* タイトルの大きさ */
    .ContactForm7__contact__label {
        font-weight: bold;
        font-size: 4rem;
        text-align: center;
    }
    /* 必須の大きさ */
    .ContactForm7__contact__label span {
        font-weight: bold;
        color: #fff;
        background-color: #f00;
        padding: 0 10px;
        margin: 0 5px;
        font-size: 3.5rem;
    }
    /* ボタンの文字の大きさ */
    .ContactForm7__contact input[type="submit"] {
        -webkit-appearance: none;
        color: #fff;
        background-color: #89c3eb;
        border-radius: 50px;
        font-size: 4rem;
        margin: 50px auto;
    }
/****************************************
* portfolio
*****************************************/


#portfolio .btn a .text{
    font-size: 3rem;
}

/****************************************
* single-event(portfolio)
*****************************************/
.event-container{
    padding:50px 20px 50px;
}

.event-container .img__event{
    width: 100%;
}
.event-container .img__event img{

}

.event-container .text__box{
    width: 100%;
    height: 100%;
}

.event-container .text__box .title{
    
}

.event-container .text__box .comment{
    font-size: 1.3rem;
}

.event-container .text__box .btn{
    border: 2px solid rgba(0, 94, 172, 80%);
    margin: 20px auto;
    display: block;
    width: 90%;
    text-align: center;
    padding: 10px 20px;
    font-size: 1.5rem;
}

/****************************************
* archive-event(portfolio)
*****************************************/

.archive-box .archive-event ul{
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
}
.archive-box .archive-event  li{
    width:100%;
}

.archive-box .archive-event .title a p{
    font-size: 3.3rem;
}

.archive-box .archive-event img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 30px;
    border:2px solid #89c3eb
}

.archive-box .navigation{
    text-align: center;
    margin: 30px auto;
}



}