:root {
    /* カラー変数の定義 */
    --tm-brown: #5c4013;
    --tm-dark-brown: #664d14;
    --tm-beige: #f7f5f0;
    --tm-white: #ffffff;
    --tm-black: #333333;
    --tm-blue: #40c4d8;
    --tm-btn-blue: #4FCAD5;
    --tm-light-blue: #f1f8fc;
    --tm-light-red: #fcf5f5;
}

/* -------------------------------------------
   WordPressデフォルトのタイトルエリアを非表示
------------------------------------------- */
.entry-header { display: none !important; }

/* -------------------------------------------
   汎用・共通クラス
------------------------------------------- */
.tm-furusato-pc-br { display: inline; }
.tm-furusato-sp-br { display: none; }

/* h1リセット */
.tm-furusato-h1 {
    margin: 0;
    padding: 0;
    line-height: 0;
}

/* 各セクション共通タイトル */
.tm-sec-title {
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 15px 0;
    float: none;
}
.tm-sec-title.--w { color: var(--tm-white); }
.tm-sec-title.--b { color: var(--tm-brown); }

/* セクション共通ラッパーパディング */
.tm-furusato-lineup-wrapper,
.tm-furusato-flow-wrapper,
.tm-furusato-site-wrapper,
.tm-furusato-caution-wrapper {
    padding: 80px 20px;
    width: 100%;
    box-sizing: border-box;
}

/* -------------------------------------------
   1. Header / Hero Section
------------------------------------------- */
.tm-furusato-hero-wrapper {
    background-image: url('https://teamorder.jp/wp-content/themes/wp-dcafe/page/furusato/img/bg_fv.svg');
    background-repeat: repeat;
    background-color: var(--tm-dark-brown);
    width: 100%;
    padding: 60px 0px 60px 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
    background-position: center;
}
.tm-furusato-hero-inner {
    max-width: 800px;
    width: 100%;
    text-align: center;
}
.tm-furusato-hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* -------------------------------------------
   2. Logos Section
------------------------------------------- */
.tm-furusato-logos-wrapper {
    background-color: var(--tm-white);
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}
.tm-furusato-logos-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    flex-wrap: wrap; 
    justify-content: space-evenly;
    align-items: center;
}
.tm-furusato-logo {
    display: flex;
    justify-content: center;
}
.tm-furusato-logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

/* -------------------------------------------
   3. Message (About) Section
------------------------------------------- */
.tm-furusato-message-wrapper {
    background-image: url('https://teamorder.jp/wp-content/themes/wp-dcafe/page/furusato/img/washi_wt.svg');
    background-repeat: repeat;
    background-color: var(--tm-beige); 
    padding: 50px 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.tm-furusato-message-inner {
    max-width: 800px;
    margin: 0 auto;
}
.tm-furusato-message-text {
    color: var(--tm-brown);
    font-size: 16px;
    line-height: 2.2;
    margin: 0;
    letter-spacing: 0.05em;
}
.tm-furusato-highlight {
    background: linear-gradient(transparent 60%, var(--tm-blue) 60%);
    display: inline;
}

/* -------------------------------------------
   4. Menu Buttons Section
------------------------------------------- */
.tm-furusato-menu-wrapper {
    background-image: url('https://teamorder.jp/wp-content/themes/wp-dcafe/page/furusato/img/washi_mn.svg');
    background-repeat: repeat;
    background-color: var(--tm-dark-brown); 
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
}
.tm-furusato-menu-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.tm-furusato-menu-btn {
    background-color: var(--tm-white);
    color: var(--tm-brown);
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 8px;
    text-align: center;
    transition: opacity 0.3s ease;
    flex: 1;
    max-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1.4;
}
.tm-furusato-menu-btn:hover {
    opacity: 0.8;
}

/* -------------------------------------------
   5. Lineup & Target Cards Section
------------------------------------------- */
.tm-furusato-lineup-wrapper {
    background-image: url('https://teamorder.jp/wp-content/themes/wp-dcafe/page/furusato/img/washi_br.svg');
    background-repeat: repeat;
    background-color: var(--tm-brown);
}
.tm-furusato-lineup-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center; 
    color: var(--tm-white);    
}
.tm-furusato-lineup-subtitle {
    color: var(--tm-white);
    font-size: 14px;
    margin: 0 0 40px 0;
    opacity: 0.9;
}
.tm-furusato-tickets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}
.tm-furusato-ticket {
    width: calc(20% - 12px);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tm-furusato-ticket img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
.tm-furusato-ticket-price-wrap {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.tm-furusato-price-label {
    border: 1px solid var(--tm-white);
    font-size: 11px;
    padding: 4px 8px; 
    line-height: 1;
}
.tm-furusato-price-value {
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.tm-furusato-lineup-btn {
    display: inline-block;
    background-color: var(--tm-btn-blue);
    color: var(--tm-black);
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    padding: 25px 100px;
    border-radius: 40px;
    transition: opacity 0.3s ease;
    margin-bottom: 60px;
    box-sizing: border-box;
    max-width: 100%;
}
.tm-furusato-lineup-btn:hover {
    opacity: 0.8;
}
.tm-furusato-target-container {
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 40px 20px;
    margin: 0 auto;
    max-width: 1000px; 
}
.tm-furusato-target-desc {
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 30px 0;
}
.tm-furusato-target-desc strong {
    font-weight: bold;
    font-size: 14px;
}
.tm-furusato-target-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.tm-furusato-target-card {
    position: relative;
    border-radius: 12px;
    padding: 30px 20px;
    flex: 1;
    max-width: 400px;
    box-sizing: border-box;
    color: var(--tm-black);
    overflow: hidden;
    z-index: 1;
}
.tm-furusato-target-card-content {
    position: relative;
    z-index: 2; 
}
.tm-furusato-target-card-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
}
.tm-furusato-target-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: inline-block;
    font-size: 14px;
    line-height: 2.2;
    font-weight: bold;
}
.tm-furusato-target-note {
    font-size: 12px;
    font-weight: normal;
}
.tm-furusato-target-card.--ok { background-color: var(--tm-light-blue); }
.tm-furusato-target-card.--ok .tm-furusato-target-card-title { color: #0968b4; }
.tm-furusato-target-card.--ok::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 140px;
    height: 140px;
    border: 15px solid rgb(206 232 252); 
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.tm-furusato-target-card.--ng { background-color: var(--tm-light-red); }
.tm-furusato-target-card.--ng .tm-furusato-target-card-title { color: #d13a52; }
.tm-furusato-target-card.--ng::before,
.tm-furusato-target-card.--ng::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 16px;
    background-color: rgb(252 223 228); 
    border-radius: 10px;
    z-index: 0;
    pointer-events: none;
}
.tm-furusato-target-card.--ng::before { transform: translate(-50%, -40%) rotate(45deg); }
.tm-furusato-target-card.--ng::after { transform: translate(-50%, -40%) rotate(-45deg); }

/* -------------------------------------------
   6. Flow Section
------------------------------------------- */
.tm-furusato-flow-wrapper {
    background-image: url('https://teamorder.jp/wp-content/themes/wp-dcafe/page/furusato/img/washi_wt.svg');
    background-repeat: repeat;
    background-color: var(--tm-beige);
    color: var(--tm-brown);
}
.tm-furusato-flow-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.tm-furusato-flow-subtitle {
    font-size: 14px;
    margin: 0 0 40px 0;
    color: var(--tm-brown);
}
.tm-furusato-flow-steps {
    display: flex;
    justify-content: center;
    gap: 15px; 
}
.tm-furusato-flow-step {
    flex: 1;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden; 
    background-color: var(--tm-white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.tm-furusato-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}
.tm-furusato-flow-arrow::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 20px; 
    border-color: transparent transparent transparent #d7cebc; 
}
.tm-furusato-flow-img-wrap {
    background-color: #f0f0f0;
    padding: 25px; 
    display: flex;
    justify-content: center;
    align-items: center;
}
.tm-furusato-flow-img {
    width: 100%;
    height: auto;
    border-radius: 12px; 
    display: block;
}
.tm-furusato-flow-text-box {
    background-color: var(--tm-white);
    padding: 30px 25px;
    text-align: left;
    box-sizing: border-box;
    flex-grow: 1;
}
.tm-furusato-flow-step-title {
    font-size: 16px; 
    font-weight: bold;
    margin: 0 0 5px 0; 
    line-height: 1.4;
    color: var(--tm-brown);
}
.tm-furusato-flow-step-desc {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}
.tm-furusato-flow-step-desc a {
    color: var(--tm-brown);
    text-decoration: underline;
}

/* -------------------------------------------
   7. Site Section
------------------------------------------- */
.tm-furusato-site-wrapper {
    background-image: url('https://teamorder.jp/wp-content/themes/wp-dcafe/page/furusato/img/washi_br.svg');
    background-repeat: repeat;
    background-color: var(--tm-brown);
    color: var(--tm-white);
}
.tm-furusato-site-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.tm-furusato-site-subtitle {
    font-size: 14px;
    margin: 0 0 40px 0;
    opacity: 0.9;
    color: var(--tm-white);
}
.tm-furusato-site-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.tm-furusato-site-card {
    background-color: var(--tm-white);
    border-radius: 24px;
    padding: 30px 20px;
    width: calc(25% - 15px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 220px;
    box-shadow: 5px 5px 5px 1px rgba(96, 70, 21, 0.6);
    text-decoration: none;
}
.tm-furusato-site-logo-wrap {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
}
.tm-furusato-site-logo-wrap img {
    max-width: 90%;
    height: auto;
}
.tm-furusato-site-btn {
    display: block;
    width: 100%;
    max-width: 160px;
    background-color: var(--tm-blue);
    color: var(--tm-black);
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 0;
    border-radius: 30px;
    transition: opacity 0.3s ease;
    text-align: center;
}
.tm-furusato-site-card:hover .tm-furusato-site-btn {
    opacity: 0.8;
}

/* -------------------------------------------
   8. Caution Section
------------------------------------------- */
.tm-furusato-caution-wrapper {
    background-color: var(--tm-white);
    color: var(--tm-brown);
}
.tm-furusato-caution-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.tm-furusato-caution-box {
    background-color: var(--tm-beige);
    border-radius: 12px;
    padding: 50px;
    text-align: left;
    display: inline-block;
    width: 100%;
    max-width: 700px;
    box-sizing: border-box;
    margin-top: 30px;
}
.tm-furusato-caution-list {
    padding: 0;
    margin: 0;
}
.tm-furusato-caution-list li {
    margin-bottom: 7px;
    line-height: 1.5; /* ←1.5に変更 */
}
.tm-furusato-caution-list li:last-child {
    margin-bottom: 0;
}
.tm-furusato-caution-list strong {
    font-size: 14px;
    display: block;
    font-weight: 400; 
}
.tm-furusato-caution-list span {
    font-size: 13px;
    display: block;
}

/* -------------------------------------------
   スマホ表示 (768px以下)の調整
------------------------------------------- */
@media (max-width: 768px) {
    .tm-furusato-pc-br { display: none; }
    .tm-furusato-sp-br { display: inline; }

    /* 各セクションタイトルのフォントサイズ統合 */
    .tm-sec-title { font-size: 30px; }

    /* ラッパーのパディング指定の統合 */
    .tm-furusato-lineup-wrapper,
    .tm-furusato-flow-wrapper,
    .tm-furusato-site-wrapper {
        padding: 60px 15px 90px 15px;
    }

    /* Hero */
    .tm-furusato-hero-wrapper { padding: 40px 15px; }
    .tm-furusato-hero-image {
        width: 90%; max-width: 600px; height: auto; margin: 0 auto; display: block;
    }
    
    /* Logos */
    .tm-furusato-logos-inner { flex-wrap: nowrap; gap: 10px; justify-content: space-between; }
    .tm-furusato-logo { flex: 1; width: auto; }
    .tm-furusato-logo img { max-width: 100%; height: auto; max-height: 35px; object-fit: contain; }

    /* Message */
    .tm-furusato-message-wrapper { padding: 40px 15px; }
    .tm-furusato-message-text { font-size: 14px; line-height: 2; }

    /* Menu Buttons */
    .tm-furusato-menu-wrapper { padding: 30px 15px; }
    .tm-furusato-menu-inner { gap: 10px; }
    .tm-furusato-menu-btn { padding: 5px 10px; font-size: 11px; }

    /* Lineup & Target Cards */
    .tm-furusato-tickets { gap: 30px 10px; justify-content: flex-start; }
    .tm-furusato-ticket { width: calc(50% - 5px); }
    .tm-furusato-price-label { font-size: 10px; padding: 2px 4px; }
    .tm-furusato-price-value { font-size: 13px; }
    .tm-furusato-lineup-btn { padding: 25px 100px; }

    .tm-furusato-target-cards { flex-direction: column; gap: 15px; }
    .tm-furusato-target-card { max-width: 100%; padding: 25px 15px; }
    .tm-furusato-target-note { display: block; margin-top: -3px; line-height: 1.4; padding-left: 1em; }

    /* Flow */
    .tm-furusato-flow-steps { flex-direction: column; align-items: center; gap: 20px; }
    .tm-furusato-flow-step { max-width: 100%; width: 100%; }
    .tm-furusato-flow-arrow::after {
        border-width: 20px 15px 0 15px; 
        border-color: #d7cebc transparent transparent transparent;
    }

    /* Site */
    .tm-furusato-site-cards { gap: 15px; }
    .tm-furusato-site-card { width: calc(50% - 7.5px); padding: 20px 10px; min-height: 180px; }
    .tm-furusato-site-btn { padding: 10px 0; max-width: 120px; }

    /* Caution */
    .tm-furusato-caution-wrapper { padding: 60px 15px 20px 15px; }
    .tm-furusato-caution-title { margin-bottom: 20px; }
    .tm-furusato-caution-box { padding: 30px 10px 30px 40px; }
}