@charset "UTF-8";
/*
Theme Name: Portfolio
Author: espo岐阜
*/
/* =================================
変数
================================= */
:root{
    --text-color:#333139;
    --main-color:#60B8EE;
    --base-color:#E9F4F8;
    --gray:#7B7B7B;
}

/* =================================
base
================================= */
body{
    font-family:"Noto Sans JP", sans-serif;
    font-size:16px;
    font-weight: normal;
    color:var(--text-color);
    scroll-behavior: smooth;
}
a{
    color: var(--text-color);
    text-decoration: none;
}
img{
    max-width: 100%;
}

ul{
    list-style: none;
}

/* =================================
共通
================================= */
.wrapper{
    max-width: 1080px;
    width: 100%;
    margin:0 auto;
    padding-left: 40px;
    padding-right: 40px;
}
.section-title{
    text-align: center;
    margin-bottom:40px;
}
.section-title-en{
    display: block;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 0.5em;
    margin-right: -0.5em;
}
.section-title-ja{
    display: block;
    font-size:16px;
    font-weight: normal;
}
.no-scroll{
    overflow:hidden;
}
.hidden-pc{
    display: none;
}
@media screen and (max-width:800px) {
    .wrapper{
        padding-left: 20px;
        padding-right: 20px;
    }
    .hidden-pc{
        display: block;
    }
}

/* =================================
header
================================= */
.header{
    height: 80px;
    width: 100%;
    position: fixed;
    background-color: #FFF;
    top: 0;
    left: 0;
    z-index: 100;
}
.header-flex-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.header-menu{
    display: flex;
    gap: 30px;
}
.menu-btn{
    display:none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    gap: 10px;
    transition: all 0.3s;
}
.menu-bar{
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s;
}
.sp-menu-wrap{
    display: none;
    background-color: var(--main-color);
    width: 100vw;
    height: calc(100vh - 80px)
}
.sp-menu{
    display: flex;
    gap: 30px;
    flex-direction: column;
}
.sp-menu li a{
    color: #fff;
    font-size: 18px;
}
.active .menu-bar:nth-child(1){
    transform: translateY(13px) rotate(45deg);
}
.active .menu-bar:nth-child(2){
    opacity: 0;
}
.active .menu-bar:nth-child(3){
    transform: translateY(-13px) rotate(-45deg);
}
.sp-menu-wrap.active{
    display: flex;
    justify-content: center;
    padding: 50px 0;
}

@media screen and (max-width:800px) {
    .menu-btn{
        display: flex;
    }
    .header-menu{
        display: none;
    }
}

/* =================================
fv
================================= */
.fv{
    width: 100%;
    height: 700px;
    background-image: url(img/fv.jpg);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    top: 0;
    left: 0;
}
.site-title{
    padding: 0;
    position: absolute;
    top: calc(50% + 50px);
    right: 10%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    font-weight: 900;
    text-align: right;
    color: var(--gray);
    text-shadow: 
    3px 3px 0 #fff,
    -3px 3px 0 #fff,
    -3px -3px 0 #fff,
    3px -3px 0 #fff;
    ;
}
.title-sub{
    font-size: 28px;
}
.title-main{
    font-size: 68px;
}
.title-pf{
    font-size: 44px;
}

@media screen and (max-width:800px){
    .fv{
        background-position: -50px 0;
    }
    .site-title{
        top: 50%;
        right:auto;
        left: 50%;
        transform: translateX(-50%);
    }
    .title-sub{
        font-size: 30px;
    }
    .title-main{
        font-size: 58px;
    }
    .title-pf{
        font-size: 38px;
    }
}
@media screen and (max-width:550px){
    .site-title{
        text-shadow: 
    1px 1px 0 #fff,
    -1px 1px 0 #fff,
    -1px -1px 0 #fff,
    1px -1px 0 #fff;
    ;
    }
    .title-sub{
        font-size: 20px;
    }
    .title-main{
        font-size: 40px;
    }
    .title-pf{
        font-size: 30px;
    }
}
/* =================================
about
================================= */
.about{
    padding-top: 80px;
    padding-bottom: 80px;
}
.about-contents-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.about-text-wrap{
    width: 50%;
}
.about-text-wrap p{
    margin-bottom: 20px;
}
.about-cv p{
    font-weight: bold;
}
.about-contents-wrap img{
    width: 48%;
    border-radius: 16px;
}

@media screen and (max-width:800px) {
    .about-contents-wrap{
        flex-direction: column;
    }
    .about-text-wrap{
        width: 100%;
    }
    .about-contents-wrap img{
        width: 100%;
    }
}

/* =================================
work
================================= */
.work{
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--base-color);
}
.work-contents-wrap{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    transition: all 0.3s;
}
.work-contents-wrap a:hover{
    opacity: 0.7;
}
.card{
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 0px 5px 3px rgba(0,0,0, 0.1);
    gap: 10px;
}
.card img{
    border-bottom: 1px solid #ccc;
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top center;
}
.work-text-wrap{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
}
.work-tags{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.work-tags li{
    background-color: var(--gray);
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
}
.work-content-title{
    font-size: 18px;
    font-weight: bold;
}
.work-btn-wrap{
    display: flex;
    justify-content: end;
    margin-top: 10px;
}
.work-btn{
    display: block;
    width: fit-content;
    background-color: var(--main-color);
    padding: 6px 20px;
    color: #fff;
    border-radius: 14px;
}
.readMore-btn-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}
.readMore-btn{
    display: block;
    background-color: var(--main-color);
    color:#fff;
    padding: 12px 60px;
    font-size: 20px;
    border-radius: 14px;
    transition: all 0.3s;
}
.readMore-btn:hover{
    opacity: 0.7;
}
@media screen and (max-width:800px){
    .work-contents-wrap{
        grid-template-columns: repeat(1,1fr);
    }
}
/* =================================
price
================================= */
.price{
    padding-top: 80px;
    padding-bottom: 80px;
}
.base-price-wrap{
    display: flex;
    border-radius: 8px;
    border: 10px solid var(--main-color);
    background-color: var(--base-color);
    padding: 50px;
    flex-direction: column;
    margin-bottom: 30px;
}
.base-price{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 30px;
}
.price-num{
    font-size:50px;
    font-weight: bold;
}
.price-sm{
    font-size: 30px;
}
.base-price-sm{
    text-align: right;
    padding-bottom: 40px;
}
.base-price-sub p:first-child{
    overflow-wrap: anywhere;
    word-break: keep-all;
    margin-bottom: 20px;
}
.price-option-wrap{
display: flex;
width: 100%;
justify-content: space-between;
gap: 60px;
margin-top: 20px;
position: relative;
}
.price-option-wrap::after{
    content: "";
    width: 1px;
    height: 100px;
    background-color: #ccc;
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
}
.option-right,
.option-left{
    width: 50%;
}
.option-item{
    display: flex;
    justify-content: space-between;
}
@media screen and (max-width:800px){
    .base-price{
        flex-direction: column;
    }
    .price-option-wrap{
        flex-direction: column;
        gap: 0;
    }
    .price-option-wrap::after{
        display: none;
    }
    .option-right,
    .option-left{
        width: 100%;
    }
}
/* =================================
contents
================================= */
.contents{
    min-height: calc(100vh - 90px);
    padding-top: 160px;
    padding-bottom: 80px;
}
.contents-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.contents-left{
    width: 55%;
}
.contents-right{
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.contents-left img{
    width: 100%;
    height: 350px;
    object-position: top center;
    object-fit: cover;
    box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
}
.contents-meta{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.meta-item{
    display: flex;
}
.meta-item a{
    text-decoration: underline;
}
.meta-item dt{
    width: 25%;
}
.meta-item dd{
    width: 75%;
    overflow-wrap: anywhere;
    word-break: keep-all;
}
.post-link {
    width: 300px;
    display: flex;
    justify-content: space-between;
    margin: 40px auto 0;
    font-size: 18px;
  }
@media screen and (max-width:800px){
    .meta-item{
        flex-direction: column;
    }
    .meta-item dt,
    .meta-item dd{
        width: 100%;
    }
    .contents-wrap{
        flex-direction: column;
    }
    .contents-left,
    .contents-right{
        width:100%;
    }
    .contents-left img{
        height: 450px;
    }
    .post-link {
        width: 100%;
      }
}
/* =================================
work-archive
================================= */
.work-archive{
    min-height: calc(100vh - 90px);
    padding-top: 170px;
    padding-bottom: 80px;
}
.archive-wrap{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}
@media screen and (max-width:900px){
    .archive-wrap{
        grid-template-columns: repeat(2,1fr);
    }
}
@media screen and (max-width:650px){
    .archive-wrap{
        grid-template-columns: repeat(1,1fr);
    }
}
.pagination {
    margin-top: 40px;
}
.pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 18px;
  }
  .pagination li {
    padding: 0 10px;
  }
　.pagination ul a:hover {
    opacity: 0.7;
  }
/* =================================
footer
================================= */
.footer{
     background-color: var(--main-color);
    color: #fff;
    text-align: center;
    height: 90px;
    padding: 10px;
}
.footer-menu{
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}
.footer-menu a{
    color: #fff;
    font-size: 14px;
}
.copyright{
    font-size: 12px;
}