/*- themeid=carp202603;
--------------------------------*/

/* ==============================
   基本
============================== */
body{
  color: #ffffff;
  background-color: #E50012;
  background-repeat: no-repeat;
  margin: 0;
  font-size: 100%;
}

h1{
  color: #fffcfc;
  margin: 0;
  font-size: 140%;
  font-weight: bold;
}

h1#okadrentacarTitle{
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1.3;
  padding: 0.5rem 0;
}

h2{
  color: #ffffff;
  margin: 0 0 0.75rem 0;
  font-size: clamp(1.2rem, 2.8vw, 1.7rem);
  font-weight: bold;
}

h3{
  color: #ffffff;
  margin: 0;
  font-size: 125%;
  font-weight: bold;
}

h4{
  color: #ffffff;
  margin: 0;
  font-size: 119%;
  font-weight: bold;
}

h5{
  color: #ffffff;
  margin: 0;
  font-size: 110%;
  font-weight: bold;
}

h6{
  color: #ffffff;
  margin: 0;
  font-size: 100%;
  font-weight: bold;
}

address,
blockquote,
pre{
  color: #ffffff;
}

p{
  color: #ffffff;
  margin: 0 0 1rem 0;
  font-weight: normal;
}

ul{
  color: #ffffff;
  margin: 0 0 1rem 1.25rem;
  padding: 0;
  list-style-position: outside;
  list-style-type: disc;
}

th{
  color: #000000;
  background-color: #f6efef;
  border: 1px solid #868686;
  font-size: 0.9rem;
}

a:link{
  color: #fff59d;
  text-decoration: none;
}

a:visited{
  color: #f3d1ff;
  text-decoration: none;
}

a:hover{
  color: #ffffff;
  text-decoration: underline;
}

#carp2026_sub{
	font-size: 150%;
	text-align: center;
}

/* ==============================
   レイアウト
============================== */
.inner{
  width: min(100% - 32px, 850px);
  margin: 0 auto;
}

header.inner{
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

section{
  padding-top: 20px;
  line-height: 1.8;
}

footer{
  text-align: center;
  padding: 40px 0 24px;
  font-size: 0.95rem;
}

/* ==============================
   ナビ
============================== */
header nav{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  margin-top: 12px;
}

header nav a{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.14);
  color: #ffffff;
  font-weight: bold;
  line-height: 1.3;
  flex: 1 1 160px;
  max-width: 240px;
}

header nav a:hover{
  background: rgba(255,255,255,0.24);
  text-decoration: none;
}

/* ==============================
   画像
============================== */
#carptour2026_top img{
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* ==============================
   テーブル
============================== */
.table-wrap{
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

table.schedule{
  width: 100%;
  min-width: 640px; /* これ以下では横スクロール */
  border-collapse: collapse;
  background-color: #ffffff;
  color: #222222;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  table-layout: fixed; /* 列幅の暴れを抑える */
}

table.schedule th,
table.schedule td{
  border: 1px solid #b5b5b5;
  padding: 6px 6px;
  text-align: center;
  vertical-align: middle;
  line-height: 1.4;
  word-break: keep-all; /* 日本語を不自然に分断しにくい */
}

table.schedule th{
  background-color: #f3f3f3;
  color: #111111;
  font-weight: 700;
  white-space: nowrap;
}

table.schedule td{
  background-color: #ffffff;
}

table.schedule tr:nth-child(even) td{
  background-color: #fafafa;
}

table.schedule td img{
  max-width: 120px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* ==============================
   個別要素
============================== */
section#tuktuk,
section#paypay,
section#bus{
  text-align: center;
}

span.blueLetter{
  color: #003cff;
}

span.orangeredLetter{
  color: orangered;
}

span.redLetter{
  color: #ffeb3b;
  font-weight: bold;
}

td.title{
  text-align: center;
  background-color: #ffb56a;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
}

td.contents{
  text-align: center;
}

span.shamei{
  text-align: center;
  font-weight: 800;
  color: #ffffff;
  font-size: x-large;
}

span.kyocho{
  text-align: center;
  font-weight: 800;
  color: #ffffff;
  font-size: x-large;
}

span#southernseto{
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
}

.table-wrap{
  width: 100%;
}

@media (max-width: 768px){
  .table-wrap{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
/* ==============================
   スマホ・タブレット対応
============================== */
@media (max-width: 768px){
  .inner{
    width: min(100% - 24px, 850px);
  }

  h1#okadrentacarTitle{
    font-size: 1.45rem;
  }

  header nav{
    gap: 6px;
  }

  header nav a{
    flex: 1 1 calc(50% - 6px);
    max-width: none;
    padding: 0.8rem 0.5rem;
    font-size: 0.95rem;
  }

  section{
    padding-top: 16px;
  }

  table.schedule{
    min-width: 0;
  }

  section .schedule{
    font-size: 1rem;
  }
}

/* 480px以下 */
@media (max-width: 480px){
  body{
    font-size: 95%;
  }

  .inner{
    width: min(100% - 20px, 850px);
  }

  h1#okadrentacarTitle{
    font-size: 1.25rem;
  }

  h2{
    font-size: 1.15rem;
  }

  header nav{
    flex-direction: column;
    align-items: stretch;
  }

  header nav a{
    flex: none;
    width: 100%;
    font-size: 0.95rem;
  }

  table.schedule{
    min-width: 0;
    font-size: 0.9rem;
  }

/*
  th.schedule,
  table.schedule td{
    padding: 0.75rem 0.5rem;
  }
*/

table.schedule th,
  table.schedule td{
    padding: 0.75rem 0.5rem;
  }

  footer{
    padding-top: 32px;
    font-size: 0.85rem;
  }
}

/* ==============================
   カープページではダークモードでも赤背景維持
============================== */
@media (prefers-color-scheme: dark){
  body{
    background-color: #E50012;
    color: #ffffff;
  }

  header nav a{
    color: #ffffff;
  }

  footer{
    background-color: transparent;
    color: #ffffff;
  }
}