/*
Theme Name: (C)YoshiJosefToomuch
Theme URI: 
Description: Original Theme by YoshiJosefToomcuh
Version: 1.1
Author: YoshiJosefToomcuh
Author URI: https://yoshijoseftoomuch.com
*/


.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px; /* 例として高さを設定 */
  background-color: rgba(0, 0, 0, 0.7); /* 背景色を半透明（白）に設定 */
  z-index: 888;
  display:flex;  /*ロゴとulを横に並べる*/
  align-items: center;
  padding: 0 5%;
  justify-content:space-between;  /*両端に配置*/

}


body {
  margin: 0;
  padding: 0;
  padding-top: 70px;
  font-family: sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #333333;
  /*text-align: justify;*/
  letter-spacing: 0.1em;
  line-height: 1.9em;
}

h1 {
  line-height: 1.4em;
}
/* スマートフォン用（画面幅が480px以下の場合） */
@media (max-width: 480px) {
h1 {
  font-size: 16px;
  }
}


h3 {
  line-height: 1.8em;
}
/* スマートフォン用（画面幅が480px以下の場合） */
@media (max-width: 480px) {
h3 {
  font-size: 12px;
  }
}

.wrapper {
  margin: 0 auto;
  width: 100%;
}

.main {
  padding: 15%;
}

img {
  width: 100%;
}

.logo img {
  max-width: 150px;
  width: 100%;
  z-index:999;
}

.slogo img {
  max-width: 30px;
  width: 100%;
  z-index:999;
  padding: 0 5px;
}

.tailermade img {
  max-width: 400px;
  width: 100%;
}

.tailermade {
  text-align: center;
}

a{
text-decoration:none;
color: #485A95;
}

hr {
  color: ffffff;
  border-width: 0.1px;
  max-width: 800px;
}

li {
list-style:none;
/*デフォルトの指定解除*/
float:left;
}

small {
  font-size: 10px;
}

/* ---------- vertical2 ---------- */
*, *:before, *:after {
  box-sizing: border-box;
}
.c2 {
  width: 100%;
  display: flex;
  display: -ms-flexbox; /* IE10 */
  flex-wrap: wrap;
  -ms-flex-wrap: wrap; /* IE10 */
}

.c2 > div{
  width: -webkit-calc(100% /2);
  padding: 3%;
}
@media screen and (max-width: 960px) {
  .c2 > div{
    width: 50%;
  }
}
@media screen and (max-width: 480px) {
  .c2 > div{
    width: 100%;
    padding: -2%;
  }
}

/* ---------- vertical3 ---------- */
*, *:before, *:after {
  box-sizing: border-box;
}
.c3 {
  width: 100%;
  display: flex;
  display: -ms-flexbox; /* IE10 */
  flex-wrap: wrap;
  -ms-flex-wrap: wrap; /* IE10 */
}

.c3 > div{
  width: -webkit-calc(100% /3);
  padding: 3%;
}
@media screen and (max-width: 960px) {
  .c3 > div{
    width: 50%;
  }
}
@media screen and (max-width: 480px) {
  .c3 > div{
    width: 100%;
    padding: -2%;
  }
}

/* ---------- vertical6 ---------- */
*, *:before, *:after {
  box-sizing: border-box;
}
.c6 {
  width: 100%;
  display: flex;
  display: -ms-flexbox; /* IE10 */
  flex-wrap: wrap;
  -ms-flex-wrap: wrap; /* IE10 */
}

.c6 > div{
  width: -webkit-calc(100% /6);
  padding: 1%;
}
@media screen and (max-width: 960px) {
  .c6 > div{
    width: 25%;
  }
}
@media screen and (max-width: 480px) {
  .c6 > div{
    width: -webkit-calc(100% /4);
    padding: -2%;
  }
}

/* ---------- caption ---------- */
.caption {
  margin-inline: auto;
  position: relative;
}
.caption-img img {
  aspect-ratio: 5 / 2; /* 横幅を5、高さを2の比率に設定 */
  object-fit: cover; /* 画像をはみ出すことなく、コンテナを埋める */
  width: 100%;
}

/* スマートフォン用（画面幅が480px以下の場合） */
@media (max-width: 480px) {
.caption-img img {
  width: 100vw; /* ビューポートの幅いっぱい */
  /*height: 100vh; ビューポートの高さいっぱい */
  aspect-ratio: 3 / 2; /* 横幅を5、高さを2の比率に設定 */
  }
}

.caption-title {
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* スマートフォン用（画面幅が480px以下の場合） */
@media (max-width: 480px) {
.caption-title  {
    font-size: 20px;
    line-height: 1.2em;
  }
}

/* スマートフォン用（画面幅が480px以下の場合） */
@media (max-width: 480px) {
.caption-title small {
    line-height: 1.5em;
  }
}

#slick-slide {
display: flex;
margin: 0;
line-height: 0;
}

/* ---------- top slick silde ---------- */
.slider img {
width: 100%;

}
/* スマートフォン用（画面幅が480px以下の場合） */
/*@media (max-width: 480px) {
.slider img {
  padding: 0%;
  width: 100vw; 
  height: 100vh; 
  aspect-ratio: 3 / 2; 
  object-fit: cover; 
  }
}*/

/* ---------- image switching ---------- */
.main-image-area{
  border: none
  aspect-ratio: 1/1; 
}

.gallery-container {
  width: 100%;
}

.thumbnail-list {
  width:100%;
  padding: 1%;
}

.thumbnail-list li{
  padding: 1%;
  width: 20%; 
  justify-content: space-around; /* li要素間のスペースを均等に配置 */
}

.thumbnail-list ul{
  display: flex;
}

.thumbnail-list img {
    max-width: 100px; /* 例 */
    cursor: pointer;
    border: 1px solid #ccc;
}
.thumbnail-list img:hover {
    border-color: #333;
}

/* ---------- タブ切り替え全体のスタイル ---------- */
.tabs {
  margin-top: 50px;
  padding-bottom: 40px;
  background-color: #fff;
  width: 100%;
  margin: 0 auto;}

/*タブのスタイル*/
.tab_item {
  width: calc(100%/4);
  height: 50px;
  border-bottom: 3px solid #485A95;
  background-color: #d9d9d9;
  line-height: 50px;
  font-size: 14px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}

/* スマートフォン用（画面幅が480px以下の場合） */
@media (max-width: 480px) {
.tab_item {
  font-size: 5px;
  }
}


.tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 40px 40px 0;
  clear: both;
  overflow: hidden;
}


/*選択されているタブのコンテンツのみを表示*/
#all:checked ~ #all_content,
#midlayer:checked ~ #midlayer_content,
#gloves:checked ~ #gloves_content,
#backpack:checked ~ #backpack_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  background-color: #485A95;
  color: #fff;
}

/* ---------- 画像の中央に文字 ---------- */
.wrap {
width: 100%;
margin: 0 auto;
position: relative;
}
.images {
width: 100%;
margin: 0 auto;
}
.title {
font-size: 14px;
font-weight: bold;
color: ffffff;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}


/* ---------- vimeo responsive ---------- */
.iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 のアスペクト比を維持 (高さ / 幅 = 9 / 16 = 0.5625) */
    height: 0;
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ---------- footer ---------- */
footer {
  padding: 5%;
  text-align: center;
  color: #ffffff;
  background: #111111;
}
