@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 3.0
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/

/* 記事一覧ページ ----------*/
/* 記事リスト全体 */
.custom-post-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 常に2列 */
  gap: 24px;
  margin: 20px 0;
}

/* カード型デザイン */
.custom-post-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%; /* 左側カラムいっぱいに広がる */
}

.custom-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* サムネイル */
.custom-post-card .thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* カード内テキスト */
.custom-post-card .card-content {
  padding: 16px;
}

.custom-post-card .title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 10px;
}

.custom-post-card .title a {
  color: #333;
  text-decoration: none;
}

.custom-post-card .title a:hover {
  color: #e74c3c;
}

.custom-post-card .excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* ページネーション */
.custom-pagination {
  margin-top: 30px;
  display: flex;              /* 横並び */
  justify-content: center;    /* 中央寄せ */
  gap: 8px;                   /* ボタン間の余白 */
  flex-wrap: wrap;            /* 狭い画面では折り返す */
}

.custom-pagination .page-numbers {
  display: inline-block;
  margin: 0;
  padding: 8px 12px;
  border-radius: 4px;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

.custom-pagination .current {
  background: #e74c3c;
  color: #fff;
}

.custom-pagination .page-numbers:hover {
  background: #333;
  color: #fff;
}

/* 記事一覧ページここまで */


/* 投稿リストカード ----------*/

/* カード全体 */
.card-link {
  display: flex; /* 横並び */
  align-items: center; /* 画像とテキストを縦中央に揃える */
  background-color: #fff;
  border-radius: 12px; /* 角丸 */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* 軽い影 */
  overflow: hidden;
  margin: 15px 0;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none; /* リンクの下線を消す */
  color: #333;
}

/* ホバー時の演出 */
.card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* 画像部分 */
.card-thumb {
  flex-shrink: 0;
  width: 120px; /* 画像幅 */
  height: 120px; /* 画像高さ */
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 縦横比を保って中央切り取り */
  display: block;
}

/* テキスト部分 */
.card-body {
  padding: 15px;
  flex-grow: 1;
}

.card-title {
  font-size: 18px;
  font-weight: bold;
}

/* 投稿リストカード　ここまで ----------*/

/* プロフィールカード　----------*/


/* カード全体 */
.profile-container {
  display: flex;
  align-items: flex-start;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 20px;
  gap: 20px;
  max-width: 800px;
  margin: 20px auto;
}

/* プロフィール部分 */
.profile {
  display: flex;
  flex-direction: column; /* 画像→名前→SNSアイコン */
  align-items: center;
  flex-shrink: 0;
  width: 150px;
}

.profile img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.profile h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* SNSアイコン */
.sns-icons a {
  margin: 0 5px;
  font-size: 18px;
  transition: transform 0.2s;
}

/* X（旧Twitter）アイコン */
.x-icon i {
  color: #000; /* 黒に変更 */
}

.sns-icons a:first-child:hover {
  transform: scale(1.2);
}

/* Instagramアイコン */
.sns-icons a:last-child i {
  color: #e4405f; /* Instagram公式ピンク系 */
}

.sns-icons a:last-child:hover {
  transform: scale(1.2);
}

/* 自己紹介文部分 */
.profile-intro {
  flex: 1;
}

.profile-intro h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.profile-intro p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

/* モバイル対応 */
@media (max-width: 600px) {
  .profile-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-intro {
    padding-top: 15px;
  }
}


/* プロフィールカード　ここまで　----------*/

/* グランドメニュー　　----------*/
.post-28{
	margin-bottom:70px;
}
.entry-content .menu {
  list-style: none;
  margin: 0 ;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 10px 0;font-weight:bold;
	border-top:1px solid black;
	border-bottom:1px solid black;
}

@media (max-width: 720px) {
	.entry-content .menu {
		display:none;	
	}
}

.menu > li {
  position: relative;
}

.menu > li > a {
  text-decoration: none;
  color: #333;
  padding: 8px 12px;
  display: block;
}

.menu > li > a:hover {
  background: #f0f0f0;
  border-radius: 4px;
}

.entry-content .submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #ccc;
  display: none;
  min-width: 150px;
  z-index: 100;
}

.submenu li a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.submenu li a:hover {
  background: #f0f0f0;
}

.dropdown:hover .submenu {
  display: block;
}

/* グランドメニュー　ここまで　----------*/


/* プロフィール（サイドバー）----------- */
.side_prof_photo{
    width: 130px;
    margin: 0 auto 20px;
}
.side_prof_photo img{
    width: 100%;
    border-radius: 100%;
}
.side_prof h2{
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 500;
}
.side_prof p{
    font-size: 12px;
    line-height: 2;
}

/* プロフィール（サイドバー） ここまで----------- */


/* ===== ホテルアフィリエイトボックス ===== */
.hotel-affiliate-box {
  margin-top: 40px;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  background-color: #fafafa;
}

.hotel-affiliate-box h2 {
  font-size: 1.4em;
  margin-bottom: 20px;
  color: #333;
  font-weight: 600;
}

/* ホテルアイテム全体 */
.hotel-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

/* 画像 */
.hotel-item img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

/* ホテル名 */
.hotel-item h3 {
  font-size: 1.1em;
  margin: 0 0 5px;
  color: #333;
  font-weight: 600;
}

/* ホテル説明文 */
.hotel-item p {
  margin: 0;
  font-size: 0.95em;
  color: #555;
}

/* リンク全体をクリック可能に */
.hotel-item a {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

/* ===== レスポンシブ対応 ===== */
@media screen and (max-width: 768px) {
  .hotel-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .hotel-item img {
    width: 100%;
    height: auto;
  }

  .hotel-item a {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== ホテルアフィリエイトボックス　ここまで ===== */
