
/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: arial, sans-serif;
  font-size: 14px;
  color: #202124;
  background: #fff;
}

/* ヘッダー　グローバルメニュー */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    /*position: relative;*/
    position: fixed;      /* 画面に固定 */
    top: 0;               /* 一番上に配置 */
    left: 0;              /* 左端から配置 */
    width: 100%;          /* 横幅を画面いっぱいに */
    z-index: 1000;        /* 他の要素より前面に表示 */
    box-sizing: border-box; /* paddingを含めたサイズ計算 */
}
.nav {display:inline;}
.nav-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-list a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #fff;
}
 /* activeなメニュー色 */
.nav-list a.active {
  background-color: #fff; /* 背景白色 */
  color: #000;
}
 /* ホバー時、やや明るい色 */
.nav-list a:hover {
  background-color: #767676; /* やや明るい色 */
  text-decoration: none;
  color: #fff;
}

/* スマホ用スタイル（初期状態） */
.hamburger {
    display: none; /* PCでは非表示 */
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 100;
}
.hamburger-bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    transition: all 0.3s;
}
.hamburger-bar:nth-child(1) { top: 0; }
.hamburger-bar:nth-child(2) { top: 8px;}
.hamburger-bar:nth-child(3) { top: 16px;}

/* 768px未満（スマホ・タブレット） */
@media (max-width: 768px) {
    .hamburger { display: block; } /* スマホでハンバーガー表示 */
    .nav {
        display: none; /* 通常メニューは隠す */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #333;
        text-align: center;
    }
    .nav-list {
        display: block; /* 縦並びに */
        padding: 20px 0;
    }
    .nav-list li { margin: 10px 0; }
    
    /* メニュー表示時のクラス */
    .nav.is-active { display: block; }
    
    /* ハンバーガーのアニメーション（省略可能） */
    .hamburger.is-active .hamburger-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.is-active .hamburger-bar:nth-child(2) { opacity: 0; }
    .hamburger.is-active .hamburger-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ===== LOADING SPINNER ===== */
.inprogress {
  height: 100vh;
  display: none;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  background: rgba(255,255,255,0.92);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
}
.inprogress p { color: #5f6368; margin-top: 16px; font-size: 14px; }
.spinner {
  width: 36px; height: 36px;
  border: 3px solid #e8eaed;
  border-top: 3px solid #4285f4;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== TOP BAR ===== */
/* ===== TOP BAR（main-search-rowのみ・固定） ===== */
.top-bar {
  position: relative;
  top: 88px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid #e8eaed;
  padding: 10px 20px;
  z-index: 900;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  overflow-x: hidden;
  box-sizing: border-box;
}

/* ===== MAIN SEARCH ROW ===== */
.main-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;  /* 横中央 */
  max-width: 900px;
  margin: 0 auto;
}

.search-box-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  padding: 0 14px;
  height: 42px;
  background: #fff;
  flex: 1;
  min-width: 200px;
  max-width: 560px;
  gap: 8px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.search-box-wrapper:hover,
.search-box-wrapper:focus-within {
  box-shadow: 0 1px 6px rgba(32,33,36,0.28);
  border-color: rgba(223,225,229,0);
}
.search-icon { color: #9aa0a6; display: flex; align-items: center; flex-shrink: 0; }
.search-box-wrapper input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: #202124;
  background: transparent;
  caret-color: #4285f4;
  min-width: 0;
}
.search-box-wrapper input[type="text"]::placeholder { color: #9aa0a6; }

/* Per-page inline */
.per-page-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #5f6368;
  font-size: 13px;
  white-space: nowrap;
}
.per-page-inline select {
  border: 1px solid #dadce0;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 13px;
  color: #202124;
  background: #fff;
  outline: none;
  cursor: pointer;
  height: 32px;
}
.per-page-inline select:focus {
  border-color: #4285f4;
  box-shadow: 0 0 0 2px rgba(66,133,244,0.15);
}

/* Buttons */
.btn-g {
  background-color: #f8f9fa;
  border: 1px solid #f8f9fa;
  border-radius: 4px;
  color: #3c4043;
  font-size: 14px;
  padding: 0 16px;
  height: 36px;
  cursor: pointer;
  white-space: nowrap;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.btn-g:hover {
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
  border-color: #dadce0;
  color: #202124;
}
.btn-g-primary {
  background-color: #1a73e8;
  border-color: #1a73e8;
  color: #fff;
}
.btn-g-primary:hover {
  background-color: #1765cc;
  border-color: #1765cc;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ===== KEYWORD BUILDER ===== */
.kw-builder {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.kw-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.kw-row span {
  font-size: 12px;
  color: #5f6368;
  white-space: nowrap;
  width: 80px;
  flex-shrink: 0;
  text-align: right;
}
.kw-row input[type="text"] {
  flex: 1;
  border: 1px solid #dadce0;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 13px;
  outline: none;
}
.kw-row input[type="text"]:focus {
  border-color: #4285f4;
  box-shadow: 0 0 0 2px rgba(66,133,244,0.15);
}
.kw-hint {
  font-size: 11px;
  color: #9aa0a6;
  margin-top: 2px;
  padding-left: 88px;
}

/* ===== FILTER BUTTON ===== */
.btn-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 20px;
  color: #3c4043;
  font-size: 13px;
  padding: 0 14px;
  height: 36px;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn-filter:hover {
  background: #f1f3f4;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.btn-filter svg { flex-shrink: 0; }

/* ===== MODAL OVERLAY ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(32,33,36,0.4);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;  /* 横中央 */
  padding-top: 70px;
}
.modal-overlay.open { display: flex; }

/* ===== MODAL PANEL ===== */
.modal-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalIn 0.18s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid #e8eaed;
  flex-shrink: 0;
}
.modal-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #202124;
}
.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #5f6368;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  transition: background 0.15s;
}
.modal-close:hover { background: #f1f3f4; }

.modal-body {
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 20px;
  border-top: 1px solid #e8eaed;
  flex-shrink: 0;
}

/* Advanced body (inside modal) */
.advanced-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Fieldset cards */
.g-fieldset {
  border: 1px solid #e8eaed;
  border-radius: 8px;
  padding: 10px 14px 12px;
  background: #fff;
}
.g-fieldset legend {
  font-size: 11px;
  font-weight: 600;
  color: #5f6368;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 6px;
}

/* Radio / checkbox groups */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 8px;
  align-items: center;
}
.radio-group label {
  display: flex; align-items: center;
  gap: 5px; font-size: 13px;
  cursor: pointer; color: #202124;
}
.radio-group input[type="radio"] { accent-color: #4285f4; }

/* Date inputs */
.date-inputs {
  display: flex; align-items: center;
  gap: 8px; margin-top: 8px; flex-wrap: wrap;
}
.date-inputs input[type="date"] {
  border: 1px solid #dadce0; border-radius: 4px;
  padding: 5px 8px; font-size: 13px; color: #202124;
  outline: none;
}
.date-inputs input[type="date"]:focus {
  border-color: #4285f4;
  box-shadow: 0 0 0 2px rgba(66,133,244,0.15);
}
.date-sep { color: #70757a; font-size: 13px; }

/* Org input */
.org-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.org-row label { font-size: 13px; white-space: nowrap; }
.org-row input[type="text"] {
  flex: 1; max-width: 320px;
  border: 1px solid #dadce0; border-radius: 4px;
  padding: 5px 10px; font-size: 13px; outline: none;
}
.org-row input[type="text"]:focus {
  border-color: #4285f4;
  box-shadow: 0 0 0 2px rgba(66,133,244,0.15);
}
.hint-text { font-size: 11px; color: #9aa0a6; margin-top: 4px; }

/* Preset tags */
.preset-fieldset {
  border: 1px solid #e8eaed; border-radius: 8px;
  padding: 10px 14px 12px;
}
.preset-fieldset legend {
  font-size: 11px; font-weight: 600;
  color: #5f6368; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 0 6px;
}
.preset-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.preset-tags button {
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 16px;
  color: #1a73e8;
  font-size: 12px;
  padding: 4px 12px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.preset-tags button:hover {
  background: #e8f0fe;
  border-color: #4285f4;
}

/* Prefecture area */
.area-fieldset {
  border: 1px solid #e8eaed; border-radius: 8px;
  padding: 10px 14px 14px;
}
.area-fieldset legend {
  font-size: 11px; font-weight: 600;
  color: #5f6368; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 0 6px;
}
.area-header {
  display: flex; justify-content: flex-end;
  margin-top: 4px;
}
.btn-clear-area {
  font-size: 12px; color: #1a73e8;
  border: 1px solid #dadce0; border-radius: 4px;
  padding: 2px 10px; background: #fff;
  cursor: pointer;
}
.btn-clear-area:hover { background: #e8f0fe; }
.pref-alone {
  display: flex; flex-wrap: wrap;
  gap: 4px 12px; margin-top: 8px;
}
.pref-alone label {
  display: flex; align-items: center;
  gap: 4px; font-size: 13px; cursor: pointer;
}
.area-dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 6px 12px;
  margin-top: 8px; align-items: start;
}
.area-dl dt label {
  display: flex; align-items: center;
  gap: 4px; font-size: 13px; font-weight: 600;
  color: #3c4043; cursor: pointer;
  white-space: nowrap; padding-top: 3px;
}
.area-dl dd {
  display: flex; flex-wrap: wrap; gap: 3px 10px;
}
.area-dl dd label {
  display: flex; align-items: center;
  gap: 3px; font-size: 12px;
  color: #202124; cursor: pointer; white-space: nowrap;
}
.area-dl input[type="checkbox"],
.pref-alone input[type="checkbox"] { accent-color: #4285f4; }

/* ===== CRITERIA / COUNT / PAGINATION ===== */
.criteria {
  font-size: 13px; color: #3c4043;
  margin-top: 0; padding-top: 12px;
}
.criteria strong { color: #202124; }
.criteria ul {
  display: inline-flex; flex-wrap: wrap;
  gap: 0 20px; list-style: none;
  margin-left: 4px;
}
.criteria li { color: #5f6368; }

.count {
  font-size: 13px; color: #5f6368;
  margin-top: 4px;
}
.count strong { color: #202124; }

.pagination {
  display: flex; align-items: center;
  gap: 4px; flex-wrap: wrap;
  margin-top: 6px;
}
/* results-container内のページナビ：センタリング */
.results-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; flex-wrap: wrap;
  padding: 24px 0 8px;
}
.results-pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; height: 32px;
  border-radius: 4px; text-decoration: none;
  color: #1a73e8; font-size: 13px; padding: 0 6px;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.results-pagination a:hover { background: #f1f3f4; border-color: #dadce0; }
.results-pagination a.nav-btn {
  background: #f8f9fa; border: 1px solid #dadce0;
  color: #3c4043; font-size: 12px; padding: 0 10px;
}
.results-pagination a.nav-btn:hover { background: #e8eaed; }
.results-pagination strong {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; height: 32px; padding: 0 6px;
  background: #1a73e8; color: #fff;
  border-radius: 4px; font-size: 13px; font-weight: 600;
}
.results-pagination .muted { color: #9aa0a6; font-size: 12px; }
.pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; height: 32px;
  border-radius: 4px; text-decoration: none;
  color: #1a73e8; font-size: 13px;
  padding: 0 6px;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.pagination a:hover { background: #f1f3f4; border-color: #dadce0; }
.pagination a.nav-btn {
  background: #f8f9fa; border: 1px solid #dadce0;
  color: #3c4043; font-size: 12px; padding: 0 10px;
}
.pagination a.nav-btn:hover { background: #e8eaed; }
.pagination strong {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; height: 32px; padding: 0 6px;
  background: #1a73e8; color: #fff;
  border-radius: 4px; font-size: 13px; font-weight: 600;
}
.pagination .muted { color: #9aa0a6; font-size: 12px; padding: 0 4px; }

/* ===== RESULTS CONTAINER ===== */
.results-container {
  margin-top: 90px;   /* top-barの高さ分 */
  padding: 0;
  background: #f8f9fa;
  min-height: calc(100vh - 64px);
}

/* results-container 内のコンテンツ幅制限 */
.results-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 20px 40px;
}

/* ===== HERO AREA（イニシャル表示） ===== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 40px;
  text-align: center;
  min-height: calc(100vh - 64px);
  background: #fff;
}
.hero-img img { display: block;width: 200px;}
.hero-img span {
  position: relative;
  top: -20px;
  margin-left: 13rem;
  color: gold;
}
.hero-title {
  font-size: 28px;
  font-weight: 400;
  color: #202124;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.hero-title span { color: #4285f4; }
.hero-subtitles {
  margin: 8px 0 16px 0;
  text-align: left;
}
.hero-subtitle {
  font-size: 15px;
  color: #5f6368;
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-tips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 640px;
  margin-bottom: 40px;
}
.hero-tip {
  background: #f8f9fa;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  padding: 14px 18px;
  text-align: left;
  width: 190px;
  flex-shrink: 0;
}
.hero-tip:hover,
.hero-tip:focus-within {
  box-shadow: 0 1px 6px rgba(32,33,36,0.28);
  border-color: rgba(223,225,229,0);
}
.hero-tip-icon {
  font-size: 22px;
  margin-bottom: 6px;
}
.hero-tip-title {
  font-size: 13px;
  font-weight: 600;
  color: #202124;
  margin-bottom: 4px;
}
.hero-tip-desc {
  font-size: 12px;
  color: #5f6368;
  line-height: 1.5;
}
.hero-note {
  font-size: 12px;
  color: #9aa0a6;
  /*border-top: 1px solid #e8eaed;
  padding-top: 20px;*/
  max-width: 480px;
  text-align: left;
}
.indent-1em {
  padding-left: 1em;
  text-indent: -1.2em;
}
.indent-06em {
    padding-left: 1em;
    text-indent: -0.6em;
}

@media screen and (max-width: 768px) {
  .hero { padding: 40px 16px 32px; min-height: calc(100vh - 56px); }
  .hero-title { font-size: 22px; }
  .hero-tip { width: 140px; padding: 12px 14px; }
}

/* ===== RESULT CARDS ===== */
.card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.15s;
}
.card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.12); }

.card h2 {
  font-size: 16px;
  font-weight: 600;
  color: #1a0dab;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f3f4;
  line-height: 1.4;
}
.card p { font-size: 13px; color: #3c4043; margin: 4px 0; line-height: 1.5; }
.card p strong { color: #202124; font-weight: 600; margin-right: 4px; }
.card a { color: #1a73e8; text-decoration: none; }
.card a:hover { text-decoration: underline; }
.card ul { margin: 4px 0 4px 16px; }
.card ul li { font-size: 13px; color: #3c4043; margin: 2px 0; }
.muted { color: #70757a !important; font-size: 12px !important; }

/* Card accordion */
.card details summary {
  cursor: pointer; font-size: 13px;
  color: #1a73e8; font-weight: 500;
  margin-top: 8px; list-style: none;
  display: inline-flex; align-items: center; gap: 4px;
}
.card details summary::-webkit-details-marker { display: none; }
.card details summary::before {
  content: '▶'; font-size: 10px; color: #1a73e8;
  transition: transform 0.2s;
}
.card details[open] summary::before { transform: rotate(90deg); }
.card details summary:hover { text-decoration: underline; }
.card .body {
  background: #f8f9fa;
  border: 1px solid #e8eaed;
  border-radius: 6px;
  padding: 10px 14px;
  margin-top: 8px;
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  color: #3c4043;
  line-height: 1.6;
}

/* Error / empty card */
.card-info {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 14px;
  color: #5f6368;
}
.card-warn {
  border-color: #fce8e6;
  background: #fef7f6;
  color: #c5221f;
}

/* ===== OVERFLOW PREVENTION ===== */
/* カード内の長いURL・テキストの折り返し */
.card, .card p, .card li, .card pre, .card .body {
  overflow-wrap: break-word;
  word-break: break-all;
  max-width: 100%;
}
.card a {
  word-break: break-all;
}
.results-container, .results-inner {
  overflow-x: hidden;
  box-sizing: border-box;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 768px) {
  .top-bar { padding: 8px 12px; }
  .results-container { margin-top: 56px; }
  .results-inner { padding: 46px 12px 32px; }
  .search-box-wrapper { max-width: 100%; }
  .main-search-row { gap: 6px; justify-content: flex-start; }
  .per-page-inline { font-size: 12px; }
  .area-dl { grid-template-columns: 90px 1fr; gap: 4px 8px; }
  .modal-panel { margin: 0 8px; max-height: calc(100vh - 30px); }
  .modal-overlay { padding-top: 5px; align-items: flex-start; }
  .card { padding: 12px 14px; }
  .card h2 { font-size: 14px; }
  .criteria ul { flex-direction: column; gap: 2px; }
  .results-pagination { gap: 2px; padding: 16px 0 4px; }
  .results-pagination a, .results-pagination strong { min-width: 28px; height: 28px; font-size: 12px; }
}

/* --- フッター（footer）スタイル --- */
.main-footer {
  background-color: #333;
  color: #eee;
  padding: 80px 5% 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand { flex: 1.5; }
.footer-nav, .footer-links { flex: 1; }

.footer-logo {
  font-size: 1.0rem;
  color: #fff;
  margin-bottom: 20px;
}

.footer-address {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #ccc;
}

.footer-heading {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: #ff9800;
}

.footer-nav ul, .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li, .footer-links li {
  margin-bottom: 12px;
}

.footer-nav a, .footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-nav a:hover, .footer-links a:hover {
  color: #ff9800;
}

.copyright {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #888;
}

/* ===== <br> PC / SP ===== */
br.sp {
  display: none;
}
@media (max-width: 768px) {
  br.sp {
    display: inline; /* または block */
  }
}

br.pc {
  display: none;
}
@media (max-width: 768px) {
  br.pc {
    display: inline; /* または block */
  }
}
