@charset "UTF-8";

/* ベース設定 */
:root {
  --bg-color: #fdf8f5;
  --main-color: #f5ece5;
  --accent-color: #a67c7c;
  --text-dark: #5d4a4a;
  --white: #ffffff;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー */
header {
  padding: 20px;
  position: sticky;
  top: 0;
  background: rgba(253, 248, 245, 0.95);
  backdrop-filter: blur(5px);
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

header a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: bold;
  font-size: 0.95rem;
  transition: color 0.3s;
}

header a:hover {
  color: var(--accent-color);
}

.nav-btn {
  background-color: var(--accent-color);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 20px;
  transition: opacity 0.3s;
}

.nav-btn:hover {
  opacity: 0.8;
}

/* セクション共通 */
.section {
  padding: 100px 0;
}

/* タイトルの余白を固定 */
.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-top: 0;
  margin-bottom: 60px;
}

/* ヒーローエリア */
.hero-mask-section {
  padding-top: 60px;
  padding-bottom: 40px;
}

.bg-light {
  background-color: #fdfaf5;
}

.section-title span {
  display: block;
  font-size: 0.9rem;
  color: #c5a059;
  margin-top: 10px;
}

.clip-text-fixed {
  font-size: clamp(3rem, 15vw, 10rem);
  font-weight: 900;
  margin: 0;
  text-align: center;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  background-image: url('../img/bgp.png');
  background-color: #a67c7c;

  background-size: auto 100%;
  background-repeat: repeat-x;

  animation: bg-scroll 25s linear infinite;
}

/* PCで改行タグを隠す */
.sp-only {
  display: none;
}

@keyframes bg-scroll {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: -1000px center;
  }
}

/* 共通グリッドレイアウト */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 0;

}

/* カードスタイル */
.card {
  background: #fff;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card:hover {
  transform: translateY(-5px);
}

/* カード画像エリア設定 */
.card-img {
  height: 200px;
  background: #eee;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s;
}

/* テキスト */
.card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  margin-top: 0;
  margin-bottom: 15px;
  min-height: 3em;
  display: flex;
  align-items: center;
}

/* 説明文エリア */
.card-body p {
  margin-bottom: 20px;
  flex-grow: 1;
}

/* カードリンク設定 */
#samples .card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  width: calc((100% / 3) - 20px);
  min-width: 280px;
}

.card-link:hover .card {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(166, 124, 124, 0.15);
}

.btn-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 15px;
  color: #c5a059;
  font-weight: bold;
}

/* works設定 */
#works .card {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

/* Coming Soon用 */
.coming-soon {
  opacity: 0.8;
  border: 2px dashed #ccc;

  width: 100%;
  max-width: 320px;

  margin-left: auto;
  margin-right: auto;
}

.placeholder-box {
  color: #999;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.btn-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 15px;
  color: #c5a059;
  text-decoration: none;
  font-weight: bold;
}

/* 全体設定 */
.flow-list {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.flow-list::before {
  content: none !important;
}

.flow-item {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
  align-items: center;
}

.flow-item::before {
  content: "";
  position: absolute;
  left: 25px;
  top: -25px;
  bottom: -25px;
  width: 2px;
  background: var(--main-color);
  z-index: 1;
}

.flow-item:first-child::before {
  top: 50%;
}

.flow-item:last-child::before {
  bottom: 50%;
}

/* 丸のデザイン */
.flow-num {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  z-index: 3;
}

.flow-text {
  background: var(--white);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(166, 124, 124, 0.05);
  text-align: left;
  flex-grow: 1;
}

.flow-text h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--accent-color);
  font-size: 1.2rem;
}

.flow-text p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* 料金詳細 */
#price .card {
  width: calc((100% / 2) - 20px);
  max-width: 450px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

#price .card-body p {
  min-height: 4.5em;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
}

#price .plan-details {
  flex-grow: 1;
  margin-top: 0;
}

/* 料金プラン内説明文エリア */
#price .card-body p {
  min-height: 3.5em;
  margin-bottom: 20px;
  display: block;
}

.price-val {
  display: block;
  font-size: 2.5rem;
  color: var(--accent-color);
  font-weight: bold;
  margin: 10px 0;
  line-height: 1.2;
}

.price-val span {
  font-size: 1rem;
  color: var(--text-dark);
  margin-left: 5px;
}

.plan-details {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  flex-grow: 1;
}

.plan-details li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.2em;
}

.plan-details li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* 料金の注釈 */
.price-notes {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.notes-box {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  width: 45%;
  min-width: 300px;
  box-shadow: 0 4px 15px rgba(166, 124, 124, 0.05);
  box-sizing: border-box;
}

.notes-box h4 {
  color: var(--accent-color);
  border-bottom: 2px solid var(--main-color);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

/* 元の価格 */
.price-val .original-price {
  font-size: 1.8rem;
  color: #999;
  text-decoration: line-through;
  font-weight: bold;
  display: inline-block;
  vertical-align: middle;
}

.original-price+span {
  font-size: 1rem !important;
  text-decoration: none !important;
  display: inline-block;
  margin-left: 5px;
}

/* モニター価格ラベル */
.monitor-label {
  display: block;
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-top: -5px;
  font-weight: bold;
}

/* モニター条件のスタイル */
.monitor-condition {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  font-size: 0.8rem;
  color: #a67c7c;
  background: #fff5f5;
  padding: 12px 8px;
  border-radius: 5px;
  margin: 10px 0 20px;
  border: 1px dashed var(--accent-color);
  width: 100%;
  box-sizing: border-box;
  min-height: 3em;
}

#price .plan-details {
  margin-top: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 200px;
}

.plan-details li {
  margin-bottom: 15px;
  line-height: 1.5;
}

/* 料金表全体のレイアウト */
.price-tables {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.price-notes {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.table-wrapper h4 {
  color: var(--accent-color);
  margin-bottom: 15px;
  border-left: 4px solid var(--accent-color);
  padding-left: 15px;
  font-size: 1.2rem;
}

.table-wrapper h4 span {
  font-size: 0.8rem;
  margin-left: 10px;
  color: #999;
}

/* テーブル自体のデザイン */
.design-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(166, 124, 124, 0.05);
}

.design-table th,
.design-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.design-table th {
  background-color: var(--main-color);
  color: var(--accent-color);
  font-weight: bold;
  width: 30%;
}

/* 価格の強調 */
.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9rem;
}

.new-price {
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.table-note {
  font-size: 0.8rem;
  color: #a67c7c;
  margin-top: 10px;
  padding-left: 5px;
}

.highlight-row {
  background-color: #fffaf5;
}

.design-table td small {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-top: 4px;
}

.highlight-text {
  color: var(--accent-color);
  font-weight: bold;
}

.standard-notes {
  list-style: none;
  padding: 0;
  font-size: 0.9rem;
}

.standard-notes li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 1.2em;
}

.standard-notes li::before {
  content: "※";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* About */
.about-content {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(166, 124, 124, 0.05);
}

.about-content p {
  line-height: 2;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-content h3 {
  margin-bottom: 25px;
}

.style-tag {
  display: inline-block;
  background-color: var(--main-color);
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 20px;
}

/* お問い合わせ */
.contact-box {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(166, 124, 124, 0.05);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}

.submit-btn {
  background-color: var(--accent-color);
  color: var(--white);
  border: none;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.2s;
  width: 100%;
}

.submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--white);
  cursor: pointer;
}

select:invalid {
  color: #999;
}

#contact {
  padding-bottom: 60px;
}

/* フッター */
footer {
  padding: 40px 20px;
  text-align: center;
  background-color: var(--main-color);
  color: var(--accent-color);
  font-size: 0.9rem;
}

@media (max-width: 600px) {

  .design-table th,
  .design-table td {
    padding: 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {

  header {
    padding: 10px 5px;
  }

  header nav ul {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  header a {
    font-size: 0.8rem;
  }

  .nav-btn {
    padding: 5px 12px;
  }

  .sp-only {
    display: block;
  }

  .clip-text-fixed {
    white-space: normal;
    word-break: break-all;
    overflow: visible;

    font-size: clamp(2.5rem, 15vw, 5.5rem);
    line-height: 1.1;
    width: 100%;
    display: block;

    background-size: 100% auto;
    background-position: center center;
  }

  .hero-mask-section {
    height: auto;
    min-height: 30vh;
    padding: 30px 0 10px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    margin-bottom: 30px;
    font-size: 1.6rem;
  }

  #works .grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #works .card {
    width: 90%;
    max-width: 320px;
    flex: none;
  }

  .coming-soon {
    width: 90%;
    max-width: 320px;
  }

  #price .card {
    width: 100%;
  }

  #flow {
    padding-bottom: 10px;
  }
}