/* リセットスタイル */
/* ------------------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: 'Kosugi Maru', sans-serif;
  line-height: 1.6;
  color: #333;
background:
  url("../images/bannerimage/bg.png") repeat-x top center,
  repeating-linear-gradient(
    45deg,
    rgba(255, 228, 236, 0.6) 0 20px,
    rgba(255, 255, 255, 0.6) 20px 40px
  ),
  linear-gradient(
    to bottom,
    #f7bee6 0%,
    #f9f0f2 20%,
    #f9f0f2 50%,
    #ffffff 100%
  );
background-repeat: repeat-x, repeat, no-repeat;
background-position: top center, top left, top center;
background-size: auto, auto, 100% 100%;
}


/* ヘッダー */
/* ------------------------------------------------------------------*/
/* ヘッダー全体 */
header {
  background-color: rgba(75, 63, 100, 1);
  color: #fff;
  padding: 0.5rem 1rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

/* PCでスクロールした際の背景半透明 */
header.scrolled {
  background-color: rgba(130, 125, 176,0.85);
}

/* ロゴ画像 */
.logo img {
  height: 40px;
  transition: transform 0.3s ease;
}

/* ナビメニュー（PC） */
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav li {
  display: inline;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
}

/* ハンバーガーボタン */
.hamburger {
	background: #5bc0de;
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-right: 10px;
  padding: 6px; box-sizing: content-box;
}
@media (max-width: 768px) {
  .hamburger {
    margin-right: calc(10px + env(safe-area-inset-right, 0px)); /* 端末に応じて余白を追加 */
  }
}
.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
  transition: 0.4s;
}

/* モバイルナビ（非表示状態） */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 80px;
  right: 20px;
  background: #333;
  padding: 1rem;
  border-radius: 5px;
  z-index: 1000;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav li {
  margin: 0;
  border-bottom:1px solid #eee;
}

/* モバイル用スタイル */
@media (max-width: 768px) {
  nav ul {
    display: none; /* PCナビ非表示 */
  }

  .hamburger {
    display: flex;
    position: fixed;
    top: 10px;
    right: 20px;
    z-index: 1100;
  }

  .logo img {
    transform: scale(0.6); 
    transform-origin: left center;
  }
  header.scrolled {
    background-color: transparent;
  }

  header.scrolled .logo {
    display: none;
  }

  header.scrolled .hamburger {
    display: flex;
    background-color: #5bc0de; /* 水色背景 */
    padding: 8px;
    border-radius: 50%; /* 正円 */
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
  }
}



/* タイトル周りの調整 */
/* ------------------------------------------------------------------*/
.main-title{
	margin-top:100px;
}

@media (max-width: 768px) {
.main-title{
	margin-top:100px;
}

}
.main-title img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius:12px;
}

.catch-section {
  display: inline-block;
  border-radius: 30px;
  border: 8px solid #fff;
  box-shadow: 0 0 0 8px #ffd5de;
  box-sizing: border-box;
  padding: 2em 3em;
  text-align: center;
  margin: 3em auto;
  background: #fff;
  background-image:
    radial-gradient(#ffe6ee 12%, transparent 12%);
  background-size: 60px 60px;
}


.catch-wrapper {
  display: flex;
  justify-content: center;       /* ← 全体を中央寄せ */
}

h2.catch-title {
  font-size: 2em;
  font-weight: bold;
  color: #4b3f64;
  margin-bottom: 1em;
  background-image:none;
  background:none;
  text-align:center;
}

.catch-point {
  font-size: 1.2em;
  font-weight:bold;
  color: #ff5874;
  max-width: 700px;      /* 中央寄せされる幅を制限 */
  margin: 0 auto;         /* 親に対してセンターに配置 */
  text-align: left;       /* 文字自体は左揃え */
}

.catch-text {
  font-size: 1em;
  line-height: 1.8;
  color: #555;
  max-width: 700px;      /* 中央寄せされる幅を制限 */
  margin: 0 auto;         /* 親に対してセンターに配置 */
  text-align: left;       /* 文字自体は左揃え */
}

.sub-title {
	font-size: 1.4rem;
	margin-top: 1rem;
	margin-right: 0;
	margin-left: 0;
	text-align: center;
	background-color: #ff5874;
	background-image: url("../images/bannerimage/chara.png"), url("../images/bgimage/gogo.png");
	background-size: 220px 120px, cover;
	background-repeat: no-repeat, no-repeat;
	background-position: top left, top right;
	color: white;
	padding: 20px 20px;
	clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);  /* 台形にカット */
	border-radius: 12px;
}


/* セクションの基本レイアウト */
/* ------------------------------------------------------------------*/
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section h2 {
  color: #fff;
  padding: 0.8rem 0;
  text-align: center;
  margin-bottom: 2rem;
  background-color: #333;
  background-image: url("../images/bgimage/go.png"); /* 右側だけ残す */
  background-repeat: no-repeat;
  background-position: top right;
  background-size: auto;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-size: 1.4em;
}
section h2 i {
  color: #fff;
  font-size: 1.3em;
}

/* スマホ対応 */
@media (max-width: 768px) {
  section {
	max-width: 100%;
	width: 100%;
	margin-top:50px;
	padding: 0.5rem; /* スマホ時は少し余白を減らすのもおすすめ */
	margin-bottom: 80px;
  }
  section h2 {
    text-align: right; /* テキスト右寄せ */
    padding-right: 10px; /* 右側にパディング */
    background-size: 50% auto, 50% auto; /* 背景画像を50％縮小 */
  }
}

/* 共通 */
/* ------------------------------------------------------------------*/
h4 {
  font-weight: bold;
  font-size: 1.2em;
  text-align: center;
  margin: 30px 0;
  color: #ff5874;
  position: relative;
  line-height: 1.6;        /* 丸が切れないように高さに余裕 */
  display: block;
}

/* ●デコレーション共通 */
h4::before,
h4::after {
  font-family: sans-serif;
  content: "\25CF \25CF \25CF";  /* ← ●の間に半角スペースを入れて隙間を確保 */
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  font-size: 0.7em;              /* ご指定サイズに変更 */
  padding: 0 0.2em;
}

/* 左側の● */
h4::before {
  margin-right: 0.6em;
  background: linear-gradient(90deg, #ffc0cb, #ff8fa0, #ff5874);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 右側の● */
h4::after {
  margin-left: 0.6em;
  background: linear-gradient(90deg, #ff5874, #ff8fa0, #ffc0cb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}




/* お問い合わせ欄の基本スタイル */
.contactus {
  text-align: center;
  color: #333;
  margin-top: 1rem;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.8); /* 白背景＋透明度80％ */
  border-radius: 12px;                       /* 角丸12px */
  padding: 1em;                              /* 内側の余白（任意） */
}


.imageillust{
	text-align:center;
	margin:0 auto;
}
.red {
  color: #FF0000;
}




/* 特徴紹介セクションのレイアウト */
/* ------------------------------------------------------------------*/
/* サービスセクションだけリセット */
#services {
  max-width: none;               /* ←1200px制限を解除 */
  width: 100vw;                  /* ←画面いっぱい */
  margin-left: calc(50% - 50vw); /* ←中央基準解除で横端まで伸ばす */
  margin-right: calc(50% - 50vw);
  background: #fff;
  padding: 60px 0;
  box-sizing: border-box;
  overflow-x: hidden;            /* ←スクロールバー対策 */
}
.services-inner{
	max-width:1200px;
  margin: 0 auto;
  padding: 2rem;
}
.service-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 30px; /* 横の隙間 */
  row-gap: 30px;    /* 縦の隙間 */
  margin: 20px 0;
}

.service-points h3{
	font-size:150%;
}

.service-points p{
	font-size:80%;
}

/* POINTラベルを丸型で大きくし、外にはみ出させる */
.point-label {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background-color: #5bc0de;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  line-height: 1.2;
}


/* 各POINTカード */
.service-points .point {
  flex: 0 0 calc(50% - 15px); /* 100% - gap(30px) を2列で割った値 */
  padding: 1em;
  color: #4b3f64;
  border-radius: 30px;
  line-height: 1.4;
  position: relative;
  margin-top: 1.5em;
  background: #fff;
  background-image:
    radial-gradient(#ffe6ee 12%, transparent 12%);
  background-size: 60px 60px;
  border:6px solid #ff8383;
  box-shadow:
  inset 0 0 0 3px #ffd5de,
  inset 0 0 0 6px #ffeef2,
  0 2px 5px rgba(0,0,0,0.05);
}

/* 各POINTの見出し */
.service-points .point h3 {
	margin: 0 0 0.6em 0;
	padding-left: 40px; /* ラベルの右に配置 */
	font-size: 1.5em;
	line-height: 1.3;
	color: #ff5874;
}

.service-points .point p {
	margin: 0;
	line-height: 1.6;
	padding: 0.3em 30px 10px 40px;
	font-size: 0.85em;
}

/* "POINT" と 数字を別スタイルに */
.point-label span {
  font-size: 0.6em;
  display: block;
  line-height: 1;
}

.point-label strong {
  font-size: 4em;
  display: block;
  line-height: 1;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .service-points .point {
  margin-top: 0em;
    flex: 0 0 100%;
  }
}



/* バナー一覧とギャラリー */
/* ------------------------------------------------------------------*/
/* ================================================================
   ギャラリーセクション
================================================================ */
.samplebanner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  max-width: 1200px;
  margin: auto;
}

.samplebanner .thumb {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  border: 2px solid #ff8383;
  box-shadow:
    inset 0 0 0 1px #ffd5de,
    inset 0 0 0 2px #ffeef2,
    0 1px 2px rgba(0,0,0,0.05);
  padding: 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.samplebanner .thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: all 0.25s ease;
}

/* hover時：バナーと同じ動作 */
.samplebanner .thumb:hover {
  transform: scale(1.03);
  border-color: #ff5874;
  box-shadow:
    inset 0 0 0 1px #ffd5de,
    inset 0 0 0 2px #ffeef2,
    0 4px 8px rgba(0,0,0,0.1);
  background: #fff;
}

.samplebanner .thumb:hover img {
  transform: scale(1.02);
}

/* ================================================================
   レスポンシブ対応
================================================================ */
/* PC 6列 */
@media (min-width:1025px){
  .samplebanner{
    grid-template-columns:repeat(6, 1fr) !important;
  }
}

/* タブレット（769〜1024px）3列 */
@media (min-width:769px) and (max-width:1024px){
  .samplebanner{
    grid-template-columns:repeat(3, 1fr) !important;
  }
}

/* スマホ（〜768px）2列 */
@media (max-width:768px){
  .samplebanner{
    grid-template-columns:repeat(2, 1fr) !important;
  }
}


@media (min-width: 769px) and (max-width: 1024px) {
  .banner-categories { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   バナー一覧
================================================================ */
.banner-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 12px; 
  max-width: 1200px;
  margin: auto;
  box-sizing: border-box;
}

/* スマホ（〜768px）だけ2列 */
@media (max-width: 768px) {
  .banner-categories {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.banner-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  border:2px solid #ff8383;
  box-shadow:
  inset 0 0 0 1px #ffd5de,
  inset 0 0 0 2px #ffeef2,
  0 1px 2px rgba(0,0,0,0.05);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.banner-box:hover { transform: scale(1.03); }

.banner-box img {
  width: 100%;
  height: auto;
}

/* ラベル類 */
.banner-box-label {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  font-weight: bold;
  color: #333;
}
.banner-box-label-small {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.2rem;
}

/* 説明テキスト */
.banner-box-description {
	max-width: 100%;
	text-align: center;
	font-size: 0.9rem;
	color: #555;
	margin: 0.5rem 0 0 0;
	line-height: 1.5;
}

/* サムネイル：縦長だけ高さ制限 */
.banner-box img[src*="v160-600"] {
  height: 25vh;
  width: auto;
  object-fit: contain;
}

/* ================================================================
   モーダル共通
================================================================ */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* モーダル内の画像 */
.modal-content img {
  max-width: 100%;
  max-height: 80vh;
  margin-bottom: 1rem;
}

/* ================================================================
   バナーモーダル (#bannerModal)
================================================================ */
#bannerModal .modal-content { line-height: 1.6 !important; }
.modal-table { width: 100%; font-size: 0.95rem; }
.modal-table th,
.modal-table td { font-weight: bold; }

/* バナー画像の種類別調整 */
#modalImage[src*="v160-600"] { height: 40vh; width: auto; }
#modalImage[src*="v1200-628"] {
  width: 60vw; max-width: 100%;
  height: auto; max-height: 80vh;
  object-fit: contain;
}

@media (max-width: 768px) {
  .modal-table th,
  .modal-table td { padding: 4px 6px; }
}

/* ================================================================
   画像拡大モーダル (#image-modal)
================================================================ */
#image-modal .modal-content {
  line-height: 0;
  padding: 16px 16px 12px;
  height: auto;
  max-height: calc(100vh - 80px);
}
#image-modal .modal-content img {
  display: block;
  width: 100%;
  height: auto;
  max-width: min(90vw, 900px);
  max-height: calc(100vh - 140px);
  margin: 0;
  object-fit: contain;
}
/* ==============================
   モーダル画像のアニメーション
============================== */
.modal img {
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.modal img.fade-in {
  opacity: 0;
  transform: scale(0.98);
}

/* ================================================================
   閉じるボタン
================================================================ */
.close-btn {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  background: #5bc0de;
  border: 2px solid #ccc;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 10000;
  transition: all 0.2s ease;
}
.close-btn:hover {
  background: #ff5874;
  color: #fff;
  border-color: #ff5874;
}

/* ================================================================
   ナビゲーション矢印
================================================================ */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  cursor: pointer;
  z-index: 1000;
  margin-left: env(safe-area-inset-left, 0px);
  margin-right: env(safe-area-inset-right, 0px);
}
/* 画面端配置 */
#image-modal  #imgPrev { left: 2%; }
#image-modal  #imgNext { right: 2%; }
#bannerModal  #bnPrev  { left: 2%; }
#bannerModal  #bnNext  { right: 2%; }

/* 矢印ボタンデザイン */
.circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.75);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.circle-btn i {
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
}








/* テーブルのスタイル */
/* ------------------------------------------------------------------*/

/* テーブル全体のデザイン */
table {
  width: 100%;
  max-width: 800px;
  background-color: #fff;
  margin: 0 auto;
  border-collapse: separate;      /* 丸角を有効にするため */
  border-spacing: 0;
  text-align: center;
  border: 2px solid #333;         /* 枠線 */
  border-radius: 12px;            /* テーブル角の丸み */
  overflow: hidden;               /* 丸みを反映させるため */
}

th {
  background-color: #333;
  color: #ffc3c3;
  padding: 1rem;
  border-bottom: 2px solid #ff5874;
}

/* セルのスタイル */
td {
  padding: 1rem;
  border: 1px solid #ffc3c3;
}

/* テーブル角の丸み設定 */
thead th:first-child {
  border-top-left-radius: 12px;
}

thead th:last-child {
  border-top-right-radius: 12px;
}

tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}





/* ================================================================
   制作プラン＆金額表
================================================================ */
#pricing {

}

.pricing-inner{
	max-width:1200px;
  margin: 0 auto;
  padding: 2rem;
}

.plan-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

/* PC（1025px以上）＝4列 */
.plan-box {
  flex: 0 0 calc(25% - 20px);
  max-width: calc(25% - 20px);
  box-sizing: border-box;
  background: #fff;
  background-image:
    radial-gradient(#ffe6ee 12%, transparent 12%);
  background-size: 60px 60px;
  border:6px solid #ff8383;
  box-shadow:
    inset 0 0 0 3px #ffd5de,
    inset 0 0 0 6px #ffeef2,
    0 2px 5px rgba(0,0,0,0.05);
  border-radius: 30px;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
}

/* タブレット（769〜1024px）＝2列 */
@media (min-width: 769px) and (max-width: 1024px) {
  .plan-box {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

/* スマホ（〜768px）＝1列 */
@media (max-width: 768px) {
  .plan-box {
    flex: 0 0 100%;
    max-width: 100%;
  }
}



/* --------------------------------------------------------------- */
/* 各要素スタイル（元のデザイン維持） */
/* --------------------------------------------------------------- */
.plan-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  font-size: 2.5em;
  font-weight: bold;
  color: white;
  background-color: #5bc0de;
  border-radius: 50%;
  margin-top: -80px;
  margin-bottom: 0.1em;
  z-index: 1;
  position: relative;
}

.plan-title {
  font-size: 2em;
  font-weight: bold;
  color: #ff5874;
  margin-bottom: 0.5em;
}

.plan-money {
  font-size: 2em;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5em;
  border-bottom:2px solid #fff;
}

.plan-desc {
  font-size: 0.9em;
  color: #555;
  line-height: 1.6;
}



/* --------------------------------------------------------------- */
/* ピンク枠カード */
.plan_pick {
  background:#fff;
  border:2px solid #ffc3c3;
  border-radius:12px;
  padding:12px 14px;
  margin-top:12px;
  text-align:left;
  line-height:1.7;
  box-shadow:0 2px 6px rgba(0,0,0,0.06);
  overflow:hidden;
}

.plan_pick-title {
  display:flex;
  align-items:center;
  gap:.5em;
  background:#ff5874;
  color:#fff;
  font-weight:800;
  font-size:.95rem;
  padding:.6rem .9rem;
  margin:-12px -14px 10px;
  border-radius:10px 10px 0 0;
}

.plan_pick-details p {
  margin:.35rem 0;
  display:flex;
  align-items:center;  /* ← 縦中央揃えに変更 */
  color:#333;
}

.plan_pick-details .highlight {
  color:#ff5874;
  font-weight:700;
}

.plan_pick-subtitle {
  display:block;
  font-weight:200;
  margin:0;
}

/* --------------------------------------------------------------- */
/* グレー枠カード */
.plan_pick_gray {
  background:#fff;
  border:2px solid #ddd;
  border-radius:12px;
  padding:12px 14px;
  margin-top:12px;
  text-align:left;
  line-height:1.7;
  box-shadow:0 2px 6px rgba(0,0,0,0.06);
  overflow:hidden;
}

.plan_pick_gray .plan_pick-title {
  display:flex;
  align-items:center;
  gap:.5em;
  background:#333;
  color:#fff;
  font-weight:800;
  font-size:.95rem;
  padding:.6rem .9rem;
  margin:-12px -14px 10px;
  border-radius:10px 10px 0 0;
}

/* --------------------------------------------------------------- */
/* グリーン枠カード */
.plan_pick_green {
  background:#fff;
  border:2px solid #CBE0CE;
  border-radius:12px;
  padding:12px 14px;
  margin-top:12px;
  text-align:left;
  line-height:1.7;
  box-shadow:0 2px 6px rgba(0,0,0,0.06);
  overflow:hidden;
}

.plan_pick_green .plan_pick-title {
  display:flex;
  align-items:center;
  gap:.5em;
  background:#4B7F52;
  color:#fff;
  font-weight:800;
  font-size:.95rem;
  padding:.6rem .9rem;
  margin:-12px -14px 10px;
  border-radius:10px 10px 0 0;
}

/* --------------------------------------------------------------- */
/* アイコン位置＆サイズの完全補正 */
.plan_pick i,
.plan_pick_gray i,
.plan_pick_green i {
  margin: 0 0.4rem 0 0;
  font-size: 1.05em;        /* ← 微妙に合わせて中央感UP */
  vertical-align: middle;
  position: relative;
  top: 1px;                 /* ← これが重要。1px下げると人の目で中央 */
  line-height: 1;
}

.plan_pick i { color:#ff5874; }
.plan_pick_gray i { color:#333; }
.plan_pick_green i { color:#4B7F52; }

/* タイトル内のアイコン */
.plan_pick-title i,
.plan_pick_gray .plan_pick-title i,
.plan_pick_green .plan_pick-title i {
  margin-top:0;
  margin-right:0.4em;
  vertical-align:middle;
  position:relative;
  top:0.5px;                /* ← タイトル用微調整 */
  line-height:1;
}





/* ================================================================
   ワークフローセクション
================================================================ */

/* サービスセクションだけリセット */
#workflow {
  max-width: none;               /* ←1200px制限を解除 */
  width: 100vw;                  /* ←画面いっぱい */
  margin-left: calc(50% - 50vw); /* ←中央基準解除で横端まで伸ばす */
  margin-right: calc(50% - 50vw);
  background: #fff;
  padding: 60px 0;
  box-sizing: border-box;
  overflow-x: hidden;            /* ←スクロールバー対策 */
}
.workflow-inner{
	max-width:1200px;
  margin: 0 auto;
  padding: 2rem;
}

.workflow-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centerで中央寄せ */
  gap: 20px;
  margin: 20px 0;
}

/* PC（1025px以上）＝4列 */
.workflow-box {
  flex: 0 0 calc(25% - 20px);
  max-width: calc(25% - 20px);
  box-sizing: border-box;
  background: #fff;
  background-image:
    radial-gradient(#ffe6ee 12%, transparent 12%);
  background-size: 60px 60px;
  border:6px solid #ff8383;
  box-shadow:
    inset 0 0 0 3px #ffd5de,
    inset 0 0 0 6px #ffeef2,
    0 2px 5px rgba(0,0,0,0.05);
  border-radius: 30px;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
}

/* タブレット（769〜1024px）＝2列 */
@media (min-width: 769px) and (max-width: 1024px) {
  .workflow-box {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

/* スマホ（〜768px）＝1列 */
@media (max-width: 768px) {
  .workflow-box {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ================================================================
   各要素のデザイン
================================================================ */
.workflow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  font-size: 5em;
  font-weight: bold;
  color: white;
  background-color: #5bc0de;
  border-radius: 50%;
  margin-top: -80px;
  margin-bottom: 0.1em;
  z-index: 1;
  position: relative;
}

.workflow-title {
  font-size: 2em;
  font-weight: bold;
  color: #ff5874;
  margin-bottom: 0.5em;
}

.workflow-desc {
  font-size: 0.9em;
  line-height: 1.6;
  text-align: left;
}



/* お問い合わせセクション */
/* ------------------------------------------------------------------*/
.contact-container {
  background-color: #ffeff4;
  position: relative;
  padding: 0.6em;
  border-radius: 12px;
  padding: 20px;
  border:6px solid #ff8383;
  box-shadow:
  inset 0 0 0 3px #ffd5de,
  inset 0 0 0 6px #ffeef2,
  0 2px 5px rgba(0,0,0,0.05);
}



form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
}

input, select, textarea {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

textarea {
  height: 150px;
}

button[type="submit"] {
  display: inline-block;
  background: #ff5874;
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 16px 40px;
  border-radius: 50px;
  border: 2px solid #ff8b9a;
  box-shadow: 0 5px 0 #c7434f, 0 6px 10px rgba(0,0,0,.2);
  transition: all 0.25s ease-in-out;
  cursor: pointer;
}

/* hover時 */
button[type="submit"]:hover {
  background: #ff708b;
  transform: translateY(2px);
  box-shadow: 0 3px 0 #b53b48, 0 4px 6px rgba(0,0,0,.2);
}

/* 押下時 */
button[type="submit"]:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #a02f3c;
}

/* 送信ボタンを中央に配置したい場合 */
button[type="submit"] {
  display: block;
  margin: 20px auto 40px;
}



/* 送信結果表示エリア */
#formMessage{
  display: none;                /* 通常は非表示 */
  padding: 16px 18px;
  font-size: 18px;
  line-height: 1.6;
  color: #222;
  background: rgba(255,255,255,0.88);
  border: 3px solid rgba(255,120,140,0.9);
  border-radius: 14px;
  margin: 12px 0;
  box-sizing: border-box;
}

/* JSが表示するとき用（class付与でもOK） */
#formMessage.is-visible{
  display: block;
}

/* 中身の見た目 */
#formMessage .form-success{
  color: #2e7d32;
  font-weight: 800;
}

#formMessage .form-error{
  color: #c62828;
  font-weight: 800;
}



/* お問い合わせボタン（固定） */
/* ------------------------------------------------------------------*/
.callme {
  position: fixed;
  bottom: 10px;
  right: 10px;
  opacity: 0.85;
  margin: 0;
  padding: 0;
}

.callme a {
  text-decoration: none;
  background: #5bc0de;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 240px;
  padding: 20px 25px 10px;
  color: #FFF;
  transition: 0.3s ease-in-out;
  font-weight: 600;
  flex-direction: column;
  border-radius: 30px;
  border-bottom: solid 5px #428ac7;
}

.callme a span {
  background: #FFFF00;
  width: 80%;
  text-align: center;
  position: absolute;
  top: -15px;
  filter: drop-shadow(0px 1px 2px #aaa);
  padding: 3px 0;
  font-size: 0.8rem;
  color: #428ac7;
  border-radius: 5px;
}

.callme a span:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top: 5px solid #ffffff;
}

.callme a:hover {
  border-bottom: solid 2px #428ac7;
  transform: translateY(3px);
}


/* =========================
   フッター装飾（可愛いバルーン風）
========================= */
footer {
  position: relative;
  background: #817daf; /* ベース色（紫） */
  color: #fff;
  font-size:80%;
  text-align: center;
  padding: 40px 20px;
  overflow: hidden; /* バルーンがはみ出ないように */
}

/* 円の装飾 */
footer::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 280px;

  background:
    radial-gradient(circle at 10% 60%, #ffa9c0 0 60px, transparent 61px),
    radial-gradient(circle at 30% 40%, #ffd580 0 45px, transparent 46px),
    radial-gradient(circle at 55% 70%, #ffb3a7 0 55px, transparent 56px),
    radial-gradient(circle at 80% 35%, #ffcece 0 70px, transparent 71px),
    radial-gradient(circle at 95% 60%, #ffe6a7 0 50px, transparent 51px),
    radial-gradient(circle at 70% 80%, #ffc4e3 0 40px, transparent 41px),
    radial-gradient(circle at 15% 90%, #ffd9b3 0 35px, transparent 36px);

  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.6; /* 柔らかい印象に */
  z-index: 1;
}

/* フッター本文を前面に */
footer * {
  position: relative;
  z-index: 2;
}

/* 文字部分のスタイルを整える */
footer a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
}
footer a:hover {
  text-decoration: none;
  opacity: 0.8;
}
footer img {
  margin: 20px 0;
}
