@charset "UTF-8";
/*
Theme Name: original
Author: Mirai Web Corp.
Description: This is our original theme.
Version: 1.0

/*
* ベースリセット
*/
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    box-sizing: border-box;
}
/* 長いリンク、長い単語を折り返す */
a {
  word-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
  display: inline-block;
}
.page_navi {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    list-style-type: none;
    padding: 0;
}

.page_navi li {
  margin: 0;
  padding: 0;
}

.page_navi a {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 2px;
  text-decoration: none;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

.page_navi a:hover {
  background-color: #0073e6;
  color: white;
}

.page_navi .current span {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 2px;
  background-color: #0073e6;
  color: white;
  border-radius: 4px;
}
  
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background-color: #2563eb; /* blue-600 */
  color: white;
  font-size: 0.875rem;
  line-height: 1.25rem;
  border-radius: 0.375rem; /* rounded-lg */
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #1d4ed8; /* blue-500 */
}

.btn-primary:disabled {
  background-color: #93c5fd; /* lighter blue */
  cursor: not-allowed;
}
.wpcf7-button-area p {
	margin: 0;
	display: flex;
	flex-direction: column; /* ボタンとスピナーを縦に並べる */
	align-items: center;
	width: 100%;
}



.wpcf7-button-area input[type="submit"]:hover {
  background-color: #1d4ed8;
}

.wpcf7-spinner {
  margin-top: 8px; /* ボタンとの間に少し余白を作る */
  display: inline-block;
}

/* ギャラリー全体の設定 */
.wp-block-gallery {
  display: flex;           /* Flexboxで横並びに */
  flex-wrap: wrap;         /* 折り返しを有効化 */
  gap: 16px;               /* 画像間のスペース */
  justify-content: center; /* 中央揃え */
}

/* ギャラリー内の各画像 */
.wp-block-gallery .wp-block-image {
  flex: 1 1 calc(33.33% - 16px); /* PC時: 横3列 */
  max-width: calc(33.33% - 16px); /* 最大幅制限 */
}

/* 画像自体の設定 */
.wp-block-gallery img {
  width: 100%;             /* 親要素に合わせる */
  height: auto;            /* アスペクト比を保持 */
  display: block;          /* 不要な隙間を防ぐ */
}

/* スマホ時のレスポンシブ対応 */
@media (max-width: 768px) {
  .wp-block-gallery .wp-block-image {
    flex: 1 1 100%;        /* 縦一列にする */
    max-width: 100%;       /* 幅を100%にする */
  }
}
