@charset "UTF-8";

/*  
font-family: "Noto Sans JP", sans-serif;
font-family: "Cormorant Garamond", serif;
font-family: "Dancing Script", cursive;
*/

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝

共通部分の設定

＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
html{
  font-size: 62.5%;
  /* 16*62.5=10px 1rem=10px */
}
body{
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  color: #3f3f3f;
  line-height: 1;
  letter-spacing: 0.05em;
  background-color: #c9bc9c;
}
a{
  color: #fff;
  text-decoration: none;
  transition: .3s ease-in-out;
}
a:hover{
  transform: scale(1.1);
  background-color: #000;
  /* opacity: 0.6; */
}
img{
  /* レスポンシブルサイトを作るときは必須 */
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  /* たまに現れる謎の余白をなくす */
}
p{
  line-height: 2;
  letter-spacing: 0;
}

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

.inner{
  max-width: 1000px;
  margin: 0 auto;
}
.flexB{
  display: flex;
  justify-content: space-between;
}

/* セクションのタイトル */
.section_ttl{
  font-family: "Dancing Script", cursive,"Cormorant Garamond", serif;
  text-align: center;
  font-size: 5.6rem;
  /* text-transform: uppercase; */
  font-weight: 400;
  margin-bottom: 4rem;
}
.section_ttl span{
  display: block;
  font-size: 2rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: lighter;
}
.section_ttl span::before{
  /* 擬似要素でspanの上に線を引く */
  content: "";
  /* 擬似要素を入れる際にマスト！文字や要素を入れるプロパティ */
  display: block;
  /* 線や高さを指定する際には必要 */
  width: 120px;
  /* 線の幅を指定 */
  border-bottom: 1px solid #3f3f3f;
  /* borderで１pの線を引く */
  margin: 0.7rem auto 1.3rem;
  /* 英字と日本語との距離 */
}

@media(max-width:768px){
 .inner{
  padding: 0 1.4rem;
 }
 .flexB{
  flex-direction: column;
  justify-content: flex-start;
 }
 .section_ttl{
  font-size: 3.2rem;
 }
 .section_ttl span{
  font-size: 1.5rem;
 }
 .section_ttl span::before{
  width: 80px;
  margin: 0.7rem auto 1rem;
 }
}
/* max-width:768px */

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝

header

＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
header{
  background-color: #00053a;
  font-family: "Cormorant Garamond", serif;
  padding: 1.8rem 4% 0;
  /* 初期padding - header内コンテンツのpaddingもあり調整の為非表示 - 念の為残す */
  /* padding: 3.6rem 4% 1.8rem; */
}
.logo{
  font-family: "Dancing Script", cursive;
  font-weight: 400;
  font-size: 3.6rem;
  text-align: center;
}
header nav{
  padding: 2.5rem 0;
}
header nav ul{
  display: flex;
  gap: 3rem;
  align-items: flex-end;
  list-style: none;
}
header nav li{
  font-size: 1.8rem;
}
@media(max-width:768px){
  header{
    padding: 1.5rem 0 1.3rem;
  }
  header .inner{
    position: relative;
  }
  .logo{
    font-size: 3.2rem;
  }
  .drawer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    height: 7rem;
  }
  /* ハンバーガーボタン */
  .nav-toggle{
    position: sticky;
    width: 4.2rem;
    height: 4.2rem;
    right: 0;
    top: 0;
    cursor: pointer;
  }
  .nav-toggle span{
    display: block;
    width: 100%;
    border-bottom: 3px solid #fff;
    position: absolute;
    transition: .35s ease-in-out;
  }
  .nav-toggle span:nth-child(1){
    top: 5px;
  }
  .nav-toggle span:nth-child(2){
    top: 18px;
  }
  .nav-toggle span:nth-child(3){
    top: 32px;
  }
  /* .active付与後 */
  .nav-toggle.active span:nth-child(1){
    top: 18px;
    transform: rotate(-45deg);
  }
  .nav-toggle.active span:nth-child(2),.nav-toggle.active span:nth-child(3){
    top: 18px;
    transform: rotate(45deg);
  }
  /* ナビゲーション */
  nav{
    text-align: center;
    transition: .5s ease-in-out;
    transform: translateX(-105%);
    display: none;
  }
  header nav ul{
    display: block;
    width: 100%;
    height: 100%;
  }
  header nav li{
    font-size: 2.5rem;
    margin: 1rem 0;
  }

  /* .open付与後 */
  nav.open{
    display: inline;
    transform: translateX(0);
  }
}
/* max-width:768px */

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝

main visual

＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

.mv img{
  width: 100%;
}
.mv h1{
  font-size: 0;
  visibility: hidden;
}

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

About me

===================================*/
.about{
  padding: 7rem 4% 10rem;
  margin-bottom: 10rem;
}
.about .aboutme{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}
.about .aboutme img{
  width: 50%;
}
.about .aboutme img:hover{
  transform: scale(1.1);
  transition: .35s ease-in-out;
}
.about p{
  width: 40%;
  line-height: 2;
  letter-spacing: 0;
}
.about_link{
  display: block;
  padding: 2rem;
  text-align: center;
  font-weight: bold;
  background-color: #00053a;
}

@media(max-width:768px){
  .about{
    padding: 5rem 0;
  }
  .aboutme{
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 640px;
  }
  .about .aboutme img{
    width: 100%;
  }
  .about p{
    width: 100%;
  }
}
/* max-width:768px */

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

.skill

===================================*/
.skill{
  margin-bottom: 10rem;
}
.skill img{
  width: 10rem;
}
.skill ul{
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 1rem;
  margin-bottom: 5rem;
}
.skill ul li:hover{
  transform: scale(1.1);
  transition: .35s ease-in-out;
}
.skill ul li{
  display: flex;
  justify-content: center;
  list-style: none;
  margin-bottom: 1rem;
}
.skill ul li img{
  margin: 0 5rem 0;
}
.skill ul li p{
  display: flex;
  align-items: center;
  width: 80rem;
  text-align: left;
  margin: 0 5rem 0 0;
}
.skill h3{
  text-align: center;
  font-weight: normal;
  margin-bottom: 5rem;
}
.skill h3::after{
  content: "";
  display: block;
  width: 120px;
  border-bottom: 1px solid #3f3f3f;
  margin: 0.7rem auto 1.3rem;
}
.skill div.skill-other{
  display: flex;
  justify-content: space-around;
}
.skill-other img:hover{
  transform: scale(1.2);
  transition: .35s ease-in-out;
}

@media(max-width:768px){
  .skill{
    padding: 5rem 0;
  }
  .skill img{
    width: 5rem;
  }
  .skill ul{
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
  }
  .skill ul li{
    display: flex;
    flex-direction: column;
  }
  .skill ul li:hover{
    transform: scale(1);
  }
  .skill ul li img{
    margin: 2rem auto;
  }
  .skill ul li img:hover{
    transform: scale(1.2);
    transition: .35s ease-in-out;
  }
  .skill ul li p{
    width: 100%;
  }
  .skill h3::after{
    width: 80px;
    margin: 0.7rem auto 1rem;
  }
}
/* max-width:768px */

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

.works

===================================*/
.works{
  padding: 10rem 4%;
  margin-bottom: 10rem;
}
.works .inner{
  margin-bottom: 10rem;
}
.works li{
  list-style: none;
}
/* 以下Tab-Panel */
.tab-group{
  display: flex;
  justify-content: space-between;
  list-style: none;
}
.tab{
  font-weight: bold;
  width: 20%;
  padding: 10px 0;
  color: #fff;
  background-color: #00053a;
  opacity: 0.3;
  border-radius: 10px 10px 0 0;
  text-align: center;
  cursor: pointer;
}
/* is-active */
.tab.is-active{
  background: #00053a;
  opacity: 1;
  transition: .2s ease-in-out;
}
/* panel */
.panel-group{
  border: #00053a solid 3px;
}
.panel{
  display: none;
}
.panel.is-show{
  display: block;
}
.panel h3{
  text-align: center;
  font-weight: lighter;
  margin: 2rem 0 2rem;
  display: flex;
  align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
}
.panel span{
  font-size: 1.6rem;
}
.panel h3::before,.panel h3::after{
  border-top: 1px solid;
  content: "";
  width: 3em; /* 線の長さ */
}
.panel h3::before{
  margin-right: 1rem;
}
.panel h3::after{
  margin-left: 1rem;
}
.panel a img:hover{
  transform: scale(1.1);
  opacity: 0.3;
  background-color: transparent;
}
/* works-link */
.works-link{
  text-align: center;
}
.works-link div{
  margin-bottom: 5rem;
}
.works-link img:hover{
  transform: scale(1.1);
  box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
  transition: .35s ease-in-out;
}

@media(max-width:768px){
  .works{
    padding: 5rem 0;
  }
  .works .inner{
    margin-bottom: 5rem;
  }
  .works ul{
    gap: .5rem;
    max-width: 640px;
  }
  .works li{
    width: 100%;
  }
  /* works-link */
  .works-link div{
   margin-bottom: 2rem;
  }
}
/* max-width:768px */

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

.contact

===================================*/
.contact{
  background: #00053a;
  color: #fff;
  text-align: center;
  padding: 10rem 0;
}
.contact .section_ttl span::before{
  border-bottom: 1px solid #fff;
} 
.contact .contact_txt{ 
  padding-bottom: 3rem;
  font-size: 2rem;
  line-height: 1.7;
}
/* 以下ボタン設置時用 */
/* .contact .contact_btn{
  border: 1px solid #fff;
  display: block;
  width: 400px;
  margin: 0 auto 3rem;
  padding: 1.6rem 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;
  } */
}
/* max-width:768px */

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

footer

===================================*/
footer{
  background: #00053a;
  color: #fff;
  padding: 2rem 4%;
}
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 */

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

pagetop

===============================*/
.pagetop{
  display: block;
  width: 10rem;
  height: 10rem;
  color: #fff;
  text-decoration: none;
  background-color: #00053a;
  border-radius: 50%;
  font-family: "Dancing Script", cursive;
  font-size: 3rem;
  text-align: center;
  line-height: 10rem;
  position: fixed;
  bottom: 6%;
  right: 6%;
}

@media(max-width:768px){
  .pagetop{
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
    line-height: 45px;
  }
}
/* =============================

.works-pages

===============================*/
.works-pages{
  padding: 7rem 4% 10rem;
  margin-bottom: 10rem;
}
.works-works{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5rem;
}
/* WebSite */
.works-website{
  display: flex;
  flex-direction: column;
  width: 80rem;
}
.works-web_img{
  text-align: center;
  margin-bottom: 3rem;
}
.works-web_img img:hover{
  transform: scale(1.1);
  box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
  transition: .35s ease-in-out;
}
.works-website table{
  margin: 0 auto 0;
}
.works-website table tr{
  display: flex;
  flex-direction: column;
}
.works-website table tr th{
  text-align: left;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  line-height: 1.6;
}
.works-website table tr td{
  margin-bottom: 2rem;
  line-height: 2;
  letter-spacing: 0;
}
/* WorksHistory */
.others-section{
  font-family: "Cormorant Garamond", serif;
  text-align: center;
  font-size: 4rem;
  text-transform: uppercase;
  font-weight: normal;
  margin-bottom: 4rem;
}
.others-section::after{
  content: "";
  display: block;
  width: 120px;
  border-bottom: 1px solid #3f3f3f;
  margin: 0.7rem auto 1.3rem;
}
.works-works table{
  margin: 0 auto 0;
}
.works-works table tr{
  display: flex;
  flex-direction: column;
  width: 60rem;
}
.works-works table tr th{
  margin-bottom: 1rem;
  font-size: 1.6rem;
  line-height: 1.6;
}
.works-works table tr td{
  margin-bottom: 2rem;
  line-height: 2;
  letter-spacing: 0;
}
.certification ul{
  text-align: center; 
  list-style: none;
  line-height: 2;
  letter-spacing: 0;
}

@media(max-width:768px){
  .works-pages{
    padding: 5rem 0;
  }
  .works-works{
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 640px;
  }
  .works-website{
    width: 100%;
  }
  .works-img{
    width: 100%;
  }
  .works-works table tr{
    width: 100%;
  }
}