@charset "UTF-8";

/*-----------------------------------------------------
TOPページのTabメニュー用
FileName:	defualt/style.css
Version:	06.11.11
-----------------------------------------------------*/



/*
.tabs {
  display: flex;
  list-style: none;
  padding: 0;
  margin-bottom: 1em;
  border-bottom: 1px solid #d8cfc2;
}

.tab {
  padding: 0.8em 1.2em;
  cursor: pointer;
  background: #f2ede7;
  margin-right: 0.5em;
  border-radius: 8px 8px 0 0;
  font-weight: bold;
  transition: background 0.3s;
}
*/


.tabs {
  display: flex;
  flex-wrap: nowrap; /* 折り返しを防ぐ */
  overflow-x: auto;  /* 横スクロールを許可 */
  -webkit-overflow-scrolling: touch; /* スマホで滑らかスクロール */
  scrollbar-width: thin; /* Firefox用 */
  gap: 0.5em;
  padding-bottom: 0.5em;
  list-style: none;
  margin-bottom: 5px;
}

.tab {
  white-space: nowrap; /* 文字の折り返しを防ぐ */
  flex: 0 0 auto; /* 幅を固定し、縮まないように */
  padding: 0.4em 1.0em;
  background: #f5f5f5;
  border-radius: 8px;
  font-weight: none;
  font-size: 0.8em;
  transition: background 0.3s;
}


.tab.active {
  background: #fff;
  border-bottom: 2px solid #4a3c2f;
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.tab-content.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1em;
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 50px;
}

.card {
  background: #fff;
  border: 1px solid #e0d8cc;
  border-radius: 12px;
  padding: 1em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: center;
  font-size: 1.0em;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

//lingerica.comへのリンク
/*
.global-links a {
  font-weight: bold;
  color: #4a3c2f;
  background: #f2ede7;
  padding: 0.5em 1em;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.global-links a:hover {
  background: #e0d8cc;
}
*/
.global-link {
  font-weight: bold;
  color: #4a3c2f;
  background: #f2ede7;
  padding: 0.5em 1em;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.global-link:hover {
  background: #e0d8cc;
}


//カード型リンクの画像バージョン
.thumb-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #4a3c2f;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.thumb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.thumb {
  background-size: cover;
  background-position: center;
  aspect-ratio: 16 / 9;
  position: relative;
}

.thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6em;
  background: rgba(255,255,255,0.85);
  font-weight: bold;
  font-size: 0.95em;
  text-align: center;
}


