/* reset.cssなどのリセットスタイルをここで定義 */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* 英語のタイトルにFutura PT Bookを適用 */
h1,
h2,
h3 {
  font-family: 'futura-pt', sans-serif;
  font-weight: 400; /* Bookフォント */
}

/* 太字のタイトルにFutura PT Heavyを適用 */
h1.bold,
h2.bold,
h3.bold {
  font-family: 'futura-pt', sans-serif;
  font-weight: 700; /* Heavyフォント */
}

/* イタリックスタイルを適用 */
h1.italic,
h2.italic,
h3.italic {
  font-family: 'futura-pt', sans-serif;
  font-weight: 400;
  font-style: italic; /* Book Obliqueフォント */
}

/* 強調された太字でイタリック */
h1.bold-italic,
h2.bold-italic,
h3.bold-italic {
  font-family: 'futura-pt-bold', sans-serif;
  font-weight: 700;
  font-style: italic; /* Bold Obliqueフォント */
}

/* レイアウトに関するスタイル */
.inner {
  width: 1300px;
  margin: 0 auto;
}

.hero {
  width: 100%;
  height: 90vh;
  background-image: url('../img/top_bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end; /* 子要素を下に配置 */
  justify-content: flex-start; /* 子要素を左に配置 */
  padding: 0 20px 50px 20px; /* 下と左右に余白を追加 */
  box-sizing: border-box;
}

.about,
.service,
.news,
.contact {
  padding: 60px 0;
}

/* ヘッダー全体のスタイル */
.site-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: transparent;
}

/* ヘッダー内のコンテンツ幅を1300pxに制限 */
.site-header .inner {
  width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ロゴのスタイル */
.logo img {
  max-width: 150px;
}

/* ナビゲーションメニューのスタイル */
.main-navigation {
  position: relative;
}

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}

.nav-menu li a:hover {
  color: #555; /* ホバー時の色を変更 */
}

/* Heroテキスト */
.hero__text {
  text-align: left;
}

.hero__text h1 {
  color: #fff;
  font-size: 9rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero__text p {
  color: #333333;
  font-size: 4rem;
}

/* ABOUTセクション全体 */
.about {
  padding: 80px 0;
  position: relative;
}

.about .inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.about__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.about__images {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 50%;
}

.about__image {
  width: 290px; /* 各画像のサイズを指定 */
  height: auto;
  margin: 10px;
}

.about__text {
  max-width: 40%;
  padding-left: 20px;
}

.about__text h2 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
  font-style: italic;
}

.about__text .subheading {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 20px;
}

.about__text p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.about__text .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #8bb55b;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  width: 200px;
  text-align: center;
}

.about__text .btn:hover {
  background-color: #003f7f;
}

/* アニメーション */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.about__image--1 {
  animation: float 3s ease-in-out infinite;
}

.about__image--2 {
  animation: float 3s ease-in-out infinite;
  animation-delay: 1s;
}

.about__image--3 {
  animation: float 3s ease-in-out infinite;
  animation-delay: 2s;
}

@media (max-width: 768px) {
  .about__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about__image {
    margin-bottom: 20px;
    width: 100%; /* 幅を100%にして画面いっぱいに広げる */
  }

  .about__text {
    max-width: 100%; /* テキスト部分も幅を100%に広げる */
    padding-left: 0; /* 左側のパディングを削除 */
  }
}

/* SERVICEセクション全体 */
.service {
  padding: 80px 0;
  background-color: #ddffdd;
}

.service__inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service__text {
  max-width: 600px;
}

.service__text h2 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
  font-style: italic;
}

.service__text .subheading {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 20px;
}

.service__text p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.service__btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #8bb55b;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  align-self: flex-end;
  margin-right: 0; /* 右端に配置 */
  width: 200px;
  text-align: center;
}

.service__btn:hover {
  background-color: #0ff247;
}

/* 画像スライダーのスタイル */
.swiper-container {
  width: 100%;
  height: auto;
  margin-top: 40px;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  width: calc(100% / 3); /* スライドを3分割して表示 */
  padding: 0;
  box-sizing: border-box;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}

/* NEWSセクション全体 */
.news {
  padding: 80px 0;
  background-color: #fff;
}

/* 内側の最大幅を1300pxに制限 */
.news .inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 見出しとお知らせのスタイル */
.news h2 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
  font-style: italic;
}

.news .subheading {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

/* リストとリストアイテムのスタイル */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #e6e6e6;
  padding: 20px 0;
}

.news-header {
  display: flex;
  align-items: center;
  gap: 10px; /* 日付とカテゴリの間に余白 */
}

.news-date {
  font-size: 1rem;
  color: #333;
}

.news-label {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid #333;
  border-radius: 5px;
  font-size: 1rem;
  color: #333;
}

.news-title {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  margin-top: 10px;
}

.news-title:hover {
  text-decoration: underline;
}

.news__btn {
  align-self: flex-end; /* ボタンを右下に配置 */
  padding: 10px 20px;
  background-color: #8bb55b;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  margin-top: 20px; /* 上の要素との間隔を調整 */
  display: inline-block;
  width: 200px;
  text-align: center;
}

.news__btn:hover {
  background-color: #003f7f;
}

/* CTAセクションのスタイル */
.cta {
  background: url('../img/contact_bg.png') no-repeat center center fixed;
  background-size: cover;
  padding: 80px 0;
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-attachment: fixed; /* パララックス効果 */
}

.cta .inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2; /* コンテンツを背景の上に表示 */
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* オーバーレイをコンテンツの背後に */
}

.cta__btn {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  z-index: 2;
}

.cta__btn .btn {
  background-color: #fff;
  color: #8bb55b;
  padding: 20px 40px;
  border-radius: 5px;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  width: 200px;
  text-align: center;
}

.cta__btn .btn:hover {
  background-color: #f1f1f1;
  color: #003f7f;
}

.cta__text {
  flex: 2;
  text-align: right;
  z-index: 2;
}

.cta__text h2 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
  font-style: italic;
}

.cta__text p {
  font-size: 1.2rem;
  color: #fff;
  line-height: 1.6;
}

/* COMPANYセクション */
.company {
  padding: 80px 0;
  background-color: #fff;
}

.company .inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.company__map {
  flex: 1;
  margin-right: 50px;
}

.company__details {
  flex: 1;
}

.company__details h2 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
  font-style: italic;
}

.company__details .subheading {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 20px;
}

.company__info {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.company__info th {
  text-align: left;
  font-weight: bold;
  padding: 10px 0;
  font-size: 1.2rem;
}

.company__info td {
  padding: 10px 0;
  font-size: 1.2rem;
}

.company__info th,
.company__info td {
  border-bottom: 1px solid #ddd;
}

.footer {
  background-color: #8bb55b;
  padding: 20px 0;
  color: #fff;
}

.footer__inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}

.footer__nav {
  margin-bottom: 20px;
}

.footer__nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
}

.footer__nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.footer__nav a:hover {
  text-decoration: underline;
}

.footer__line {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  margin: 20px 0;
}

.footer__info {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.footer__info p {
  margin: 0;
}

.footer__info a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.footer__info a:hover {
  text-decoration: underline;
}

/* ページネーションのスタイル */
.pagination {
  text-align: center;
  margin: 20px 0;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
}

.pagination .page-numbers.current {
  background-color: #274bdb; /* 現在のページの背景色 */
  color: #fff; /* 現在のページの文字色 */
  border-color: #274bdb; /* 現在のページの枠線の色 */
}

.pagination .page-numbers:hover {
  background-color: #f1f1f1; /* ホバー時の背景色 */
  border-color: #ccc; /* ホバー時の枠線色 */
}

.pagination .prev,
.pagination .next {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
}

.pagination .prev:hover,
.pagination .next:hover {
  background-color: #f1f1f1;
  border-color: #ccc;
}

.tokushoho .section-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
  font-style: italic;
}

.tokushoho h3 {
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  background-color: #8bb55b;
  padding: 10px 20px;
  border-radius: 5px;
}

.tokushoho p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}
