/* --------------------------------------------------------------------------------------------------------------------------------- */
/* 共通設定 */

p {
  text-align: justify;
}

/* --------------------------------------------------------------------------------------------------------------------------------- */
/* ヘッダー */

.header h1 {
  border: 1px solid #32b16c;
  color: #32b16c;
  font-weight: bold;
}
@media (max-width: 480px) { /* SP */
  .header h1 {
    width: 55vw;
	line-height: 1.4em;
    padding: 5vw 1vw;
    font-size: 5vw;
    margin: 6.67vw auto 6.67vw auto;
  }
}
@media (min-width: 481px) { /* SP以外 */
  .header h1 {
    width: 300px;
	line-height: 1.5em;
    padding: 26px 40px;
    font-size: 24px;
    margin: 0px auto 0px auto;
  }
}


/* --------------------------------------------------------------------------------------------------------------------------------- */
/* タブ */

/*タブ切り替え全体のスタイル*/

@media (max-width: 480px) { /* SP */
.tabs {
    margin: 15px 10px 0px 10px;
    padding-bottom: 1em;}
}

@media (min-width: 481px) { /* SP以外 */
.tabs {
  margin-top: 50px;
  /*background-color: #fff;*/
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 1100px;
  margin: 30px auto;}
 }

/*タブのスタイル*/
@media (max-width: 480px) { /* SP */
.tab_item {
  width: 100%;
  height: 50px;
  border-bottom: 3px solid #5ab4bd;
  background-color: #d9d9d9;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}
.tab_item:hover {
  opacity: 0.75;
}
}

@media (min-width: 481px) { /* SP以外 */
.tab_item {
  width: calc(100%/2);
  height: 60px;
  border-bottom: 3px solid #5ab4bd;
  background-color: #d9d9d9;
  line-height: 60px;
  font-size: 18px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}
.tab_item:hover {
  opacity: 0.75;
}
}

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

/*タブ切り替えの中身のスタイル*/
@media (max-width: 480px) { /* SP */
.tab_content {
  display: none;
  /*padding: 40px 40px 0;*/
  clear: both;
  overflow: hidden;
}
}

@media (min-width: 481px) { /* SP以外 */
.tab_content {
  display: none;
  padding: 40px 40px 0;
  clear: both;
  overflow: hidden;
}
}


/*選択されているタブのコンテンツのみを表示*/
#simple:checked ~ #simple_content,
#collabo:checked ~ #collabo_content {
  display: block;
}

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



/* --------------------------------------------------------------------------------------------------------------------------------- */
/* レシピ */

.recipe ol, .recipe ul  {
  position: relative;
  margin:0;
  padding:0
}
.recipe ol li, .recipe ul li  {
  list-style: none;
  list-style-position:outside;
  margin:0;
  padding-left:1.25em
}
.recipe ol li span, .recipe ul li span {
  position: absolute;
  left:0;
  margin:0
}


.recipe {
  border: 2px solid black;
  border-radius: 6px;
  background-color: white;
  position: relative;
  text-align: left;
}


#recipe-1 h2, #recipe-2 h2, #recipe-3 h2, #recipe-4 h2, #recipe-sake h2 {
  font-weight: bold;
  position: relative;
  text-align: center;
}
#recipe-1 h2::after, #recipe-2 h2::after, #recipe-3 h2::after, #recipe-4 h2::after, #recipe-sake h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
}
.recipe-ribbon {
  position: absolute;
  z-index: 2;
}
#recipe-1 .recipe-title, #recipe-2 .recipe-title, #recipe-3 .recipe-title, #recipe-4 .recipe-title, #recipe-sake .recipe-title {
  position: absolute;
}
#recipe-1 .recipe-info, #recipe-2 .recipe-info, #recipe-3 .recipe-info, #recipe-4 .recipe-info, #recipe-sake .recipe-info {
  font-weight: bold;
}

.recipe h3 {
  font-weight: bold;
  color: white;
  display: inline-block;
}


@media (max-width: 480px) { /* SP */

  .recipe {
    margin: 0 15px 45px 15px;
    padding-bottom: 1em;
  }
  .recipes-person-pc {
    display: none;
  }
  .recipe-image {
    max-width: 100%;
  }

  #recipe-1 h2, #recipe-2 h2, #recipe-3 h2, #recipe-4 h2, #recipe-sake h2 {
    font-size: 4vw;
    padding-bottom: 10px;
  }
  #recipe-1 h2::after, #recipe-2 h2::after, #recipe-3 h2::after, #recipe-4 h2::after, #recipe-sake h2::after {
    height: 3px;
  }
  .recipe-ribbon {
    top: 0;
    right: 8px;
  }
  .recipe-ribbon img {
    width: 136px;
  }
  #recipe-1 .recipe-title, #recipe-2 .recipe-title, #recipe-3 .recipe-title, #recipe-4 .recipe-title, #recipe-sake .recipe-title {
    top: -20px;
  }
  #recipe-1 .recipe-info, #recipe-2 .recipe-info, #recipe-3 .recipe-info, #recipe-4 .recipe-info, #recipe-sake .recipe-info {
    border-radius: 3px;
    padding: 2.67vw 4vw;
  }

  .recipe h3 {
    padding: 6px 8px;
    font-size: 15px;
  }
  
  .recipe ol, .recipe ul  {
    margin-bottom: 1em;
    line-height: 1.7;
  }
  .recipe-image {
    margin-top: 1em;
    margin-bottom: 2em;
  }
  .recipe-title {
    width: 145px;
    left: 15px;
  }
  .recipe-title img {
    width: 145px;
  }
  
 .contents-box img {
    margin-top: 1em;
    max-width: 100%;
	padding: 35px;
}
  .contents-box h3 {
    padding: 6px 10px;
    font-size: 18px;
    line-height: 1.3em;
    margin: 0px 0px 0px 18px;
	text-decoration: underline;
 }

 .contents-box p {
    margin: 10px 0px 30px 18px;
 }

  /* レシピごとにタイトルの幅が違う部分の上書き */
  #recipe-1 h2, #recipe-2 h2 {
    width: 34vw;
    margin-left: 26.67vw;
  }
  #recipe-1 h2::after, #recipe-2 h2::after {
    width: 34vw;
  }
  
  #recipe-3 h2 {
    width: 53vw;
    margin-left: 26.67vw;
  }
  #recipe-3 h2::after {
    width: 53vw;
  }

  #recipe-4 h2 {
    width: 37vw;
    margin-left: 26.67vw;
  }
  #recipe-4 h2::after {
    width: 37vw;
  }
  
  #recipe-sake h2 {
    width: 45vw;
    margin-left: 25vw;
  }
  #recipe-sake h2::after {
    width: 45vw;
  }

  #link-to-cookpad{
    margin-bottom: 20vw;
    max-width: 100%;
    padding: 0 15px;
  }
  #link-to-cookpad img {
    width: 100%;
  }
  
  /* レシピごとに色が違う部分の上書き */
  #recipe-1, #recipe-2 {
    border-color: #cbe9d8;
    box-shadow: 6px 6px 0px #cbe9d8;
  }
  #recipe-3 {
    border-color: #f4cdce;
    box-shadow: 6px 6px 0px #f4cdce;
  }
  #recipe-4 {
    border-color: #f7bd92;
    box-shadow: 6px 6px 0px #f7bd92;
  }
  #recipe-sake {
    border-color: #f7bd92;
    box-shadow: 6px 6px 0px #f7bd92;
  }
}
@media (min-width: 481px) { /* SP以外 */
  .recipe {
    border: 2px solid black;
    border-radius: 6px;
    margin-bottom: 60px;
    padding: 30px 15px;
  }
  
  .recipes-person-sp {
    display: none;
  }

  #recipe-1 h2, #recipe-2 h2, #recipe-3 h2, #recipe-4 h2, #recipe-sake h2 {
    font-size: 24px;
    padding-bottom: 10px;
    margin: 8px 0 36px 400px;
  }
  #recipe-1 h2::after, #recipe-2 h2::after, #recipe-3 h2::after, #recipe-4 h2::after, #recipe-sake h2::after {
    height: 3px;
  }
  .recipe-ribbon {
    top: 0px;
    left: 790px;
  }
  #recipe-1 .recipe-title, #recipe-2 .recipe-title, #recipe-3 .recipe-title, #recipe-4 .recipe-title, #recipe-sake .recipe-title {
    top: -10px;
  }
  #recipe-1 .recipe-info, #recipe-2 .recipe-info, #recipe-3 .recipe-info, #recipe-4 .recipe-info, #recipe-sake .recipe-info {
    border-radius: 6px;
    padding: 15px 20px;
  }

  .recipe h3 {
    padding: 6px 8px;
    font-size: 15px;
    margin: 0px 0px 10px 0px;
  }
  .recipe-text {
    padding-right: 50px;
  }
  .recipe ol, .recipe ul  {
    margin-bottom: 30px;
    line-height: 1.7;
  }

  /* レシピごとにタイトルの幅が違う部分の上書き */
  #recipe-1 h2, #recipe-2 h2 {
    width: 200px;
    margin-left: 400px;
  }
  #recipe-1 h2::after, #recipe-2 h2::after {
    width: 198px;
  }
  #recipe-1 .recipe-title, #recipe-2 .recipe-title {
    left: 310px;
  }
  
  #recipe-3 h2 {
    width: 335px;
    margin-left: 333px;
  }
  #recipe-3 h2::after {
    width: 330px;
  }
  #recipe-3 .recipe-title {
    left: 240px;
  }

  #recipe-4 h2 {
    width: 235px;
    margin-left: 370px;
  }
  #recipe-4 h2::after {
    width: 230px;
  }
  #recipe-4 .recipe-title {
    left: 275px;
  }
  #recipe-sake h2 {
    width: 270px;
    margin-left: 370px;
	line-height: 1.3em;
  }
  #recipe-sake h2::after {
    width: 270px;
  }
  #recipe-sake .recipe-title {
    left: 275px;
  }
  #link-to-cookpad{
    margin-bottom: 111px;
  }
  
  /* レシピごとに色が違う部分の上書き */
  #recipe-1, #recipe-2 {
    border-color: #cbe9d8;
    box-shadow: 12px 12px 0px #cbe9d8;
  }
  #recipe-3 {
    border-color: #f4cdce;
    box-shadow: 12px 12px 0px #f4cdce;
  }
  #recipe-4 {
    border-color: #f7bd92;
    box-shadow: 12px 12px 0px #f7bd92;
  }
  #recipe-sake {
    border-color: #f7bd92;
    box-shadow: 12px 12px 0px #f7bd92;
  }
}

/* レシピごとに色が違う部分の上書き */

#recipe-1 h2, #recipe-2 h2 {
  color: #32b16c;
}
#recipe-1 h2::after, #recipe-2 h2::after {
  background: #32b16c;
}
#recipe-1 h3, #recipe-2 h3 {
  background-color: #32b16c;
}
#recipe-1 .recipe-info, #recipe-2 .recipe-info {
  border: 1px solid #32b16c;
  color: #32b16c;
}

#recipe-3 h2 {
  color: #f29c9f;
}
#recipe-3 h2::after {
  background: #f29c9f;
}
#recipe-3 h3 {
  background-color: #f29c9f;
}
#recipe-3 .recipe-info {
  border: 1px solid #f29c9f;
  color: #f29c9f;
}

#recipe-4 h2 {
  color: #f19149;
}
#recipe-4 h2::after {
  background: #f19149;
}
#recipe-4 h3 {
  background-color: #f19149;
}
#recipe-4 .recipe-info {
  border: 1px solid #f19149;
  color: #f19149;
}

#recipe-sake h2 {
  color: #f19149;
}
#recipe-sake h2::after {
  background: #f19149;
}
#recipe-sake h3 {
  background-color: #f19149;
}
#recipe-sake .recipe-info {
  border: 1px solid #f19149;
  color: #f19149;
}

/* --------------------------------------------------------------------------------------------------------------------------------- */
/* 焼酎コラボレシピ */

@media (max-width: 480px){ /* SP */
.title {
    font-size: 6vw;
	font-weight: bold;
}
.comment {
    font-size: 14px;
    line-height: 1.8em;
    margin: 20px;
}
.kawazoe p {
    padding: 20px;
    text-align: center;
    line-height: 1.5em;
}
}

@media (min-width: 481px) { /* SP以外 */
.title {
	font-weight: bold;
    margin: 50px auto auto;
}
.comment {
	font-size: 16px;
    width: 600px;
    line-height: 1.8em;
    margin: 20px auto 30px auto;
}
.kawazoe {
	width: 600px;
    line-height: 1.8em;
	margin: auto auto 50px auto;
}
.kawazoe img{
    float: left;
}
.kawazoe p{
	overflow: hidden;
    padding: 40px 0px 20px 20px;
}
.recipe-link li{
	font-size: 18px;
	font-weight: bold;
	line-height: 2em;
}


.contents-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.contents-box {
	margin-bottom: 3rem;
	padding: 3rem;
	width: 32%;
	background-color: #f0f0f0;
}

.contents-box img {
	display: block;
	margin-bottom: 2rem;
	width: 100%;
	height: auto;
}

.contents-box h3 {
	margin-bottom: 1rem;
	font-size: 2rem;
	text-align: center;
	text-decoration : underline;
	line-height: 1.5em;
    padding: 5px 12px 8px 12px;
}

@media screen and (max-width: 480px){
	.contents-wrap {
		flex-direction: column;
	}

	.contents-box {
		width: 100%;
	}
}
}

/* --------------------------------------------------------------------------------------------------------------------------------- */
/* 焼酎が飲めるお店リスト */

#restaurant table caption h2 {
  color: black;
}

#restaurant td {
  background-color: white;
  border-collapse: collapse;
  border:1px solid #dcdcdc;
  text-align: left;
  vertical-align: top;
  font-weight: normal;
}

@media (max-width: 480px) { /* SP */
  #restaurant table {
    margin: 0 15px 3em 15px;
  }
  #restaurant table caption h2 {
    font-size: 16px;
  }
  #restaurant td {
    padding: 0.7em 1em;
    font-size: 3.3vw;
    line-height: 1.5;
  }
}
@media (min-width: 481px) { /* SP以外 */
  #restaurant table {
    width: 720px;
    margin: 50px auto 100px auto;
  }
  #restaurant table caption h2 {
    font-size: 20px;
    font-weight: bold;
  }
  #restaurant td {
    padding: 0.7em;
    font-size: 14px;
  }
}
