/* ===========================================
 *  TSN 共通スタイル（index.html のインライン <style> から移植）
 *  画像参照は assets/img/ への相対パスに変更
 * =========================================== */

.fv {
    position: relative;
    overflow: hidden;
    background: url("../img/fv_bg.png") center 0% / cover no-repeat;
}

.fv__inner {
    position: relative;
    width: 100%;
    aspect-ratio: 1440 / 760;
    min-height: 520px;
    margin: 0 auto;
}

/* タイトル */
.fv-title {
    position: absolute;
    top: 4%;
    left: 50%;
    z-index: 20;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-family: "Arial Rounded MT Bold", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
	font-size: clamp(30px, 5vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.18));
}

@media screen and (min-width: 1600px) {
  .fv-title {
    font-size: 76px;
  }
}

@media screen and (min-width: 1920px) {
  .fv-title {
    font-size: 84px;
  }
}

.fv-title span {
    display: inline-block;
    -webkit-text-stroke: clamp(16px, 0.8vw, 10px) #fff;
    paint-order: stroke fill;
    text-shadow: 0 0px 0px rgba(0, 0, 0, 0.18);
}

.orange { color: #f28a13; }
.blue   { color: #1f95dc; }
.yellow { color: #f7a91f; }
.green  { color: #69bd45; }
.red    { color: #ef4b4f; }
.purple { color: #7c48c9; }
.sky    { color: #37a9e1; }
.green2 { color: #2ba985; }
.pink   { color: #e7448b; }

.fv-catch {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.fv-catch__body {
    position: relative;
    z-index: 3;
    padding: 12px;
    background: #ff7628;
    color: #fff;
    font-size: clamp(16px, 2vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    box-shadow: 0 6px 0 #df5f1a, 0 14px 18px rgba(0, 0, 0, .18);
}

@media screen and (min-width: 1600px) {
  .fv-catch__body {
    font-size: 36px;
  }
}

@media screen and (min-width: 1920px) {
  .fv-catch__body {
    font-size: 40px;
  }
}

.fv-catch__tail {
    position: absolute;
    top: 15px;
    z-index: 1;
    width: 58px;
    height: 48px;
    background: #e95a16;
}

.fv-catch__tail--left {
    left: -42px;
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 26% 50%, 0 0);
}

.fv-catch__tail--right {
    right: -42px;
    clip-path: polygon(0 0, 100% 0, 74% 50%, 100% 100%, 0 100%);
}

/* 地図 */
.fv__map {
    position: absolute;
    left: 50%;
    bottom: 5%;
    z-index: 2;
    transform: translateX(-50%);
    width: 78%;
    max-width: 980px;
}

/* 吹き出し */
.balloon {
    position: absolute;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	
	width: clamp(140px, 13vw, 220px);
	height: clamp(140px, 13vw, 220px);
	min-width: 0;
	min-height: 0;
	padding: clamp(10px, 1.2vw, 18px);
	box-sizing: border-box;
	border-radius: 50%;
	flex-shrink: 0;
	/*
	width: clamp(110px, 13vw, 220px);
　　aspect-ratio: 1.15 / 1;
	min-height: auto;
    width: clamp(82px, 12vw, 200px);
    min-height: clamp(56px, 7vw, 92px);
    padding: clamp(10px, 1.4vw, 20px) clamp(8px, 1vw, 14px);
	*/
	padding: clamp(12px, 1.6vw, 24px) clamp(10px, 1.2vw, 18px);
    background: #fff;
    border: clamp(3px, 0.4vw, 5px) solid currentColor;
    border-radius: 999px;
    color: var(--bcolor, #65b84a);
    text-align: center;
    text-decoration: none;
    font-size: clamp(12px, 1.55vw, 22px);
    font-weight: 800;
    line-height: 1.35;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.18);
    top: var(--top-pc, auto);
    left: var(--left-pc, auto);
    right: var(--right-pc, auto);
    bottom: var(--bottom-pc, auto);
    transform: var(--transform-pc, ) scale(var(--whack-scale, 0));
    transform-origin: center bottom;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
}

.balloon.is-active {
    --whack-scale: 1;
    opacity: 1;
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    .balloon { transition: none; }
}

.balloon span:not(.balloon__badge) {
    color: #222;
    font-size: clamp(11px, 1.25vw, 18px);
    font-weight: 700;
    white-space: nowrap;
    border: 2px solid #aaa;
    padding: 2px 6px;
    border-radius: 5px;
    background-color: #fff;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
/*
.balloon::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: clamp(-17px, -1.5vw, -22px);
    width: clamp(18px, 2vw, 28px);
    height: clamp(18px, 2vw, 28px);
    background: #fff;
    border-right: clamp(3px, 0.4vw, 5px) solid currentColor;
    border-bottom: clamp(3px, 0.4vw, 5px) solid currentColor;
    transform: translateX(-50%) rotate(45deg);
}
*/

@media (hover: hover) and (min-width: 1025px) {
    .balloon:hover {
        z-index: 50; /* hover を最前面に */
        transform: translateY(-4px) scale(1.04);
        box-shadow: 0 16px 24px rgba(0, 0, 0, .22);
        filter: brightness(1.02);
    }
}

.balloon:active {
    transform: scale(0.98);
}

.balloon__badge {
    position: absolute;
    top: -14px;
    right: -18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 14px 5px;
    min-width: 68px;
    color: #fff;
    background: var(--badge-bg, currentColor);
    border: 2px solid #fff;
    border-radius: 8px;
    font-size: clamp(11px, 1.2vw, 17px);
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .18);
    -webkit-text-fill-color: #fff;
}

.fv-person {
    position: absolute;
    height: auto;
    pointer-events: none;
    user-select: none;
    top: var(--top-pc, auto);
    left: var(--left-pc, auto);
    right: var(--right-pc, auto);
    bottom: var(--bottom-pc, auto);
    width: var(--width-pc, auto);
    z-index: var(--z-pc, 8);
}

.balloon__icon {
    display: block;
    width: clamp(26px, 3vw, 42px);
    height: auto;
    margin: clamp(6px, 0.8vw, 10px) auto 0;
    object-fit: contain;
}

.sp-only { display: none; }
.tb-only { display: none; }
/*
@media (max-width: 1200px) {
    .balloon::after { bottom: clamp(-14px, -1.5vw, -22px); }
}
*/
.fv-title {
    display: block;
    text-align: center;
    white-space: nowrap;
}

/* タブレット */
@media (max-width: 1024px) {
    .fv__inner { min-height: 560px; }
    .fv-catch__body { padding: 12px 32px; }
    .fv-catch__tail { top: 8px; width: 40px; height: 48px; }
    .fv-catch__tail--right { right: -28px; }
    .fv-catch__tail--left { left: -28px; }
    .fv-title { text-align: center; justify-content: center; line-height: 1.05; }
    /*.balloon::after { bottom: clamp(-11px, -1.5vw, -22px); }*/

    .balloon {
        top:       var(--top-tb,       var(--top-pc,       auto));
        left:      var(--left-tb,      var(--left-pc,      auto));
        right:     var(--right-tb,     var(--right-pc,     auto));
        bottom:    var(--bottom-tb,    var(--bottom-pc,    auto));
        transform: var(--transform-tb, var(--transform-pc, )) scale(var(--whack-scale, 0));
    }

    .fv-person {
        top:    var(--top-tb,    var(--top-pc,    auto));
        left:   var(--left-tb,   var(--left-pc,   auto));
        right:  var(--right-tb,  var(--right-pc,  auto));
        bottom: var(--bottom-tb, var(--bottom-pc, auto));
        width:  var(--width-tb,  var(--width-pc,  auto));
        z-index: var(--z-tb,     var(--z-pc,      8));
    }
}

@media (max-width: 767px) {
    .tb-only { display: block; }
}

@media (min-width: 768px) {
    .tb-only { display: none; }
}

@media (max-width: 767px) {
    .sp-only { display: block; }

    .fv {
        background-image: url("../img/fv_bg_sp.png");
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
        overflow: hidden;
    }

    .fv__inner {
        position: relative;
        width: 100%;
        height: 190vw;
        aspect-ratio: auto;
    }

    .fv-title {
        top: 6%;
        width: 92%;
        flex-wrap: wrap;
        font-size: clamp(38px, 11vw, 56px);
        line-height: 1.08;
        white-space: normal;
    }

    .fv-catch { top: 18%; }
    .fv-catch__tail { top: 8px; width: 32px; height: 39px; }
    .fv-title span { -webkit-text-stroke: clamp(10px, 0.8vw, 10px) #fff; }

    .balloon {
        width: clamp(120px, 29vw, 177px);
        min-height: clamp(82px, 22vw, 100px);
        font-size: clamp(16px, 4.5vw, 21px);
        border-width: 4px;
    }

    .balloon span { font-size: clamp(13px, 3.6vw, 17px); }

    .balloon {
        top:       var(--top-sp,       var(--top-tb,       var(--top-pc,       auto)));
        left:      var(--left-sp,      var(--left-tb,      var(--left-pc,      auto)));
        right:     var(--right-sp,     var(--right-tb,     var(--right-pc,     auto)));
        bottom:    var(--bottom-sp,    var(--bottom-tb,    var(--bottom-pc,    auto)));
        transform: var(--transform-sp, var(--transform-tb, var(--transform-pc, ))) scale(var(--whack-scale, 0));
    }

    .balloon__badge {
        top: -16px;
        right: -12px;
        min-width: 52px;
        padding: 3px 10px 4px;
        font-size: 11px;
    }

    .fv-person {
        display: block;
        top:    var(--top-sp,    var(--top-tb,    var(--top-pc,    auto)));
        left:   var(--left-sp,   var(--left-tb,   var(--left-pc,   auto)));
        right:  var(--right-sp,  var(--right-tb,  var(--right-pc,  auto)));
        bottom: var(--bottom-sp, var(--bottom-tb, var(--bottom-pc, auto)));
        width:  var(--width-sp,  var(--width-tb,  var(--width-pc,  auto)));
        z-index: var(--z-sp, 9);
    }
}

@media (max-width: 500px) {
    .fv-catch { top: 19%; }
    .fv-catch__body { padding: 8px 12px; }
    .fv-catch__tail { height: 36px; }

    .balloon {
        width: clamp(92px, 27vw, 110px);
        min-height: clamp(68px, 18vw, 92px);
        padding: 10px 8px;
        font-size: clamp(12px, 3.6vw, 17px);
        border-width: 3px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, .16);
    }

    .balloon strong { font-size: clamp(11px, 3.8vw, 18px); line-height: 1.25; }
    .balloon span { margin-top: 2px; font-size: clamp(10px, 3vw, 15px); line-height: 1.25; }
    .balloon__icon { width: clamp(20px, 6vw, 30px); margin-top: 4px; }
    .balloon::after { width: 18px; height: 18px; bottom: -11px; }

    .balloon {
        top:       var(--top-xs,       var(--top-sp,       var(--top-tb,       var(--top-pc,       auto))));
        left:      var(--left-xs,      var(--left-sp,      var(--left-tb,      var(--left-pc,      auto))));
        right:     var(--right-xs,     var(--right-sp,     var(--right-tb,     var(--right-pc,     auto))));
        bottom:    var(--bottom-xs,    var(--bottom-sp,    var(--bottom-tb,    var(--bottom-pc,    auto))));
        transform: var(--transform-xs, var(--transform-sp, var(--transform-tb, var(--transform-pc, )))) scale(var(--whack-scale, 0));
    }

    .fv-person {
        top:    var(--top-xs,    var(--top-sp,    var(--top-tb,    var(--top-pc,    auto))));
        left:   var(--left-xs,   var(--left-sp,   var(--left-tb,   var(--left-pc,   auto))));
        right:  var(--right-xs,  var(--right-sp,  var(--right-tb,  var(--right-pc,  auto))));
        bottom: var(--bottom-xs, var(--bottom-sp, var(--bottom-tb, var(--bottom-pc, auto))));
        width:  var(--width-xs,  var(--width-sp,  var(--width-tb,  var(--width-pc,  auto))));
        z-index: var(--z-xs, var(--z-sp, 9));
    }
}

/* WP ページネーション（list.html 風） */
.tsn-pagination { display: flex; gap: 4px; flex-wrap: wrap; }
.tsn-pagination .page-numbers {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
}
.tsn-pagination .page-numbers.current {
    border-color: #1f8555;
    background: #1f8555;
    color: #fff;
}
.tsn-pagination .page-numbers:hover:not(.current) { background: #f9fafb; }

/*0703css追加*/

ruby[data-ruby] rt {
  display: none;
}
 
ruby[data-ruby] {
  position: relative;
  display: inline-block;
}
 
ruby[data-ruby]::after {
  content: attr(data-ruby);
  position: absolute;
  transform: translate(-50%, -1.1em);
  display: block;
  left: 50%;
  top: 0;
  white-space: nowrap;
  font-size: 44%;
  letter-spacing: 0;
}

.fv-catch__body{
	padding: 16px 12px 12px 12px;
}
/*
.balloon::before{
	content: "";
    position: absolute;
    left: 50%;
    bottom: -18px;
    width: 18px;
    height: 18px;
    background: currentColor;
    border-radius: 50%;
    transform: translateX(-50%);
}
*/
/*
.balloon::after{
	content: "";
    position: absolute;
    left: 50%;
    bottom: -15px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    transform: translateX(-50%);
	border-right: none;
	border-bottom: none;
}
*/

.fv{
	    background: url(/wp-content/uploads/2026/07/bg_pc.png) center 0% / cover no-repeat!important;
}

@media (max-width: 767px) {
	.fv{
		background: url(/wp-content/uploads/2026/07/bg_sp.png) center 0% / cover no-repeat!important;
    }
	.fv-title{
		font-size: clamp(38px, 11vw, 46px);
	}
	.sp_none{
		display: none!important;
	}
}


@media (max-width: 500px) {
    .fv-title {
        font-size: clamp(32px, 8vw, 56px);
		line-height: 1.3;
    }
}

.fv__inner{
	aspect-ratio: 1639 / 959!important;
	min-height: auto;
}


@media (max-width: 767px){
	.fv__inner{
		aspect-ratio: 863 / 1822!important;
		height: auto!important;
		min-height: auto!important;
		max-height: auto!important;
	}
}




