@charset "UTF-8";

/* ====================================
   Variables & Common
   ==================================== */
:root {
  --color-dark: #333;
  --color-gray: #777;
  --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;
}

/* ====================================
   Hero Section (Common Style)
   ==================================== */
.p-single-mv {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  margin-bottom: 20px;
}
.p-single-mv__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-single-mv__content {
  position: absolute;
  bottom: 30px;
  left: 10%;
  z-index: 2;
  text-shadow: 0 0 15px rgba(255,255,255,0.8);
}
.p-single-mv__title .en {
  display: block;
  font-family: var(--font-en);
  font-size: 5rem;
  line-height: 1;
  color: #000;
}
.p-single-mv__title .jp {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-top: 5px;
  color: #000;
  padding-left: 5px;
}

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

/* ====================================
   Main Content
   ==================================== */
.p-single-main {
  position: relative;
  padding-bottom: 100px;
  background-image: url('../images/works/bg_works.png'); /* 背景線画（共通素材） */
  background-repeat: no-repeat;
  background-position: right bottom 200px; /* 右下に配置 */
  background-size: 400px auto;
}

/* Article Header */
.p-single-head {
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 40px;
  padding-bottom: 20px;
}

.p-single-date {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.p-single-title {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.4;
}

/* Thumbnail */
.p-single-thumb {
  margin-bottom: 50px;
  background-color: #f0f0f0; /* 画像がない場合の背景 */
  text-align: center;
}
.p-single-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* Body Content */
.p-single-body {
  margin-bottom: 80px;
  line-height: 1.8;
  font-size: 1rem;
}
.p-single-body p {
  margin-bottom: 1.5em;
}
.p-single-body h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 2em 0 1em;
  padding-left: 15px;
  border-left: 5px solid #333;
}
.p-single-body h3 {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 1.5em 0 1em;
}
.p-single-body img {
  max-width: 100%;
  height: auto;
}

/* ====================================
   Navigation
   ==================================== */
.p-single-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 80px;
}

.p-single-nav__btn {
  width: 120px;
}
.p-single-nav__btn--list {
  width: 160px;
}

.p-single-nav__btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  background: #333;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  transition: opacity 0.3s;
}
.p-single-nav__btn a:hover {
  opacity: 0.8;
}

/* 空のボタン（prev/nextがない場合）はスペース確保のため高さを維持しつつ不可視に */
.p-single-nav__btn:empty {
  visibility: hidden; 
}


/* ====================================
   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-single-mv__title .en { font-size: 4rem; }
  
  .p-single-main {
    background-size: 200px auto;
    padding-bottom: 60px;
  }

  .p-single-title {
    font-size: 1.4rem;
  }

  .p-single-nav {
    gap: 10px;
  }
  .p-single-nav__btn a {
    font-size: 0.75rem;
    height: 45px;
  }
  
  .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;
  }
}