@charset "UTF-8";
/*
Theme Name:     yamauchicpa
Author:         Masanori HONDA
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-style: normal;
  font-weight: normal;
  font-size: 100%;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

html {
  overflow-y: scroll;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}

input, textarea {
  margin: 0;
  padding: 0;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th {
  text-align: left;
}

a:focus {
  outline: none;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

.clearfix {
  min-height: 1px;
}

* html .clearfix {
  height: 1px;
  /*¥*/ /*/
height: auto;
overflow: hidden;
/**/
}

.both {
  clear: both;
}

.inline_block {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

/* よく使うCSS start

img {
max-width:100%;
}

table {
width:100%;
}

a,a:hover {
-webkit-transition: 0.7s;
-moz-transition: 0.7s;
-o-transition: 0.7s;
transition: 0.7s;
}

a img:hover {
filter: alpha(opacity=75);
-moz-opacity:0.75;
opacity:0.75;
}

よく使うCSS end -----
時々使うCSS3 start ---

テキストシャドウ {
text-shadow: 1px 1px 3px #000;
}

テキストシャドウ {
text-shadow: 1px 1px 3px #000;
}

ボックスシャドウ {
-moz-box-shadow: 1px 1px 3px #000;
-webkit-box-shadow: 1px 1px 3px #000;
box-shadow: 1px 1px 3px #000;
}

ボックスシャドウ内側 {
-moz-box-shadow: inset 1px 1px 3px #000;
-webkit-box-shadow: inset 1px 1px 3px #000;
box-shadow: inset 1px 1px 3px #000;
}

角丸 {
border-radius: 8px; 
-webkit-border-radius: 8px;
-moz-border-radius: 8px; 
}

トランジション {
-webkit-transition: 1.5s;
-moz-transition: 1.5s;
-o-transition: 1.5s;
transition: 1.5s;
}

透明 {
filter: alpha(opacity=25);
-moz-opacity:0.25;
opacity:0.25;
}

背景のみ透明 {
background-color:rgba(255,255,255,0.2);
}

グラデーション {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#000000');
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#000000')";
background-image: -moz-linear-gradient(top, #ffffff, #000000);
background-image: -ms-linear-gradient(top, #ffffff, #000000);
background-image: -o-linear-gradient(top, #ffffff, #000000);
background-image: -webkit-gradient(linear, center top, center bottom, from(#ffffff), to(#000000));
background-image: -webkit-linear-gradient(top, #ffffff, #000000);
background-image: linear-gradient(top, #ffffff, #000000);


スマホ対応
@media screen and (max-width: 480px){

}
@media screen and (max-width: 320px){

}

時々使うCSS3 end */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: "FP-HiraginoUDSansStdN-W4", sans-serif;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.8;
  width: 94vw;
  max-width: 1920px;
  min-width: 1048px;
  margin: 0 auto;
  background: white;
}

ul, li {
  margin-bottom: 1em;
}

p {
  font-family: "FP-HiraginoUDSansStdN-W4", sans-serif;
  text-align: justify;
  margin-bottom: 1rem;
}

a {
  color: #4da166;
  text-decoration: none;
}
a:visited {
  color: #4da166;
}
a:focus {
  color: #4da166;
}
a:hover {
  color: black;
}
a:active {
  color: #4da166;
}

h1, h2, h3, h4 {
  font-family: "FP-HiraginoUDSansStdN-W6", sans-serif;
  margin-bottom: 1rem;
}

h1 {
  font-size: 1.4em;
}

h2 {
  font-size: 1.2em;
}

.home #main h2 {
  font-size: 2em;
}

h3 {
  font-size: 1.1em;
  font-weight: bold;
}

h4 {
  font-weight: bold;
}

figcaption {
  font-size: 0.8rem;
  text-align: center;
}

#masthead {
  height: 6rem;
  background: white;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  z-index: 100;
  padding: 1rem 0;
  margin: 0 -3vw;
}
#masthead #logo {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding-left: 3vw;
}
#masthead #logo .yao, #masthead #logo .thnk {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
#masthead #logo .yao {
  height: 4rem;
  width: 6.0769230769rem;
  background-image: url("images/logo.svg");
}
#masthead #logo .thnk {
  height: 4.9rem;
  width: 16.7045454545rem;
  background-image: url("images/thnk.svg");
}
#masthead #logo .site-description {
  font-size: 0.6rem;
  line-height: 1.4;
  margin: 0;
}
#masthead #logo .mobile-menu {
  display: none;
}
#masthead #logo .mobile-menu .drawer-hidden {
  display: none;
}
#masthead #logo .mobile-menu .drawer-open {
  display: flex;
  height: 6rem;
  width: 6rem;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;
  cursor: pointer;
}
#masthead #logo .mobile-menu .drawer-open span,
#masthead #logo .mobile-menu .drawer-open span:before,
#masthead #logo .mobile-menu .drawer-open span:after {
  content: "";
  display: block;
  height: 4px;
  width: 4rem;
  border-radius: 4px;
  background: #333;
  transition: 0.5s;
  position: absolute;
}
#masthead #logo .mobile-menu .drawer-open span:before {
  bottom: 1.2rem;
}
#masthead #logo .mobile-menu .drawer-open span:after {
  top: 1.2rem;
}
#masthead #logo .mobile-menu #drawer-input:checked ~ .drawer-open span {
  background: rgba(255, 255, 255, 0);
}
#masthead #logo .mobile-menu #drawer-input:checked ~ .drawer-open span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#masthead #logo .mobile-menu #drawer-input:checked ~ .drawer-open span::after {
  top: 0;
  transform: rotate(-45deg);
}
#masthead #logo .mobile-menu .nav-content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 99;
  background: #fff;
  transition: 0.5s;
}
#masthead #logo .mobile-menu .nav-list {
  margin-top: 2em;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 2.4em;
  line-height: 4;
  font-family: "FP-HiraginoUDSansStdN-W6", sans-serif;
}
#masthead #logo .mobile-menu .nav-list a {
  color: black;
}
#masthead #logo .mobile-menu #drawer-input:checked ~ .nav-content {
  left: 0;
}
#masthead #menu {
  display: flex;
  flex-direction: column;
  padding-right: 6vw;
  align-items: end;
  justify-content: space-between;
  font-family: "FP-HiraginoUDSansStdN-W6", sans-serif;
}
#masthead #menu #newsline, #masthead #menu #contents {
  display: flex;
  gap: 2em;
  margin: 0;
}
#masthead #menu #newsline a, #masthead #menu #contents a {
  color: black;
  display: block;
  text-decoration: none;
}

#headline {
  text-align: center;
  padding: 1em;
}
#headline .news {
  font-family: "FP-HiraginoUDSansStdN-W4", sans-serif;
  font-size: 1em;
}
#headline .news a {
  color: black;
}

section {
  margin-bottom: 2rem;
  padding: 0 3vw;
}
section#stories {
  display: flex;
}
section#stories #manifesto {
  font-size: 1.4em;
  line-height: 2.2;
  flex-basis: 40%;
  width: 40%;
  writing-mode: vertical-rl;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  text-align: center;
}
section#stories #manifesto .primary, section#stories #manifesto .secondary {
  display: flex;
  align-items: center;
  background-size: cover;
}
section#stories #manifesto .primary {
  background-image: url("images/hero2.png");
  color: white;
  text-shadow: 1px 1px 2px black;
}
section#stories #manifesto .secondary {
  background-image: url("images/hero1.png");
  color: black;
  text-shadow: 1px 1px 2px white;
}
section#stories #manifesto p span {
  font-family: "FP-HiraginoUDSansStdN-W6", sans-serif;
  display: block;
  text-indent: 2em;
}
section#stories #manifesto p span:nth-child(2) {
  text-indent: 4em;
}
section#stories #profile {
  flex-basis: 60%;
  padding: 0 1em;
}
section#stories #profile figure {
  float: left;
  margin: 0 2em 2em 0;
}
section#stories #profile .button {
  color: white;
  font-family: "FP-HiraginoUDSansStdN-W6", sans-serif;
  text-decoration: none;
  background: #4da166;
  padding: 0.4rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
section#industry .subsection {
  margin-bottom: 2rem;
}
section#industry .category {
  font-size: 1.8em;
}
section#industry .wp-block-group {
  display: flex;
  gap: 1.2rem 2rem;
  margin-bottom: 1.2rem;
}
section#industry .wp-block-group figure {
  flex: none;
  display: grid;
  place-items: center;
  width: 30vw;
  position: relative;
}
section#industry .wp-block-group figure img {
  aspect-ratio: 1.4/1;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 1px 1px 2px black;
}
section#industry .wp-block-group figure figcaption {
  text-align: center;
  font-size: 1.4em;
  padding: 1em;
  color: white;
  position: absolute;
  font-family: "FP-HiraginoUDSansStdN-W6", sans-serif;
  text-shadow: 1px 1px 2px black;
}

.wp-block-table figcaption {
  text-align: right;
}

.flex-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.flex-cols.end {
  justify-content: end;
}
.flex-cols.space-between {
  justify-content: space-between;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  font-family: "FP-HiraginoUDSansStdN-W6", sans-serif;
  text-shadow: 1px 1px 2px black;
  font-size: 1.4em;
}
.grid .link {
  color: white;
  display: grid;
  place-items: center;
  background: #eee;
  aspect-ratio: 1.4/1;
  position: relative;
  text-align: center;
  border-radius: 1rem;
  box-shadow: 1px 1px 2px black;
}
.grid .link .text {
  position: absolute;
  width: inherit;
  padding: 1em;
}
.grid .link img {
  width: 100%;
  aspect-ratio: 1.4/1;
  object-fit: cover;
  border-radius: 1rem;
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
#background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#hero {
  padding: 0;
  margin: 0 -3vw 4rem;
  position: relative;
}
#hero .swiper .swiper-wrapper .swiper-slide a {
  width: inherit;
  aspect-ratio: 1/1.8;
  position: relative;
  display: grid;
  place-items: center;
}
#hero .swiper .swiper-wrapper .swiper-slide a img {
  width: inherit;
  aspect-ratio: 1/1.8;
  object-fit: cover;
  border-radius: 1rem;
}
#hero .swiper .swiper-wrapper .swiper-slide a .text {
  writing-mode: vertical-rl;
  text-align: center;
  font-size: 1.3em;
  padding: 1em;
  color: white;
  position: absolute;
  font-family: "FP-HiraginoUDSansStdN-W6", sans-serif;
  text-shadow: 1px 1px 2px black;
}

footer {
  background: #4da166;
  margin: 12vw -3vw 0;
  padding: 4rem;
}

.header-wrapper {
  display: flex;
  flex-direction: column;
  height: 8rem;
  justify-content: center;
}

h1.entry-title, h1.archive-title {
  text-align: center;
  font-size: 1.4em;
}

.page h1 {
  text-align: center;
  font-size: 2em;
  height: 4em;
  line-height: 4em;
}
.page dt, .page h2 {
  font-family: "FP-HiraginoUDSansStdN-W6", sans-serif;
  font-size: 1.4em;
}
.page dd {
  margin-bottom: 1em;
}

.datebox {
  letter-spacing: 0.14em;
  font-size: 1.5em;
}
.datebox .day, .datebox .timebox {
  margin-left: 0.5em;
}
.datebox .day {
  font-size: 0.8em;
}
.datebox.update {
  font-size: 0.9em;
  opacity: 0.4;
}
.datebox.update .day {
  display: none;
}
.datebox.update::after {
  margin-left: 0.5em;
  content: "更新";
}
.datebox .timebox .end-time::before {
  content: "〜";
}

.thumbnail {
  float: right;
  margin: 0 0 0 2rem;
  width: 32vw;
  height: auto;
}
.thumbnail img {
  width: inherit;
  height: inherit;
  object-fit: contain;
}

.home #content, .archive #content {
  clear: both;
}
.home #content .sep, .archive #content .sep {
  color: black;
  font-family: "FP-HiraginoUDSansStdN-W6", sans-serif;
}
.home #content .sep:hover, .archive #content .sep:hover {
  animation: flash 0.8s linear;
}
.home #content .sep span, .archive #content .sep span {
  font-size: 1rem;
}
.home #content .sep span::before, .archive #content .sep span::before {
  margin: 0 1rem;
}
.home #content articles, .archive #content articles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.home #content articles article, .archive #content articles article {
  aspect-ratio: 1/1;
  font-size: 0.8em;
  position: relative;
}
.home #content articles article a, .archive #content articles article a {
  display: flex;
  flex-direction: column;
  color: black;
}
.home #content articles article a img, .archive #content articles article a img {
  width: 100%;
  aspect-ratio: 1/1.4;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 1px 1px 2px black;
  margin-bottom: 0.5em;
}
.home #content articles article a .post-date, .archive #content articles article a .post-date {
  text-align: right;
  font-size: 0.7em;
  color: #888;
}
.home #content articles article a.post-edit-link, .archive #content articles article a.post-edit-link {
  position: absolute;
  bottom: 0;
  right: 0;
}

@media screen and (max-width: 480px) {
  body {
    font-size: 24px;
    font-size: 1.5rem;
    width: 100vw;
  }
  #masthead {
    height: 10rem;
  }
  #masthead #logo {
    gap: 2.4rem;
    width: 100%;
  }
  #masthead #logo .yao {
    height: 7rem;
    width: 10.6346153846rem;
  }
  #masthead #logo .thnk {
    height: 7rem;
    width: 23.8636363636rem;
  }
  #masthead #logo .site-description {
    font-size: 1.2rem;
  }
  #masthead #logo .mobile-menu {
    display: block;
  }
  #masthead #menu {
    display: none;
  }
  .thumbnail {
    float: none;
    margin: 0 auto 2rem auto;
    width: 86vw;
    height: auto;
  }
  .home #main h2 {
    height: 4em;
    line-height: 4em;
    text-align: center;
  }
  .home #main h3 {
    text-align: center;
  }
  section {
    padding: 1%;
  }
  section#stories {
    flex-direction: column;
  }
  section#stories #manifesto {
    font-size: 2rem;
    width: 100%;
    writing-mode: horizontal-tb;
  }
  section#stories #manifesto .primary, section#stories #manifesto .secondary {
    flex-grow: 1;
  }
  section#stories #manifesto p {
    padding: 1em;
    font-size: 1em;
    line-height: 3;
  }
  section#stories #manifesto p span {
    font-family: "FP-HiraginoUDSansStdN-W6", sans-serif;
    display: block;
    text-indent: 0;
  }
  section#stories #manifesto p span:nth-child(2) {
    text-indent: 0;
  }
  section#industry .wrapper a {
    flex-basis: 100%;
    aspect-ratio: 4/1;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
  .home #content articles, .archive #content articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
  .home #content articles article, .archive #content articles article {
    aspect-ratio: unset;
  }
  section#industry .subsection {
    margin-bottom: 2rem;
  }
  section#industry .category {
    font-size: 1.8em;
  }
  section#industry .wp-block-group {
    display: flex;
    gap: 1.2rem 2rem;
    margin-bottom: 1.2rem;
  }
  section#industry .wp-block-group figure {
    flex: none;
    display: grid;
    place-items: center;
    width: 100vw;
    position: relative;
  }
  section#industry .wp-block-group figure img {
    aspect-ratio: 1.4/1;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 1px 1px 2px black;
  }
  section#industry .wp-block-group figure figcaption {
    font-size: 1.4em;
  }
}
.wpcf7 {
  width: 100%;
}
.wpcf7 .required {
  font-size: 0.7em;
  color: white;
  background: red;
  border-radius: 0.5em;
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  font-family: "FP-HiraginoUDSansStdN-W6", sans-serif;
  padding: 0.2em 0.4em;
  margin-left: 0.6em;
}
.wpcf7 .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1rem;
}
.wpcf7 .item {
  line-height: 2;
  display: inline-block;
  min-width: 24.5714285714vw;
}
.wpcf7 .answer {
  width: 61.4285714286vw;
}
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel] {
  width: 61.4285714286vw;
  padding: 0.4em;
  font-size: 1em;
  border: none;
  border-bottom: 1px solid black;
}
.wpcf7 span.wpcf7-list-item {
  display: block;
}
.wpcf7 span.wpcf7-list-item-label:before {
  content: " ";
}
.wpcf7 span.wpcf7-not-valid-tip {
  font-size: 0.8em;
}
.wpcf7 span.question-content {
  width: 86vw;
  height: 61.4285714286vw;
}
.wpcf7 span.question-content textarea {
  border-radius: 0.4em;
  -webkit-border-radius: 0.4em;
  -moz-border-radius: 0.4em;
  box-sizing: border-box;
  font-size: 1em;
  padding: 0.4em;
  width: 100%;
  height: 100%;
}
.wpcf7 label.textarea {
  display: flex;
  flex-direction: column;
}
.wpcf7 label.textarea textarea {
  width: 100%;
}
.wpcf7 input[type=submit] {
  border-radius: 0.4em;
  -webkit-border-radius: 0.4em;
  -moz-border-radius: 0.4em;
  box-sizing: border-box;
  font-size: 1em;
  padding: 0.4em 0.8em;
  color: white;
  border: none;
  background: #4da166;
}
.wpcf7 input[type=submit]:disabled {
  opacity: 0.4;
}

@media (orientation: portrait) {
  .wpcf7 .item {
    width: 86vw;
  }
  .wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel] {
    width: 86vw;
  }
  .wpcf7 span.question-content {
    width: 86vw;
    height: 120.4vw;
  }
}