@charset "UTF-8";

:root {
    --main-color: #F2F6F7;

    /* テキストフォント */
    /* 日本語ベース */
    --font-base-family: 'Noto Sans JP', serif;

    /* テキストサイズ */
    --font-base-size: 16px;

    /* Weight */
    --font-base-weight-light: 300;
    --font-base-weight-regular: 400;
    --font-base-weight-medium: 500;
    --font-base-weight-semibold: 600;
    --font-base-weight-bold: 700;
    --font-base-weight-black: 900;

    /* Style */
    --font-style-normal: normal;

    /* Line Height */
    --font-base-line-height: 1.75;

    /* テキストカラー */
    --base-text-color: #000000;
    --blue-text: #37B4ED;
}

main * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: var(--font-base-family);
    font-size: var(--font-base-size);
    font-weight: var(--font-base-weight-medium);
    line-height: var(--font-base-line-height);
}

/* hover できるデバイス（PCなど）だけ hover を適用 */
@media (any-hover: hover) {

    a:hover {
        opacity: 0.8;
    }
}

/* ===============================
*  
=============================== */

/* ===========================================================================
*  パンくず
=========================================================================== */
.yosakoinet-common .breadcrumb a {
    font-size: 12px;
}

/* ===========================================================================
*  タイトル
=========================================================================== */

.yosakoinet-common .main-block .block-title > div {
    width: 100%;
    padding: 0 40px;
}

/* ===========================================================================
*  ページ内容
=========================================================================== */
.yosakoinet-common .main-block.block-spot-detail {
    margin: 40px 40px 10px 40px;
    padding: 0;
    /* padding-top: 0;
    padding-left: 0;
    padding-right: 0; */
}

.yosakoinet-common .main-block .block-title {
    margin-bottom: 55px;
}

.yosakoinet-common .main-block .block-title > div strong {
    color: var(--base-text-color);
    font-size: 2.1875rem; /* 35px */
    font-weight: var(--font-base-weight-bold);
    line-height: 1.2;
}

/* ===========================================================================
*  きっぷ一覧
=========================================================================== */

.tt-page {
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.tt-page a {
    color: var(--base-text-color);
}

/* イントロテキスト */
.tt-page .tt-intro {
    line-height: var(--font-base-line-height);
    margin-bottom: 40px;
}

/* きっぷカード */
.tt-page .tt-ticket {
    margin-bottom: 32px;
    padding: 35px 74px 34px 50px;
    background: #F2F6F7;
    border-radius: 15px;
}

/* 最後のきっぷカードだけ余白をなくす */
.tt-page .tt-ticket:last-child {
    margin-bottom: 0;
}

/* きっぷ名 */
.tt-page .tt-ticket-name {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* ▶ */
.tt-page .tt-ticket-name::before {
    content: '';
    flex-shrink: 0;
    width: 10px;
    height: 16px;
    background-color: #000000;
    mask-image: url('/images/page-image/tokutoku/migi-yajirushi.svg');
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: right;

    /*
      ****** テキストが折り返しても三角形を1行目の上下中央に配置させるため ******
    - 1.5rem * 1.2 = <a> の1行分の line-height（font-size × line-height）
    - 16px = 三角形の height
    - ÷ 2 = 1行の上下余白の片側 → これで三角形が1行目の上下中央に配置
      数値で確認すると (28.8px - 16px) / 2 = 9.4px
    */
    margin-top: calc((1.5rem * 1.2 - 16px) / 2);
    margin-right: 9px;
}

/* 点線 */
.tt-page .tt-ticket-name::after {
    content: '';
    flex-basis: 100%;
    height: 0;
    border-bottom: 1px dashed #B1B1B1;
    margin-top: 26px;
}

.tt-page .tt-ticket-name a {
    font-size: 1.5rem; /* 24px */
    font-weight: var(--font-base-weight-bold);
    line-height: 1.2;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    /* 折り返したときに三角形だけが上の行に残らないように */
    flex: 1;
    min-width: 0;
}

/* PDFアイコン */
.yosakoinet-common .tt-page .tt-ticket-name a[href$=".pdf"]::after {
    /* common.css と同じプロパティをコピー */
    content: "";
    display: inline-block;
    background: url('/images/page-image/tokutoku/pdf-icon.png') no-repeat center / contain;
    width: 19px;
    height: 26px;
    margin-left: 12px;
    vertical-align: middle;
}

/* 説明文 */
.tt-page .tt-ticket-desc {
    line-height: var(--font-base-line-height);
    margin-bottom: 20px;
    color: var(--base-text-color);
}

/* 購入・問合せ情報 */
.tt-page .tt-ticket-info {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 60px;
    row-gap: 20px;
    padding: 22px 30px;
    background: #FFFFFF;
    border: 1px solid #B1B1B1;
    border-radius: 10px;
}

.tt-page .tt-ticket-info-row {
    display: contents;
}

.tt-page .tt-ticket-info-divider {
    grid-column: 1 / -1;
    border-top: 1px solid #B1B1B1;
    height: 1px;
    margin: 0 -30px;
}

.tt-page .tt-ticket-info-title {
    position: relative;
    font-weight: var(--font-base-weight-bold);
    font-size: 1.125rem; /* 18px */
    line-height: 1.55;
}

/* 縦線 */
.tt-page .tt-ticket-info-title::after {
    content: "";
    position: absolute;
    top: 0;
    right: -30px; /* column-gap 60px の半分 */
    width: 1px;
    height: 100%;
    background: #B1B1B1;
}

.tt-page .tt-ticket-info-body {
}

/* お問い合わせ詳細リンク */
.tt-page .tt-detail-link a {
    color: #37B4ED;
    font-weight: var(--font-base-weight-bold);
    text-decoration: underline;
}

/* 画像ブロック */
.tt-page img {
    /* margin: 20px 0; */
    margin-bottom: 20px;
    width: 570px;
    height: 321px;
    border-radius: 10px;
}

/* ===========================================================================
*  スマホ～タブレット対応
=========================================================================== */
/* ▼ スマホ～タブレット対応（実機・管理画面プレビュー共通） */
/* 管理画面SPプレビュー：vwがビューポート参照のため固定値で上書き */
#CMS_MAIN_HYBRID .yosakoinet-common-sp main {
    padding: 20px 20px 100px 20px;
}
#CMS_MAIN_HYBRID .yosakoinet-common.yosakoinet-common-sp .main-block .block-title {
    padding: 0 20px;
}
#CMS_MAIN_HYBRID .yosakoinet-common-sp .tt-page .tt-intro {
    padding: 0 20px;
}
#CMS_MAIN_HYBRID .yosakoinet-common-sp .tt-page .tt-ticket {
    padding: 25px 20px;
}

.yosakoinet-common-sp main {
    /* padding: 20px 20px 100px 20px; */
    padding: 20px clamp(1.25rem, -0.043rem + 5.31vw, 2.5rem) 100px clamp(1.25rem, -0.043rem + 5.31vw, 2.5rem);
}

.yosakoinet-common-sp .main-block.block-spot-detail {
    margin: 0;
}

/* ページタイトル */
.yosakoinet-common.yosakoinet-common-sp .main-block .block-title {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    /* padding: 0; */
    padding: 0 clamp(1.25rem, -2.629rem + 15.92vw, 5rem);
}

.yosakoinet-common-sp .main-block .block-title > div {
    padding: 0;
    left: auto;
    position: relative;
    transform: none;
}

.yosakoinet-common-sp .main-block .block-title > div strong {
    font-size: 1.375rem; /* 22px（375px幅相当） */
    margin-bottom: 0;
}

.yosakoinet-common-sp .tt-page .tt-intro {
    margin-bottom: 30px;
    padding: 0 clamp(1.25rem, -0.043rem + 5.31vw, 2.5rem);
}

/* 画像ブロック */
.yosakoinet-common-sp .tt-page img {
    /* width: 309px; */
    width: 100%;
    height: 174px;
}

/* きっぷカード（SP） */
.yosakoinet-common-sp .tt-page .tt-ticket {
    margin-bottom: 20px;
    /* padding: 25px 20px; */
    padding: 25px clamp(1.25rem, -0.043rem + 5.31vw, 2.5rem);
}

/* きっぷ名 */
.yosakoinet-common-sp .tt-page .tt-ticket-name {
    margin-bottom: 15px;
}

/* ▶ */
.yosakoinet-common-sp .tt-page .tt-ticket-name::before {
    /* margin-top: calc((1.25rem * 1.2 - 16px) / 2); */
    margin-top: calc((1.25rem * 1.7 - 16px) / 2);
    margin-right: 9px;
}

/* 下線 */
.yosakoinet-common-sp .tt-page .tt-ticket-name::after {
    margin-top: 19px;
}

.yosakoinet-common-sp .tt-page .tt-ticket-name a {
    font-size: 1.25rem; /* 20px */
    line-height: 1.55;
}

.yosakoinet-common-sp .tt-page .tt-ticket-desc {
    margin-bottom: 15px;
}

/* きっぷ購入・問合せ情報：縦並び */
.yosakoinet-common-sp .tt-page .tt-ticket-info {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
    padding: 20px;
}

.yosakoinet-common-sp .tt-page .tt-ticket-info-title {
    margin-bottom: 10px;
}

/* 縦線を非表示 */
.yosakoinet-common-sp .tt-page .tt-ticket-info-title::after {
    display: none;
}

.yosakoinet-common-sp .tt-page .tt-ticket-info-divider {
    margin: 20px 0 20px;
    height: 1px;
}
