/*
Template:bootstrap-basic4
Theme Name:child-yamamotowood
*/

@charset "utf-8";


.content {
  margin: 5% 10%; /* サイドバーの幅に合わせて余白を設定 */
  padding: 10px 0 20px 5px;
  font-family: 'Oswald', sans-serif, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", YuGothic, "游ゴシック Medium", YuGothic, YuGothicM, Arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
}
.main-content
#header{position: relative;z-index: 2;}
.wrap-header{position: relative;z-index: 3;}
.header-container {
  display: flex; /* フレックスボックスを使用して横並びに */
  align-items: center; /* 垂直方向で中央揃え */
  justify-content: space-between; /* ロゴとメニューの間にスペースを追加 */
  padding: 10px 20px; /* 上下と左右に適度な余白 */
  z-index: 1000;
  background-color: white;
}

.overlay-image img {
  display: block; /* 画像をブロック要素として扱う（余計な空白を防ぐ） */
}

.navbar-offcanvas {
  flex-grow: 1; /* 必要に応じてメニューエリアを拡大可能に */
  text-align: right; /* メニューを右寄せ */
}

.ul-hnav {
  display: inline-flex; /* メニューの項目を横並びに */
  list-style: none; /* デフォルトの箇条書きスタイルを削除 */
  margin: 0; /* 外側の余白を削除 */
  padding: 0; /* 内側の余白を削除 */
}

.ul-hnav li {
  margin: 0 10px; /* 各メニュー項目間の余白を設定 */
}

.ul-hnav a {
  text-decoration: none; /* 下線を削除 */
  color: #000; /* リンクの色を指定（必要に応じて変更） */
  font-size: 13px; /* フォントサイズを調整 */
  font-family: YakuHanJP, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", YuGothic, "游ゴシック Medium", YuGothic, YuGothicM, Arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
}







/* header */
    nav {
        display: flex;
        justify-content: center;
        background-color: white;
        padding: 10px 30px;
        width: 100%;
    }
    nav a {
        color: black;
        text-decoration: none;
        padding: 10px 20px;
        margin: 0 10px;
        font-weight: bold;
    }
    nav a:hover {
        border-radius: 5px;
    }
    .background-media{ width: 100vw; height: 100%;  max-width: 1960px;}
    .overlay-images{width: 100%;}


    /* concept */
    .concept-maintitle{margin-bottom: 50px; font-size: 28px; font-weight: bold; font-family: YakuHanJP, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", YuGothic, "游ゴシック Medium", YuGothic, YuGothicM, Arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";}
    .concept-maintitle-text{font-weight: bold; font-size: 24px;  font-family: YakuHanJP, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", YuGothic, "游ゴシック Medium", YuGothic, YuGothicM, Arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";}
    .concept-maintitle2{margin-bottom: 50px; font-size: 24px; font-family: YakuHanJP, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", YuGothic, "游ゴシック Medium", YuGothic, YuGothicM, Arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";}
    .concept-maintitle-text2{font-size: 20px;  font-family: YakuHanJP, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", YuGothic, "游ゴシック Medium", YuGothic, YuGothicM, Arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";}

    .concept-container {
      display: flex; /* 横並び配置 */
      align-items: center; /* 垂直方向の中央揃え */
      max-width: 1200px; /* コンテンツの最大幅 */
      margin-bottom: 150px;
    }
    
    .concept-container img {
        width: 500px; /* 画像の幅を調整 */
        height: auto; /* アスペクト比を保持 */
        border-radius: 10px; /* 角を少し丸く */
        object-fit: cover;
    }
    
    .concept-text {
        width: 80%; /* テキストの幅 */
        text-align: left; /* 文章の左揃え */
        padding-left: 60px; /* 画像とテキストの間隔を確保 */
    }


    .image-links {
      display: flex; /* 横並びにする */
      justify-content: center; /* 中央配置 */
      gap: 0px; /* 画像の間隔 */
      margin: 20px 0; /* 上下余白 */
    }
    
    .image-item {
        position: relative; /* 子要素の位置調整の基準にする */
        display: block; /* クリック範囲を画像全体に */
        width: 30%; /* 3つ並べるために30%指定 */
        max-width: 380px; /* 最大幅を指定 */
        overflow: hidden; /* はみ出した部分を隠す */
        border-radius: 0; /* 角を丸く */
    }
    
    .image-item img {
        width: 100%; /* 画像のサイズをaタグに合わせる */
        height: auto; /* アスペクト比を維持 */
        transition: transform 0.5s ease-in-out; /* なめらかな拡大アニメーション */
    }
    
    .image-item:hover img {
        transform: scale(1.1); /* ホバー時に画像をズーム */
    }




    /* NEW-HOUSE */
    .new-house-subtitle{margin-bottom: 25.35px; font-size: 34px; font-weight: bold; font-family: YakuHanJP, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", YuGothic, "游ゴシック Medium", YuGothic, YuGothicM, Arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";}
    .new-house-subtitle-text{margin-bottom: 87px; font-size: 24px; line-height: 1.8; font-weight: bold;}
    .new-house-maintitle{margin-bottom: 20px; font-size: 28px; font-weight: bold; font-family: YakuHanJP, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", YuGothic, "游ゴシック Medium", YuGothic, YuGothicM, Arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";}
    .new-house-maintitle-text{font-size: 16px;  font-family: YakuHanJP, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", YuGothic, "游ゴシック Medium", YuGothic, YuGothicM, Arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";}


    .new-house-container {
      display: flex; /* 横並び配置 */
      align-items: center; /* 垂直方向の中央揃え */
      max-width: 1200px; /* コンテンツの最大幅 */
      margin-bottom: 25px;
    }
    
    .new-house-container img {
        width: 300px; /* 画像の幅を調整 */
        height: auto; /* アスペクト比を保持 */
        border-radius: 10px; /* 角を少し丸く */
        object-fit: cover;
    }
    
    .new-house-text {
        width: 80%; /* テキストの幅 */
        text-align: left; /* 文章の左揃え */
        padding-left: 60px; /* 画像とテキストの間隔を確保 */
    }

  
    


    
  
    
    
  



    /* テキストのスタイル */
    .text-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* 完全に中央へ配置 */
        color: white; /* 文字色 */
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        padding: 10px 20px;
    }
  
  
  




    /* front-page */
    h1 span{vertical-align: top;letter-spacing: 0.06em;line-height: 1;}
    .title-en{letter-spacing: 0.06em;line-height: 1;font-size: 60px;font-family: 'Oswald', sans-serif, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", YuGothic, "游ゴシック Medium", YuGothic, YuGothicM, Arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";}
    .title-jp{font-size: 1rem;line-height: 3.5;font-family: "YakuHanJP";}
    .aaaaa{font-family: "Zen Old Mincho",serif;}
    

    .bg-black{background-color: white; color: black}
    .main-title{text-align: center;}
    .image-container {
      position: relative; /* 相対位置を設定 */
      display: inline-block; /* 子要素のためのコンテナ */
    }

    .background-image {
        width: 100%; /* 画像を幅いっぱいに設定 */
        height: auto; /* アスペクト比を維持 */
    }

    .centered-text {
        position: absolute; /* 絶対位置を設定 */
        left: 50%; /* 横方向中央 */
        transform: translate(-50%, -150%); /* 中心点を基準に移動 */
        color: white; /* テキスト色を白に設定 */
        font-size: 24px; /* フォントサイズ */
        padding: 10px 20px; /* テキストの周りに余白 */
        text-align: center; /* テキストを中央揃え */
    }

    .clearfix{display: block;}

    .more{
      display: block;
      font-family: '游明朝', '游明朝体', 'ＭＳ Ｐ明朝', 'MS PMincho', 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', 'serif';
      text-align: center;
      background: url(../img/sec_about_btn_bg.png) no-repeat center right;
      width: 340px;
      padding: 0 ;
      margin: 20px auto;
      color: #fff;
      border: solid 1px #fff;}


    .text-gold{color: gold;}
    .main-container{max-width: 960px;margin: auto; padding: 120px 0;}
    .product-container{margin-top: 200px;}
    .content-container {
      display: flex; /* フレックスボックスで横並びにする */
      align-items: center; /* 垂直方向を中央揃え */
      gap: 20px; /* 要素間の間隔 */

    }
    .main-text {
      flex: 1; /* テキスト部分を広がりやすくする */
      font-size: 16px; /* テキストのフォントサイズを調整 */
      line-height: 1.5; /* 行間を調整 */
     }
  
    .multi-media-item img {
      max-width: 100%; /* 画像が親要素を超えないようにする */
      height: auto; /* アスペクト比を維持 */
      width: 300px; /* 必要に応じて画像の幅を指定 */
    }



    /* footer */
    .foot-bottom{background-color: black;}
    .foot-text{color: #fff;}





/* ハンバーガーとサイドメニュー */
/* ハンバーガーメニューのスタイル */
.hamburger {
  cursor: pointer;
  display: inline-block;
  width: 30px;
  height: 20px;
  position: relative;
  margin-top: 400px;
}

.hamburger span {
  background-color: #333;
  height: 3px;
  width: 100%;
  position: absolute;
  left: 0;
  transition: 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }



/* サイドメニューのスタイル */
.sidebar-menu {
  list-style: none;
  padding: 0;
  display: none;
  background: #f5f5f5;
  position: absolute;
  top: 40px;
  left: 0;
  width: 200px;
  height: 100%;
}

.sidebar-menu li {
  border-bottom: 1px solid #ddd;
}

.sidebar-menu a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
}

.sidebar-menu a:hover {
  background: #ddd;
}

/* メニューが開いた時の表示 */
.sidebar-menu.open {
  display: block;
}



/* フロントページ NEWS*/

ul {
  list-style: none;
  padding: 0; /* 余白も調整 */
  margin: 0;
}

.news-container {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: start;
  gap: 20px;
  margin: 100px 0;
}
.news-title {
  text-align: left;
  font-family: 'Oswald', sans-serif, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "YuGothic", "游ゴシック Medium", "YuGothic", "YuGothicM", Arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
  font-size: 1rem;
  font-weight: bold;
}


.news-items {text-align: left; color: black;}
.news-items a {
  color: #000; /* 黒 */
  text-decoration: none; /* 必要に応じて下線を消す */
}
.news-items a:hover {
  color: #000;              /* ホバー時も黒 */
  text-decoration: underline; /* 必要なら下線つける */
}
.vertical-line {
  display: inline-block;
  width: 2px;
  height: 1em;
  background-color: gray;
  margin-right: 10px;
}
time.en {
  margin: 0 5px;
}

.detail-btn {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid #000;
  color: #000;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

.detail-btn:hover {
  background-color: #000;
  color: #fff;
}

/* フロントページ　ABOUT */
#about .content-wrap .content {
  max-width: 1440px;
  padding-top: 8.5%;
  padding-bottom: 8.5%;
  margin-left: auto;
  margin-right: auto;}

/* 施工事例ページ */
  .photo-container {
    display: flex;
    justify-content: space-between; /* アイテム間のスペース */
    gap: 12px; /* 間隔の調整 */
    padding: 20px 20px;
  }
  
  .photo-item {
    width: 30%; /* 各要素の幅 */
    text-align: center;
  }
  
  .photo-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  






