@charset "UTF-8";

/* ====================================
   Variables & Common
   ==================================== */
:root {
  --color-dark: #333;
  --color-border: #ccc;
  --font-en: "Brush Script MT", cursive; 
}

.inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  box-sizing: border-box;
}

/* ====================================
   Main Visual
   ==================================== */
.p-page-mv {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  margin-bottom: 20px;
}
.p-page-mv__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-page-mv__content {
  position: absolute;
  bottom: 30px;
  left: 10%;
  z-index: 2;
  text-shadow: 0 0 15px rgba(255,255,255,0.8);
}
/* 汎用ページタイトル（日本語メイン） */
.p-page-mv__title .jp {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #000; /* 背景により白にする場合は #fff */
  text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
}

/* Breadcrumb */
.p-page-breadcrumb {
  font-size: 12px;
  padding: 0 0 40px;
  margin-bottom: 20px;
}
.p-page-breadcrumb a {
  text-decoration: none;
  color: #333;
}

/* ====================================
   Main Content Area
   ==================================== */
.p-page-content {
  padding-bottom: 100px;
  line-height: 1.8;
  font-size: 1rem;
}

/* ブロックエディタの標準的なスタイルの補正 */
.p-page-content p {
  margin-bottom: 1.5em;
}
.p-page-content h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 2.5em 0 1.5em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-dark);
}
.p-page-content h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 2em 0 1em;
  padding-left: 15px;
  border-left: 5px solid var(--color-dark);
}
.p-page-content h4 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 1.5em 0 1em;
}
.p-page-content ul, 
.p-page-content ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}
.p-page-content li {
  margin-bottom: 0.5em;
}
.p-page-content img {
  max-width: 100%;
  height: auto;
}

/* ====================================
   Contact CTA (Common)
   ==================================== */
.p-contact {
  background-color: #d9dcdb;
  padding: 60px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}
.p-contact__bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  opacity: 0.3;
}
.p-contact__head { margin-bottom: 30px; }
.p-contact__title .en {
  display: block;
  font-family: var(--font-en);
  font-size: 3.5rem;
  line-height: 1;
  color: #000;
  position: relative;
  z-index: 1;
  padding: 0 15px;
  display: inline-block;
}
.p-contact__title .en::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: 12px;
  background-color: #568a47;
  z-index: -1;
}
.p-contact__title .jp {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 8px;
}
.p-contact__text {
  font-weight: bold;
  line-height: 2;
  margin-bottom: 40px;
}
.p-contact__actions {
  display: flex;
  justify-content: center;
  gap: 30px;
}
.p-contact__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 60px;
  color: #fff;
  font-weight: bold;
  font-size: 1.125rem;
  text-decoration: none;
  transition: opacity 0.3s;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}
.p-contact__btn:hover { opacity: 0.8; }
.p-contact__btn--line { background-color: #f09c16; }
.p-contact__btn--tel { background-color: #568a47; }

/* ====================================
   Responsive (SP)
   ==================================== */
@media (max-width: 768px) {
  .p-page-mv__title .jp { font-size: 1.8rem; }
  
  .p-page-content {
    padding-bottom: 60px;
  }
  
  .p-contact__title .en { font-size: 3rem; }
  .p-contact__actions {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .p-contact__btn {
    width: 100%;
    max-width: 320px;
  }
}