@charset "utf-8";
/*
Theme Name: コミット用テーマ
Theme URI: webサイトURL
Description: ディスクリプション
Version: 1.0
*/
/* 共通 */
*,
::before,
::after{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    font-size: 14px;
    color: #333;
    line-height: 1.9;
    text-align: left;
}
img{
    width: 100%;
    height: auto;
    vertical-align: bottom;
}
a{
    color:inherit;
    text-decoration: none;
    cursor: pointer;
}
a:hover{
    opacity: 0.6;
}
ul{
    list-style: none;
    padding-left: 0;
}
.wrap{
    margin-bottom: 100px;
}
.container{
    width: min(70%,1160px);
    margin-inline:auto;
}
/* ヘッダー */
header{
    position: fixed;
    top: 10px;
    left: 10px;
    line-height: 3.5;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Montserrat',sans-serif;
    opacity: 0.9;
    z-index: 1;
}
.hamburger{
    display: none;
}
/* セクション１*/
.hero{
    height: 90vh;
    background-image: url(https://portfolio.kushiroman.com/wp-content/themes/portfolio/images/herowhite3.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.6);
    background-blend-mode: lighten;
    position: relative;
}
h1{
    height: 100vh;
    display: flex;
    justify-content: left;
    align-items: center;
    line-height: 1.5;
    font-size: clamp(2.5rem, 1.932rem + 2.422vw, 4rem);
}
.hero span{
    font-size: 20px;
    margin-left: 20px;
    opacity: 0.5;
}
/* セクション２ */
h2{
    text-align:center;
    font-size: clamp(2rem, 1.622rem + 1.615vw, 3rem);
    margin-bottom: 50px;
}
.title{
    border-left:solid #fedfc3 8px;
    padding-left: 5px;
}
.work-title{
    display: inline-block;
    background-color:#fedfc3;
    padding: 1px 6px;
    border-radius:10px;
    margin-bottom: 10px;
}

.site-box{
    display: flex;
    justify-content: space-between;
    margin: 0 auto 50px auto;
    gap: 20px;
    padding: 0.5em 0.5em;
    color: #5d627b;
    background: white;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.22);
}
.site-view{
    width: 60%;
    display: flex;
    align-items: center;
}
.site img{
    border-radius: 5%;
}
.site-text{
    width: 40%;
}
.site-item{
    margin-bottom: 15px;
}
strong{
    border: solid 0.05px #fedfc3;
    border-bottom: solid 3px #fedfc3;
    padding: 3px 6px;
    border-radius:6px;
}
.reverse{
    flex-direction: row-reverse;
}
.banner ul{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.banner li{
    display: flex;
    flex-direction: column;
}
.banner img{
    border-radius: 5%;
    margin-bottom: 10px;
}
.banner-box{
    padding: 0.5em 0.5em;
    color: #5d627b;
    background: white;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
    margin-bottom: 30px;
    flex: 1;
}
/* セクション３ */
.about{
    display: flex;
    justify-content: space-between;
    margin: 50px auto;
    gap: 20px ;
}
.about img{
    width: 40%;
}
.name{
    font-size: 20px;
    margin-right: 10px;
}
.name02{
    font-size: 14px;
    opacity: 0.4;
}
.profile{
    border-bottom: solid 1px #a9a9a9;
}
.about-text{
    margin-top:20px ;
    line-height: 2.5;
}
/* セクション４ */
.blog ul{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    text-align: center;
    gap: 50px;
}
.blog img{
    border-radius: 50%;
    width: 300px;
    height:300px;
    object-fit: cover;
    display: inli
ne-block;
} 
.blog h3{
    position: relative;
    display: inline-block;
    padding: 0 55px;
    margin-top: 10px;
    margin-bottom: 10px;
} 
.blog h3:before, .blog h3:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 45px;
    height: 1px;
    background-color: #222;
  }
  
.blog h3:before {
    left:0;
  }
.blog h3:after {
    right: 0;
  }

.blog span{
    font-size: 24px;
    color:#bc8f8f;
} 
#about,#blog{
    background-color:#f5f5f5;
}
/* フッター*/
footer{
    text-align: center;
}









/* メディアクエリ */
@media(max-width:768px){

/* ハンバーガーメニュー */
header {
    height: 40px;
    position: fixed;
    inset: 0;
  }
/* hamburgerbutton */
  .hamburger {
    display: block;
    width: 30px;
    height: 40px;
    position: relative; 
    appearance: none;
    border: 0;
    padding: 0;
    margin-left: 10px;
    background-color:transparent;
  }
  .hamburger span,
  .hamburger span::after,
  .hamburger span::before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 2px;
    background-color: #222;
    transition: all 0.5s;
    border-radius: 0;
  }
  .hamburger span::before {
    top: -10px;
  }
  .hamburger span::after {
    bottom: -10px;
  }
  .hamburger.open span {
    background-color: transparent;
  }
  .hamburger.open span::before {
    top: 0;
    transform: rotate(45deg);
  }
  .hamburger.open span::after {
    bottom: 0;
    transform: rotate(-45deg);
  }
  /* menu*/
  .nav {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 80px;
    left: -100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 50px 0;
    transition: all 0.5s;
    z-index: 9999;
  }
  .nav_list a{
    display: block;
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
  }
  .nav.open {
    left: 0;
  }
/* works */
.site-box{
    flex-direction: column;
    padding: 0.1em 0.5em;
}
.site-view,
.site-text{
    width: 100%;
}
.site img,
.about img{
    width: 100%;
    margin-inline: auto;
}
.banner-box{
    padding: 0.1em 0.5em;
}
.banner ul{
    display: grid;
    grid-template-columns: 1fr;
    width: clamp(12.5rem, 2.597rem + 42.254vw, 40.625rem);
    margin-inline: auto;
}

/* about */
.about{
    flex-direction:
 column;
}
/* blog */
.blog ul{
    display: grid;
    grid-template-columns: 1fr;
    margin-inline: auto;
    gap: 0;
}
.blog li{
    margin-bottom: 30px;
}
.blog img{
    width: 250px;
    height:250px;

}
.blog h3{
    margin: 0 15px;
}
}