@charset "UTF-8";
/*
Theme Name: IROHA
Description: 彩羽WordPressオリジナルテーマ
Version: 1.0
Author: Kodama Aki
*/

/*
GENERAL STYLING(全般的なスタイル)
================================================ */
:root {
  /*** Color ***/
  --color-bg: #ffffff;
  --color-accent: #999999;
  --color-separate: #e9eaee;
  --color-maintext: #4d4d4d;

  /*** Font Size ***/
  --font-sm: .75rem;
  --font-md: 1rem;
  --font-lg: 1.25rem;
  --font-xl: 1.625rem;
}

body {
  color: var(--color-maintext);
  font-family: "Zen Kaku Gothic New", sans-serif;
}

p {
  line-height: 1.7;
}

img, iframe {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: var(--color-maintext);
}

h1, h2 {
  font-weight: normal;
}

button {
  color: var(--color-maintext);
}

li {
  list-style-type: none;
}

hr {
  margin: 3rem auto;
}

/*
COMMON(全ページ共通のスタイル、ヘッダー、フッターetc.)
================================================ */
/*** Layout ***/
.wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/*** ヘッダー ***/
.site-header {
  padding-top: 1rem;
  margin-bottom: 3rem;
}

.site-title, .site-desc {
  text-align: center;
}

.site-logo {
  height: 100px;
  filter: brightness(0) saturate(100%) invert(28%) sepia(2%) saturate(19%) hue-rotate(340deg) brightness(99%) contrast(89%);
}

/*** メニュー ***/
.nav-bar {
  color: var(--white);
  border-top: 1px solid var(--color-maintext);
  border-bottom: 1px solid var(--color-maintext);
  text-align: center;
  display: block;
  margin-bottom: 5rem;
}

.nav-btn {
  width: 24px;
  padding-top: .5rem;
}

/* 三本線 */
.nav-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-maintext);
  margin: 5px 0;
  transition: 0.4s;
}

.menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.7s ease;
}

.menu li {
  padding: 1rem;
  width: fit-content;
  margin: auto;
}
.menu li:nth-child(1) {
  padding-top: 2rem;
}

.menu.open {
  max-height: 500px;
  opacity: 1;
}

/* ×ボタン */
.nav-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-btn.active span:nth-child(2) {
  opacity: 0;
}

.nav-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.home .post-list, .archive .post-list, .search .post-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

/*** ナビゲーションボタン ***/
.nav-links {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  margin-bottom: 6rem;
}

.nav-links .prev, .nav-links .next, .nav-links .back {
  display: flex;
}

.nav-links .next::before, .nav-links .back::before {
  content: '';
  width: 60px;
  height: 15px;
  border-bottom: solid 1px;
  border-left: solid 1px;
  transform: translateY(-5px) skew(-45deg);
}

.nav-links .prev::after {
  content: '';
  width: 60px;
  height: 15px;
  border-bottom: solid 1px;
  border-right: solid 1px;
  transform: translateY(-5px) skew(45deg);
}

/*** フッター ***/
.footer-wrapper {
  border-top: 3px solid var(--color-separate);
}

.site-footer {
  text-align: center;
  padding-top: 1rem;
  margin-bottom: 1rem;
}

.site-footer p {
  font-size: var(--font-sm);
}

.site-desc, .menu, .nav-links, .post-title{
    font-family: "Josefin Sans", sans-serif;
    font-size: var(--font-lg);
}

.copyright {
  margin-top: 1rem;
}

/*
MAIN
================================================ */
/*** 記事一覧 ***/
.home .post-list, .archive .post-list, .search .post-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-bottom: 3.875rem;
}

.post-item {
  
}

.home .post-item img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 5px 5px 10px #999999;
}

/*** 個別記事 ***/
.single .post-thumb {
  text-align: center;
}

.single .post-item img {
  height: auto;
  box-shadow: 5px 5px 10px #999999;
}

.single .post-header time {
  display: none;
}

.single .post-header p {
  font-size: var(--font-md);
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.single .post-header, .post-content {
  text-align: center;
  margin-top: 1rem;
}

.single .post-list {
  margin-bottom: 3.875rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

/*** 固定ページ ***/
.page .post-header {
  margin: 3rem 0;
  text-align: center;
}

.profile-img {
  margin-bottom: 1rem;
  text-align: center;
}

.profile-img img {
  object-fit: cover;
  border-radius: 50%;
}

.profile-link {
  margin-bottom: 2rem;
}

/* リンクカード */
.link-card {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.pb-btn{
  margin: 1em auto;
  max-width:500px;
  width:90%;
  position:relative;
}
.pb-btn p{
  margin:0 !important;
  padding:0 !important;
}
.pb-btn a{
  display:block;
  padding:1.3em 1.3em 1.2em;
  color:#333 !important;
  background:#FAFAFA;
  border:2px solid #777;
  font-size:16px !important;
  position:relative;
  transition:all 0.2s;
  text-decoration:none;
}
.pb-btn .pb-btn__text{
	text-align: left;
	margin: 0 0 0 4em;
  display: block;
  line-height:1.8;
  font-size: .875rem
}
.pb-btn .pb-btn__label{
  background: #EE8F81;
  color: #fff;
  display: inline-block;
  padding: 0.5em 1em !important;
  font-size: 12px !important;
  line-height: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position:absolute;
  top: -12px;
  left: 23px;
  z-index: 1;
}
.pb-btn .pb-btn__add{
  font-size:12px !important;
  letter-spacing:0.5px;
  margin: 7px auto 0 !important;
  max-width:90%;
  color: #EE8F81;
  font-weight:600;
  text-align:center;
}
.pb-btn a:after{
  position: absolute;
  content: "";
  display: inline-block;
  right: 7%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 3px solid #333;
  border-right: 3px solid #333;
  -webkit-transform: rotate(45deg) translateY(-50%);
  transform: rotate(45deg) translateY(-50%);
	display:none;
}
.pb-btn a:hover{
  border-color:#EE8F81;
  transition:0.2s;
  text-decoration:none;
  opacity:1;
}
.pb-btn img{
	width:25px;
	float: left;
}
.link-card2 img{
	width:45px;
	margin: -10px;
}

/* 背景を影にする */
.pb-btn__shadow a{
  box-shadow: 0px 4px 10px rgba(0,0,0,0.09);
  border:unset !important;
}
.pb-btn__shadow:hover{
  transform: translateY(2px);
}
.pb-btn__shadow:hover a{
  box-shadow: 0px 2px 5px rgba(0,0,0,0.09);
}
.pb-btn__shadow:hover .pb-btn__add{
  transform: translateY(-2px);
}

/* アイコン大きさ調整 */
.link-card div:nth-child(2) img{
  width: 45px;
  margin: -10px;
}
.link-card div:nth-child(4) img{
    width: 60px;
    margin-left: -15px;
}

/*
DESKTOP SIZE
================================================ */
@media (min-width: 600px) {
  .wrapper {
    padding: 1rem 3rem 0;
    max-width: 1000px;
  }

  .header-wrapper {
    border-bottom: 3px solid var(--color-separate);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
  }

  .site-header {
    padding-top: 1rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
    justify-self: center;
  }

  .site-title, .site-desc {
    text-align: left;
  }

  .nav-btn {
    display: none;
  }

  .nav-bar {
    border-top: none;
    border-bottom: none;
    margin-bottom: 0;
  }

  .menu {
    max-height: 500px;
    overflow: visible;
    opacity: 1;
    display: flex;
    justify-content: center;
    justify-self: start;
  }

  .menu li {
    margin: 0;
  }

  .menu li:nth-child(1) {
    padding-top: 1rem;
  }

  .main-contents {
    margin-top: 5rem;
  }

  .home .post-list, .archive .post-list, .search .post-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: auto;
    margin-bottom: 3.75rem;
  }

  .single .post-list {
    margin-top: 5rem;
    margin-bottom: 6rem;
  }

  .pb-btn {
    margin: 1.5rem auto;
    width: 50%;
  }
}