@charset "UTF-8";
/* font-family: "Cormorant Infant", serif;
font-family: "Shippori Mincho", serif; */

  /* ==========================

共通部分の設定

========================== */
html {
  font-size: 62.5%;
  /* 16*62.5%=10px 1rem=10px */
}

body {
  font-family: "Shippori Mincho", serif;
  font-size: 1.5rem;
  color: #3f3f3f;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

a {
  color: #fff;
  text-decoration: none;
  transition: .3s ease-in-out;
}

a:hover {
  opacity: .7;

  /* 不透明度50% */
}

img {
  /* レスポンシブサイトを作る*/
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

@media(max-width:768px) {
  body {
    font-size: 1.4rem;
  }
}
/* max-width:768px */

.hold-win {
  max-width: 1000px;
  margin: 0 auto;
}

.flexA{
  display: flex;
  justify-content: space-between;
}

/* セクションのタイトル */
.section_ttl {
  font-family: "Cormorant Infant", serif;;
  text-align: center;
  font-size: 4.8rem;
  text-transform: uppercase;
  font-weight: normal;
  margin-bottom: 8rem;
}

.section_ttl span {
  display: block;
  font-size: 1.6rem;
  font-family: "Shippori Mincho", serif;
}

.section_ttl span::before {
  content: "";
  display: block;
  width: 120px;
  border-bottom: 1px solid #3f3f3f;
  margin: 1rem auto 1.3rem;
  /* 英字と日本語との距離 */
}

@media(max-width:768px) {
  .hold-win{
    padding: 0 1.4rem;
  }
  .flexA{
    flex-direction: column;
    justify-content: flex-start;
     align-items: flex-start;  
  }
  .section_ttl {
    font-size: 3.2rem;
   
}
  
  .section_ttl span {
    font-size: 1.2rem;
  }
  .section_ttl span::before {
    width: 80px;
    margin: 0.7rem auto 1rem;
  }
}
/* max-width:768px */
/* ==========================

header

========================== */
header {
  background: #9944cc;
  font-family: "Cormorant Infant", serif;
  padding: 1.5rem 2% 1.3rem;
  line-height: 4rem;
}

.logo {
  font-size: 3.6rem;
}

header nav ul {
  display: flex;
  gap: 3rem;
  align-items: center;
  list-style: none;
  padding-top: 0.5rem;
}

header nav li {
  font-size: 2rem;
}

@media(max-width:768px) {
  header {
    padding: 1.5rem 0 1.3rem;
  }
  .nav-toggle{
    display: block;
  }

  header nav {
    /* display: none; */
    z-index: 10;
  }
  header nav ul{
    display: flex;
    flex-direction: column;
  }
  header nav ul li{
  width: 100%;
  }

  .logo {
    font-size: 3.2rem;
  }
}

/* max-width:768px */

/* ==========================

.mv

========================== */
.mv {
  position: relative;
}

.mv img {
  width: 100%;
}

.top-page_ttl {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  color: #fff;
  font-size: 8.5rem;
  font-family: "Cormorant Infant", serif;
  font-weight: normal;
  text-shadow: 2px 2px 5px rgb(102 102 102 / 80%);
}

.top-page_ttl span {
  font-size: 5rem;
  display: block;
  text-align: center;
}

.top-page_ttl span::before,
.top-page_ttl span::after {
  content: "";
  display: inline-block;
  width: 100px;
  border-bottom: 3px double #fff;
  position: relative;
  top: -10px;
}

@media(max-width:768px) {
  .top-page_ttl {
    font-size: 4.8rem;
    width: 100%;
    text-align: center;
  }

  .top-page_ttl span {
    font-size: 3.5rem;
    margin-top: 0.5rem;
  }
}
/* ==========================

.about

========================== */
.about {
  padding: 8rem 4% 8rem;
  background:url(../image/background_laptop2x.png);
  
}
.about .hold-win{
  line-height: 2;
  letter-spacing: 0;
  text-align: justify; 
}

.about p{
  padding-top: 3rem;
}

.about .flexA{
 gap: 5%;
}
.about .about_img{
  width: 50%; 
 margin-bottom: 1.1rem;
}
.about .about_img picture{
  width: 100%;
}
.about table {
 width: 45%;
}

.about table th {
  font-weight: normal;
  width: 30.2%;
  text-align: left;
}

.about table tr {
  vertical-align: top;
  line-height: 1.44;
}

.about td{
  line-height: 1.7;
 
}


@media(max-width:768px) {
  .about {
    padding: 8rem 0;
  }
  .about .flexA {
    gap: 4rem;
  }

 .about-info_ttl{
  padding: 2rem auto;
 }
 .about .about_img {
   width: 100%;
  padding-top: 64.8%;
  position: relative;
  }
  .about .about_img picture{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  }

.about table{
  width: 100%;
}

.about table {
  display: flex;
  gap: 3rem;
  padding: 0.5rem 1rem 0;
   line-height: 1.42;
}
.about p{
  text-align: left;
}


}
/* max-width:768px */
/* ==========================

.work

========================== */
.work{
  background: #ffffff;
  padding: 8rem 0 15rem 4%;
}

.work ul{
  list-style: none;
  gap: 5%;
}

.work ul{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 5%;
}
.work li h3{
  font-weight: normal;
  font-size: 1.8rem;
  border-bottom: 1px solid #ccae93;
  padding-bottom: 1rem;
  margin: 2rem 0 0.5rem;
}

.work li p{
  line-height: 1.625;
}
.work li img{
  border-radius: 5%;
}

 .work h3, .middle{
  text-align: center;
}
.work li picture{
  position: relative; 
  /* オーバーレイを重ねるために */
  display: inline-block;
}
/* グレーのオーバーレイ */
.work li picture::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 30, 30, 0.5); 
  border-radius: 5%; 

  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ホバーしたときに表示 */
.work li picture:hover::after {
  opacity: .4;
}
.work .myself2{
  text-align: justify;
  padding: 0 4rem;
}


@media(max-width:768px){
  .work{
    padding: 8rem 0 6rem;
  }
  .work ul{
    gap: 3rem;
    max-width: 640px;
  }
  .work li{
    width: 100%;
  }
  .work li h3{
    font-size: 1.7rem;
    margin: 1rem 0 0.5rem;
  }
  .work h3,p{
  text-align: center;
}
  .work li p{
    line-height: 1.64;
  }
.work ul{
  display: block;

}
.work ul li{
margin-bottom: 2rem;
}
.work .myself{
  text-align: justify;
  padding:0 2rem ;
}
.work li{
  padding-bottom: 2rem;
}
.work .myself2{
  text-align: justify;
  padding: 0 7rem;
}
}
/* max-width:768px */

/* ==========================

.skill

========================== */
.skill {
  /* background: #fff; */
  background-image:url(../image/background_laptop2x.png);
  padding: 8rem 4%;
} 
.skill .flexA{
  justify-content: space-between;
}

.details dl dt {
    border-bottom: solid 1px #ccae93;
    font-size: 1.8rem;
}

.skill .details dd {
    width: 170px;
    margin: 0 auto;
    padding-top: 1.5rem;
    font-size: 1.5rem;
    font-family: "Shippori Mincho", serif;
    text-align: left;
}
.details p{
  text-align: center;
  margin-bottom: 3rem;
}
.details dt{
  padding-bottom: 1rem;
}
.details{
    line-height: 1.6;
}

@media(max-width:768px){
.details dl dt{
  font-size: 1.7rem;
}

.details {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 2rem;
  margin-top: 2rem;
  line-height: 1.6;
}
.skill{
  background: url(../image/backgrund_gray_sp@2x.png);
}


}

/* ==========================

.contact

========================== */

.contact {
  background: url(../image/stones_sp_black2.png)no-repeat center/cover;
  color: #fff;
  text-align: center;
  padding: 8rem 0;
  
}

.contact .section_ttl span::before {
  border-bottom: 1px solid #fff;
}

.contact .contact_txt {
  font-size: 1.5rem;
  line-height: 1.7;
  width: 660px;
  margin: 0 auto 3rem;
  text-align: justify;
  
}

.contact .contact_btn {
  border: 1.5px solid #fff;
  display: block;
  width: 350px;
  margin: 0 auto 3rem;
  /* height: 50px;
  line-height: 50px; */
  padding: 1.6rem 0;
  background-color: #c1b4a8;
}



.contact .contact_tel span {
  font-size: 1.8rem;
  font-weight: normal;
  font-family: "Shippori Mincho", serif;
  text-transform: uppercase;
}

.contact .hour {
  font-size: 1.4rem;
  letter-spacing: 0;
}
.hold_contact{
  background-color: #6d5c4b66;
  margin: 0 auto;
  padding: 4rem 0;
  
}

@media(max-width:768px) {
  .contact {
    padding: 5rem 1.4rem 7.9rem;

  }

  .contact .contact_txt {
    text-align: left;
    line-height: 1.64;
    display: flex;
    justify-content: center;
  }

  .contact .contact_btn {
    width: 300px;
    padding: 1.2rem 0;
  }

  .contact .contact_tel {
    font-size: 2.4rem;
    margin-bottom: 1.7rem;
  }

  .contact .contact_tel span {
    font-size: 1.6rem;
  }
 .hold_contact .contact_txt{
  width: auto;
  padding: 0 1rem;
  text-align: justify;
 }

}

/* max-width:768px */

/* ==========================

footer

========================== */
footer {
  background: #9944cc;
  color: #fff;
  padding: 2rem 4%;
  text-align: center;
}

footer .copy {
  font-size: 1.2rem;
}

@media(max-width:768px) {
  footer {
    padding: 2.1rem 0 1.9rem;
    text-align: center;
  }

  footer .copy {
    font-size: 1rem;
  }
}

/* max-width:768px */


 /* ハンバーガー */
 @media(max-width:768px) {
 /* ハンバーガーボタン */
.nav-toggle{
  position: absolute;
  right: 20px;
  top: 10px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  margin-top: 0.6rem;
}
.nav-toggle span{
  display: block;
  width: 100%;
  height: 1.5px;
  background: #ffffff;
  position: absolute;
  left: 0;
  transition: .5s ease-in-out;

  /* transitionはクリックしたときに動く、動き方 */
}
.nav-toggle span:nth-child(1){
  top: 5px;
}
.nav-toggle span:nth-child(2){
  top: 16px;
}
.nav-toggle span:nth-child(3){
  top:27px ;
}
/* ナビゲーション全体の背景と位置指定 */
nav{
position: absolute;
left: 0;
top: -500px;
background: #cbb0da;
width: 100%;
text-align: center;
padding: 10px 0;
transition: .5s ease-in-out;
}

nav ul{
  list-style: none;
  font-size: 14px;
}
nav ul li a{
display: block;
width: 100%;
color: #fff;
padding: 20px 0;
text-decoration: none;
}

/* ハンバーガー部分をクリックした時のスタイル */
.open .nav-toggle span:nth-child(1){
  top:16px;
  transform: rotate(45deg);
  
}
.open .nav-toggle span:nth-child(2){
width: 0;
left: 50%;

}
.open .nav-toggle span:nth-child(3){
top: 16px;
transform: rotate(-45deg);
}
/* ハンバーガーメニューのスライドアニメーション */
.open nav{
  transform: translateY(556px);
 
}

 }

/* トップボタン */

.page-top{
display: block;
width: 45px;
height: 45px;
color: #ffffff;
text-decoration: none;
text-transform: uppercase;
background-color: #cbacca;
border-radius: 50%;
font-size: 1.2rem;
text-align: center;
line-height: 45px;
position: fixed;
bottom: 20px;
right: 20px;

}
