@charset "UTF-8";

/* ===== 2026 頁面2 モデルコース（.bg 差し替え） ===== */
/* 旧ヒーロー用の重なり・背景を解除（新デザインは自己完結のため） */
#taiwan-content .bg{
    padding-bottom: 0;
    background: none;
}
#taiwan-content .bg .course-map{
    position: relative;
    width: 100%;
    max-width: 1980px;
    margin: 0 auto;
}
.course-map .course-bg{
    display: block;
    width: 100%;
    height: auto;
}
.course-map .course-title,
.course-map .course-day,
.course-map .course-info,
.course-map .course-book{
    position: absolute;
    display: block;
}
.course-map .course-title,
.course-map .course-day img,
.course-map .course-info img,
.course-map .course-book img{
    display: block;
    width: 100%;
    height: auto;
}
/* 位置・サイズは 1980x1824 の原寸を基準にした % 指定 */
.course-map .course-title{ left: 22.222%; top: 4.660%;  width: 55.556%; }
.course-map .cd1{ left: 5.303%;  top: 29.057%; width: 26.717%; }
.course-map .cd2{ left: 30.152%; top: 29.057%; width: 26.717%; }
.course-map .cd3{ left: 54.949%; top: 29.057%; width: 26.717%; }
.course-map .cd4{ left: 79.697%; top: 29.057%; width: 20.202%; }
.course-map .ci5{ left: 5.303%;  top: 53.289%; width: 33.990%; }
.course-map .ci6{ left: 40.808%; top: 53.289%; width: 34.545%; }
.course-map .ci7{ left: 75.404%; top: 53.289%; width: 22.525%; }
.course-map .course-day:hover,
.course-map .course-book:hover{ opacity: 0.85; }

/* ===== 2026 頁面7 フライト時刻表・ご予約ブロック ===== */
/* 台北（#title4）は写真エリアのみに短縮。フライト予約は下の .flight-bg へ移設 */
#taiwan-content .tp-bg{
    height: 900px;
    background-position: center top;
}

#taiwan-content .flight-bg,
#taiwan-content .flight-note{
    /* --fw = このブロックの実幅。#taiwan-content の min-width:1280px と .flight-inner の max-width:1980px に一致 */
    --fw: clamp(1280px, 100vw, 1980px);
}
#taiwan-content .flight-bg{
    width: 100%;
    background: #eff6fc;
}
#taiwan-content .flight-bg .flight-inner{
    position: relative;
    width: 100%;
    max-width: 1980px;
    margin: 0 auto;
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}
.flight-inner .flight-bgimg{
    display: block;
    width: 100%;
    height: auto;
}
.flight-inner .fl-item{
    position: absolute;
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
}
.flight-inner .fl-item img{
    display: block;
    width: 100%;
    height: auto;
}
/* 位置・サイズは 1980x1161 の原寸を基準にした % / --fw 比率で指定 */
.flight-inner .fl-thsr { left: 29.158%; top: 40.887%; width: 38.703%; }
.flight-inner .fl-card { top: 67.269%;  width: 20.606%; }
.flight-inner .fl-card1{ left: 20.101%; }
.flight-inner .fl-card2{ left: 39.798%; }
.flight-inner .fl-card3{ left: 59.697%; }
/* ホバーで少し浮き上がる（drop-shadow は PNG の透明部分に沿うので角丸でも破綻しない） */
.flight-inner .fl-item:hover{
    opacity: 0.85;
}
/* フローティングチケット：ホバーでその場で少し浮き上がる（移動なし） */
#tickets .ticket a{
    position: relative;
    transition: transform 0.25s ease, filter 0.25s ease;
}
#tickets .ticket a:hover{
    opacity: 1 !important;
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.28));
    z-index: 2;
}
#tickets a:hover img{ opacity: 1 !important;}

/* --- 見出し＋フライト検索フォーム --- */
.flight-inner .fl-head{
    position: absolute;
    left: 0;
    right: 0;
    top: 7.536%;
    text-align: center;
}
.flight-inner .fl-title{
    font-size: calc(var(--fw) * 0.03788); /* 75/1980 */
    line-height: 1;
    font-weight: bold;
    color: #175256;
    letter-spacing: 0;
}
.flight-inner .fl-sub{
    margin-top: calc(var(--fw) * 0.02500); /* 49.5/1980 */
    font-size: calc(var(--fw) * 0.01919); /* 38/1980 */
    line-height: 1;
    font-weight: bold;
    color: #606060;
}
.flight-inner .fl-search{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: calc(var(--fw) * 0.03586); /* 71/1980 */
}
.flight-inner .fl-select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: calc(var(--fw) * 0.17374);  /* 344/1980 */
    height: calc(var(--fw) * 0.03232); /* 64/1980 */
    padding: 0 calc(var(--fw) * 0.02222) 0 calc(var(--fw) * 0.02929);
    border: 2px solid #999;
    border-radius: calc(var(--fw) * 0.00404);
    background-color: #fff;
    background-image: url(../images/7_location.png),
                      url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M1 1l8 8 8-8' fill='none' stroke='%23999999' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat;
    background-position: calc(var(--fw) * 0.00960) center,
                         right calc(var(--fw) * 0.00909) center;
    background-size: calc(var(--fw) * 0.00909) calc(var(--fw) * 0.01313),
                     calc(var(--fw) * 0.00909) calc(var(--fw) * 0.00505);
    font-family: inherit;
    font-size: calc(var(--fw) * 0.01515); /* 30/1980 */
    color: #606060;
    text-align: left;
    cursor: pointer;
}
.flight-inner .fl-select::-ms-expand{ display: none; }
.flight-inner .fl-plane{
    display: block;
    width: calc(var(--fw) * 0.05879); /* 116.4/1980 */
    height: auto;
    margin: 0 calc(var(--fw) * 0.00126);
}
.flight-inner .fl-searchbtn{
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: calc(var(--fw) * 0.02222); /* 44/1980 */
    width: calc(var(--fw) * 0.14949);  /* 296/1980 */
    height: calc(var(--fw) * 0.03131); /* 62/1980 */
    border-radius: calc(var(--fw) * 0.00404);
    background: #175256;
    font-size: calc(var(--fw) * 0.01465); /* 29/1980 */
    line-height: 1;
    font-weight: bold;
    color: #fff;
}
.flight-inner .fl-searchbtn:hover{ opacity: 0.85; }
.flight-inner .fl-searchbtn .fl-ico{
    display: block;
    width: calc(var(--fw) * 0.01212);  /* 24/1980 */
    height: calc(var(--fw) * 0.01212);
    margin-right: calc(var(--fw) * 0.01970);
    background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='10.2' cy='10.2' r='7'/%3E%3Cpath d='M15.4 15.4l6 6'/%3E%3C/g%3E%3C/svg%3E") no-repeat center;
    background-size: 100% 100%;
}

/* 注意書き（旧 .tp-bg .pstou からの移設） */
#taiwan-content .flight-note{
    background: #eff6fc;
    padding: 0 0 calc(var(--fw) * 0.02273);
    text-align: center;
}
#taiwan-content .flight-note .pstou{
    font-family: "Meiryo", sans-serif;
    font-size: calc(var(--fw) * 0.01010); /* 1280px 幅で 13px 相当 */
    line-height: 1.9;
    color: #555;
}
#taiwan-content .flight-note .pstou a{
    text-decoration: none;
}
#taiwan-content .flight-note .pstou span{
    font-size: 15px;
    color: #000;
    background-color: #ECFA00;
    text-decoration: none;
}

/* ===== 2026 頁面8 通信キャリア（.tp-bg の下に追加） ===== */
#taiwan-content .carrier-bg{
    width: 100%;
    text-align: center;
}
#taiwan-content .carrier-bg .carrier-img{
    display: block;
    width: 100%;
    max-width: 1980px;
    height: auto;
    margin: 0 auto;
}

#tickets a{
    width: 300px;height:auto;

}
#tickets .ticket:not(:first-child) a{margin: -40px 0;}
#tickets .ticket a img{margin-left: -19px;}
#tickets a img.t-design{
    max-width: 100%;
    height: auto;
    box-shadow:none;
}
#taiwan-content .tc-bg {
    background: url(../images/5_bg.jpg), no-repeat top center;
}
#taiwan-content .footer-copy .copyright {
    position: relative;
    top: 15px;
    font-family: "Meiryo", sans-serif;
    font-size: 12px;
    color: #000;
}
#taiwan-content .tp-bg {
    height: 815px;
}
