@charset "UTF-8";

/*!
Theme Name: michimichi
Description: ※Cocoon Childを改変して作成
Theme URI: https://wp-cocoon.com/
Author: 都谷森 瞳（Cocoon Child：わいひら）
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/* ////////////////////////////// */
/* 全般
////////////////////////////// */
:root {
  --bgPC: #fcfdfd;
  --bgSP: #f2f2f2;
  --bgC50: rgba(255, 255, 255, 0.8);
  --fontC: #000;
  --link: #fe5353;
  --linkHover: #4a57fe;
  --border: #4d4d4d;
  --hr: #d1d1d1;
}
html {
  scroll-padding-top: 82px;
  scroll-behavior: smooth;
  background: var(--bgPC);
}
body {
  margin: 0;
}
a {
  text-decoration: none;
  color: var(--fontC);
}
a:hover {
  color: var(--link);
}
button {
  border: none;
}
#body {
  font-family: "Zen Maru Gothic", serif;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  background: url(./assets/img/bg-pc.png) center top no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.bodyWrapper {
  margin: 0 auto;
  position: relative;
  width: 100%;
  max-width: 768px;
}
#header,
.frontContainer,
#subFooter,
.backContainer {
  position: relative;
  z-index: 1; /* デフォルトのz-indexを指定 */
}
#header {
  /* 手前から1番目に表示 */
  position: fixed;
  top: 32px;
  right: calc(50% - 336px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  row-gap: 64px;
  z-index: 9999;
}
.frontContainer {
  /* 手前から2番目に表示 */
  width: 100%;
  z-index: 999;
}
#subFooter {
  /* 手前から3番目に表示 */
  position: fixed;
  bottom: 0;
  left: calc(50% - 384px);
  z-index: 99;
}
.backContainer {
  /* 手前から4番目に表示 */
  width: 100%;
  z-index: 1;
}
.bg1 {
  background-color: var(--bgSP);
}
.bg2 {
  background: url(./assets/img/bg-sp.png) center center repeat-y;
}
@media screen and (max-width: 768px) {
  #header {
    right: 32px;
  }
  #subFooter {
    left: 0;
  }
}
@media screen and (max-width: 425px) {
  #header {
    top: 16px;
    right: 16px;
    row-gap: 32px;
  }
}
/* ////////////////////////////// */
/* #header
////////////////////////////// */
#navBtn {
  width: 50px;
  height: 50px;
  background: url(./assets/img/navBtn.svg) center center no-repeat;
  transition: 0.2s ease-in-out all;
  cursor: pointer;
}
.navOpen #navBtn {
  transform: rotate(90deg);
}
#navContainer {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}
.navOpen #navContainer {
  display: block;
}
.navList {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  row-gap: 64px;
  list-style: none;
}
.navLink {
  padding: 16px;
  background: #fff;
}
.navLink:hover {
  color: var(--link);
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateX(50%);
  }
  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}
/* ////////////////////////////// */
/* #main > 全般
////////////////////////////// */
.mainWrapper {
  display: flex;
  flex-direction: column;
  row-gap: 128px;
}
.fontS-32 {
  font-size: 32px;
}
.fontS-24 {
  font-size: 24px;
}
.fontS-20 {
  font-size: 20px;
}
.fontS-18 {
  font-size: 18px;
}
.fontW-700 {
  font-weight: 700;
}
.lineH-18 {
  line-height: 1.8;
}
.lineH-12 {
  line-height: 1.2;
}
.textA-center {
  text-align: center;
}
.break {
  display: inline-block;
}
.secTitle {
  padding-bottom: 0.5em;
}
.secTitle span {
  position: relative;
  background: #fff;
}
.secTitle span::after {
  position: absolute;
  bottom: -0.5em;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  height: 2px;
  width: 100%;
  background: #000;
}
.myBtn,
.myBtn_w {
  padding-block: 0;
  padding-inline: 0;
  padding: 0.5em 32px;
  display: inline-block;
  border-radius: 32px;
  line-height: 1;
  transition: 0.2s ease-in-out all;
  cursor: pointer;
}
.myBtn {
  border: 4px solid #fff;
  background-color: var(--link);
  color: #fff;
}
.myBtn_w {
  background-color: #fff;
  color: var(--link);
}
.myBtn:hover {
  background-color: var(--linkHover);
  color: #fff;
}
.myBtn_w:hover {
  color: var(--linkHover);
}
.logo_default {
  width: 200px;
  max-width: 100%;
  height: auto;
}
@media screen and (max-width: 425px) {
  .fontS-32 {
    font-size: 24px;
  }
  .fontS-24 {
    font-size: 20px;
  }
  .fontS-20 {
    font-size: 18px;
  }
  .fontS-18 {
    font-size: 16px;
  }
}
/* ////////////////////////////// */
/* #main > #mvWrapper
////////////////////////////// */
#mv {
  position: relative;
  width: 100%;
  /* 20250513 <s> 
  height: 100vh;
  background: url(./assets/img/mv.jpg) center center no-repeat;
  background-size: cover;
  20250513 <e> */
}
/* 20250513 <s> */
#mv .mv_img {
  width: 100%;
  height: auto;
}
/* 20250513 <e> */
.siteTitleContainer {
  position: absolute;
  top: 32px;
  left: 32px;
  display: flex;
  align-items: center;
  column-gap: 16px;
}
.siteTitle {
  /* 20250513 <s> 
  width: 7em; */
  width: 11em;
  /* 20250513 <s> */
  font-size: calc(100px / 3);
  font-weight: 400;
}
.logo_siteTitle {
  width: auto;
  height: 100px;
}
@media screen and (max-width: 768px) {
  .siteTitleContainer {
    column-gap: 8px;
  }
  .siteTitle {
    font-size: calc(50px / 3);
  }
  .logo_siteTitle {
    height: 50px;
  }
}
@media screen and (max-width: 425px) {
  .siteTitleContainer {
    top: 16px;
    left: 16px;
  }
}
/* ////////////////////////////// */
/* #main > section
////////////////////////////// */
.sectionWrapper {
  display: flex;
  flex-direction: column;
  row-gap: 64px;
}
.myContentList {
  padding: 0 64px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(auto-fit, minmax(1em, 1fr));
  row-gap: 64px;
  list-style: none;
}
.myContent {
  padding: 32px;
  border: 4px solid var(--border);
  background: #fff;
}
.eyeCatch {
  position: relative;
  z-index: 1;
}
.eyeCatch iframe {
  border: none;
}
.contentInfo {
  margin-top: 16px;
}
.logo_project {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background: #fff;
}
.project01 {
  background: url(./assets/img/project01.png) left center no-repeat;
  background-size: contain;
}
.project02 {
  background: url(./assets/img/project02.png) left center no-repeat;
  background-size: contain;
}
.project03 {
  background: url(./assets/img/project03.png) left center no-repeat;
  background-size: contain;
}
.project04 {
  background: url(./assets/img/project04.png) left center no-repeat;
  background-size: contain;
}
.project05 {
  background: url(./assets/img/project05.png) left center no-repeat;
  background-size: contain;
}
.project06 {
  background: url(./assets/img/project06.png) left center no-repeat;
  background-size: contain;
}
.project07 {
  background: url(./assets/img/project07.png) left center no-repeat;
  background-size: contain;
}
.project08 {
  background: url(./assets/img/project08.png) left center no-repeat;
  background-size: contain;
}
.project09 {
  background: url(./assets/img/project09.png) left center no-repeat;
  background-size: contain;
}
.sec02_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 64px;
}
.sec02_text {
  margin: 0 64px;
  padding: 64px;
  display: flex;
  flex-direction: column;
  row-gap: 32px;
  background-color: var(--bgC50);
}
.sec02_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 64px;
}
.sec02_text {
  margin: 0 64px;
  padding: 64px;
  display: flex;
  flex-direction: column;
  row-gap: 32px;
  background-color: var(--bgC50);
}
.catList {
  padding-left: 0;
  margin: 0 64px;
  width: calc(100% - 128px);
  display: grid;
  grid-template-columns: 1fr;
  /* display: flex;
  flex-direction: column;
  align-items: center; */
  row-gap: 64px;
  list-style: none;
}
.catList a {
  padding: 64px;
  display: block;
  width: 100%;
  background-color: #fff;
  transition: 0.2s ease-in-out all;
  cursor: pointer;
}
.catList a:hover {
  color: var(--fontC);
  border: 4px solid var(--link);
}
.catInfo {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 16px;
}
/* ★ 20250602 説明文 追加 <s> */
#frontPage p.content_disc,
.content_disc {
  margin-top: 1em;
  padding: 0.5em 0 0.5em 1em;
  border-left: 2px solid var(--hr);
  color: var(--border);
  line-height: 1.5;
  font-size: 1em;
}
/* ★ 20250602 説明文 追加 <e> */
@media screen and (max-width: 768px) {
  .sectionWrapper {
    row-gap: 32px;
  }
  .myContentList {
    padding: 0 5%;
    row-gap: 32px;
  }
  .myContent {
    padding: 16px;
  }
  .logo_project {
    width: 30px;
    height: 30px;
  }
  .eyeCatch iframe {
    width: 100%;
    height: 56.3%;
  }
  .sec02_title {
    row-gap: 32px;
  }
  .sec02_text {
    margin: 0 5%;
    padding: 32px;
    row-gap: 16px;
  }
  .catList {
    margin: 0 5%;
    width: 90%;
    row-gap: 32px;
  }
  .catList a {
    padding: 32px;
  }
}
@media screen and (max-width: 450px) {
  /* ★ 20250602 説明文 追加 <s> */
  #frontPage p.content_disc,
  .content_disc {
    font-size: 16px;
  }
  /* ★ 20250602 説明文 追加 <e> */
}
/* ////////////////////////////// */
/* #subFooter
////////////////////////////// */
.logo_subfooter {
  width: 270px;
  height: 80px;
  background: url(./assets/img/subFooter.png) left bottom no-repeat;
  background-size: contain;
}
@media screen and (max-width: 450px) {
  .logo_subfooter {
    width: 160px;
    height: 48px;
  }
}
/* ////////////////////////////// */
/* #footer
////////////////////////////// */
#footer {
  margin-top: 128px;
}
#footer .footerWrapper {
  padding: 128px 0 112px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* row-gap: 64px; */
  row-gap: 32px;
  background-color: var(--link);
  color: #fff;
}
#footer .fot_navList {
  padding-left: 0;
  padding: 0 64px;
  display: flex;
  flex-direction: column;
  list-style: none;
}
#footer .fot_navList li a {
  color: #fff;
  transition: 0.2s ease-in-out all;
}
#footer .fot_navList li a:hover {
  opacity: 0.7;
}
/* 20250203 <s> */
.footer_link {
  padding: 16px 32px;
  border: 1px solid #fff;
  border-radius: 64px;
  text-decoration: none;
  display: -webkit-box;
  /* display: -ms-flexbox; */
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-column-gap: 16px;
  -moz-column-gap: 16px;
  column-gap: 16px;
  font-size: 20px;
  line-height: 1.2;
  transition: 0.2s ease-in-out all;
}
.footer_link:hover {
  opacity: 0.7;
}
.logo_footer {
  width: 50px;
}
.footer_link_text {
  max-width: 250px;
  color: #fff;
}
.footer_link_text span {
  display: inline-block;
}
/* 20250203 <e> */
@media screen and (max-width: 768px) {
  #footer {
    margin-top: 128px;
  }
  #footer .footerWrapper {
    padding: 64px 0 112px 0;
    /* row-gap: 32px; */
    row-gap: 16px;
  }
  #footer .fot_navList {
    padding: 0 5%;
  }
}
@media screen and (max-width: 425px) {
  .footer_link {
    font-size: 16px;
  }
  /* 20250203 <s> */
  .footer_link_text {
    max-width: 177px;
  }
  /* 20250203 <e> */
}
/* ////////////////////////////// */
/* #frontPage
////////////////////////////// */
#frontPage p,
#frontPage h1,
#frontPage h2,
#frontPage h3,
#frontPage h4,
#frontPage h5,
#frontPage h6 {
  margin: 0;
}
/* ////////////////////////////// */
/* #mv-cat
////////////////////////////// */
#page_category {
  padding-top: 64px;
}
#page_category .mainWrapper {
  row-gap: 64px;
}
#pageTitle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 300px;
  background: url(./assets/img/bg-category.png) center center no-repeat;
  background-size: contain;
}
#mv_category {
  padding: 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#page_category .catInfo {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 16px;
}
@media screen and (max-width: 768px) {
  #mv_category {
    padding: 0 5%;
  }
}
/* ////////////////////////////// */
/* #single
////////////////////////////// */
#single {
  padding-top: 64px;
}
#single .myPostContainer {
  padding: 0 64px;
  display: flex;
  flex-direction: column;
  row-gap: 32px;
}
#single .myPost_info {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}
#single .info_date {
  text-align: right;
}
#single .toc-center {
  margin: 64px auto;
}
#single .toc-title::after,
#single .myPost-content a {
  color: var(--link);
  text-decoration: none;
  transition: 0.2s ease-in-out all;
}
#single .myPost-content a:hover {
  color: var(--linkHover);
}
#single .blogcard-wrap {
  width: 100%;
}
#single .blogcard {
  padding: 16px;
}
#single .toc-list a,
#single .blogcard {
  color: var(--border);
}
#single .myPost-content h2 {
  /* 20250528 画像のキャプション機能の調整 <s> ------------------------------ */
  /* font-size: 18px; */
  font-size: 1.2em;
  /* 20250528 フォントサイズ調整 <e> ------------------------------ */
  margin-bottom: 16px;
}
#single .myPost-content p {
  margin-bottom: 32px;
}
#single .myPost-content hr {
  margin: 64px 0;
  color: var(--hr);
}
/* 20250528 画像のキャプション機能の調整 <s> ------------------------------ */
/* #single .myPost-content img {
  margin-bottom: 32px;
} */
#single .myPost-content figure {
  margin-bottom: 32px;
}
#single .myPost-content figcaption {
  font-size: 16px;
  text-align: right;
}
@media screen and (max-width: 450px) {
  #single .myPost-content figcaption {
    text-align: left;
  }
}
/* 20250528 画像のキャプション機能の調整 <e> ------------------------------ */
/* 20250402 吹き出し機能の調整 <s> ------------------------------ */
#single .myPost-content img.speech-icon-image,
#single .myPost-content .speech-balloon p {
  margin-bottom: 0;
}
div.speech-balloon {
  padding: 16px;
  border: none;
}
.speech-balloon::before {
  border-right-color: #ffffff;
}
@media screen and (max-width: 480px) {
  .speech-wrap .speech-balloon {
    padding: 16px;
  }
}
/* 20250402 吹き出し機能の調整 <e> ------------------------------ */
/* 20250618 吹き出し機能の調整 <s> ------------------------------ */
#single .myPost-content figure.speech-icon {
  margin-bottom: 0;
}
/* 20250618 吹き出し機能の調整 <e> ------------------------------ */
#single .shareContainer {
  padding: 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 32px;
}
#single .snsList {
  padding-left: 0;
  list-style: none;
  display: flex;
  column-gap: 32px;
}
#single .snsList a,
#single .snsList button,
#single .linkList a {
  cursor: pointer;
  color: var(--link);
  transition: 0.2s ease-in-out all;
}
#single .snsList a:hover,
#single .snsList button:hover,
#single .linkList a:hover {
  color: var(--linkHover);
}
#single .linkList {
  padding-left: 0;
  padding: 0 64px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 32px;
}
#single .linkList li {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 16px;
  border: 4px solid var(--border);
  background-color: #fff;
}
#urlCopyMessage {
  display: none;
}
.link_before {
  position: relative;
  padding-left: 1.2em;
}
.link_after {
  position: relative;
  padding-right: 1.2em;
}
.link_before::before,
.link_after::after {
  position: absolute;
  content: "";
  width: 0.8em;
  height: 0.8em;
  background-color: var(--link);
}
.link_before::before {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}
.link_after::after {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
@media screen and (max-width: 768px) {
  #single {
    padding-top: 82px;
  }
  #single .myPostContainer {
    padding: 0 5%;
  }
  #single .linkList {
    padding: 0 5%;
    grid-template-columns: auto;
    grid-template-rows: repeat(2, auto);
    column-gap: 0;
    row-gap: 16px;
  }
  #single .toc-center {
    margin: 32px auto;
  }
  #single .myPost-content hr {
    margin: 32px 0;
  }
}
/* 20250117 <s> */
.com_logo {
  width: 100px;
  height: auto;
}
.addition_info_container {
  padding: 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 32px;
}
.addition_info {
  padding: 32px;
  display: grid;
  grid-template-columns: 100px auto;
  align-items: center;
  column-gap: 32px;
  background-color: var(--bgPC);
  border: 4px solid var(--border);
}
/* 20250417 <s> ------------------------------
.addition_info a {
  color: var(--link);
  transition: 0.2s ease-in-out all;
}
.addition_info a:hover {
  color: var(--linkHover);
} */
.addition_info_links {
  margin-top: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 32px;
  row-gap: 16px;
}
.addition_info_links a {
  padding: 8px 24px;
  display: inline-block;
  background-color: var(--bgPC);
  border: 1px solid var(--link);
  border-radius: 24px;
  color: var(--link);
  transition: 0.2s ease-in-out all;
}
.addition_info_links a:hover {
  border: 1px solid var(--linkHover);
  color: var(--linkHover);
}
/* 20250417 <e> ------------------------------ */
.writer_logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
@media screen and (max-width: 768px) {
  .addition_info_container {
    padding: 0 5%;
  }
}
@media screen and (max-width: 425px) {
  .addition_info {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 16px;
  }
}
/* 20250117 <e> */
/* ////////////////////////////// */
/* #page
////////////////////////////// */
#page {
  padding-top: 64px;
}
#page .myPageContainer {
  padding: 0 64px;
}
#page .wpcf7-form {
  display: flex;
  flex-direction: column;
  row-gap: 32px;
}
#page input[type="submit"] {
  padding-block: 0;
  padding-inline: 0;
  padding: 0.5em 32px;
  width: auto;
  display: inline-block;
  border-radius: 32px;
  line-height: 1;
  transition: 0.2s ease-in-out all;
  border: 4px solid #fff;
  background-color: var(--link);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
}
#page input[type="submit"]:hover {
  background-color: var(--linkHover);
  color: #fff;
}
#page .wpcf7-spinner {
  display: none;
}
.input_required::after {
  margin-left: 0.2em;
  content: "※必須";
  color: var(--link);
}
.grecaptcha-badge {
  visibility: hidden;
}
@media screen and (max-width: 768px) {
  #page {
    padding-top: 82px;
  }
  #page .myPageContainer {
    padding: 0 5%;
  }
}

/* ****************************** 
20250627追加
新着記事 / 「michimichi」への導線強化
****************************** */
#lead {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 100px;
  display: grid;
  grid-template-columns: 1fr;
  z-index: 1000;
}
#lead img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
@media screen and (max-width: 768px) {
  #lead {
    top: inherit;
    bottom: 0;
    transform: translateY(0);
  }
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
}
