/*
Theme Name: Bootstrap Basic
Theme URI: https://rundiz.com
Author: Rundiz-WP team
Author URI: https://github.com/Rundiz-WP
Description: Bootstrap v.3 basic theme for developers to build their new theme very fast and easy. To follow what was changed, please look for <a href="https://github.com/Rundiz-WP/bootstrap-basic" target="commits">commits</a> of this theme at Github or changelog.md file that come with the theme.
Version: 1.2.6
Requires PHP: 5.4
Requires at least: 4.0
Tested up to: 6.6
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: bootstrap-basic
Domain Path: /languages/
Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-menu, featured-images, front-page-post-form, post-formats, threaded-comments, translation-ready

This theme built with Twitter Bootstrap v.3. It is basic theme with basic style for build new theme with Bootstrap.

*/


/*
Required WordPress CSS
*/
.aligncenter {
    text-align: center;
}
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}
.alignright {
    float: right;
    margin-left: 1.5em;
}
.bypostauthor {
}


/* WordPress gallery */
.gallery-caption {
}
.gallery {
    margin-bottom: 1.6em;
}
.gallery-item {
    display: inline-block;
    padding: 1.79104477%;
    text-align: center;
    vertical-align: top;
    width: 100%;
}
.gallery-columns-2 .gallery-item {
    max-width: 50%;
}
.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
    max-width: 25%;
}
.gallery-columns-5 .gallery-item {
    max-width: 20%;
}
.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}
.gallery-icon img {
    margin: 0 auto;
}
.gallery-caption {
    color: #707070;
    color: rgba(51, 51, 51, 0.7);
    display: block;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 0.5em 0;
}
.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
    display: none;
}


.sticky {
}
.wp-caption {
    border: 1px solid #ccc;
    margin-bottom: 1.5em;
    max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 1.2% auto 0;
    max-width: 98%;
}
.wp-caption-text {
    text-align: center;
}
.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}
/* 
Text meant only for screen readers. 
copied from https://codex.wordpress.org/CSS
*/
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

.recipe-box {
  max-width: 720px;
  border-radius: 8px;
}

.recipe-title {
  font-family: 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  font-weight: bold;
  font-size: 1.8rem;
}

.recipe-subtitle {
  font-family: 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  font-size: 1rem;
  max-width: 100%;
}

.section-heading {
  border-bottom: 1px solid #999;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

.recipe-list {
  font-family: 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  font-size: 1rem;
}

.recipe-text {
  font-family: 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  font-size: 1rem;
  line-height: 1.8;
}

/* レシピページの詳細調整 */
.recipe-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #fff;
  border-top: 4px solid #000;
  border-bottom: 4px solid #000;
}

.recipe-article h1 {
  display: none; /* 上部のH1は非表示 */
}

.recipe-subtitle {
  font-size: 1.25rem; /* サブタイトルを少し大きく */
  font-weight: 500;
  color: #444;
  margin-bottom: 2rem;
  text-align: center;
}

.recipe-article img {
  display: block;
  margin: 0 auto 2rem;
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-heading {
  font-size: 1rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 0.5rem;
}

.section-subheading {
  font-size: 0.9rem;
  color: #666;
  font-weight: bold;
  margin: 1.2rem 0 0.6rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.25rem;
}

.ingredients,
.instructions {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #333;
  margin-left: 1.2em;
}

.ingredients li,
.instructions li {
  margin-bottom: 0.5em;
}

/* レシピ記事 全体 */
.recipe-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #fff;
  border-top: 4px solid #000;
  border-bottom: 4px solid #000;
}

/* アイキャッチ上のh1を非表示 */
.recipe-article h1 {
  display: none;
}

/* サブタイトル → h5サイズに統一 */
.recipe-subtitle {
  font-size: 1.25rem; /* h5と同じ */
  font-weight: 400;
  color: #444;
  margin-bottom: 2rem;
  text-align: center;
}

/* レシピ画像 */
.recipe-article img {
  display: block;
  margin: 0 auto 2rem;
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 「1人前」など小見出し → h6と同じ */
.section-heading {
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 0.75rem;
}

/* 「材料」「作り方」などの見出し → h5相当 */
.section-subheading {
  font-size: 1.25rem;
  font-weight: 500;
  color: #333;
  margin: 2rem 0 0.75rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.25rem;
}

/* 材料リスト・作り方リスト */
.ingredients,
.instructions {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-left: 1.2em;
}

.ingredients li,
.instructions li {
  margin-bottom: 0.5em;
}