@charset "UTF-8";
/*---------default*/
html{
    margin: 0;
    padding: 0;
 }
/*---------ALL*/
body {
  margin: 0;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif "ヒラギノ角ゴ Pro W3","メイリオ","MS P ゴシック","MS PGothic",Osaka;
  line-height: normal;
  background: #f5f5f5;
}
h1,
h2,
h3,
h4,
h5,
h6{
    margin: 0;
    padding: 0;
    font-weight: normal;
}
img{
    width: 100%;
    height: auto;
}
ul{
    margin: 0;
    padding: 0;
}
ul li{
    list-style: none;
    padding: 0;
}
dl,
dt,
dd{
    margin: 0;
    padding: 0;
}
dt{
    font-weight: normal;
}
table{
    border-collapse: collapse;
}
figure{
    margin: 0;
    padding: 0;
}

.inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/*----------header*/
/* ヘッダー全体（固定でも可変でもOK） */
#page-header {
  width: 100%;
  background: #fff;
  position: fixed;   /* 固定ヘッダーなら残す */
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* 内側の横並びレイアウト */
#page-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* PC用 */
.logo img {
  width: 100px;   
  height: auto;
}

/* スマホ用（少し控えめにしつつ大きく） */
@media (max-width: 768px) {
  .logo img {
    width: 20%;  
    height: auto;
  }
}
/* タイトル */
.top-title {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif; /* 明朝体 */
  font-weight: 700;        /* 太くする */
  font-size: 1.8rem;       /* 大きくする（PC） */
  line-height: 1.3;
  white-space: normal;     /* 改行を有効にする */
}
/* メインタイトル（大きく太く） */
.main-title {
  font-size: 2.2rem;          /* ★大きくする（PC） */
  font-weight: 700;           /* ★太くする */
}

/* サブタイトル（控えめ） */
.sub-title {
  font-size: 1.2rem;
  font-weight: 400;
}

/* スマホ用調整 */
@media (max-width: 768px) {
  .main-title {
    font-size: 6vw;   /* ★画面幅に応じて自動調整 → PCと同じ比率 */
  }
  .sub-title {
    font-size: 4vw;   /* ★メインタイトルとの比率を維持 */
  }
}

/* SNSアイコン */
.sns {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
}
.sns img {
  width: 40px;
  height: 40px;
}
/* スマホ用（少し控えめに） */
@media (max-width: 768px) {
  .sns {
    flex-direction: column;   /* ★縦並びにする */
    align-items: flex-start;  /* 左寄せ（必要なら） */
    gap: 0;
  }
    .sns img {
    width: 34px;   /* ★スマホでも見やすいサイズ */
    height: 34px;
  }
}
/* ★スマホでも横並びを維持するために column にしない */
@media (max-width: 768px) {
  #page-header .inner {
    flex-direction: row;       /* 横並びのまま */
    align-items: center;
  }
  .logo img {
    width: 55px;               /* ロゴを縮小 */
  }
  .sns img {
    width: 24px;               /* SNSアイコンも縮小 */
  }
}

/*----------main*/
/* ヘッダーの高さに合わせて調整（例：120px） */
main{
    position: relative;
    margin: 120px auto 0;   /* ★240px → 120px に縮小 */
}

/* スライドショーの余白を最適化 */
.slidshow{
    width: 50%;
    aspect-ratio: 16 / 9;
    margin: 1.5rem auto 3rem;  
    position: relative;
    overflow: hidden;
}
@media (max-width: 768px){
 .slidshow{
    width:100%;
    margin-top: 1rem; 
    margin-bottom: 1rem;  /* 下は少し残すと綺麗 */
}
}
/*スライド領域*/
.slides{
    position: relative;
    width: 100%;
    height: 100%;
}
/*ラジオ非表示*/
.slidshow input{
    display: none;
}
/*各スライド*/
.slide{
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s;
}
.slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*ラジオ選択で表示*/
#s1:checked~.slide:nth-of-type(1),
#s2:checked~.slide:nth-of-type(2),
#s3:checked~.slide:nth-of-type(3),
#s4:checked~.slide:nth-of-type(4),
#s5:checked~.slide:nth-of-type(5){
    opacity: 1;
}
/*自動フェードループ（25秒で１周）*/
@keyframes fadeLoop{
    0% {opacity: 1;}
    16% {opacity: 1;}
    20% {opacity: 0;}
    100%{opacity: 0;}
}
.slide:nth-of-type(1){animation: fadeLoop 25s infinite;animation-delay: 0s;}
.slide:nth-of-type(2){animation: fadeLoop 25s infinite;animation-delay: 5s;}
.slide:nth-of-type(3){animation: fadeLoop 25s infinite;animation-delay: 10s;}
.slide:nth-of-type(4){animation: fadeLoop 25s infinite;animation-delay: 15s;}
.slide:nth-of-type(5){animation: fadeLoop 25s infinite;animation-delay: 20s;}

/*丸ボタン（ドット）*/
.dots {
  position: absolute;
  bottom: 1rem;          /* ★スライド内の下に固定 */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;           /* ★画像より前に出す */
}
@media (max-width: 768px) {
  .dots {
    bottom: 0.5rem;      /* ★スマホでは少し上に */
  }
  .dots label {
    width: 14px;
    height: 14px;
  }
}
.dots label{
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 5px;
    border-radius: 50%;
    background: #bbb;
    cursor: pointer;
}
/*選択中の丸を濃くする*/
#s1:checked~.dots label:nth-child(1),
#s2:checked~.dots label:nth-child(2),
#s3:checked~.dots label:nth-child(3),
#s4:checked~.dots label:nth-child(4),
#s5:checked~.dots label:nth-child(5){
    background: #333;
}
/* ドットの自動フェード連動（25秒で1周） */
@keyframes dotLoop {
  0%,16%   { background: #333; }  /* 表示中のスライドに合わせて黒 */
  20%,100% { background: #bbb; }  /* 非表示のときは薄いグレー */
}

/* 各ドットにアニメーションを付ける */
.dots label:nth-child(1){ animation: dotLoop 25s infinite; animation-delay: 0s; }
.dots label:nth-child(2){ animation: dotLoop 25s infinite; animation-delay: 5s; }
.dots label:nth-child(3){ animation: dotLoop 25s infinite; animation-delay: 10s; }
.dots label:nth-child(4){ animation: dotLoop 25s infinite; animation-delay: 15s; }
.dots label:nth-child(5){ animation: dotLoop 25s infinite; animation-delay: 20s; }

/* 新着情報セクション */
#new {
  background: #ffffff;
  padding: 2rem 0;
  margin-top: 0.5rem;
}

#new h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  border-left: 6px solid #2c4a2f;  /* 自衛隊らしい深緑 */
  padding-left: 0.6rem;
}

/* 1件ずつの枠 */
.news-item {
  background: #f7f7f7;
  padding: 1rem;
  margin: 0.7rem 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 4px solid #b0b0b0;
}

/* 日付（左側） */
.news-item .date {
  font-weight: 700;
  color: #333;
  min-width: 140px;     /* PCで左側に固定幅 */
}

/* 本文（右側） */
.news-item .text {
  flex: 1;
  line-height: 1.7;
}

/* NEWアイコン */
.news-item.new {
  border-left-color: #d9534f; /* 赤で強調 */
  position: relative;
}

.news-item.new::before {
  content: "NEW";
  position: absolute;
  top: -10px;
  left: -10px;
  background: #d9534f;
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 6px;
  border-radius: 4px;
  font-weight: 700;
}

/* スマホ用（左右分割を縦並びに） */
@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-item .date {
    min-width: auto;
    font-size: 1.1rem;
  }

  .news-item .text {
    font-size: 1rem;
  }
}

/* PC（幅900px以上）：3列 */
#item-blk {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem 1rem;
}

/* タブレット（600〜899px）：2列 */
@media (max-width: 899px) {
  #item-blk {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ（〜599px）：1列 */
@media (max-width: 599px) {
  #item-blk {
    grid-template-columns: 1fr;
  }
}
/* スマホ用（幅を狭くする） */
@media (max-width: 768px) {
  .item-blk {
    max-width: 280px;   /* ★スマホで幅を狭くする */
    margin: 0 auto 1rem; /* 中央に配置 */
  }
}

.item {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}


#drone {
  background: #fff5f5;
  border-left: 6px solid #d9534f;
  padding: 2rem 0;
  margin-top: 1rem;
}

#drone .text {
  line-height: 1.8;
}


/*----------footer*/
footer {
  padding: 2rem 1rem 4rem;   /* ★上を3remに増やす */
  margin-top: 3rem;          /* ★セクションとの間隔をさらに広げる */
}

footer h2 {
  margin-bottom: 1rem;
}
section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  border-left: 6px solid #2c4a2f;
  padding-left: 0.6rem;
}
section h2,
footer h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  border-left: 6px solid #2c4a2f;
  padding-left: 0.6rem;
}

/* 問い合わせ先ブロック（薄いグレー背景） */
footer .contact-list {
  background: #f2f2f2;
  color: #333;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 600px;
  margin: 2rem auto;   /* ★ドローン禁止区域との間隔も広がる */
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

/* 各項目の文字サイズと行間 */
footer .contact-list li {
  font-size: 1.2rem;
  line-height: 1.9;
  margin: 0.6rem 0;
}

/* リンクの折り返し対策 */
footer .contact-list li a {
  word-break: break-all;
  color: #333;
}

/* Googleマップの余白 */
footer .map-wrap {
  max-width: 600px;
  margin: 1.5rem auto 0;
  border-radius: 8px;
  overflow: hidden;
}
/* スマホ用 */
@media (max-width: 768px) {
  footer .map-wrap {
   aspect-ratio: 16 / 9;  
   margin: 1rem auto; /* ★余白を少し控えめに */
   border-radius: 6px;
  }
  footer .map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  }
}

/* 利用規約の見出し（問い合わせ先と統一） */
footer .terms-title {
  font-size: 1.6rem;               /* 新着情報と統一 */
  margin-top: 5rem;               
  margin-bottom: 1rem;
  border-left: 6px solid #2c4a2f;  /* 深緑のラインで統一 */
  padding-left: 0.6rem;
}

/* 利用規約の本文（文字だけで整える） */
footer .terms-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 600px; 
}
