/*
Theme Name: wordperssTOTONOU
Theme URI: https://example.com/
Author: think
Author URI: https://example.com/
Description: 自作テーマです。
Version: 1.0.0
*/
/* メインビジュアル */
.mv img {
  width: 100%;
  height: auto;
}
body {
  font-family: 'meiryo';
  color: #aaa;
}
h2 {
  color: #aaa;
}

/* 特集
.featured-article article {
  padding: 16px;
}
.featured-article h2 {
  font-size: 20px;
  margin-top: 8px;
}
/*  */
.site-header {
  width: 100%;
  border-bottom: 1px solid #ddd;
  padding: 10px 20px;
  font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin-top: 70px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.2em;
}

.main-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin-top: 50px;
  justify-content: center;
}

.main-nav li a {
  font-size: 14px;
  text-decoration: none;
  color: #333;
}

.main-nav .arrow {
  font-size: 10px;
  margin-left: 5px;
}

.search-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-area input[type="text"] {
  border: none;
  padding: 8px 12px;
  border-radius: 20px;
  background: #f3f3f3;
  width: 200px;
}

.search-area button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
}

.user-actions a {
  color: #333;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
}

.user-actions i {
  font-size: 20px;
}



/* 記事一覧 */
.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}
.list-card img {
  width: 100%;
  height: auto;
  display: block;
} */

.column-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 960px;
  margin: 40px auto;
  padding: 0 16px;
}

.column-card {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.column-image img {
  width: 160px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.column-content h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.column-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

.column-author {
  display: block;
  font-size: 0.85rem;
  color: #888;
  margin-top: 10px;
}

/* 1 2 3 4 5 ... */
section:before {
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 30px;
  height: 30px;
  color: #fff;
  background: #bababa;
  border-radius: 50%;
  font-size: 10px;
  font-weight: bold;
  z-index: +1;
  display: flex;
  justify-content: center;
  align-items: center;
}
body:nth-of-type(1) section {
  counter-increment: section;
}
body:nth-of-type(1) section:before {
  content: counter(section);
}
section:first-child {
  margin-top: 3em;
}
/* section ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
} */
.tag_area02 ul {
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}
.tag_area02 ul li {
  margin: .15em;
}
.tag_area02 ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 65px;
  width: 65px;
  background-color: #fff;
  border: 1px solid #aaa;
  border-radius: 50%;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-break: break-all;
  overflow: hidden;
  color: #333;
  font-size: 10px;
  text-decoration: none;
  -webkit-transition: .2s;
  transition: .2s;
  box-sizing: border-box;
}
.tag_area02 ul li a:hover {
  background-color: #aaa;
  border: 1px solid #aaa;
  color: #fff;
}
/* wordpress用タグ */
.tag_area02 ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px;
  list-style: none;
}

.tag_area02 li {
  margin: 0;
}

.tag_area02 a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border: 1px solid #aaa;
  border-radius: 50%;
  text-decoration: none;
  color: #333;
  font-size: 10px;
  text-align: center;
  background-color: #fff;
  transition: 0.3s;
}

.tag_area02 a:hover {
  background-color: #f0f0f0;
  color: #000;
}

/* pager */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.pagination .current {
  background-color: #666;
  color: #fff;
  border-color: #666;
}
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: block;
  width: 150px;
  height: 130px;
  z-index: 999;
  transition: opacity 0.3s ease;
}
.scroll-top img {
  width: 100%;
  height: auto;
}

/* スクロールが上に戻ったときに非表示にしたい場合 */
.scroll-top.hidden {
  opacity: 0;
  pointer-events: none;
}

.main-nav {
  position: relative;
  background: white;
  padding: 10px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  cursor: pointer;
  position: relative;
}

/* サブメニューの非表示 */
.submenu {
  display: none;
  padding: 20px;
  background: #f8f8f8;
  border: 1px solid #ccc;
}

.submenu.open {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.submenu-column {
  flex: 1;
  min-width: 150px;
}
/* sample nav */
/* ▼ ナビゲーション */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  padding: 10px 20px;
}

.main-nav a {
  text-decoration: none;
  font-size: 16px;
  color: #333;
  cursor: pointer;
}

/* ▼ メガメニュー本体 */
.mega-menu {
  display: none;
  padding: 20px;
  background-color: #fff;
  border-top: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  gap: 40px;
  justify-content: space-between;
}

.mega-menu.active {
  display: flex;
}

.menu-column {
  flex: 1;
  min-width: 180px;
}

.menu-column h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 10px;
}

.menu-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-column li {
  font-size: 14px;
  margin-bottom: 8px;
  cursor: pointer;
  color: #444;
}

.menu-column li:hover {
  color: #d86f60;
}
.site-footer {
  background: #f6f6f6;
  font-family: sans-serif;
  color: #333;
  padding: 40px 20px;
  text-align: center;
}

.sns-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 15px;
}

.sns-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}
.sns-icons img {
  width: 30px;
  height: 30px;
}

.app-left {
  position: relative;
}
.app-left img {
  width: 120px;
  height: auto;
  border-radius: 8px;
}
.download-badge {
  position: absolute;
  top: -10px;
  left: -10px;
  background: #6d8d99;
  color: white;
  font-weight: bold;
  padding: 10px;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  width: 60px;
  height: 60px;
}

.footer-links {
  font-size: 14px;
  margin-bottom: 10px;
}
.footer-links a {
  color: #333;
  text-decoration: none;
  margin: 0 5px;
}

.footer-copy {
  font-size: 12px;
  color: #777;
}
.post-category .cat,
.post-tags .tag {
  display: inline-block;
  font-size: 12px;
  margin-right: 6px;
  padding: 2px 6px;
  background: #f0f0f0;
  border-radius: 3px;
  color: #555;
}

.post-tags {
  margin-top: 4px;
}

.excerpt {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}
.post-thumbnail img{
  width: 500px;
  height: auto;
}
.excerpt p {
  margin: 0 0 0.8em;
}
/* 本文の改行等認識させる */
.single-post h2 {
  font-size: 1.6em;
  font-weight: bold;
  margin-top: 2em;
  margin-bottom: 1em;
  color: #222;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5em;
}

.single-post p {
  line-height: 1.8;
  margin-bottom: 1.2em;
  color: #333;
  font-size: 1em;
}

  .gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5列固定 */
  gap: 20px;
  padding: 20px;
}

.gallery-item {
  text-align: center;
}

.gallery-item img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  height: auto;
}

.caption {
  margin-top: 8px;
  font-size: 14px;
}

/* モーダル（再掲） */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 5%;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  display: block;
  margin: 0 auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  cursor: pointer;
}
/* author page */
#author-profile {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  font-family: 'Yu Gothic', sans-serif;
  color: #333;
}

.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f5f5;
  padding: 2rem;
  margin-bottom: 3rem;
}

.intro-text {
  width: 60%;
  font-size: 13px;
  line-height: 1.8;
}

.intro-image img {
  width: 200px;
  border-radius: 50%;
}

.services h2,
.works h2 {
  text-align: center;
  font-family: 'Dancing Script', cursive;
  /* font-size: 2.5rem; */
  margin-bottom: 1.5rem;
}

.service-items,
.work-items,
.blog-items {
  display: flex;
  justify-content: space-around;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.service-item,
.work-item,
.blog-item {
  text-align: center;
  width: 30%;
}

.service-item img {
  width: 80px;
  margin: 20px auto;
}

.blog-item p {
  margin-top: 0.5rem;
}

/* 商品ページのlatteに近づけるCSS */
/* --- レイアウトの骨格：2カラム & 余白 --- */
.single-product div.product {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(0, 44%); /* 左:画像/右:情報 */
  gap: 28px;
  background: #fff;
}

/* パンくずを上にスッキリと */
.woocommerce-breadcrumb{
  max-width:1100px; margin:12px auto 8px; padding:0 16px;
  font-size:.9rem; color:#888;
}
.woocommerce-breadcrumb a{ color:#666; }

/* --- 左：ギャラリー --- */
.woocommerce div.product div.images{
  margin:0; 
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{
  border-radius:10px; overflow:hidden; background:#f6f6f6;
}
.woocommerce div.product div.images img{ display:block; width:100%; height:auto; }

/* サムネイル横並び＋選択中の枠 */
.woocommerce div.product .flex-control-thumbs{
  display:flex; gap:8px; margin-top:10px;
}
.woocommerce div.product .flex-control-thumbs li{ width:80px; }
.woocommerce div.product .flex-control-thumbs img{
  border:1px solid #e5e5e5; border-radius:6px;
}
.woocommerce div.product .flex-control-thumbs img.flex-active{
  border-color:#999;
}

/* --- 右：商品情報（タイトル/価格/短い説明/カート） --- */
.single-product .summary{
  margin:0; padding:0;
}
.single-product .product_title{
  font-size:1.6rem; line-height:1.35; font-weight:700; margin:0 0 .75rem;
  color:#333;
}
.single-product .price{
  font-size:1.6rem; font-weight:700; color:#333; margin:.25rem 0 1rem;
}
.single-product .woocommerce-product-details__short-description{
  line-height:1.8; color:#444; margin:0 0 1.25rem;
}

/* バリエーション/数量のUI */
.single-product .variations select,
.single-product .quantity .qty{
  border:1px solid #ddd; border-radius:8px; padding:.5rem .6rem;
}
.single-product .variations td.label{ padding-right:10px; }

/* カートへボタン */
.single-product .single_add_to_cart_button{
  background:#7a5cc6; border-color:#7a5cc6; color:#fff;
  border-radius:10px; padding:.8rem 1.2rem; font-weight:700;
}
.single-product .single_add_to_cart_button:hover{ filter:brightness(.95); }

/* カテゴリ・タグ行を淡色に */
.single-product .product_meta{
  margin-top:1rem; color:#888; font-size:.95rem;
}
.single-product .product_meta a{ color:#666; }

/* --- タブ（説明のみ）を横罫で落ち着かせる --- */
.single-product .woocommerce-tabs{
  grid-column: 1 / -1; /* 2カラムの下にフル幅で */
  margin-top:28px;
}
.single-product .woocommerce-tabs ul.tabs{
  border-bottom:1px solid #eee; padding-left:0; margin:0 0 14px;
}
.single-product .woocommerce-tabs ul.tabs li{
  margin:0 .8rem 0 0; border:none; background:none;
}
.single-product .woocommerce-tabs ul.tabs li a{
  color:#888; padding:.4rem .2rem; display:inline-block;
}
.single-product .woocommerce-tabs ul.tabs li.active a{
  color:#333; border-bottom:2px solid #333;
}
.single-product .woocommerce-Tabs-panel{
  padding:0; line-height:1.9; color:#444;
}

/* 0円表示の行間・ズレ対策（通貨位置左にしてもずれる場合の微調整） */
.single-product .price .woocommerce-Price-amount{
  display:inline-flex; align-items:baseline; gap:.25em;
}

.single-product .product_title {
  color: red !important;
}

.post-title {
  font-size: 2rem; /* ←文字サイズを大きく */
  font-weight: 700; /* 太字に */
  line-height: 1.4; /* 行間 */
  margin-bottom: 0.5em;
  color: #333; /* 必要なら色も変更 */
}

.wp-block-list {
  font-size: 1.1rem;
  line-height: 1.8;
}