@charset "UTF-8";
/* main.scss */
* {
  box-sizing: border-box;
}

body, button, input, select, optgroup, textarea {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
@media (max-width: 640px) {
  body, button, input, select, optgroup, textarea {
    font-size: 14px;
  }
}

a {
  color: #023573;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a img {
  transition: all ease 0.3s;
}
a img:hover {
  opacity: 0.7;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: #000;
  color: #fff;
  z-index: 10000;
}

br[class^=br-] {
  display: none;
}

@media (min-width: 640px) {
  br.br-sm {
    display: inline;
  }
}
@media (min-width: 782px) {
  br.br-md {
    display: inline;
  }
}
@media (min-width: 1080px) {
  br.br-lg {
    display: inline;
  }
}
@media (max-width: 640px) {
  br.br-only-sm {
    display: inline;
  }
}
.img-sm-only, .img-md-only, .img-lg-only {
  display: none;
}

@media (max-width: 640px) {
  .img-sm-only {
    display: block;
  }
}
@media (min-width: 640px) {
  .img-sm-up {
    display: block;
  }
}
@media (max-width: 782px) {
  .img-md-only {
    display: block;
  }
}
@media (min-width: 782px) {
  .img-md-up {
    display: block;
  }
}
@media (min-width: 1080px) {
  .img-lg-up {
    display: block;
  }
}
p {
  margin: 0.5em auto 1em;
}
p:first-child {
  margin-top: 0;
}

:root {
  --page-padding: 1.5rem;
}

.entry-content {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--page-padding);
  position: relative;
}

.entry-content > .alignwide {
  max-width: 1440px;
  margin-inline: auto;
}

.entry-content > .alignfull {
  width: var(--vw);
  max-width: var(--vw);
  margin-left: 50%;
  transform: translateX(-50%);
}

body {
  overflow-x: hidden;
}

/* ----------------------------------------
 * WordPress: alignments
 * 画像・figure・ブロック共通
 * -------------------------------------- */
/* 左寄せ：テキスト回り込み */
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

/* 右寄せ：テキスト回り込み */
.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

/* 中央寄せ：ブロックとして中央に */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

img.alignleft,
.wp-block-image .alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

img.alignright,
.wp-block-image .alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

img.aligncenter,
.wp-block-image .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* figure 共通の余白調整など */
.wp-block-image,
figure {
  max-width: 100%;
}

.wp-block-image img {
  height: auto;
}

/* キャプション */
.wp-element-caption,
.wp-block-image figcaption {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 0.5em;
  color: #666;
}

@media (max-width: 768px) {
  .alignleft,
  .alignright,
  img.alignleft,
  img.alignright,
  .wp-block-image .alignleft,
  .wp-block-image .alignright {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
.entry-content:not(.front-entry):not(.archive-content) h2,
.entry-content:not(.front-entry):not(.archive-content) h3,
.entry-content:not(.front-entry):not(.archive-content) h4,
.entry-content:not(.front-entry):not(.archive-content) h5,
.entry-content:not(.front-entry):not(.archive-content) h6 {
  color: #023573;
  margin: 2em auto 0.5em;
}
.entry-content:not(.front-entry):not(.archive-content) h2:first-child,
.entry-content:not(.front-entry):not(.archive-content) h3:first-child,
.entry-content:not(.front-entry):not(.archive-content) h4:first-child,
.entry-content:not(.front-entry):not(.archive-content) h5:first-child,
.entry-content:not(.front-entry):not(.archive-content) h6:first-child {
  margin-top: 0;
}
.entry-content:not(.front-entry):not(.archive-content) h2 {
  font-size: 1.8em;
  display: flex;
  align-items: center;
  margin: 1em auto;
}
.entry-content:not(.front-entry):not(.archive-content) h2 span:first-child {
  background-color: #023573;
  color: white;
  padding: 0.25em 0.5em;
  display: inline-block;
  position: relative;
}
.entry-content:not(.front-entry):not(.archive-content) h2 span:first-child:before, .entry-content:not(.front-entry):not(.archive-content) h2 span:first-child:after {
  content: "";
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  background-color: #023573;
  position: absolute;
  left: -14px;
  bottom: 0;
  display: block;
  width: 15px;
  height: 100%;
}
.entry-content:not(.front-entry):not(.archive-content) h2 span:first-child:after {
  clip-path: polygon(0 0, 0 100%, 100% 0);
  left: auto;
  right: -14px;
}
.entry-content:not(.front-entry):not(.archive-content) h2 span:nth-child(2) {
  background-color: #023573;
  height: 3px;
  flex-grow: 1;
}
@media (max-width: 640px) {
  .entry-content:not(.front-entry):not(.archive-content) h2 {
    font-size: 1.5em;
  }
}
.entry-content:not(.front-entry):not(.archive-content) h3 {
  font-size: 1.4em;
}
.entry-content:not(.front-entry):not(.archive-content) h3:before {
  background-color: currentColor;
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  border-radius: 100%;
  position: relative;
  margin-right: 0.5em;
  top: 0.15em;
}
@media (max-width: 640px) {
  .entry-content:not(.front-entry):not(.archive-content) h3 {
    font-size: 1.3em;
  }
}
.entry-content:not(.front-entry):not(.archive-content) h4 {
  font-size: 1.2em;
  background-color: #023573;
  color: white;
  padding: 0.25em 0.5em;
}
@media (max-width: 640px) {
  .entry-content:not(.front-entry):not(.archive-content) h4 {
    font-size: 1.1em;
  }
}
.entry-content:not(.front-entry):not(.archive-content) h5 {
  font-size: 1.1em;
}
@media (max-width: 640px) {
  .entry-content:not(.front-entry):not(.archive-content) h5 {
    font-size: 1em;
  }
}
.entry-content:not(.front-entry):not(.archive-content) h6 {
  font-size: 1em;
}

input, select, textarea {
  width: 100%;
}

input[type=submit] {
  width: auto;
}

span.red {
  color: red;
  font-size: 0.8em;
  margin-left: 0.25em;
}

p.mail-title {
  margin: 0.5em 0;
  padding: 0.5em 0.5em;
  background: #eaf3fe;
}

.mail-container {
  margin: 2em 0;
}

.form-btn-p.center {
  text-align: center;
  padding: 3em 0;
}
.form-btn-p button,
.form-btn-p input {
  padding: 0.75em 2em;
  border-radius: 5px;
  background-color: gray;
  color: white;
  transition: background-color 0.3s ease;
}
.form-btn-p button:hover,
.form-btn-p input:hover {
  background-color: black;
  color: white;
}
.form-btn-p :is(button.btn-go-confirm, input.wpcf7-submit) {
  background-color: #023573;
  color: white;
  cursor: pointer;
}
.form-btn-p :is(button.btn-go-confirm, input.wpcf7-submit):hover {
  background-color: black;
}
.form-btn-p :is(button.btn-go-confirm, input.wpcf7-submit).is-inactive {
  background-color: gray;
  color: white;
  cursor: not-allowed;
}

/* =========================================================
   Header (fixed) + SP Menu Button + Mobile Nav
   ========================================================= */
header#header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  background-color: #023573;
  color: white;
  z-index: 1000;
}
@media (max-width: 1080px) {
  header#header {
    background-color: white;
  }
}
header#header .header-container {
  display: flex;
  justify-content: space-between;
}
header#header .site-branding {
  background-color: white;
  padding: 1em;
  height: 100%;
}
header#header .site-branding .site-logo {
  width: 288px;
  line-height: 1;
  font-size: 1em;
}
header#header {
  /* -----------------------------------------
     Hamburger button
     ----------------------------------------- */
}
header#header .sp-menu {
  /* 初期は非表示（PC）。md以下で出す */
  display: none;
}
@media (max-width: 1080px) {
  header#header .sp-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* ボタンリセット */
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    border: 0;
    color: #023573;
    width: 52px;
    padding: 0;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s ease;
    /* 3本のバー（span）はボタン内の中央に重ねる */
  }
  header#header .sp-menu span {
    position: absolute;
  }
  header#header .sp-menu span.txt {
    top: 10px;
  }
  header#header .sp-menu span.border {
    left: 20%;
    width: 60%;
    height: 2px;
    background: #023573;
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
  }
  header#header .sp-menu span.border:nth-child(2) {
    top: 34px;
  }
  header#header .sp-menu span.border:nth-child(3) {
    top: 42px;
  }
  header#header .sp-menu span.border:nth-child(4) {
    top: 50px;
  }
  header#header .sp-menu:hover, header#header .sp-menu:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
  }
  header#header .sp-menu {
    /* active（開）でX化 */
  }
  header#header .sp-menu.active span.border:nth-child(2) {
    top: 44px;
    transform: rotate(45deg);
  }
  header#header .sp-menu.active span.border:nth-child(3) {
    opacity: 0;
    transform: scaleX(0.4);
  }
  header#header .sp-menu.active span.border:nth-child(4) {
    top: 44px;
    transform: rotate(-45deg);
  }
}

.nav-area {
  padding: 0 1em;
}
.nav-area * {
  height: 100%;
}

.global-nav a {
  color: white;
}
.global-nav .global-menu-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.global-nav .global-menu-list li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65em;
}
.global-nav .global-menu-list li > a:hover {
  background-color: #FDCD00;
  color: #023573;
}

@media (max-width: 1080px) {
  .nav-area {
    position: fixed;
    height: auto;
    background-color: #023573;
    right: 0;
    transform: translateX(100%);
    transition: all ease 0.3s;
    padding: 0;
    overflow-y: scroll;
  }
  .nav-area * {
    height: auto;
  }
  .nav-area.is-open {
    transform: translateX(0);
    width: 100%;
  }
  .nav-area .global-nav .global-menu-list {
    display: block;
  }
  .nav-area .global-nav .global-menu-list li a {
    padding: 1em;
  }
  .nav-area .global-nav .global-menu-list li {
    border-bottom: 1px solid white;
  }
}
@media (max-width: 782px) {
  .entry-content {
    padding: 3em 1.5em;
  }
}

p.center {
  text-align: center;
}

article.post-text a {
  padding: 0.25em;
  display: block;
  border-bottom: 1px solid #e2e2e2;
  margin: 1em auto;
}
article.post-text a:first-child {
  margin-top: 0;
}
article.post-text a h2,
article.post-text a h3 {
  margin: 0;
  font-size: 16px;
}
article.post-text a span.date {
  font-size: 0.9em;
}

nav.navigation.post-navigation {
  margin-top: 5%;
  border-top: 1px solid #e2e2e2;
  padding: 0.5em 0;
}
nav.navigation.post-navigation .nav-links {
  display: grid;
  gap: 2em;
  grid-template-columns: repeat(2, 1fr);
}
nav.navigation.post-navigation .nav-links .nav-previous a {
  display: grid;
  grid-template-columns: 1em 1fr;
  align-items: center;
  gap: 0.5em;
}
nav.navigation.post-navigation .nav-links .nav-previous a:before {
  content: "";
  width: 0.8em;
  height: 0.8em;
  display: block;
  border-top: 1px solid #023573;
  border-left: 1px solid #023573;
  transform: rotate(-45deg);
}
@media (max-width: 640px) {
  nav.navigation.post-navigation .nav-links .nav-previous {
    margin-bottom: 0.5em;
  }
}
nav.navigation.post-navigation .nav-links .nav-next a {
  display: grid;
  grid-template-columns: 1fr 1em;
  align-items: center;
  gap: 0.5em;
}
nav.navigation.post-navigation .nav-links .nav-next a:after {
  content: "";
  width: 0.8em;
  height: 0.8em;
  display: block;
  border-top: 1px solid #023573;
  border-left: 1px solid #023573;
  transform: rotate(135deg);
}
@media (max-width: 640px) {
  nav.navigation.post-navigation .nav-links {
    display: block;
  }
}

.illust {
  margin: 2em 1em;
}
.illust img {
  margin: auto;
}

.footer-contact {
  padding: 2em 1em 150px;
  background-color: #FDCD00;
  position: relative;
  margin-top: 10%;
}
.footer-contact:after {
  content: "";
  background-image: url("/oyama_wp/wp-content/themes/oyama/assets/image/footer.webp");
  width: 100%;
  height: 120px;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  background-position: center;
}

footer {
  background-color: #586365;
  padding: 3em 0;
  color: white;
}
footer .inner {
  width: min(100% - 1rem * 2, 1200px);
  margin-inline: auto;
}
footer a {
  color: white;
}

p.site-info {
  text-align: center;
  font-size: 12px;
}

div#page_top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 99999;
  width: 64px;
  height: 48px;
}
div#page_top span.text {
  position: relative;
  z-index: 1;
  width: 15px;
  display: block;
  margin: auto;
}
div#page_top span.gear01,
div#page_top span.gear02 {
  position: absolute;
  animation: gear-rotate 4s linear infinite;
}
div#page_top span.gear01 {
  width: 40px;
  height: 40px;
  top: 0;
  left: 0;
}
div#page_top span.gear02 {
  width: 26px;
  height: 26px;
  top: 28px;
  left: 28px;
  animation-direction: reverse;
  animation-duration: 2.5s;
}
div#page_top:hover span.gear01,
div#page_top:hover span.gear02 {
  animation: gear-rotate 1s linear infinite;
}
div#page_top:hover span.gear02 {
  animation-direction: reverse;
  animation-duration: 0.8s;
}

@keyframes gear-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.breadcrumbs {
  font-size: 0.8em;
  padding: 0.5em;
  background: #082447;
  color: white;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-flow: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}
.breadcrumbs ol a {
  color: white;
}
.breadcrumbs li + li::before {
  content: ">";
  margin-right: 0.5rem;
  color: #999;
}

/* 右側に回り込まないようにする */
.is-layout-constrained > * {
  clear: both;
}

.is-layout-constrained {
  display: flow-root;
}

.wp-block-button .wp-block-button__link:hover {
  background-color: black !important;
  color: white;
  border-color: black;
}

.is-provider-youtube .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.is-provider-youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

figure.wp-block-embed.aligncenter.is-type-video.is-provider-youtube.wp-block-embed-youtube {
  text-align: center;
}

/* パララックスが含まれる場合のみ、transformを解除して計算式に差し替える */
.entry-content > .alignfull:has(.has-parallax) {
  transform: none;
  margin-left: calc(50% - var(--vw) / 2);
}

.has-background {
  padding: 1em;
}

ul.side-list {
  display: flex;
  -moz-column-gap: 3em;
       column-gap: 3em;
  flex-flow: wrap;
  margin: 0.5em 0;
}

.video-container {
  width: 100%;
  aspect-ratio: 1080/600; /* 比率を絶対死守 */
  overflow: hidden;
  position: relative;
}

.fade-logic-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1080/600;
  background-color: #023573;
  overflow: hidden;
}

.fade-logic-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* 1枚だけの時は表示したままにする（初期値） */
.fade-logic-container img.img-a {
  opacity: 1;
  z-index: 1;
}

/* 2枚目がある場合のみアニメーションを適用 */
.has-animation img {
  animation: alternatingFade 6s infinite;
  opacity: 0; /* アニメーションで制御するため初期は0 */
}

.has-animation .img-b {
  animation-delay: 3s;
}

@keyframes alternatingFade {
  0% {
    opacity: 0;
  }
  4% {
    opacity: 1;
  } /* フェードイン */
  46% {
    opacity: 1;
  } /* 表示維持 */
  50% {
    opacity: 0;
  } /* フェードアウト */
  100% {
    opacity: 0;
  }
}
/* すべてのスライドをデフォルトで薄くする */
.swiper-slide {
  opacity: 0.4; /* 透過度（お好みで調整） */
  transition: opacity 0.3s ease; /* ふわっと切り替わるように */
}

/* センター（アクティブ）のスライダーだけ不透明にする */
.swiper-slide-active {
  opacity: 1;
}

.swiper-pagination {
  position: relative !important;
  margin: 1em 0.5em 0.5em;
}
.swiper-pagination .swiper-pagination-bullet {
  background-color: white;
}

.text-area {
  position: absolute;
  z-index: 999;
  inset: 0;
  width: 100%;
  height: 100%;
  color: white;
  inset: 0;
  display: flex;
  flex-flow: column wrap;
  justify-content: space-between;
  padding: clamp(10px, 3vw, 2em) clamp(15px, 3vw, 2.5em);
}
.text-area .title-area .title {
  font-size: clamp(24px, 4vw, 6em);
  font-weight: 700;
  line-height: 1;
}
.text-area .title-area .subtitle {
  font-size: clamp(14px, 4vw, 1.5em);
  font-weight: 700;
  margin-top: 0.5em;
}
.text-area .content {
  text-align: right;
  font-size: clamp(13px, 4vw, 1.75em);
}

/*********FirstView***********/
.front-entry h2 {
  margin: 0;
  font-size: clamp(20px, 3vw, 2em);
}
.front-entry h2 + p {
  margin: 0 0 2em 0;
  font-weight: 800;
  font-size: 0.8em;
  color: #FDCD00;
}
@media (max-width: 782px) {
  .front-entry h2 + p {
    margin: 0;
  }
}
@media (max-width: 782px) {
  .front-entry h2 {
    font-size: 1.2em;
  }
}

.front-entry.entry-content {
  padding: 0;
}
.front-entry.entry-content section {
  margin-top: 3em;
  margin-bottom: 3em;
}

@media (max-width: 782px) {
  .title-inner {
    margin: 0 1em 1em;
    text-align: center;
  }
}

.circle-link a {
  display: inline-flex;
  align-items: center;
  padding: 1.5em 0;
  position: relative;
}
.circle-link a:before {
  content: "";
  width: 2.5em;
  height: 2.5em;
  display: inline-block;
  background-color: #FDCD00;
  border-radius: 100%;
  position: absolute;
  z-index: -1;
  opacity: 0;
  left: 0;
  transform: translateX(0);
  transition: all ease 0.3s;
  z-index: 0;
}
.circle-link a:after {
  content: "";
  display: inline-block;
  width: 33.8px;
  height: 10.7px;
  background-color: currentColor;
  /* 線を認識させるために stroke と stroke-width を追加 */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 33.8 11'%3E%3Cpath d='M0,10.7h33.8L21.4.7' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 33.8 11'%3E%3Cpath d='M0,10.7h33.8L21.4.7' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  margin-left: 0.5em;
  margin-bottom: 0.25em;
}
.circle-link a:hover:before {
  left: 100%;
  opacity: 1;
  transform: translateX(calc(-100% + 3px));
}

.fv-container h2 {
  padding: 0.5em;
}

div#sec-area01 {
  background-image: linear-gradient(0deg, #eaf3fe, #ffffff);
}

.icon-container {
  position: relative;
}

.icon-area {
  margin: 2em auto 0;
  gap: 0 !important;
}
@media (max-width: 640px) {
  .icon-area {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
.icon-area > div {
  position: relative;
  transition: all ease 0.3s;
}
.icon-area > div::after {
  content: "";
  display: block;
  top: 50%;
  left: 50%;
  width: 0%;
  height: 0%;
  transform-origin: center;
  position: absolute;
  z-index: -1;
  transition: all ease 0.3s;
  transform: translate(-50%, -50%) skewX(0deg);
}
.icon-area > div figure {
  margin: 0 !important;
}
.icon-area > div .icon-title {
  position: absolute;
  text-align: center;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  font-size: 1.25em;
}
.icon-area > div .icon-title a {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  justify-content: flex-end;
  align-items: flex-start;
}
.icon-area > div .icon-title a span {
  margin: 1em;
  text-align: left;
  padding: 0.25em 1em;
  background: #023573;
  color: white;
  position: relative;
  transition: all ease 0.3s;
}
.icon-area > div .icon-title a span:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 0px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid #023573;
  position: absolute;
  bottom: -17px;
}
@media (max-width: 640px) {
  .icon-area > div .icon-title a span {
    font-size: 14px;
  }
}
.icon-area > div:hover::after {
  content: "";
  width: 80%;
  height: 70%;
  transform: translate(-50%, -50%) skewX(-30deg);
  background-color: #FDCD00;
}
.icon-area > div:hover a span {
  transform: scale(1.2);
}

.loop-container {
  padding: 0 1em;
}

.info-area {
  border: 1px solid #e2e2e2;
  padding: 2em;
  box-shadow: 0 3px 6px #e2e2e2;
  background-color: rgba(255, 255, 255, 0.75);
  max-width: 960px;
}
@media (max-width: 640px) {
  .info-area {
    padding: 0.5em;
    width: calc(100% - 1em);
  }
}

#sec-area02 .content-container {
  position: relative;
  margin: 10% 0;
}
#sec-area02 .content-container figure {
  height: 600px;
}
#sec-area02 .content-container figure img {
  height: 100%;
}
@media (max-width: 640px) {
  #sec-area02 .content-container figure {
    height: auto;
  }
  #sec-area02 .content-container figure img {
    height: auto;
  }
}
#sec-area02 .content-container .title-container {
  top: -20%;
  opacity: 0;
  transition: top 0.6s ease, opacity 0.6s ease;
  max-width: 500px;
  background-color: #023573;
  color: white;
  padding: 2em 2em;
  box-shadow: 20px 20px 0 #FDCD00;
  border: 3px solid white;
  border-radius: 6px;
  position: relative;
  z-index: 0;
}
@media (max-width: 1080px) {
  #sec-area02 .content-container .title-container {
    max-width: 340px;
  }
}
@media (max-width: 640px) {
  #sec-area02 .content-container .title-container {
    max-width: 260px;
    box-shadow: 10px 10px 0 #FDCD00;
  }
}
#sec-area02 .content-container .title-container h2,
#sec-area02 .content-container .title-container a {
  color: white;
}
#sec-area02 .content-container::after {
  content: "";
  display: block;
  width: 100%;
  height: 90%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  background-color: #eaf3fe;
  transition: clip-path 0.8s ease;
}
#sec-area02 .content-container:nth-child(odd) .title-container {
  left: 10%;
  position: absolute;
}
@media (max-width: 640px) {
  #sec-area02 .content-container:nth-child(odd) .title-container {
    left: 5vw;
    position: relative;
    margin: 0 !important;
  }
}
#sec-area02 .content-container:nth-child(odd)::after {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}
#sec-area02 .content-container:nth-child(even) .title-container {
  right: 10%;
  position: absolute;
}
@media (max-width: 640px) {
  #sec-area02 .content-container:nth-child(even) .title-container {
    right: auto;
    left: calc(100% - 260px - 5vw);
    position: relative;
    margin: 0 !important;
  }
}
#sec-area02 .content-container:nth-child(even)::after {
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}
#sec-area02 .content-container.is-move .title-container {
  top: 0;
  opacity: 1;
}
#sec-area02 .content-container.is-move:nth-child(odd)::after {
  clip-path: polygon(0 0, 95% 0, 70% 100%, 0 100%);
}
#sec-area02 .content-container.is-move:nth-child(even)::after {
  clip-path: polygon(5% 1%, 100% 0, 100% 100%, 30% 100%);
}

.page-title-area {
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: center;
  margin-bottom: 3em;
}
@media (max-width: 640px) {
  .page-title-area {
    margin-bottom: 0;
  }
}
.page-title-area .main-title-container {
  background: #eaf3fe;
  height: 100%;
  display: flex;
  align-items: center;
  color: #023573;
  position: relative;
}
.page-title-area .main-title-container .inner {
  padding: 3em;
  width: 100%;
}
.page-title-area .main-title-container .inner h1 {
  border-bottom: 2px solid;
}
.page-title-area .main-title-container .inner h1 + p {
  margin-top: 0;
  font-weight: 800;
}
.page-title-area .main-title-container::before {
  content: "";
  width: 300px;
  height: 200px;
  display: block;
  position: absolute;
  background-color: white;
  bottom: -200px;
  left: 0;
  z-index: -1;
  border-radius: 100% 0 0;
}
.page-title-area .main-title-container::after {
  content: "";
  width: 300px;
  height: 200px;
  display: block;
  position: absolute;
  background-color: #eaf3fe;
  bottom: -200px;
  left: 0;
  z-index: -2;
  border-radius: 0;
}
.page-title-area .thumb {
  position: relative;
}
.page-title-area .thumb::after {
  content: "";
  width: 75%;
  height: 100%;
  display: block;
  position: absolute;
  background-color: #eaf3fe;
  top: 0;
  left: 0;
  z-index: -1;
  border-radius: 0 0 100% 0;
}
.page-title-area .thumb img {
  margin-left: auto;
}
@media (max-width: 1080px) {
  .page-title-area {
    grid-template-columns: 1fr;
  }
  .page-title-area .main-title-container {
    order: 2;
  }
  .page-title-area .main-title-container .inner {
    padding: 0 1em;
    width: 100%;
    margin-top: -3em;
  }
  .page-title-area .main-title-container::before, .page-title-area .main-title-container::after {
    display: none;
  }
  .page-title-area .thumb {
    order: 1;
    display: flex;
    justify-content: end;
    height: 200px;
  }
  .page-title-area .thumb img {
    aspect-ratio: 3/2;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .page-title-area .thumb::after {
    width: 100%;
    border-radius: 0;
  }
}

.page-header {
  padding: 2.5em 1em;
  background-color: #eaf3fe;
  color: #023573;
  margin-bottom: 5em;
}
.page-header h1.entry-title {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-header h1.entry-title + p {
  text-align: center;
  margin: 0 0 1.5em;
}
.page-header h1.entry-title::before, .page-header h1.entry-title::after {
  content: "";
  display: inline-block;
  width: 2em;
  height: 1px;
  background-color: #023573;
  margin: 0 0.5em;
}
@media (max-width: 640px) {
  .page-header h1.entry-title {
    font-size: 1.4em;
  }
}
.page-header .description {
  max-width: 600px;
  margin: auto;
  text-align: center;
}
@media (max-width: 640px) {
  .page-header {
    margin-bottom: 0;
  }
}

.circle-area .wp-block-group .circle-content {
  padding: 3.6em 0;
  position: relative;
  z-index: 0;
  color: white;
}
.circle-area .wp-block-group .circle-content:after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border-radius: 100%;
  z-index: -3;
  transform: scale(1.2);
}
@media (max-width: 640px) {
  .circle-area .wp-block-group .circle-content:after {
    transform: scale(1);
  }
}
.circle-area .wp-block-group:nth-child(1) .circle-content:after {
  background-color: rgba(0, 156, 180, 0.8);
}
.circle-area .wp-block-group:nth-child(2) .circle-content:after {
  background-color: rgba(0, 90, 180, 0.8);
}
.circle-area .wp-block-group:nth-child(3) .circle-content:after {
  background-color: rgba(126, 0, 180, 0.8);
}
.circle-area .wp-block-group:nth-child(4) .circle-content:after {
  background-color: rgba(180, 0, 144, 0.8);
}
@media (max-width: 640px) {
  .circle-area {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.product-icon-grid {
  margin: 3em auto;
}
.product-icon-grid figure a {
  display: block;
  position: relative;
  z-index: 0;
}
.product-icon-grid figure a img {
  position: relative;
  z-index: 0;
  transform: translateY(0);
  transition: all ease 0.3s;
}
.product-icon-grid figure a::before, .product-icon-grid figure a::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  transform: translateY(-15%);
}
.product-icon-grid figure a::before {
  z-index: 1;
  background-image: url(/oyama_wp/wp-content/themes/oyama/assets/image/products/products-icon-map.webp);
  transition: all ease 0.3s;
  opacity: 0;
}
.product-icon-grid figure a::after {
  z-index: -1;
  background-image: url(/oyama_wp/wp-content/themes/oyama/assets/image/products/products-icon-shadow.webp);
  transition: all ease 0.3s;
  opacity: 0;
}
.product-icon-grid figure a:hover img {
  transform: translateY(-5%);
}
.product-icon-grid figure a:hover::before {
  opacity: 1;
  transform: translateY(0);
}
.product-icon-grid figure a:hover::after {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 640px) {
  .product-icon-grid {
    display: flex !important;
    justify-content: center;
    flex-flow: wrap row;
    gap: 0 !important;
  }
  .product-icon-grid > figure {
    width: 33.3333333333% !important;
  }
}

div#products-container {
  overflow: hidden;
}
div#products-container .products-item {
  position: relative;
  padding: 3em 1em;
  margin: 0;
}
div#products-container .products-item::after {
  content: "";
  display: block;
  background-color: #eaf3fe;
  clip-path: polygon(50% 0%, 100% 0%, 50% 100%, 0% 100%);
  width: 100%;
  height: 100.25%;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
}
@media (max-width: 640px) {
  div#products-container .products-item::after {
    display: none;
  }
}
@media (max-width: 640px) {
  div#products-container .products-item {
    margin: 1em;
    box-shadow: 0 3px 6px #ccc;
    border-radius: 5px;
  }
  div#products-container .products-item > div.wp-block-columns {
    gap: 0 !important;
  }
  div#products-container .products-item > figure {
    width: 75%;
  }
}
div#products-container .products-item:nth-child(even)::after {
  clip-path: polygon(0 0, 50% 0, 100% 100%, 50% 100%);
  left: auto;
  right: 0;
  bottom: 0;
}
@media (max-width: 782px) {
  div#products-container .products-item:nth-child(even) > .wp-block-columns .wp-block-column:first-child {
    order: 2;
  }
}
@media (max-width: 782px) {
  div#products-container .products-item:nth-child(even) > .wp-block-columns .wp-block-column:nth-child(2) {
    order: 1;
  }
}
div#products-container .products-item:first-child::after {
  background-image: linear-gradient(0deg, #eaf3fe, #ffffff);
}
div#products-container .products-item:last-child::after {
  background-image: linear-gradient(0deg, #ffffff, #eaf3fe);
}/*# sourceMappingURL=main.css.map */