@charset "UTF-8";

/*
  Skin Name: Adireeek Main
  Description: ブログ用のスキン
  Skin URI: https://
  Author: Guanchuu
  Template: businesspress
  Author URI: https://adireeek.com/
  Version: 1.0.2
*/

.site-content{
 max-width:1000px;
 margin:0 auto;
}

/* トップに画像挿入開始 */
.menu a::before {
  content: "";
  display: inline-block;
  width: 60px; /* アイコンの幅 */
  height: 60px; /* アイコンの高さ */
  margin-right: 6px; /* テキストとの間隔 */
  background-image: url('https://blog.adireeek.com/wp-content/uploads/2025/02/Adireeekun.png'); /* デフォルトの画像URL */
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.menu-item-21 a::before {
  background-image: url('https://blog.adireeek.com/wp-content/uploads/2025/02/Adireeekun.png');
}

.menu-item-22 a::before {
  background-image: url('https://blog.adireeek.com/wp-content/uploads/2025/05/Adireeekun_shopping.png');
}

.menu-item-23 a::before {
  background-image: url('https://blog.adireeek.com/wp-content/uploads/2025/05/Adireeekun_sorry.png');
}

.menu-item-24 a::before {
  background-image: url('https://blog.adireeek.com/wp-content/uploads/2025/05/Adireeekun_inquiry.png');
}


/* トップに画像挿入終了 */
/*フッターのクレジットを削除*/
.site-credit {
  display: none !important;
}
/*フッターのクレジットを削除*/

/*見出し2(H2)の設定*/

/*記事中のh2デザイン開始*/
h2.original {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #2c3e50; /* ブランドカラーに変更可 */
  margin: 40px 0 20px;
  font-family: 'Noto Sans', 'Helvetica Neue', sans-serif;
}
h2.main {
  position: relative;
  padding: 1rem .5rem;
}

h2.main:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  content: '';
  background-image: -webkit-gradient(linear, left top, right top, from(#fa709a), to(#fee140));
  background-image: -webkit-linear-gradient(left, #fa709a 0%, #fee140 100%);
  background-image: linear-gradient(to right, #fa709a 0%, #fee140 100%);
}
/*記事中のh2デザイン終了*/
/*記事中のh3デザイン開始*/

h3.original {
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  color: #2c3e50;
  margin: 30px 0 15px;
  font-family: 'Noto Sans', 'Helvetica Neue', sans-serif;
}
/*記事中のh3デザイン終了*/


/*
ホームのCSS開始


*/
/*HPのメインテーブルのCSS開始*/
   /* メインテーブル全体親要素 */
   .image_maxwidth {
    display: flex;
    justify-content: space-between; /* 画像を横並びに配置 */
    position: relative;
    height: auto; /* 高さをコンテンツに応じて自動調整 */
    width: 100vw; /* 幅を画面全体に広げる */
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
  }
  
  /*背景の左右画像*/
  .image_left,
  .image_right {
    flex: 1; /* 横並びのデフォルト設定 */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; 
    height: auto; 
    aspect-ratio: 8 / 9.1; /* オプション */
  }
  
  /* 小さい画面用 
     背景画像を縦にする
  */
  @media (max-width: 600px) {
    .image_maxwidth {
      flex-direction: column; /* 子要素を縦並びに変更 */
      align-items: center; /* 子要素を中央揃え */
    }
  
    .image_left,
    .image_right {
      flex: none; /* 縦並びのため、flexの影響を無効化 */
      width: 100%; /* 幅を100%に広げる */
  
    }
  }
  
  /*背景の左画像指定*/
    .image_left {
    background-image: url('https://shop.adireeek.com/wp-content/uploads/HP_maintable_left.png');
  }
  
  /*背景の右画像指定*/
  .image_right {
    background-image: url('https://shop.adireeek.com/wp-content/uploads/HP_maintable_right.png');
    position: relative; /* テーブルを絶対配置する基準 */
  }
  /* 目次のテーブル */
  .hp_maintable {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 70%; /* 親要素の高さの70% */
    width: 60%; /* 親要素の幅の60% */
    border-collapse: collapse;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .hp_maintable td {
    padding: 10px;
    font-size: 16px;
    border: 0px solid #ccc;
    text-align: center; /* セル内のコンテンツを中央揃え */
    vertical-align: middle; /* 垂直方向も中央揃え */
    background-color: #F1EBE5 !important; /* 背景 */
    height: 60px; /* セルの高さ（任意） */
  }
  
  .table-button {
    display: inline-block;
    width: 80%; /* 全てのボタンの幅を200pxに統一 */
    padding: 5%;
    font-size: 1.5vw;
    text-align: center; /* ボタン内のテキストを中央揃え */
    text-decoration: none; /* 下線を消す */
    color: black;
    background-color: #F1EBE5; /* 背景 */
    border-radius: 5px; /* 角を丸める */
    border: 1px solid black;
    transition: background-color 0.3s ease;
  }
  
  .table-button:hover {
    background-color: #C1AD96; /* ホバー時の色 */
  }
  
  .table-button:active {
    background-color: #003f7f; /* クリック時の色 */
  }
  
  /* 小さい画面用
     背景画像横のままテーブルサイズを合わせる
  */
  @media (max-width: 950px) {
    .hp_maintable {
      height: 80%; /* 親要素の高さの70% */
      width: 70%; /* 親要素の幅の60% */
      width: 260px;
    }
    
    .hp_maintable td {
      padding: 5px;
      font-size: 16px;
      height: 40px; /* セルの高さ（任意） */
    }
    
    .table-button {
      width: 200px; /* 全てのボタンの幅を150pxに統一 */
      padding: 5px 10px;
      font-size: 16px;
    }
  }
  
  /* 小さい画面用
    背景画像が縦ではみ出す場合に対応
  */
  @media (max-width: 450px) {
    .hp_maintable {
      height: 80%; /* 親要素の高さの70% */
      width: 70%; /* 親要素の幅の60% */
      width: 230px;
    }
    
    .hp_maintable td {
      padding: 5px;
      font-size: 16px;
      height: 40px; /* セルの高さ（任意） */
    }
    
    .table-button {
      width: 200px; /* 全てのボタンの幅を150pxに統一 */
      padding: 5px 10px;
      font-size: 16px;
    }
  }
  
  /*HPのメインテーブルのCSS終了*/
  
  /*hpのニュース欄css開始*/
  .news-container {
      margin: 10px auto;
      background: #fff;
      border-radius: 15px;
  }
  
  .news-table {
      width: 100%;
      border-collapse: collapse;
  }
  
  .news-table td {
      background-color: #ffffff !important;
      padding: 20px 10px;
      text-align: left;
      border-bottom: 1px dashed #9d9696;
  }
  
  .news-table .date {
      width: 80px;
      text-align:center;
      vertical-align: middle;
  }
  
  .news-table .highlight {
      text-align: center;
      width: 100px;
      border-radius: 25px;
        background-clip: content-box;
      vertical-align: middle;
  }
  
  .news-table .category01 {
      background-color: #e5ffcc !important;
  }
  .news-table .category02 {
      background-color: #cce5ff !important;
  }
  .news-table .category03 {
      background-color: #ffccff !important;
  }
  .news-table .category04 {
      background-color: #ffdbb7 !important;
  }
   /* スマホサイズ時のスタイル */
  @media (max-width: 768px) {
    .news-table tr {
      display: flex;
      flex-wrap: wrap;
    }
    /* 1列目と2列目を横並びに固定 */
    .news-table .date,
    .news-table .highlight {
      flex: 0 0 100px;
      border-bottom: none;
      padding: 8px 5px 0px 0px;
    }
  
    /* 内容を次の行に*/
    .news-table .newscontents  {
      flex: 1 1 100%; /* 幅100%で表示 */
      padding: 15px 5px 10px 10px;
      text-align: left;
    }
  }
  
  
  
  /*hpのニュース欄css終了*/
  
  /*hpの事業欄css開始*/
  .slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 10px;
    width: 95%;
    max-width: 1000px;
  }
  .slide {
    flex: 0 0 170px;
    scroll-snap-align: start;
    display: flex; /* 縦に並べる */
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 5px 6px rgba(0, 0, 0, 0.1);
  }
  
  .slide a {
    display: flex; /* 縦に並べる */
      height: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .slide img {
    max-width: 90%;
    width: 200px;
    height: auto; /* 比率を保持 */
    object-fit: contain; /* 画像の大きさを調整 */
  }
  .slide span {
      margin-top: auto;
  }
  /*hpの事業欄css終了*/
  
  /*オリジナルバナーcss開始*/
  .original_banner{
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto; /* 必要に応じて高さを指定 */
    text-align: center; /* 必要に応じて */
    margin: 40px 0;
  }
  .original_banner img{
      height: auto;
      width: 300px;      
  }
  .original_banner a {
    margin: 20px;
  }
  /*オリジナルバナーcss終了*/

