@charset "UTF-8";
/*
 * 参考
 * https://github.com/Andy-set-studio/modern-css-reset/blob/master/src/reset.css
*/
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

/*****************************************
 * 数値から単位を取り除く
 * 参考
 * https://css-tricks.com/snippets/sass/
******************************************/
/*****************************************
 * px→remの計算
 * 参考
 * https://webdou.net/sass-rem/
 * Sassではmath.div関数の使用が推奨のため、スラッシュ(/)演算子から変更
******************************************/
/*****************************************
 * vwの計算
 * 参考
 * https://webdou.net/sass-vw/
 * Sassではmath.div関数の使用が推奨のため、スラッシュ(/)演算子から変更
******************************************/
html {
  font-size: 16px;
}
@media (max-width: 375px) {
  html {
    font-size: 4.2666666667vw;
  }
}
@media screen and (min-width: 768px) {
  html {
    font-size: 1.3559322034vw;
  }
}
@media (min-width: 1180px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: "Noto Serif JP", sans-serif;
  font-weight: 500;
  color: #333333;
  background: #fafafa;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

@media screen and (min-width: 768px) {
  a:hover {
    opacity: 0.8;
  }
}

.inner {
  padding-inline: 15px;
}
@media screen and (min-width: 768px) {
  .inner {
    padding-inline: 40px;
    margin: 0 auto;
    max-width: 1280px;
  }
}

.section {
  padding-block: 60px 60px;
}
@media screen and (min-width: 768px) {
  .section {
    padding-block: 100px 90px;
  }
}

.section__contents {
  margin-top: 46px;
}
@media screen and (min-width: 768px) {
  .section__contents {
    margin-top: 64px;
  }
}

.heading__tittle {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 15px;
}
.heading__tittle::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 60px;
  height: 1px;
  background: #3ea1d1;
}

.heading__tittle-en {
  font-size: 30px;
  font-weight: 400;
}
@media screen and (min-width: 768px) {
  .heading__tittle-en {
    font-size: 40px;
  }
}

.heading__tittle-ja {
  font-size: 15px;
}

.archive__contents {
  padding: 40px 0;
}
@media screen and (min-width: 768px) {
  .archive__contents {
    padding: 80px 0;
  }
}

.archive__tittle {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}
@media screen and (min-width: 768px) {
  .archive__tittle {
    font-size: 2.25rem;
  }
}

.archive__tittle::first-letter {
  padding-right: 0.1em;
  font-size: 1.875rem;
  color: #3ea1d1;
}
@media screen and (min-width: 768px) {
  .archive__tittle::first-letter {
    font-size: 3rem;
  }
}

/* 一覧に戻るボタン */
.archive__button-wrapper {
  text-align: center;
  margin-top: 40px;
}

.archive__button {
  display: inline-block;
  background: #3ea1d1;
  color: #fff;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 50px;
  transition: background 0.3s ease;
  text-align: center;
}

.swiper-slide {
  border: 1px solid #000;
}

.more__button, .top__button {
  text-align: center;
  margin-top: 2.5rem;
}
@media screen and (min-width: 768px) {
  .more__button, .top__button {
    margin-top: 3.75rem;
  }
}

.btn__link {
  display: inline-block;
  position: relative;
  padding: 0.875rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  transition: all 0.4s ease;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .btn__link {
    font-size: 1.125rem;
    padding: 1rem 3.75rem;
  }
}
.btn__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100%);
  transition: all 0.5s ease;
}
.btn__link:hover {
  background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.btn__link:hover::before {
  left: 100%;
}

.btn__link-text {
  position: relative;
  z-index: 1;
}

.pagination {
  text-align: center;
  margin: 40px 0;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 4px;
  background: #f0f0f0;
  color: #333;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
}

.pagination .current {
  background: #333;
  color: #fff;
}

.animated__fadeIn {
  opacity: 0;
  translate: 0 40px;
  transition: opacity 0.3s ease, translate 1s ease;
}
.animated__fadeIn.js-show {
  opacity: 1;
  translate: 0 0;
}

.animated__fadeFlow {
  opacity: 0;
  translate: 0 40px;
  transition: opacity 0.3s ease, translate 0.6s ease;
}
.animated__fadeFlow.js-show {
  opacity: 1;
  translate: 0 0;
}

.animated__clipView {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s ease;
}
.animated__clipView.js-show {
  clip-path: inset(0 0 0 0);
}

.skill__animated-clipView {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s ease;
}
.skill__animated-clipView.js-show {
  clip-path: inset(0 0 0 0);
}

.animation-plane {
  animation: 6s 2s ease-in-out infinite animationPlane;
  scale: 0;
  opacity: 0;
  translate: 0 0;
}
@keyframes animationPlane {
  0% {
    scale: 0;
    opacity: 0;
    translate: 0 0;
  }
  50% {
    scale: 1;
    opacity: 1;
    translate: 0 0;
  }
  70% {
    scale: 1;
    opacity: 1;
    translate: 0 0;
  }
  100% {
    opacity: 0;
    scale: 1;
    translate: 200% -100%;
  }
}

.breadcrumb {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}
.breadcrumb a {
  color: #0073aa;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb span {
  margin: 0 6px;
}
.breadcrumb span:first-child {
  margin-left: 0;
}

.header {
  position: fixed;
  top: 0;
  z-index: 101;
  width: 100%;
  background: #fff;
  height: 48px;
}
@media screen and (min-width: 768px) {
  .header {
    height: 70px;
  }
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding-inline: 1.25rem;
}
@media screen and (min-width: 768px) {
  .header__inner {
    padding-inline: 2.5rem;
  }
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo-title {
  font-size: 20px;
  font-family: "Patua One", serif;
  line-height: 1;
}

.header__nav {
  display: none;
}
@media screen and (min-width: 900px) {
  .header__nav {
    display: flex;
  }
}

@media screen and (min-width: 768px) {
  .header__lists {
    display: flex;
    gap: 2.875rem;
    align-items: center;
    margin-top: -4px;
  }
}

@media screen and (min-width: 768px) {
  .header__list a {
    font-weight: 300;
    font-size: 16px;
    font-family: "Patua One", serif;
    transition: color 0.3s;
  }
  .header__list a:hover {
    color: #3ea1d1;
  }
}

.drawer__icon {
  position: fixed;
  z-index: 102;
  top: 17px;
  right: 20px;
  width: 26px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media screen and (min-width: 900px) {
  .drawer__icon {
    display: none;
  }
}

.drawer__icon--bar {
  width: 100%;
  height: 1px;
  background: #3ea1d1;
  transition: all 0.5s ease;
}

.drawer__icon.js-show .drawer__icon--bar:nth-of-type(1) {
  rotate: 45deg;
  translate: 0 8px;
  background: #fff;
}
.drawer__icon.js-show .drawer__icon--bar:nth-of-type(2) {
  display: none;
}
.drawer__icon.js-show .drawer__icon--bar:nth-of-type(3) {
  rotate: -45deg;
  translate: 0 -8px;
  background: #fff;
}

.drawer {
  position: fixed;
  z-index: 101;
  top: 0;
  right: 0;
  width: 290px;
  height: 100vh;
  background: #3ea1d1;
  overflow-y: scroll;
  translate: 101%;
  transition: translate 0.3s ease;
}
.drawer.js-show {
  translate: 0;
}

.drawer__body {
  width: 100%;
  height: -moz-fit-content;
  height: fit-content;
  padding-block: 88px 40px;
  padding-left: 34px;
}

.drawer__list {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}
.drawer__list li a {
  font-size: 18px;
  font-family: "Patua One", serif;
  font-weight: 300;
  color: #fff;
}

.fv {
  position: fixed;
  margin-top: 48px;
  inset: 0;
  z-index: -1;
  height: 100vh;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .fv {
    margin-top: 70px;
  }
}

.fvImage {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0.7;
}
.fvImage img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.fv__text {
  position: absolute;
  top: 5.625rem;
  left: 2.1875rem;
  color: black;
}
@media screen and (min-width: 768px) {
  .fv__text {
    top: 7.1875rem;
    left: 7.1875rem;
  }
}

.animation__text {
  font-size: 2.1875rem;
  line-height: 1.2;
  font-weight: 400;
  font-family: "Courgette", cursive;
}
@media screen and (min-width: 768px) {
  .animation__text {
    font-size: 4.375rem;
    line-height: 1;
  }
}
.animation__text .char {
  translate: 0 100%;
}
.animation__text span {
  overflow: hidden;
}

.animation__text-small {
  font-size: 1.25rem;
  vertical-align: bottom;
  display: inline-block;
}
@media screen and (min-width: 768px) {
  .animation__text-small {
    font-size: 3.125rem;
    vertical-align: middle;
  }
}

.about {
  position: relative;
  padding-top: calc(100vh + 48px);
}
@media screen and (min-width: 768px) {
  .about {
    padding-top: calc(100vh + 70px);
  }
}

.about_logo {
  content: "";
  position: absolute;
  background-size: contain;
  width: clamp(80px, 15vw, 150px);
  aspect-ratio: 150/92;
  height: auto;
  top: 84px;
  right: 8%;
  pointer-events: none;
  transform: rotate(10deg);
  z-index: 50;
}
@media screen and (min-width: 768px) {
  .about_logo {
    width: 150px;
    height: auto;
    top: 152px;
  }
}

.animation-boat {
  animation: 2s 1s linear backwards infinite animationBoat;
}
@keyframes animationBoat {
  0% {
    rotate: 0deg;
  }
  10% {
    rotate: 0deg;
  }
  30% {
    rotate: 10deg;
  }
  70% {
    rotate: -10deg;
  }
  90% {
    rotate: 0deg;
  }
  100% {
    rotate: 0deg;
  }
}

.about__contents {
  display: flex;
  flex-direction: column;
  gap: 2.125rem;
}
@media screen and (min-width: 768px) {
  .about__contents {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about__text {
  font-size: 1rem;
}
@media screen and (min-width: 768px) {
  .about__text {
    font-size: 1.25rem;
  }
}

.service {
  background: url("../img/bg_section.jpg") no-repeat center center/cover;
  position: relative;
}

.service_logo {
  position: absolute;
  background-size: contain;
  width: clamp(110px, 17vw, 150px);
  height: auto;
  aspect-ratio: 195/120;
  top: 87px;
  left: 15%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 50;
}
@media screen and (min-width: 768px) {
  .service_logo {
    width: 195px;
    height: auto;
    top: 130px;
  }
}

.service__title {
  font-size: 18px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .service__title {
    font-size: 20px;
  }
}

.service__lists {
  margin-top: 70px;
}
@media screen and (min-width: 768px) {
  .service__lists {
    margin-top: 55px;
    max-width: 1000px;
    margin-inline: auto;
  }
}

.service__list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
}
@media screen and (min-width: 768px) {
  .service__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 8%;
  }
}

.service__item {
  display: grid;
  /* 5行分の自動サイズで代用 */
  grid-template-rows: repeat(5, auto);
  gap: 0.75rem;
  overflow: hidden;
  border-radius: 10%;
  padding: 2.5rem 1.25rem 0;
  background: #fafafa;
}

.service__item-img {
  text-align: center;
}
.service__item-img img {
  display: block;
  margin: 0 auto;
}

.service__item-name {
  text-align: center;
}

.work__articles.grid-layout {
  display: grid;
  grid-template-columns: 1fr; /* 1列 */
  gap: 1.5rem; /* カード間の余白 */
  margin-top: 24px;
}
@media screen and (min-width: 768px) {
  .work__articles.grid-layout {
    grid-template-columns: repeat(2, 1fr); /* 2列 */
    gap: 2rem;
  }
}
@media screen and (min-width: 1000px) {
  .work__articles.grid-layout {
    grid-template-columns: repeat(3, 1fr); /* 3列 */
    gap: 3.125rem;
  }
}

.works__cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 24px;
}
@media screen and (min-width: 768px) {
  .works__cards {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    margin-top: 40px;
  }
}

.works__card-body {
  position: relative;
  z-index: 2;
}

.works__card {
  position: relative;
  min-height: 260px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: #000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* ▼ SPのタップ時アニメ */
}
.works__card:active {
  transform: scale(1.05) rotate(-1.5deg);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}
@media screen and (min-width: 768px) {
  .works__card {
    flex: 1;
    min-height: 270px;
    transition: flex-grow 0.5s ease, transform 0.5s ease;
    /* SPの:activeはPCでは消す */
  }
  .works__card:hover {
    flex-grow: 2;
    transform: translateY(-6px);
  }
  .works__card:hover .works__card-image {
    transform: scale(1.1);
  }
  .works__card:active {
    transform: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  }
}
@media screen and (min-width: 1000px) {
  .works__card {
    min-height: 320px;
  }
}

.works__card {
  position: relative;
}
.works__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 20%, rgba(0, 0, 0, 0) 60%);
  z-index: 1;
}

.works__card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}

.works__card-body {
  position: relative;
  z-index: 2;
}

.works__card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #333333;
  background-color: rgba(250, 250, 250, 0.9);
  padding: 6px 10px;
  border-radius: 4px;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* カテゴリー */
.works__card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.works__card-category {
  background: rgba(250, 250, 250, 0.85);
  color: #333333;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
}

.works__card-arrow {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  z-index: 2;
}

.single-work {
  padding: 40px 0;
}
@media screen and (min-width: 768px) {
  .single-work {
    padding: 80px 0;
  }
}

/* サイト名 */
.single-work__card-body-title {
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 32px;
}
.single-work__card-body-title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  content: "";
  border-radius: 3px;
  background-image: linear-gradient(to left, #2af598 0%, #009efd 100%);
}

/* サムネイル画像 */
.single-work__card-image {
  width: 100%;
  aspect-ratio: 2/1;
  margin-bottom: 32px;
  overflow: hidden;
  border-radius: 12px;
}

.single-work__card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* 本文エリア */
.single-work__card-body-textContents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .single-work__card-body-textContents {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
/* 左カラム */
.single-work__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.single-work__info p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.single-work__info a {
  color: #007acc;
  text-decoration: underline;
}

.single-work__info a:hover {
  opacity: 0.8;
}

/* 右カラム（概要） */
.single-work__overview-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #333;
}

.single-work__overview p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

/* ---------- カード ---------- */
.entry-item-horizontal {
  background: #fff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.entry-item-horizontal:hover {
  transform: translateY(-4px);
}

/* ---------- 画像 ---------- */
.entry-item-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.entry-item-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- 本文 ---------- */
.entry-item-body {
  padding: 12px 16px;
}

/* ---------- ジャンルタグ ---------- */
.entry-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.entry-item-tag {
  background-color: #f0f0f0;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ---------- タイトル ---------- */
.entry-item-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ---------- 抜粋 ---------- */
.entry-item-excerpt {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.4;
}

.skill__lists {
  max-width: 1000px;
  margin-inline: auto;
}

.skill__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
}
@media screen and (min-width: 768px) {
  .skill__list {
    gap: 1.25rem;
  }
}

.skill__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skill__item-text {
  font-size: 0.875rem;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .skill__item-text {
    font-size: 1rem;
  }
}

.skill__item-image img {
  width: 80px;
}
@media screen and (min-width: 768px) {
  .skill__item-image img {
    width: 130px;
  }
}

.flow__titel {
  font-size: 1.125rem;
  text-align: center;
}

.flow__lists {
  max-width: 530px;
  padding-inline: 15px;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .flow__lists {
    max-width: 980px;
    padding-inline: 40px;
  }
}

.flow__list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 60px;
  margin-top: 70px;
}
@media screen and (min-width: 768px) {
  .flow__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.flow__item {
  position: relative;
  border: 1px solid #808080;
  padding: 46px 16px 24px;
}

.flow__item-num {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  background-color: #4a4a4a;
  color: white;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow__item-img {
  margin-bottom: 24px;
}
.flow__item-img img {
  display: block;
  margin-inline: auto;
}

.flow__item-name {
  font-size: 1.125rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

.flow__item-text {
  font-size: 1rem;
  line-height: 1.6;
}

@media screen and (min-width: 768px) {
  .message__text {
    font-size: 1.125rem;
  }
}

.blog {
  background-color: #fff;
  padding: 80px 0;
}
.blog .blog__list {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .blog .blog__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}
.blog .blog__item {
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}
.blog .blog__item:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}
.blog .blog__item:hover .blog__thumbnail img {
  transform: scale(1.1);
}
.blog .blog__item .blog__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog .blog__item .blog__thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog .blog__item .blog__thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.blog .blog__item .blog__content {
  padding: 16px;
}
.blog .blog__item .blog__content .blog__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.blog .blog__item .blog__content .blog__meta .blog__date {
  font-size: 13px;
  color: #777;
}
.blog .blog__item .blog__content .blog__meta .blog__category {
  font-size: 12px;
  color: #fff;
  background-color: #333;
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 1.4;
}

.single {
  background: #fafafa;
  padding: 40px 0;
  /* ボタン共通 */
  /* 矢印デザイン */
  /* hover時：矢印が伸びる */
  /* hover時：全体のスタイルも少し変化 */
  /* GutenbergのH3ブロック用 */
  /* 先頭文字のアクセント */
  /* ブロックエディタのリストの黒丸を復活 */
  /* リスト内の li にも適用 */
}
@media screen and (min-width: 768px) {
  .single {
    padding: 80px 0;
  }
}
.single .single__title {
  position: relative;
  font-size: 2.1875rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px; /* 下線との余白 */
}
.single .single__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(-45deg, #4c9ac0, #4c9ac0 2px, #b9e3f0 2px, #b9e3f0 4px);
}
.single .single__thumbnail {
  margin: 32px 0;
}
.single .single__thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.single .single__content {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #333;
}
.single .single__meta {
  margin-top: 40px;
  display: flex;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: #555;
}
.single .single__nav {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 4rem;
}
.single .single__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.6em 1.2em;
  font-size: 1.4rem;
  color: #4c9ac0;
  border: 1px solid #4c9ac0;
  border-radius: 4px;
  text-decoration: none;
  background-color: transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.single .single__nav .single__prev a::before {
  content: "←";
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.3s ease;
}
.single .single__nav .single__next a::after {
  content: "→";
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.3s ease;
}
.single .single__nav .single__prev a:hover::before {
  transform: translateX(-4px);
}
.single .single__nav .single__next a:hover::after {
  transform: translateX(4px);
}
.single .single__nav a:hover {
  background-color: #4c9ac0;
  color: #fff;
  box-shadow: 0 2px 8px rgba(76, 154, 192, 0.3);
  border-color: #4c9ac0;
}
.single .wp-block-media-text > .wp-block-media-text__content p + p {
  margin-top: 1.8em;
  line-height: 1.9;
  letter-spacing: 0.02em;
}
.single .wp-block-media-text {
  margin: 40px 0;
}
.single .wp-block-media-text figure img {
  border-radius: 8px;
}
.single .wp-block-separator {
  margin-block: 2rem;
  opacity: 0.3;
  border-top: 1px sol;
}
.single h2.wp-block-heading {
  margin-bottom: 1.5rem;
}
.single h3.wp-block-heading {
  font-weight: 700;
  font-size: 1.5625rem;
  margin-bottom: 1.5rem;
}
.single h3.wp-block-heading::first-letter {
  font-size: 1.875rem;
  color: #4c9ac0;
}
.single ul.wp-block-list {
  list-style: revert;
  padding-left: 1.5em;
}
.single li.wp-block-list {
  list-style: revert;
}

.contact {
  padding-block: 50px;
}
@media screen and (min-width: 768px) {
  .contact {
    padding-block: 80px;
  }
}

.contact__title {
  font-size: 30px;
  font-weight: 400;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .contact__title {
    font-size: 40px;
  }
}

.contact__fields {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 50px;
  max-width: 780px;
  padding-inline: 2.5rem;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .contact__fields {
    margin-top: 60px;
  }
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
@media screen and (min-width: 768px) {
  .contact-field {
    flex-direction: row;
    align-items: flex-start;
    gap: 35px;
  }
}

/* 左側（ラベル + 必須） */
.form-field__head {
  display: flex;
  gap: 12px;
  align-items: center;
  height: 50px;
}
@media screen and (min-width: 768px) {
  .form-field__head {
    width: 220px;
  }
}

/* ラベル（青背景） */
.form-field__label {
  padding: 4px 16px;
  background: #3ea1d1;
  color: white;
  font-size: 14px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .form-field__label {
    width: 100%;
    justify-content: center;
    font-size: 18px;
    height: 50px;
    padding-inline: 4px;
    clip-path: polygon(0% 0%, 97% 0, 100% 50%, 97% 100%, 0% 100%);
  }
}

/* 必須タグ */
.form-field__tag {
  display: inline-block;
  border-radius: 4px;
  background: var(--LP-Red, #ce2073);
  padding: 8px 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* 右側（inputエリア） */
.form-field__item {
  flex: 1;
}

/* 共通：テキスト入力欄 */
.form-text,
.wpcf7-form-control.wpcf7-text {
  width: 100%;
  background: #fff;
  padding: 12px 16px;
  border-radius: 3px;
  border: 1px solid #ccc;
  font-size: 16px;
  box-sizing: border-box;
}

/* テキストエリア */
.form-textarea,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  background: #fff;
  padding: 12px 16px;
  border-radius: 3px;
  border: 1px solid #ccc;
  font-size: 16px;
  height: 200px;
  resize: vertical;
  box-sizing: border-box;
}

/* 送信ボタン */
.contact__button {
  text-align: center;
  margin-top: 32px;
}

.wpcf7-form p {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
}

.contact__button .btn__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 0.875rem 2.5rem;
  line-height: 1 !important;
  height: auto !important;
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  .contact__button .btn__link {
    padding: 1rem 3.75rem;
  }
}

.contact-thanks {
  padding-block: 40px;
}
@media screen and (min-width: 768px) {
  .contact-thanks {
    padding-block: 80px;
  }
}

.contact-thanks__content {
  margin-top: 3.125rem;
  text-align: center;
}

.contact-thanks__title {
  font-size: 1.75rem;
}

.contact-thanks__text {
  font-size: 1.125rem;
  margin-top: 3.125rem;
}
@media screen and (min-width: 768px) {
  .contact-thanks__text {
    font-size: 1.25rem;
  }
}