@charset "UTF-8";


/* KV */

.kv {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: black;
    background-size: cover;
}

.kv h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-family: "Lora", serif;
    font-size: 3.2rem;
    font-style: italic;
    color: #2D9830;
}
/* KV中のポインター風アニメーションの設定 */
.kv h1 span::after {
    content: " |";
    animation: pointColor 1s infinite;
}

@keyframes pointColor {
    0% {color: black;}
    50% {color: black;}
    100% {color:#2D9830}
}

/* メイン共通 */

section {
    margin: 10px 0;
}

h2.heading-about,
h2.heading-works,
h2.heading-otherworks,
h2.heading-sns,
h2.heading-contact {
    font-family: "Lora", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 50px;
    text-align: center;
    letter-spacing: 0.15em;
    margin-top: 100px;
    margin-bottom: 20px;
    color: #2D9830;

}

p.under-head {
    font-size: 14px;
    text-align: center;
    margin-bottom: 40px;
}

/* about */

.about-container {
    display: block;  /* flexboxで画像と文字を分ける */
    align-items: flex-start;
    text-align: center; /*ウィンドウ幅を狭めた時に画像を中心に持っていく*/
}

.avatar img{
    width: 200px;
}



.text-about {
    margin: 20px;
    text-align: left;
    font-size: 14px;
}

.text-about h3 {
    font-size: 1.7rem;
    padding: 10px;
    text-align: center;
}

.text-about dt{
    padding: 10px;
}
/* aboutレスポンシブ対応 */
@media (min-width: 768px) {
    .about-container{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .about-container div {
        width: 40%;
    }

    .avatar img{
    width: 400px;
    }
}

/* works */
ul.works-col  {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.works-col li {
    margin-bottom: 20px;
}

div.col3{
    display: inline-block;
}

.to-work{
    width: 100%;
    margin-left: 70%;
    margin-top: 40px;
    text-align: center;
    font-size: 30px;
    color: #2D9830;
    border-width: 1px;
    border-radius: 50%;
}

/* worksレスポンシブ対応 */
@media(min-width: 768px) {
    ul.works-col {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .works-contents:last-child{
        margin-right: 0px;
    }
}

/* otherworks */

ul.otherworks-col  {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.otherworks-col li {
    margin-bottom: 20px;
}

div.col2{
    display: inline-block;
}

.sub-photo img.photo-link {
    width: 250px;
    height: 250px;

  }

/* otherworksレスポンシブ対応 */
@media(min-width: 768px) {
    ul.otherworks-col {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        /* margin: 60px; */
    }
    .otherworks-contents:last-child{
        margin-right: 0px;
    }

}


/* sns */
.sns {
    text-align: center;
}

.insta {
    margin: auto;
}

@media(min-width: 768px) {
    .insta {
        width: 50%;
        margin: 30px auto;
    }
}

/* contact */

.contact {
    padding-bottom: 300px;/*特に必要はないけど、ヘッダーのナビから飛んだ場合位置が微妙になっちゃうので、下に空白を入れて位置を調整*/
}

.contact p {
    font-size: 14px;
    text-align: center;
    margin-bottom: 40px;
}

.list-icon {
    text-align: center;
}

.sns-icon {
    display: inline-block;
    font-size: 30px;
    margin-right: 30px;
    margin-bottom: 40px;
}

.sns-icon:hover {
    color: #2D9830;
}
/* 一番右のiconだけmargin-rightを無効にする */
.sns-icon:last-child {
    margin-right: 0px;
}
