/* ===== THINK SALON - 独自レイアウト CSS v5 ===== */

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

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.7;
  padding: 0;
  margin: 0;
}

a:link, a:visited { text-decoration: none; color: inherit; }
a:active { text-decoration: none; }
a:hover { text-decoration: none; opacity: 0.8; }

/* Jimdoデフォルトのオレンジ色見出しを上書き */
h1, h2, h3 { color: #1a1a1a !important; }
p  { font: 400 13px/1.8 'Helvetica Neue', Arial, sans-serif; }

/* ===== レイアウト ===== */
#container { width: 100%; max-width: 100%; margin: 0; padding: 0; background: #ffffff; }

/* ヘッダー：Jimdoの青いバーを上書き */
#header {
  width: 100%;
  background: #ffffff !important;
  text-align: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(26,26,26,0.1);
}
#header h1 {
  font-size: 20px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em;
  color: #1a1a1a !important;
  background: none !important;
}
#header img { max-height: 70px; width: auto; }

/* ナビ・サイドバー完全非表示 */
#navigation { display: none !important; }
#sidebar { display: none !important; }
nav { display: none !important; }
ul.mainNav1, ul.mainNav2, ul.mainNav3 { display: none !important; }

/* コンテンツエリア：幅いっぱい */
#content { width: 100%; float: none; padding: 0; margin: 0; }

/* フッター */
#footer { clear: both; width: 100%; background: #1a1a1a; height: auto; margin-top: 0; }
#footer .gutter { padding: 1.5rem 5%; height: auto; font-size: 12px; color: rgba(255,255,255,0.4); }

/* ===== THINK コンテンツスタイル ===== */
#tw * { box-sizing: border-box; }
#tw { width: 100%; background: #fff; color: #1a1a1a; }
#tw a { text-decoration: none; color: inherit; }
#tw a:hover { opacity: 0.8; text-decoration: none; }
#tw h1, #tw h2 { color: inherit !important; background: none !important; }

/* フローティング求人・クイックナビバー（PC・スマホ両対応） */
#tw .qnav {
  position: fixed; right: 0; top: 50%;
  transform: translateY(-50%); z-index: 9999;
  display: flex; flex-direction: column; gap: 1px;
}
#tw .qnav a {
  display: block; background: #1a1a1a; color: #fff !important;
  font-size: 11px; letter-spacing: 0.06em;
  padding: 12px 6px; text-align: center;
  writing-mode: vertical-rl; text-decoration: none; opacity: 1;
  min-height: 70px;
}
#tw .qnav a.accent { background: #555; }
#tw .qnav a:hover { background: #444; opacity: 1; }

/* スマホ：下部固定バーに変更 */
@media(max-width:640px){
  #tw .qnav {
    position: fixed; right: 0; left: 0; top: auto; bottom: 0;
    transform: none; flex-direction: row; gap: 1px;
    width: 100%;
  }
  #tw .qnav a {
    flex: 1; writing-mode: horizontal-tb; padding: 12px 4px;
    font-size: 11px; min-height: auto;
  }
}

/* ヒーロー */
#tw .hero { padding: 4rem 5% 3.5rem; border-bottom: 1px solid rgba(26,26,26,0.1); }
#tw .eyebrow { font-size: 11px; letter-spacing: 0.16em; color: #888; margin-bottom: 1.2rem; }
#tw .hero h1 { font-size: 36px; font-weight: 400; line-height: 1.2; color: #1a1a1a !important; margin-bottom: 1.2rem; }
#tw .hero h1 em { font-style: italic; font-weight: 300; }
#tw .hero p { font-size: 14px; color: #888; line-height: 1.85; max-width: 560px; margin-bottom: 2rem; }
#tw .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
#tw .bp { font-size: 12px; letter-spacing: 0.08em; padding: 12px 28px; background: #1a1a1a; color: #fff !important; border-radius: 2px; display: inline-block; opacity: 1; }
#tw .bp:hover { opacity: 0.8; }
#tw .bs { font-size: 12px; letter-spacing: 0.08em; padding: 12px 28px; background: #fff; color: #1a1a1a !important; border: 2px solid #1a1a1a !important; border-radius: 2px; display: inline-block; font-weight: 500; }

/* 数字バー */
#tw .stats { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid rgba(26,26,26,0.1); }
#tw .stat { padding: 1.3rem 5%; border-right: 1px solid rgba(26,26,26,0.1); }
#tw .stat:last-child { border-right: none; }
#tw .sn { font-size: 24px; font-weight: 500; }
#tw .sl { font-size: 11px; color: #6b6b6b !important; margin-top: 2px; }

/* セクション共通 */
#tw .sec { padding: 2.4rem 5%; border-bottom: 1px solid rgba(26,26,26,0.1); }
#tw .sh { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.6rem; }
#tw .st { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; }
#tw .ss { font-size: 11px; color: #6b6b6b !important; }

/* 強み */
#tw .features { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: rgba(26,26,26,0.1); }
#tw .feature { background: #fff; padding: 1.5rem; }
#tw .ft { font-size: 14px; font-weight: 500; margin-bottom: 8px; }
#tw .fd { font-size: 13px; color: #6b6b6b !important; line-height: 1.75; }

/* 求人（黒背景）：スマホでpadding調整 */
#tw .recruit { padding: 3rem 5%; background: #1a1a1a; border-bottom: 1px solid #333; }
#tw .recruit .st { color: rgba(255,255,255,0.4) !important; }
#tw .rl { font-size: 28px; font-weight: 400; color: #fff !important; line-height: 1.35; margin-bottom: 0.8rem; }
#tw .rs { font-size: 13px; color: rgba(255,255,255,0.65) !important; line-height: 1.8; margin-bottom: 2rem; max-width: 600px; }
#tw .rcard { border: 1px solid rgba(255,255,255,0.15); border-radius: 5px; padding: 1.8rem; background: rgba(255,255,255,0.05); margin-bottom: 1.4rem; }
#tw .rtype { font-size: 10px; letter-spacing: 0.14em; color: rgba(255,255,255,0.35) !important; margin-bottom: 6px; }
#tw .rtitle { font-size: 18px; font-weight: 500; color: #fff !important; margin-bottom: 14px; }
#tw .rpts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 1.4rem; }
#tw .rpts li { font-size: 12px; color: rgba(255,255,255,0.7) !important; padding: 4px 0; line-height: 1.5; }
#tw .rpts li::before { content: '—'; margin-right: 8px; color: rgba(255,255,255,0.3); }
#tw .rbtn { font-size: 13px; padding: 13px 0; width: 100%; background: #fff !important; color: #1a1a1a !important; border: none; border-radius: 2px; display: block; text-align: center; letter-spacing: 0.06em; font-weight: 600; }
#tw .rappeal { background: rgba(255,255,255,0.06); border-radius: 5px; padding: 1.3rem; }
#tw .rat { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.55) !important; margin-bottom: 10px; letter-spacing: 0.1em; }
#tw .ral { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
#tw .rai { font-size: 11px; color: rgba(255,255,255,0.55) !important; }
#tw .rai::before { content: '✓'; margin-right: 5px; color: #fff; }

/* タブ */
#tw .tabs { display: flex; border-bottom: 1px solid rgba(26,26,26,0.1); margin-bottom: 1rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
#tw .tab { font-size: 13px; font-weight: 500; padding: 8px 16px; cursor: pointer; color: #999 !important; border: none; border-bottom: 2px solid transparent; background: none; white-space: nowrap; font-family: inherit; }
#tw .tab.on { color: #1a1a1a !important; border-bottom-color: #1a1a1a; font-weight: 600; }
#tw .tc { display: none; }
#tw .tc.on { display: block; }
#tw table { width: 100%; border-collapse: collapse; }
#tw table tr { border-bottom: 1px solid rgba(26,26,26,0.07); }
#tw table tr:last-child { border-bottom: none; }
#tw table td { padding: 10px 0; font-size: 13px; vertical-align: top; }
#tw .mn { font-size: 14px; font-weight: 500; color: #1a1a1a !important; }
#tw .md { font-size: 11px; color: #6b6b6b !important; margin-top: 2px; }
#tw .mp { font-size: 14px; text-align: right; font-weight: 600; white-space: nowrap; min-width: 90px; color: #1a1a1a !important; }

/* クーポン */
#tw .cg { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
#tw .coup { border: 1px solid rgba(26,26,26,0.12); border-radius: 5px; padding: 1.2rem 1.2rem 1.2rem 1.4rem; position: relative; overflow: hidden; }
#tw .coup::before { content:''; position: absolute; left:0; top:0; bottom:0; width:3px; background:#1a1a1a; }
#tw .cbadge { display:inline-block; font-size:9px; font-weight: 600; letter-spacing:0.1em; padding:2px 8px; background:#1a1a1a; color:#fff !important; border-radius:2px; margin-bottom:8px; }
#tw .ct { font-size: 14px; font-weight: 600; margin-bottom: 4px; line-height: 1.4; color: #1a1a1a !important; }
#tw .co { font-size: 11px; color: #aaa !important; text-decoration: line-through; }
#tw .cp { font-size: 22px; font-weight: 700; margin: 4px 0; color: #1a1a1a !important; }
#tw .cp span { font-size: 11px; font-weight: 400; }
#tw .cbtn { font-size: 10px; font-weight: 600; padding: 8px 0; width: 100%; background: #fff !important; border: 2px solid #1a1a1a !important; color: #1a1a1a !important; border-radius: 2px; margin-top: 10px; display: block; text-align: center; }
#tw .cbtn:hover { background: #1a1a1a !important; color: #fff !important; }

/* コンセプト */
#tw .concept { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; margin-bottom: 2rem; }
#tw .cl { font-size: 24px; font-weight: 400; line-height: 1.4; margin-bottom: 0.8rem; color: #1a1a1a !important; }
#tw .cb { font-size: 13px; color: #6b6b6b !important; line-height: 1.9; }
#tw .ci { height: 220px; background: #f5f5f3; border-radius: 5px; overflow: hidden; }
#tw .ci img { width: 100%; height: 100%; object-fit: cover; }

/* スタッフ */
#tw .staff { display: flex; gap: 1.5rem; align-items: flex-start; border: 1px solid rgba(26,26,26,0.1); border-radius: 5px; padding: 1.5rem; }
#tw .simg { width: 80px; height: 80px; border-radius: 50%; background: #f0f0ee; flex-shrink: 0; overflow: hidden; }
#tw .simg img { width: 100%; height: 100%; object-fit: cover; }
#tw .sname { font-size: 16px; font-weight: 500; margin-bottom: 3px; color: #1a1a1a !important; }
#tw .srole { font-size: 10px; letter-spacing: 0.12em; color: #aaa !important; margin-bottom: 8px; }
#tw .sdesc { font-size: 13px; color: #6b6b6b !important; line-height: 1.75; }

/* マップ */
#tw .map iframe { width: 100%; height: 320px; border: none; display: block; border-radius: 5px; }
#tw .igrid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: rgba(26,26,26,0.1); border-radius: 5px; overflow: hidden; margin-top: 1.5rem; }
#tw .ii { background: #fff; padding: 1rem 1.3rem; }
#tw .ik { font-size: 10px; letter-spacing: 0.1em; color: #aaa !important; margin-bottom: 4px; }
#tw .iv { font-size: 13px; line-height: 1.55; color: #1a1a1a !important; }

/* 口コミ */
#tw .rnote { font-size: 12px; color: #6b6b6b !important; line-height: 1.7; margin-bottom: 1.2rem; padding: 1rem; background: #f9f9f7; border-radius: 4px; }
#tw .rev { padding: 1.1rem 0; border-bottom: 1px solid rgba(26,26,26,0.07); }
#tw .rev:last-child { border-bottom: none; }
#tw .rstars { font-size: 13px; margin-bottom: 5px; color: #1a1a1a !important; }
#tw .rtxt { font-size: 13px; color: #555 !important; line-height: 1.75; }
#tw .rmeta { font-size: 11px; color: #aaa !important; margin-top: 5px; }

/* フッター（黒） */
#tw .footer { padding: 2.5rem 5%; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; background: #1a1a1a; }
#tw .flogo { font-size: 17px; font-weight: 500; letter-spacing: 0.14em; color: #fff !important; margin-bottom: 10px; }
#tw .ftag { font-size: 12px; color: rgba(255,255,255,0.5) !important; line-height: 1.9; }
#tw .flt { font-size: 10px; letter-spacing: 0.14em; color: rgba(255,255,255,0.3) !important; margin-bottom: 12px; }
#tw .fl { display: block; font-size: 12px; color: rgba(255,255,255,0.5) !important; padding: 4px 0; }
#tw .fl:hover { color: #fff !important; }
#tw .fb { grid-column: 1/-1; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 11px; color: rgba(255,255,255,0.25) !important; }

/* レスポンシブ */
@media(max-width:640px){
  #tw .hero { padding: 2.5rem 5% 2rem; }
  #tw .hero h1 { font-size: 26px; }
  #tw .features,#tw .concept,#tw .cg,#tw .igrid,#tw .ral,#tw .rpts { grid-template-columns: 1fr; }
  #tw .stats { grid-template-columns: 1fr; }
  #tw .stat { border-right: none; border-bottom: 1px solid rgba(26,26,26,0.1); }
  #tw .footer { grid-template-columns: 1fr; padding: 2rem 5% 4.5rem; }
  #tw .recruit { padding: 2.5rem 5%; }
  #tw .rl { font-size: 22px; }
  #tw .staff { flex-direction: column; }
  #tw .sec { padding: 2rem 5%; padding-bottom: calc(2rem + 50px); }
  body { padding-bottom: 50px; }
}

/* ===== スマホ文字サイズ拡大 ===== */
@media(max-width:640px){
  body { font-size: 16px; }
  #header h1 { font-size: 22px !important; }
  
  #tw .eyebrow { font-size: 13px; }
  #tw .hero h1 { font-size: 30px !important; line-height: 1.3; }
  #tw .hero p { font-size: 16px; line-height: 1.8; }
  #tw .bp, #tw .bs { font-size: 15px; padding: 14px 24px; }

  #tw .sn { font-size: 28px; }
  #tw .sl { font-size: 13px; }

  #tw .st { font-size: 13px; }
  #tw .ss { font-size: 13px; }

  #tw .ft { font-size: 16px; }
  #tw .fd { font-size: 14px; }

  #tw .rl { font-size: 26px !important; }
  #tw .rs { font-size: 15px; }
  #tw .rtitle { font-size: 20px; }
  #tw .rpts li { font-size: 14px; }
  #tw .rbtn { font-size: 15px; padding: 15px 0; }
  #tw .rat { font-size: 13px; }
  #tw .rai { font-size: 13px; }

  #tw .tab { font-size: 15px; padding: 10px 18px; }
  #tw .mn { font-size: 16px; }
  #tw .md { font-size: 13px; }
  #tw .mp { font-size: 16px; }

  #tw .ct { font-size: 16px; }
  #tw .cp { font-size: 26px; }
  #tw .co { font-size: 13px; }
  #tw .cbtn { font-size: 13px; padding: 10px 0; }
  #tw .cbadge { font-size: 11px; }

  #tw .cl { font-size: 26px; }
  #tw .cb { font-size: 15px; }

  #tw .sname { font-size: 18px; }
  #tw .srole { font-size: 12px; }
  #tw .sdesc { font-size: 15px; }

  #tw .ik { font-size: 12px; }
  #tw .iv { font-size: 15px; }

  #tw .rnote { font-size: 14px; }
  #tw .rstars { font-size: 15px; }
  #tw .rtxt { font-size: 15px; }
  #tw .rmeta { font-size: 13px; }

  #tw .flogo { font-size: 19px; }
  #tw .ftag { font-size: 14px; }
  #tw .fl { font-size: 14px; padding: 6px 0; }
  #tw .fb { font-size: 12px; }

  /* 下部固定クイックナビの文字も大きく */
  #tw .qnav a { font-size: 13px; padding: 14px 4px; font-weight: 600; }
}