/*
Theme Name: pink
Theme URI: https://origin.micro-face.com
Author: Yukie Motoi
Author URI: https://micro-face.com
Description: pink
Version: 1.0
*/

@charset "UTF-8";

html{
  font-size: 62.5%;
}

body{
  color: #333;
  font-size: 1.6rem;/* 1rem=10px */
  font-family: Arial, Helvetica, sans-serif;
}

a{
  text-decoration: none;
  color: #333;
}

a:hover{
  color: #ffa6f9;
}

img{
  max-width: 100%;
}

li{
  list-style: none;
}

h1{
  font-size: 2rem;
}

.logo{
  width: 250px;
}

.wrap{
  max-width: 980px;
  margin: 0 auto;
}

/* ヘッダー */
header{
  margin: 10px auto;
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* ナビゲーションメニュー */
.menu{
  display: flex;
  align-items: center;
}

.menu>li{
  margin: 0 15px;
}


/*
/* front-page
 */
#mv{
  background-image: url(images/MV-PC.jpg);
  background-size: cover;
  background-position: 50% 50%;
  height: 800px;
  position: relative;
}

#float-menu{
  position: fixed;
  z-index: 5;
  top: 200px;
  right: 10px;
  width: 100px;
  text-align: center;
  padding: 1rem;
  background-color: rgb(62, 184, 62);
  transform: rotate(90deg);
  border: 3px solid rgb(62, 184, 62);
  border-radius: 10px;
  box-shadow: 5px -5px 5px rgba(0,0,0,0.3);
}

#float-menu a{
  color: white;
  font-weight: 500;
  letter-spacing: 0.2rem;
}

#float-menu:hover{
  background-color: rgb(62, 184, 62, 0.5);
  color: darkgreen;
}


/* 波型シェイプ区切り */
.custom-shape-divider-bottom-1707183436 {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-bottom-1707183436 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 99px;
  transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1707183436 .shape-fill {
  fill: #FFFFFF;
}


/* セクションタイトル・サブタイトル・リード */

.sec-title{
  font-size: 29px;
  margin: 100px auto 0;
  text-align: center;
  font-weight: 700;

}

.sec-subtitle{
  margin: 0 auto 30px;
  text-align: center;
}

.sec-lead{
  margin: 0 auto 30px;
  text-align: left;
  width: 70%;
}


/* 小見出し（左寄せ） */

.title-more{
  display: flex;
  margin: 80px 0 10px 5px;
}

.left-title{
  font-weight: 700;
}



/* もっと見るボタン */
/* button{
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;

  background-color: transparent;
  border-color: transparent;
}

.more{
  text-decoration: underline;
}

.more::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 12rem;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left: 8px solid #333;
}

 */

/* ４記事抜粋 */
.article4{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

}

.card{
  width: 49%;
  margin-bottom: 20px;
}

/* サービス */
.service3{
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.service-image{
  width: 70%;
}

.each-service{
  width:30%;
  padding: 2%;
  text-align: center;
}

.center-title{
  margin: 10px auto 10px;
  text-align: center;
  font-weight: 700;
}

.each-service>p{
  width: 90%;
  margin: 0 auto;
}

/* 自己紹介ABOUT */
.about-container{
  display: flex;
}

.small-flex{
  width: 40%;
  padding: 100px;
}

.about-text>p{
  margin: 5px 0 10px;
}

/* 問合せフォーム */
.wpcf7-form{
  width: 80%;
  margin: 0 auto;
}

.wpcf7-form label{
  display: block;
}

.wpcf7-form input{
  display: block;
  width: 100%;
  height: 40px;
  border: 1px solid lightgray;
  margin-bottom: 15px;
}

.wpcf7-form textarea{
  width: 100%;
  height: 100px;
  border: 1px solid lightgray;
  margin-bottom: 15px;
}

.wpcf7-form .submit-button{
  width: 20%;
  margin: 0 auto;
  background-color: #ffa6f9;
  border-radius: 5px;
}

/* フッター */
footer{
  background-color:#333;
  color: white;
  margin-top: 100px;
}

.flex{
  margin: 0px auto 20px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
}

.img-box{
  display: block;
  width: 200px;
}

.footer-nav a{
  color: white;
}

.copy{
  margin: 0 auto 5px;
  text-align: center;
}


/* archive.html */
.archive-article{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

}

/* single.html */
.single-title{
  font-weight: 700;
}

.single-subtitle{
  text-align: left;
}

.single-eyecatch{
  width: 80%;
  margin: 0 auto;
}

.single-sectitle{
  background: linear-gradient(90deg,#ffa6f9,white);
  height: 40px;
  padding-top: 7px;
  padding-left: 5px;
  margin-top: 20px;
}

.multi-image{
  margin-top: 50px;
  
}

/* display posts用のCSS */
.display-posts-listing.grid {
	display: grid;
	grid-gap: 16px;
}

.display-posts-listing.grid .title {
	display: block;
}

.display-posts-listing.grid img { 
	display: block; 
	max-width: 100%; 
	height: auto; 
}

.display-posts-listing.grid{
	grid-template-columns:	1fr 1fr;
}

/* WordPresでの調整 */
.wp-block-columns.is-layout-flex{
  gap: 0;
}

/* もっと見るボタン（TOPのコンテンツ） */
.more-btn{
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;

  background-color: transparent;
  border-color: transparent;
}

.more-btn::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 10rem;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left: 8px solid #333;
}

.more-btn:hover{
  color: #ffa6f9;
}


/* ハンバーガーメニュー対応 */
/* PC表示のとき */
@media(min-width: 821px) {
  .navbutton {
    display: none;
  }

  .header-nav-wrap {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);/*縦位置中央寄せ*/
  }

  .header-nav {
    font-size: 0;
  }

  .header-nav li {
    font-size: 1.6rem;
    display: inline-block;
    margin-left: 1.5rem;
    padding: .25rem 0;
  }

  .header-nav li a {
    font-weight: 500;
    color: #333;
  }

  .header-nav li a:hover {
    /* opacity: .6; */
    color:#ffa6f9;
  }
}

/* ハンバーガーメニュー モバイル表示のとき */
@media(max-width: 820px) {
  .navbutton {
    display: block;
    position: absolute;
    z-index: 10;
    top: 50%;
    right: 1.5rem;
    cursor: pointer;
    transform: translateY(-50%);
    border: 0;
    background-color: transparent;
  }

  .navbutton:focus {
    outline: 0;
  }

  .navbutton::after {
    /* font-family: “Font Awesome 6 Free”; Solidはこれでは表示されない*/
    font: var(--fa-font-solid);
    content: "\f0c9";
    font-weight: 900;
    font-size: 2.5rem;
    color: #333;
  }

  .menu-active .navbutton::after {
    /* モーダル開いているときの閉じるボタン */
    content: "\f00d";
    color: #fff;
  }

  .header-nav-wrap {
    /* モーダルのとき */
    position: fixed;
    z-index: 9;
    top: 30px;
    right: 20px;
    display: none;
    overflow-y: auto;
    width: 50%;
    /* height: 30vh; モーダルの高さは自動*/
    background-color: rgb(50 50 50 / 80%);
  }

  .header-nav .menu{
    flex-direction: column;
    /* align-items: flex-start; */
    justify-content: space-between;
    margin: 1rem 3rem;
    padding: 0;
  }

  .header-nav li{
    margin: 1rem;
  }

  .header-nav li a{
    color: #fff;
  }
}


/* 全体デザイン */
@media (max-width: 600px) {
  body{
    font-size: 1.4rem;
  }

  /* display posts用 */
  .display-posts-listing.grid{
    grid-template-columns:	1fr;
  }
    
  h1{
      margin-top: 30px;
  }
    

  #mv{
      /* MVのPC・SP表示切替 */
    background-image: url(images/MV-SP.jpg);
    height: 500px;
  }
  
  #float-menu{
    top: 150px;
    right: -30px
  }

  .service3{
    flex-direction: column;
  }

  .service-image{
    width: 50%;
  }
  .each-service{
    width:90%;
  }

  .about-container{
    flex-direction: column;
    align-items: center;
  }

  .small-flex{
    width: 20%;
    padding: 0;
  }

  .about-text{
    width: 80%;
    text-align: left;
  }
  
  .footer-nav .menu{
    flex-direction: column;
    align-items: flex-start;
    margin-right: 50px;
  }
}
  