@charset "shift_jis";

/* =========================================
   全体背景（幻想的なオーロラ・偏光グラデーション）
========================================= */
.henkou_body {
    background-image: linear-gradient(155deg, #ffddf9, #cdb7ff 46%, #bed7ff);
    background-size: 100% 100% !important;
    color: #482f57 !important;
    padding-bottom: 50px !important;
}

/* スマホでの文字サイズ自動拡大（Text Size Adjustment）を防止 */
.henkou_body p,
.henkou_body div,
.henkou_body span,
.henkou_body a,
.henkou_body li {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
}

/* =========================================
   フェアの紹介文（追加部分）のデザイン
========================================= */
/* 文字の偏光アニメーション用キーフレーム */
@-webkit-keyframes textShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes textShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.yp_intro {
    width: 100% !important;
    max-width: 680px !important;
    margin: 0 auto 40px auto !important;
    background-color: rgba(255, 255, 255, 0.95) !important; /* すりガラス風 */
    backdrop-filter: blur(5px);
    border: 2px solid #ffffff !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    padding: 30px 20px !important;
    box-sizing: border-box !important;
}

.yp_intro p {
    text-align: center !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #482f57 !important; /* 文字色を濃い紫に */
    margin: 0 !important;
}

.yp_intro strong {
    display: block !important;
    font-size: 28px !important;
    margin-bottom: 15px !important;
    
    /* 偏光感を出すために色を増やし、グラデーションの幅を広げる */
    background-image: linear-gradient(
        135deg, 
        #b58ce8 0%, 
        #f589c3 25%, 
        #76caef 50%, 
        #f589c3 75%, 
        #b58ce8 100%
    ) !important;
    background-size: 300% 300% !important;
    
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #f589c3; /* グラデーション非対応ブラウザ用 */
    
    -webkit-animation-name: textShine !important;
    -webkit-animation-duration: 6s !important;
    -webkit-animation-timing-function: ease !important;
    -webkit-animation-iteration-count: infinite !important;
    animation-name: textShine !important;
    animation-duration: 6s !important;
    animation-timing-function: ease !important;
    animation-iteration-count: infinite !important;
}

/* -------------------------------------
   用紙名と説明（2列並び）のレイアウト
-------------------------------------- */
.box-flex {
    width: 100%;
    max-width: 680px;
    display: flex;
    justify-content: space-between;
    margin: 10px auto 40px auto;
}

.flex-item {
    width: 48%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border: 2px solid #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.flex-item img {
    max-width: 100%;
    height: auto;
    display: block;
    border-bottom: 2px solid #ffffff;
}

.flex-item h3 {
    position: relative !important;
    font-size: 20px !important;
    color: #b58ce8 !important; /* オーロラパープル */
    margin: 20px 15px 15px 15px !important;
    padding: 0 0 15px 0 !important;
    
    border: none !important;
    border-bottom: 2px dotted #a1c4fd !important; /* 欲しい下線だけ引く */
    background: none !important;
    background-image: none !important;

    text-align: center !important;
    font-weight: bold !important;
    line-height: 1.4 !important;
    text-indent: 0 !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    box-sizing: border-box !important;
}

.flex-item h3::before,
.flex-item h3::after {
    display: none !important;
}

.flex-item h3 br {
    display: none !important;
}

.flex-item h3 span {
    display: block !important;
    font-size: 13px !important;
    color: #76caef !important; /* 偏光シアン */
    font-weight: normal !important;
    margin: 0 auto 5px auto !important;
    padding: 0 !important;
    text-align: center !important;
    background: none !important;
    border: none !important;
    line-height: 1.4 !important;
}

.flex-text {
    flex-grow: 1;
    font-size: 14px;
    color: #482f57; /* 説明文も濃い紫に */
    line-height: 1.7;
    margin: 0 15px 20px 15px;
}

/* =========================================
   注意事項リスト（divレイアウト版）
========================================= */
.shimaya-notice-list {
    width: 100% !important;
    max-width: 680px !important;
    margin: 0 auto 40px auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.shimaya-notice-card {
    display: flex !important;
    align-items: flex-start !important; /* 上揃え */
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(5px);
    border: 2px solid #ffffff !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    gap: 20px !important; /* 画像とテキストの隙間 */
}

.notice-img-box {
    flex-shrink: 0 !important; /* 画像が潰れないようにする */
    width: 215px !important; /* 元の画像サイズに合わせる */
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

.notice-img-box img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    transition: transform 0.3s ease !important; /* ホバーアニメーション */
}

.notice-img-box a:hover img {
    transform: scale(1.05) !important; /* ホバーで少し拡大 */
}

.notice-text-box {
    flex-grow: 1 !important;
    text-align: left !important;
}

.notice-title,
.notice-title2 {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #b58ce8 !important; /* テーマカラーのオーロラパープル */
    margin: 0 0 10px 0 !important;
    padding: 0 0 8px 0 !important;
    border: none !important;
    border-bottom: 2px dotted #cbaed6 !important; /* 淡い点線で区切る */
    line-height: 1.4 !important;
    background: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    width: auto !important;
    text-align: left !important;
}

.notice-title::before, .notice-title::after,
.notice-title2::before, .notice-title2::after {
    display: none !important;
}

.notice-text-box p {
    font-size: 14px !important;
    color: #482f57 !important; /* 濃い紫 */
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* スマホ閲覧時（横幅が狭い時）は縦に並べ替える設定 */
@media (max-width: 600px) {
    .shimaya-notice-card {
        flex-direction: column !important; /* 縦並びに変更 */
        align-items: center !important; /* 中央揃え */
    }
    .notice-img-box {
        width: 100% !important;
        max-width: 300px !important; /* スマホでは大きすぎないように制限 */
    }
    .notice-text-box {
        width: 100% !important;
    }
}

/* =========================================
   画像・写真への注意書き（印刷イメージの上のやつ）
========================================= */
.shimaya-notice_waku {
    width: 90% !important;
    max-width: 680px !important;
    margin: 0 auto 0px auto !important; /* 見出しとスライダーの間の余白 */
    padding: 12px 20px !important;
    font-size: 13px !important; /* 少し小さめで控えめに */
    color: #703e94 !important; /* 紫がかった落ち着いたグレー */
    background-color: rgba(255, 255, 255, 0.7) !important; /* 少し透ける白背景 */
    border-radius: 10px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: 1.6 !important;
    border: 1px dashed #703e94 !important; /* 世界観に合わせた淡い紫の点線枠 */
}

/* =========================================
   ビフォーアフター スライダー（比較）
========================================= */
.shimaya-ba-slider {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 20px auto;
  overflow: hidden;
  line-height: 0;
  user-select: none;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 2px solid #fff;
  
  /* 枠の縦横比を固定（16:10）。これでトリミングが可能に */
  aspect-ratio: 16 / 10;
}

.shimaya-ba-base-img {
  display: block;
  width: 100%;
  height: 100%; /* 親の高さに合わせる */
  object-fit: cover; /* はみ出た部分をカット */
  object-position: center; /* 中央を軸にトリミング */
}

/* スライダー全体の説明文 */
.shimaya-ba-caption {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: #482f57;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 15; /* ハンドルより上に */
  pointer-events: none; /* スライダー操作の邪魔にならないように */
  white-space: nowrap;
}

/* 左右のラベル（白おさえ有無など） */
.shimaya-ba-label {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  pointer-events: none;
  backdrop-filter: blur(2px);
  
  /* 文字潰れ防止とフェードアウトアニメーション */
  white-space: nowrap; /* 改行させない */
  transition: opacity 0.3s ease, transform 0.3s ease; /* JSで消す時のフワッとした動き */
}

/* Beforeは左上に配置 */
.shimaya-ba-label-before {
  top: 15px;
  left: 15px;
}

/* Afterは右下に配置 */
.shimaya-ba-label-after {
  bottom: 15px;
  right: 15px;
  z-index: 5;
}

.shimaya-ba-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.shimaya-ba-overlay-img {
  display: block;
  width: 100%;
  min-width: 100%;
  height: 100%;
  object-fit: cover; /* ここもcoverに */
  object-position: center; /* ベース画像と同じく中央に設定してズレを防ぐ */
}

.shimaya-ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  margin-left: -2px;
  pointer-events: none;
  z-index: 10;
}

.shimaya-ba-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background-color: #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.shimaya-ba-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  margin-left: -23px;
  background: linear-gradient(135deg, #f589c3 0%, #76caef 100%);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.shimaya-ba-arrow-left,
.shimaya-ba-arrow-right {
  width: 0;
  height: 0;
  border-style: solid;
}
.shimaya-ba-arrow-left {
  border-width: 6px 8px 6px 0;
  border-color: transparent #fff transparent transparent;
}
.shimaya-ba-arrow-right {
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #fff;
}

.shimaya-ba-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 20;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.shimaya-ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 50px;
  height: 800px;
  background: transparent;
  cursor: ew-resize;
}
.shimaya-ba-range::-moz-range-thumb {
  width: 50px;
  height: 800px;
  background: transparent;
  cursor: ew-resize;
  border: none;
}

/* =========================================
   スライドショー（カルーセル）
========================================= */
.shimaya-carousel {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto 30px auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 2px solid #fff;
}

.shimaya-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.shimaya-carousel-slide {
  position: relative; /* キャプションの基準にするため追加 */
  min-width: 100%;
  width: 100%;
  display: block;
}

/* スライド内の画像 */
.shimaya-carousel-slide img {
  width: 100%;
  height: 100%; /* autoから100%に変更 */
  display: block;
  
  /* 比率を固定し、中央で綺麗にトリミングする */
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

/* スライドごとの説明文（キャプション） */
.shimaya-carousel-caption {
  position: absolute;
  bottom: 40px; /* 下の丸ポチに被らないように少し上に */
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: #482f57;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  white-space: nowrap; /* 改行させない */
  z-index: 5;
}

.shimaya-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  color: #f589c3; /* ピンクに */
  border: none;
  cursor: pointer;
  padding: 12px 18px;
  font-size: 14px;
  border-radius: 50%;
  z-index: 10;
  transition: all 0.3s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.shimaya-carousel-btn:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
  color: #b58ce8; /* 紫に */
}

.shimaya-carousel-btn.prev {
  left: 15px;
}

.shimaya-carousel-btn.next {
  right: 15px;
}

.shimaya-carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.shimaya-carousel-dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.shimaya-carousel-dot.active {
  background: linear-gradient(135deg, #f589c3 0%, #76caef 100%);
  border-color: #fff;
  transform: scale(1.3);
  box-shadow: none;
}

/* -------------------------------------
   大見出し（h2, h3）のデザイン
   ★トップ画像「トワイライトグロウ」のテイストに合わせる
-------------------------------------- */
.shimaya-heading,
.henkou_body h2 {
    position: relative !important;
    width: 95% !important;
    max-width: 700px !important;
    margin: 40px auto 30px auto !important;
    padding: 15px 20px !important;
    font-size: 22px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    
    /* トップ画像の背景に合わせた、水色〜紫〜ピンクのグラデーション */
    background: linear-gradient(135deg, #76caef 0%, #b58ce8 50%, #f589c3 100%) !important; 
    
    /* トップ画像のバッジのような角丸 */
    border-radius: 40px !important;
    
    /* トップ画像の青いバッジについているような「パキッとした斜め右下の影」 */
    box-shadow: 3px 3px 0 rgba(72, 47, 87, 0.25) !important;
    
    /* 文字の影を真っ黒から「濃い紫」に変更し、ふんわりとした甘さを残す */
    text-shadow: 1px 1px 2px rgba(72, 47, 87, 0.6) !important;
    
    border: 2px solid #ffffff !important;
    border-left: 2px solid #ffffff !important;
    border-right: 2px solid #ffffff !important;
    border-top: 2px solid #ffffff !important;
    border-bottom: 2px solid #ffffff !important;
    
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: 1.5 !important;
    height: auto !important;
    max-height: none !important;
    text-indent: 0 !important;
    letter-spacing: 4px !important;
    overflow: hidden !important;
    z-index: 2 !important;
}

.shimaya-heading::before,
.henkou_body h2::before {
    display: none !important;
}

.shimaya-heading::after,
.henkou_body h2::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    /* ホログラム感を出す斜めストライプ */
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.15) 15px,
        transparent 15px,
        transparent 30px
    ) !important;
    pointer-events: none !important;
}

.midashi {
    margin-top: -45px !important;
}

/* -------------------------------------
   小見出し（h4）のデザイン
-------------------------------------- */
.shimaya-subheading {
    position: relative !important;
    display: block !important; /* 横幅いっぱいにする */
    width: 94% !important;
    max-width: 700px !important;
    margin: 20px auto 10px auto !important;
    padding: 15px 20px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: #482f57 !important; /* 読みやすい濃い紫 */
    
    /* 白背景でしっかり目立たせる */
    background-color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    
    /* 背景や枠線、影をリセットしてスッキリさせる */
    border: none !important;
    text-shadow: none !important;
    
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: 1.4 !important;
    letter-spacing: 2px !important;
    overflow: hidden !important; /* 角丸からはみ出るラインをカット */
    z-index: 2 !important;
}

/* 白背景の底部にトワイライトカラーのラインを引く */
.shimaya-subheading::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 5px !important; /* ラインの太さ */
    background: linear-gradient(90deg, #76caef 0%, #b58ce8 50%, #f589c3 100%) !important; 
    pointer-events: none !important;
}

/* ::beforeの装飾（星など）は表示させない */
.shimaya-subheading::before {
    display: none !important;
}

/* =========================================
   料金表のタブ切り替え
========================================= */
.shimaya-price-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  width: 95%;
  margin: 0 auto 35px auto;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

.shimaya-tab-btn {
  flex: 1;
  padding: 14px 10px;
  font-size: 16px;
  font-weight: bold;
  color: #7d6b8a;
  background-color: #ffffff;
  border: 2px solid #dddddd;
  border-bottom: 4px solid #dddddd; 
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.shimaya-tab-btn:hover {
  color: #f589c3; /* ホバーでピンク */
  border-color: #f589c3;
  background-color: #fffafb;
  transform: translateY(1px);
  border-bottom-width: 3px;
}

/* ピュアホワイト側のホバー色 */
.shimaya-tab-btn[data-target="price-white"]:hover {
  color: #66a6ff;
  border-color: #89f7fe;
  background-color: #f0f9ff;
}

/* フルカラータブが選ばれている時 */
.shimaya-tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #f589c3 0%, #b58ce8 100%);
  border: 2px solid transparent;
  border-bottom: 2px solid transparent; 
  box-shadow: 0 4px 8px rgba(245, 137, 195, 0.4);
  transform: translateY(2px);
}

/* ピュアホワイトのタブが選ばれている時 */
.shimaya-tab-btn[data-target="price-white"].active {
  background: linear-gradient(135deg, #66a6ff 0%, #89f7fe 100%);
  border: 2px solid transparent;
  border-bottom: 2px solid transparent;
  box-shadow: 0 4px 8px rgba(102, 166, 255, 0.4);
}
.shimaya-tab-btn[data-target="price-white"].active:hover {
  color: #ffffff;
}

.shimaya-tab-content {
  display: none;
  animation: tabFadeIn 0.5s ease;
}

.shimaya-tab-content.active {
  display: block;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   タブの下にある表を囲む枠（モダンなカードUI）
========================================= */
.shimaya-price-table-wrap {
  position: relative;
  width: 95%;
  margin: 0 auto;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  border-top: 6px solid #f589c3;    /* ベースをピンクに */
  border-bottom: 6px solid #f589c3; /* ベースをピンクに */
  border-radius: 15px;
  padding: 30px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08); 
  overflow: hidden;
  transition: all 0.4s ease;
}

.shimaya-price-table-wrap::before,
.shimaya-price-table-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 6px;
  /* 枠線のグラデーション（ピンク〜パープル） */
  background: linear-gradient(135deg, #f589c3 0%, #b58ce8 100%);
  transition: background 0.4s ease;
}

.shimaya-price-table-wrap::before {
  top: 0;
}
.shimaya-price-table-wrap::after {
  bottom: 0;
}

/* ピュアホワイト側の枠線をクリアブルーに連動 */
.shimaya-price-table-wrap.theme-purple {
  border-top-color: #89f7fe;
  border-bottom-color: #89f7fe;
}
.shimaya-price-table-wrap.theme-purple::before,
.shimaya-price-table-wrap.theme-purple::after {
  background: linear-gradient(135deg, #66a6ff 0%, #89f7fe 100%);
}

/* =========================================
   HTML直書きデザイン（旧トンマナ）の強制上書き
========================================= */
/* HTML直書きの紫の太枠を、ピンク系のすりガラスカードに上書き */
.henkou_body div[style*="#b0a8ff"],
.henkou_body div[style*="#7068BD"],
.henkou_body div[style*="border:3px solid #b0a8ff"],
.henkou_body div[style*="border:3px solid #7068BD"] {
    border: 2px solid #ffffff !important;
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(5px);
    border-radius: 15px !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05) !important;
}

/* 旧デザインの表の破線（紫）をかわいいピンクに上書き */
.henkou_body td[style*="#7068BD"] {
    border-color: #f589c3 !important;
}

/* TOPに戻るボタンを偏光パール色に上書き */
.henkou_body a span[style*="#7068BD"] {
    background: linear-gradient(135deg, #f589c3 0%, #b58ce8 100%) !important;
    box-shadow: 0 4px 10px rgba(245, 137, 195, 0.3) !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    display: inline-block;
    transition: all 0.3s;
}
.henkou_body a:hover span[style*="#7068BD"] {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(181, 140, 232, 0.4) !important;
}

/* 料金表の黒くてお堅い罫線を、やわらかい色に統一 */
.henkou_body #list {
    border-top: none !important;
    border-bottom: 2px solid #f589c3 !important;
    border-collapse: collapse !important;
}
.henkou_body #list td {
    border-color: #ffe0e5 !important;
}
.henkou_body #list th {
    background-color: #f589c3 !important;
    color: #fff !important;
}
.henkou_body #list tr:nth-child(odd) td {
    background-color: #fcf0f2 !important;
}

/* 白おさえ（ピュアホワイト）側の料金表の色をクリアブルー系に */
#price-white #list {
    border-bottom: 2px solid #66a6ff !important;
}
#price-white #list td {
    border-color: #e0f2fe !important;
}
#price-white #list tr:nth-child(odd) td {
    background-color: #f0f9ff !important; 
}

/* HTML直書きの料金表見出し帯の上書き */
#price-fullcolor td[colspan="10"] {
    background: linear-gradient(135deg, #f589c3 0%, #b58ce8 100%) !important;
    border-radius: 10px 10px 0 0 !important;
    border: none !important;
}
#price-white td[colspan="10"] {
    background: linear-gradient(135deg, #66a6ff 0%, #89f7fe 100%) !important;
    border-radius: 10px 10px 0 0 !important;
    border: none !important;
    color: #fff !important;
}

/* =========================================
   スクロール連動マーカー
========================================= */
/* マーカー通常時 */
.marker {
  display: inline;
  background-image: linear-gradient(90deg, rgba(252, 255, 100, 0.6), rgba(137, 247, 254, 0.6));
  background-repeat: no-repeat;
  background-position: left bottom;
  /* 最初のサイズは0%。縦幅をホバー時と同じ40%で固定しておく */
  background-size: 0 40%;
  transition: background-size 2.5s cubic-bezier(0.25, 1, 0.5, 1); /* 引く速度となめらかさ */
}

/* マーカー発火時（JavaScriptでこのクラスが付与されます） */
.marker.is-active {
  background-size: 100% 40%;
}

/* =========================================
   印刷イメージ（ギャラリー）のネストタブ
========================================= */
.shimaya-gallery-wrap {
    width: 95%;
    max-width: 680px;
    margin: 30px auto 0px auto;
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid #ffffff;
    border-radius: 15px;
    padding: 20px 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

/* 親タブ（用紙切り替え） */
.shimaya-gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #b58ce8;
    padding-bottom: 15px;
}

.shimaya-gallery-tab-btn {
    flex: 1;
    max-width: 250px;
    padding: 12px 10px;
    font-size: 16px;
    font-weight: bold;
    color: #b58ce8;
    background-color: #ffffff;
    border: 2px solid #b58ce8;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.shimaya-gallery-tab-btn:hover {
    background-color: #f7f3fb;
}

.shimaya-gallery-tab-btn.active {
    color: #ffffff;
    background-color: #b58ce8;
    box-shadow: 0 4px 8px rgba(181, 140, 232, 0.4);
    transform: translateY(-2px);
}

/* 子タブ（白おさえ有無切り替え） */
.shimaya-sub-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.shimaya-sub-tab-btn {
    padding: 8px 25px;
    font-size: 14px;
    font-weight: bold;
    color: #7d6b8a;
    background-color: #f4f0f8;
    border: 2px solid #dccce8;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shimaya-sub-tab-btn:hover {
    border-color: #f589c3;
    color: #f589c3;
}

.shimaya-sub-tab-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, #f589c3 0%, #b58ce8 100%);
    border-color: transparent;
    box-shadow: 0 3px 8px rgba(245, 137, 195, 0.3);
}

/* コンテンツの表示・非表示 */
.shimaya-gallery-content,
.shimaya-sub-content {
    display: none;
    animation: galleryFadeIn 0.5s ease;
}

.shimaya-gallery-content.active,
.shimaya-sub-content.active {
    display: block;
}

@keyframes galleryFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ギャラリー内のカルーセルの余白調整 */
.shimaya-gallery-wrap .shimaya-carousel {
    margin-bottom: 10px;
}

/* =========================================
   自社サーバー配置用 動画エリア
========================================= */
.shimaya-video-wrap {
    margin: 40px auto 10px auto; /* 上のスライダーとしっかり距離を取る */
    width: 100%;
    max-width: 560px; /* スライダーより少し小さめでまとまりを出す */
    text-align: center;
}

/* 動画の見出し（吹き出し風デザイン） */
.shimaya-video-title {
    display: inline-block !important;
    position: relative !important;
    font-size: 15px !important;
    font-weight: bold !important;
    color: #482f57 !important; /* 濃い紫 */
    background: linear-gradient(to bottom, #ffffff 0%, #f7f3fb 100%) !important;
    padding: 10px 30px !important;
    border-radius: 30px !important;
    border: 2px solid #dccce8 !important; /* 淡い紫の枠線 */
    margin-top: 0 !important;
    margin-bottom: 22px !important; /* タブとの距離 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    letter-spacing: 1px !important;
}

/* 吹き出しの下向きの三角（しっぽ） 背景部分 */
.shimaya-video-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-width: 10px 10px 0 10px !important;
    border-style: solid !important;
    border-color: #f7f3fb transparent transparent transparent !important;
    z-index: 2 !important;
}

/* 吹き出しの下向きの三角（しっぽ） 枠線部分 */
.shimaya-video-title::before {
    content: '' !important;
    position: absolute !important;
    bottom: -13px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-width: 12px 12px 0 12px !important;
    border-style: solid !important;
    border-color: #dccce8 transparent transparent transparent !important;
    z-index: 1 !important;
}

/* videoタグ自体のデザイン */
.shimaya-local-video {
    width: 100%;
    aspect-ratio: 16 / 9; /* 16:9の比率を維持 */
    background-color: #f4f0f8; /* サムネイル(poster)がない時の背景色 */
    border-radius: 12px;
    border: 2px dashed #cbaed6; /* 世界観に合わせた淡い紫の点線枠 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    outline: none;
    object-fit: cover; /* サムネイル画像が綺麗に収まるようにする */
}

/* =========================================
   動画切り替え用タブ
========================================= */
.shimaya-video-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.shimaya-video-tab-btn {
    padding: 6px 20px;
    font-size: 13px;
    font-weight: bold;
    color: #b58ce8;
    background-color: #ffffff;
    border: 1px solid #cbaed6;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shimaya-video-tab-btn:hover {
    background-color: #f7f3fb;
}

.shimaya-video-tab-btn.active {
    color: #ffffff;
    background-color: #b58ce8;
    border-color: #b58ce8;
}

.shimaya-video-content {
    display: none;
    animation: galleryFadeIn 0.3s ease;
}

.shimaya-video-content.active {
    display: block;
}

/* =========================================
   原稿作成手順用スライダー
========================================= */
.guide-carousel {
    border-color: #ffbed7 !important; /* 周りのテーブルの枠線（ピンク）に色を合わせる */
    background-color: #ffffff;
}

.guide-carousel .shimaya-carousel-slide {
    padding: 10px 40px 35px 40px; 
    box-sizing: border-box;
}

.guide-carousel .shimaya-carousel-slide a {
    display: block;
    text-align: center; /* 画像が中央にくるように追加 */
}

/* 図解の画像が見切れないように比率とトリミング設定を解除する */
.guide-carousel .shimaya-carousel-slide img {
    aspect-ratio: auto !important;
    object-fit: contain !important;
    height: auto !important;
    background-color: transparent !important; /* 背景色を透明に戻す */
}

/* ★変更: 矢印ボタンを「画像の左右（余白部分）」の高さ中央に配置する */
.guide-carousel .shimaya-carousel-btn {
    top: calc(50% - 25px); /* 下部の余白50pxを考慮して画像部分の真ん中に計算 */
    bottom: auto;
    transform: translateY(-50%);
    padding: 6px 10px; /* 余白に収まるようにサイズ調整 */
}

.guide-carousel .shimaya-carousel-btn:hover {
    transform: translateY(-50%) scale(1.1); /* ホバー時の拡大アニメーションのズレ防止 */
}

.guide-carousel .shimaya-carousel-btn.prev {
    left: 5px;
}

.guide-carousel .shimaya-carousel-btn.next {
    right: 5px;
}