@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

/************************************
** 商品情報ボックスのスタイル
************************************/
.product-info-box {
  background: #fff;
  margin: 30px 0;
}

.product-info-title {
  font-size: 1.3em;
  font-weight: bold;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #333;
  color: #333;
}

.product-info-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-info-item {
  display: flex;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.product-info-item.designs-item {
  display: block;
}

.product-info-item.designs-item .product-info-label {
  display: block;
  margin-bottom: 10px;
}

.product-info-item.designs-item .product-info-value {
  display: block;
  width: 100%;
}

.product-info-item:last-child {
  border-bottom: none;
}

.product-info-label {
  font-weight: bold;
  color: #555;
  min-width: 120px;
  flex-shrink: 0;
  padding-right: 15px;
}

.product-info-value {
  color: #333;
  flex: 1;
  min-width: 0;
}

/* 販売状況バッジ */
.status-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: bold;
  text-align: center;
}

.status-badge.status-on_sale {
  background: #4caf50;
  color: #fff;
}

.status-badge.status-sold_out {
  background: #9e9e9e;
  color: #fff;
}

.status-badge.status-coming_soon {
  background: #2196f3;
  color: #fff;
}

/* 価格表示 */
.price-value {
  font-size: 1.4em;
  font-weight: bold;
  color: #d32f2f;
}

.price-tax-label {
  font-size: 0.6em;
  font-weight: normal;
  color: #333;
  margin-left: 5px;
}

/* 取扱店舗リスト */
.stores-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-item {
  background: #f5f5f5;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.9em;
  border: 1px solid #e0e0e0;
}

/* 絵柄・商品番号リスト */
.product-designs-list {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #ccc #f5f5f5;
  padding-bottom: 10px;
}

.product-designs-list::-webkit-scrollbar {
  height: 8px;
}

.product-designs-list::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 4px;
}

.product-designs-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.product-designs-list::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.product-design-item {
  flex: 0 0 250px;
  min-width: 250px;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-design-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.design-title {
  font-size: 1.1em;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ddd;
  text-align: center;
}

.design-image-wrapper {
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.design-image-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.design-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

.design-image-wrapper:hover .design-image {
  opacity: 0.9;
}

.product-number {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e0e0e0;
  font-size: 0.9em;
}

.product-number-label {
  color: #666;
  margin-right: 5px;
}

.product-number-value {
  font-weight: bold;
  color: #333;
}

/* 注目商品バッジ */
.featured-badge {
  display: inline-block;
  background: #ff5722;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: bold;
  margin-left: 10px;
  vertical-align: middle;
}

/* 商品カード用スタイル */
.product-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card-content {
  padding: 15px;
}

.product-card-title {
  font-size: 1.1em;
  font-weight: bold;
  margin: 0 0 10px 0;
  color: #333;
}

.product-card-price {
  font-size: 1.2em;
  font-weight: bold;
  color: #d32f2f;
  margin: 10px 0;
}

.product-card-status {
  margin-top: 10px;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  .product-info-label {
    min-width: 100px;
    font-size: 0.95em;
  }
  
  .product-card-image {
    height: 180px;
  }
  
  .product-design-item {
    flex: 0 0 220px;
    min-width: 220px;
  }
  
  .product-designs-list {
    gap: 15px;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  .product-info-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .product-info-label {
    min-width: auto;
    margin-bottom: 5px;
    padding-right: 0;
  }
  
  .stores-list {
    flex-direction: column;
  }
  
  .product-card-image {
    height: 160px;
  }
  
  .product-design-item {
    flex: 0 0 200px;
    min-width: 200px;
  }
  
  .product-designs-list {
    gap: 12px;
  }
  
  .product-design-item {
    padding: 12px;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .product-info-box {
    margin: 20px 0;
  }
  
  .product-info-title {
    font-size: 1.1em;
  }
  
  .product-info-label {
    font-size: 0.9em;
  }
  
  .product-info-value {
    font-size: 0.95em;
  }
  
  .price-value {
    font-size: 1.2em;
  }
  
  .product-card-content {
    padding: 12px;
  }
  
  .product-card-title {
    font-size: 1em;
  }
  
  .product-card-price {
    font-size: 1.1em;
  }
  
  .product-design-item {
    flex: 0 0 180px;
    min-width: 180px;
  }
  
  .product-designs-list {
    gap: 10px;
  }
  
  .product-design-item {
    padding: 10px;
  }
  
  .design-image {
    max-height: 150px;
  }
}

/************************************
** 商品・ニュース個別ページのスタイル
************************************/
.product-single,
.news-single {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.entry-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
}

.entry-title {
  font-size: 2em;
  font-weight: bold;
  color: #333;
  margin: 0 0 15px 0;
  line-height: 1.4;
}

.entry-meta {
  display: flex;
  gap: 20px;
  font-size: 0.9em;
  color: #666;
}

.entry-meta time {
  display: inline-block;
}

.entry-thumbnail {
  margin: 30px 0;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
}

.entry-thumbnail img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.product-info-section {
  margin: 30px 0;
}

.entry-content {
  margin: 30px 0;
  line-height: 1.8;
  font-size: 1.05em;
  color: #333;
}

.entry-content h2 {
  font-size: 1.6em;
  margin: 40px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #333;
}

.entry-content h3 {
  font-size: 1.4em;
  margin: 30px 0 15px 0;
  padding-left: 10px;
  border-left: 4px solid #333;
}

.entry-content p {
  margin: 15px 0;
}

.entry-content ul,
.entry-content ol {
  margin: 15px 0;
  padding-left: 30px;
}

.entry-content li {
  margin: 8px 0;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 20px 0;
}

.entry-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px solid #e0e0e0;
}

.product-categories,
.news-categories,
.product-tags {
  margin: 15px 0;
  font-size: 0.95em;
}

.cat-label,
.tag-label {
  font-weight: bold;
  color: #555;
  margin-right: 10px;
}

.product-categories a,
.news-categories a,
.product-tags a {
  display: inline-block;
  background: #f5f5f5;
  padding: 5px 12px;
  margin: 3px;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  border: 1px solid #e0e0e0;
  transition: background 0.2s ease;
}

.product-categories a:hover,
.news-categories a:hover,
.product-tags a:hover {
  background: #e0e0e0;
}

/************************************
** レスポンシブ: 商品・ニュース個別ページ
************************************/
@media screen and (max-width: 834px) {
  .product-single,
  .news-single {
    padding: 20px;
  }
  
  .entry-title {
    font-size: 1.6em;
  }
  
  .entry-meta {
    flex-direction: column;
    gap: 8px;
  }
  
  .entry-thumbnail img {
    max-height: 400px;
  }
  
  .entry-content {
    font-size: 1em;
  }
  
  .entry-content h2 {
    font-size: 1.4em;
  }
  
  .entry-content h3 {
    font-size: 1.2em;
  }
}

@media screen and (max-width: 480px) {
  .product-single,
  .news-single {
    padding: 15px;
  }
  
  .entry-title {
    font-size: 1.4em;
  }
  
  .entry-thumbnail img {
    max-height: 300px;
  }
  
  .entry-content {
    font-size: 0.95em;
    line-height: 1.7;
  }
  
  /************************************
  ** 商品ページで日付・タグを非表示
  ************************************/
  .post-type-product .date-tags {
    display: none !important;
  }
  
  .entry-content h2 {
    font-size: 1.3em;
    margin: 30px 0 15px 0;
  }
  
  .entry-content h3 {
    font-size: 1.1em;
    margin: 25px 0 12px 0;
  }
  
  .product-categories a,
  .news-categories a,
  .product-tags a {
    font-size: 0.9em;
    padding: 4px 10px;
  }
}

/************************************
** 商品検索フォーム
************************************/
.product-search-wrapper {
  background: #fff;
  padding: 40px 0;
  margin-bottom: 40px;
}

.product-search-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-search-form {
  width: 100%;
}

.product-search-input-wrapper {
  display: flex;
  gap: 10px;
  background: #fff;
  border: 2px solid #333;
  border-radius: 50px;
  padding: 8px 8px 8px 24px;
  transition: border-color 0.3s ease;
}

.product-search-input-wrapper:focus-within {
  border-color: #667eea;
}

.product-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.1em;
  padding: 8px 0;
  background: transparent;
}

.product-search-input::placeholder {
  color: #999;
}

.product-search-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.product-search-button:hover {
  background: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.product-search-button:active {
  transform: translateY(0);
}

.product-search-button svg {
  flex-shrink: 0;
}

/************************************
** レスポンシブ: 商品検索フォーム
************************************/
@media screen and (max-width: 834px) {
  .product-search-wrapper {
    padding: 30px 0;
  }
  
  .product-search-container {
    padding: 0 15px;
  }
  
  .product-search-input {
    font-size: 1em;
  }
  
  .product-search-button {
    padding: 10px 20px;
    font-size: 0.95em;
  }
}

@media screen and (max-width: 480px) {
  .product-search-wrapper {
    padding: 20px 0;
  }
  
  .product-search-container {
    padding: 0 10px;
  }
  
  .product-search-input-wrapper {
    padding: 6px 6px 6px 16px;
  }
  
  .product-search-input {
    font-size: 0.95em;
    padding: 6px 0;
  }
  
  .product-search-button {
    padding: 8px 16px;
    font-size: 0.9em;
    gap: 6px;
  }
  
  .product-search-button span {
    display: none;
  }
  
  .product-search-button svg {
    width: 18px;
    height: 18px;
  }
}

/************************************
** 注目商品セクション
************************************/
.featured-products-wrapper {
  background: #fff;
  padding: 60px 0 40px 0;
  margin-bottom: 0;
}

.featured-products-wrapper + .featured-products-wrapper {
  padding-top: 20px;
}

.featured-products-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.featured-products-title {
  font-size: 2em;
  font-weight: bold;
  color: #333;
  margin: 0 0 30px 0;
  padding-bottom: 15px;
  border-bottom: 3px solid #333;
}

.featured-products-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #ccc #f5f5f5;
}

.featured-products-scroll::-webkit-scrollbar {
  height: 8px;
}

.featured-products-scroll::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 4px;
}

.featured-products-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.featured-products-scroll::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.featured-products-grid {
  display: flex;
  gap: 20px;
  padding-bottom: 10px;
}

.featured-product-card {
  flex: 0 0 280px;
  min-width: 280px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.featured-product-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.featured-product-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #f0f0f0;
}

.featured-product-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.featured-product-card:hover .featured-product-image {
  transform: scale(1.05);
}

.featured-product-content {
  padding: 20px;
}

.featured-product-title {
  font-size: 1.1em;
  font-weight: normal;
  color: #333;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.featured-product-price {
  margin: 0;
  font-size: 1em;
}

.featured-products-empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 1.2em;
}

/************************************
** レスポンシブ: 注目商品セクション
************************************/
@media screen and (max-width: 834px) {
  .featured-products-wrapper {
    padding: 40px 0 30px 0;
    margin-bottom: 0;
  }
  
  .featured-products-wrapper + .featured-products-wrapper {
    padding-top: 20px;
  }
  
  .featured-products-container {
    padding: 0 15px;
  }
  
  .featured-products-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }
  
  .featured-product-card {
    flex: 0 0 240px;
    min-width: 240px;
  }
  
  .featured-product-image-wrapper {
    height: auto;
  }
  
  .featured-product-content {
    padding: 15px;
  }
  
  .featured-product-title {
    font-size: 1em;
    font-weight: normal;
  }
}

@media screen and (max-width: 480px) {
  .featured-products-wrapper {
    padding: 30px 0 20px 0;
    margin-bottom: 0;
  }
  
  .featured-products-wrapper + .featured-products-wrapper {
    padding-top: 20px;
  }
  
  .featured-products-container {
    padding: 0 10px;
  }
  
  .featured-products-title {
    font-size: 1.4em;
    margin-bottom: 15px;
  }
  
  .featured-products-grid {
    gap: 15px;
  }
  
  .featured-product-card {
    flex: 0 0 200px;
    min-width: 200px;
  }
  
  .featured-product-image-wrapper {
    height: auto;
  }
  
  .featured-product-content {
    padding: 12px;
  }
  
  .featured-product-title {
    font-size: 0.95em;
    font-weight: normal;
  }
  
  .featured-product-price {
    font-size: 0.95em;
  }
  
  .price-value {
    font-size: 1.1em;
  }
}

/************************************
** 最新ニュースカルーセル
************************************/
.news-carousel-wrapper {
  background: #fff;
  padding: 0;
  margin-bottom: 40px;
}

.news-carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.news-carousel-title {
  display: none;
}

.news-carousel {
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  background: #fff;
  padding: 20px;
}

.news-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.news-carousel-item {
  flex: 0 0 calc(33.333% - 14px);
  min-width: calc(33.333% - 14px);
  background: #fff;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.news-carousel-item:hover {
  opacity: 0.8;
}

.news-carousel-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.news-carousel-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f0f0f0;
}

.news-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.news-carousel-item:hover .news-carousel-image {
  transform: scale(1.05);
}

.news-carousel-content {
  padding: 15px 0;
}

.news-carousel-date {
  display: none;
}

.news-carousel-item-title {
  font-size: 1em;
  font-weight: bold;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-carousel-price {
  margin: 0;
  font-size: 0.95em;
}

.news-carousel-price .price-value {
  font-size: 1.2em;
  font-weight: bold;
  color: #d32f2f;
}

.news-carousel-price .price-tax-label {
  font-size: 0.75em;
  font-weight: normal;
  color: #666;
  margin-left: 3px;
}

.news-carousel-empty {
  text-align: center;
  padding: 60px 20px;
  color: #fff;
  font-size: 1.2em;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 10;
}

.carousel-button:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transform: translateY(-50%) scale(1.1);
}

.carousel-button:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-button-prev {
  left: -25px;
}

.carousel-button-next {
  right: -25px;
}

.carousel-button svg {
  color: #333;
}

/************************************
** レスポンシブ: ニュースカルーセル
************************************/
@media screen and (max-width: 1023px) {
  .news-carousel-item {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
  
  .carousel-button-prev {
    left: 10px;
  }
  
  .carousel-button-next {
    right: 10px;
  }
}

@media screen and (max-width: 834px) {
  .news-carousel-wrapper {
    padding: 0;
  }
  
  .news-carousel-title {
    font-size: 1.6em;
    margin-bottom: 30px;
  }
  
  .news-carousel-image-wrapper {
    height: 180px;
  }
  
  .news-carousel-content {
    padding: 12px 0;
  }
  
  .news-carousel-item-title {
    font-size: 0.95em;
  }
}

@media screen and (max-width: 480px) {
  .news-carousel-wrapper {
    padding: 0;
  }
  
  .news-carousel-container {
    padding: 0 10px;
  }
  
  .news-carousel {
    padding: 15px;
  }
  
  .news-carousel-track {
    gap: 15px;
  }
  
  .news-carousel-item {
    flex: 0 0 100%;
    min-width: 100%;
  }
  
  .news-carousel-image-wrapper {
    height: 160px;
  }
  
  .news-carousel-content {
    padding: 10px 0;
  }
  
  .news-carousel-item-title {
    font-size: 0.9em;
  }
  
  .carousel-button {
    width: 40px;
    height: 40px;
  }
  
  .carousel-button-prev {
    left: 5px;
  }
  
  .carousel-button-next {
    right: 5px;
  }
}

/************************************
** QRコード表示ボタンとライトボックス
************************************/
.qr-code-button-wrapper {
  margin-top: 10px;
}

.qr-code-button {
  display: inline-block;
  background: #667eea;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 0.9em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.qr-code-button:hover {
  background: #5568d3;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.qr-code-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

/* ライトボックス */
.qr-code-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.qr-code-lightbox.show {
  display: flex !important;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.qr-code-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.qr-code-lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  z-index: 10000;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.qr-code-image {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/************************************
** レスポンシブ: QRコードライトボックス
************************************/
@media screen and (max-width: 834px) {
  .qr-code-button {
    padding: 8px 16px;
    font-size: 0.85em;
  }
  
  .qr-code-lightbox-content {
    max-width: 95%;
    max-height: 95%;
  }
  
}

@media screen and (max-width: 480px) {
  .qr-code-button {
    padding: 6px 14px;
    font-size: 0.8em;
  }
  
  .qr-code-lightbox-content {
    max-width: 98%;
    max-height: 98%;
  }
  
  .qr-code-image {
    border-radius: 4px;
  }
}

/************************************
** ニュースセクション
************************************/
.news-section-wrapper {
  background: #f8f8f8;
  padding: 60px 0;
  margin-top: 0;
}

.news-section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.news-section-title {
  font-size: 2em;
  font-weight: bold;
  color: #333;
  margin: 0 0 30px 0;
  padding-bottom: 15px;
  border-bottom: 3px solid #333;
}

.news-list {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.news-item {
  border-bottom: 1px solid #e0e0e0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.news-item-link:hover {
  background: #f8f8f8;
}

.news-item-date {
  flex-shrink: 0;
  font-size: 1em;
  color: #666;
  font-weight: 500;
  min-width: 100px;
}

.news-item-title {
  flex: 1;
  font-size: 1em;
  font-weight: normal;
  color: #333;
  margin: 0;
  line-height: 1.6;
}

.news-item-icon {
  flex-shrink: 0;
  color: #999;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.news-item-link:hover .news-item-icon {
  transform: translateX(4px);
  color: #555;
}

.news-more-link-wrapper {
  margin-top: 30px;
  text-align: center;
}

.news-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #333;
  color: #fff;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.news-more-link:hover {
  background: #555;
  color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.news-more-link:active {
  transform: translateY(0);
}

.news-more-link svg {
  transition: transform 0.2s ease;
}

.news-more-link:hover svg {
  transform: translateX(4px);
}

/************************************
** レスポンシブ: ニュースセクション
************************************/
@media screen and (max-width: 834px) {
  .news-section-wrapper {
    padding: 40px 0;
  }
  
  .news-section-container {
    padding: 0 20px;
  }
  
  .news-section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }
  
  .news-item-link {
    padding: 16px 20px;
    gap: 15px;
  }
  
  .news-item-date {
    font-size: 0.95em;
    min-width: 90px;
  }
  
  .news-item-title {
    font-size: 0.95em;
  }
  
  .news-more-link {
    padding: 10px 28px;
    font-size: 0.95em;
  }
}

@media screen and (max-width: 480px) {
  .news-section-wrapper {
    padding: 30px 0;
  }
  
  .news-section-container {
    padding: 0 15px;
  }
  
  .news-section-title {
    font-size: 1.4em;
    margin-bottom: 15px;
  }
  
  .news-item-link {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    gap: 8px;
  }
  
  .news-item-date {
    font-size: 0.9em;
    min-width: auto;
  }
  
  .news-item-title {
    font-size: 0.9em;
  }
  
  .news-item-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .news-item-link:hover .news-item-icon {
    transform: translateY(-50%) translateX(4px);
  }
  
  .news-item {
    position: relative;
  }
  
  .news-more-link {
    padding: 10px 24px;
    font-size: 0.9em;
  }
}
