@charset "utf-8";
/* CSS Document */

body{
  vertical-align:middle; 
  margin: 10px;
  padding: 10px 0;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif,'メイリオ', Meiryo,;
	font-size: 16px;
	color: #333;
	line-height:1.9;
	-webkit-text-size-adjust: 100%;
}

#wrap {
	margin: auto;
	padding: 1px;
	float: none;
	max-width: 1200px;
	width:99%;
	text-align: left;
}
*{
  box-sizing: border-box;
}
a{
  text-decoration: none;
}

/* header
----------------------------------------- */

header {
	margin-bottom: 5px;
  text-align: center;
}
header h1 {
	margin: 0px 0 20px 0;
	padding-left: 5px;
	float: left;
}
header h1 img {
	width: 450px;
}

nav{
margin: 15px 0 20px 0;
float: right;
width: 660px;
display: block;
}
nav ul{
display: table;
margin: 0 auto;
padding: 0 ;
width: 100%;
text-align: center;
}
nav li{
display: table-cell;
min-width: 50px;
}
nav a{
display: block;
width: 100%;
text-decoration: none;
color: #333;
padding-bottom: 5px;
}
nav li.current{
border-bottom: 3px solid #92D050;
}
nav li:hover{
color: #00aabb;
border-bottom: 3px solid #00aabb;
}

main{
      clear: both;
      text-align: center;
      display: block;
      width: auto;
}

/* mainVisual */
#mainVisual {
	margin-bottom: 80px;
	background-color: #ecebeb;
	text-align: center;
}
#mainVisual img {
	max-width: 1280px;
  width: 100%;
	height: auto;
}
/* top */
#mainVisual .pc {
	display: block;
}
#mainVisual .sp {
	display: none;
}

#picup{
 width: auto;
 margin: 20px 0 20px 0;
}
#mainimg{
  width: 100%;
}
h2 {
    margin-top: 40px;
    padding: .2em .2em;
    font-size: 1.4em;
    border-bottom: 1px solid #ccc;
    color: #1a98a6;
    text-align: left;
}
h3 {
    padding: .2em .7em;
    font-size: 1.2em;
    color: #333;
    text-align: center;
}
h4 {
    padding: 0em .7em;
    font-size: 1em;
    border-left: 5px solid #9cd1e7;
    color: #333;
    text-align: left;
}
.base_btn {
  display: inline-block;
  width: 200px;
  margin: 20px 0 20px 0;
  text-align: center;
  text-decoration: none;
  line-height: 48px;
  outline: none;
  color: #FFFFFF;
  background-color: #1a98a6;
  -webkit-transition: all .3s;
  transition: all .3s;
  border-radius: 5px;
}
.base_btn:hover {
  color: #FFFFFF;
  background-color: #1a98a6;
  opacity: 0.7;
}

img.logo {
    width: 400px;
     text-align: left;
}

img.logo_f {
    width: 220px;
     text-align: left;
}

#news {
    display: block;
    text-align: left;
}

.news-list{
  list-style: none outside;
  margin: 0;
  padding: 0;
}
.news-list .item a{
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}
.news-list .item:first-child a{
  border-top: 1px solid #CCC;
}
.news-list .item .date{
  margin: 0;
  min-width: 120px;
  font-size: 16px;
  color: #999;
  padding: 0 20px 0 0;
}
.news-list .item .title{
  margin: 0;
  width: 100%;
}
.news-list .item a:hover .title{
  color: #00aabb;
}

.flex-container {
    display: flex; /* フレックスボックスを有効にする */
    justify-content: space-between; /* 要素の間にスペースを均等に配置 */
    align-items: center; /* 要素を縦方向の中央に揃える */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; /* コンテナを中央に配置 */
}

.flex-item {
    background-color: #f0f0f0;
    padding: 20px;
    width: 30%; /* 各要素の幅を30%に設定 */
    text-align: center;
    box-sizing: border-box; /* パディングを含めたサイズを計算 */
}

.flex-item img {
  width: 100%;
}

.flex-item a{
display: block;
width: 100%;
text-decoration: none;
color: #333;
}
.notice{
color: #ff0055;
}

article{
text-align: left;
}

.signature{
text-align: right;
}
.lang{
width: 80px;
}


/* フォーム全体のスタイル */
form {
    background-color: white;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* ラベルのスタイル */
label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #555;
}

/* 入力欄のスタイル */
input, textarea {
    width: 100%; /* box-sizingが適用されるので、paddingやborder込みで100%に収まる */
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* テキストエリアの高さを調整 */
textarea {
    resize: vertical;
    height: 120px;
}

/* 送信ボタンのスタイル */
button {
    background-color: #1a98a6;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* ホバー時のボタンスタイル */
button:hover {
    background-color: #218838;
}

footer{
  margin-top: 40px;
}

.gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumbnail {
  width: 200px;
  height: auto;
  cursor: pointer;
  border: 2px solid #ccc;
  transition: transform 0.3s;
}

.thumbnail:hover {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.lightbox-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

@media screen and (max-width: 767px){
.news-list .item a{
  flex-wrap: wrap;
}
.news-list .item .date{
  min-width: 100px;
}
.news-list .item .title{
  margin-top: 10px;
}
nav{
margin: 10px 0 20px 0;
float: right;
width: 440px;
display: block;
}
nav li{
width: 50px;
}
form {
        padding: 15px;
        width: 95%;
    }
    button {
        font-size: 14px;
        padding: 8px;
    }

#mainVisual {
	margin-bottom: 30px;
	text-align: center;
}
#mainVisual img {
	width: 100%;
	min-width: 480px;
	height: auto;
}

#mainVisual .pc {
	display: none;
}
#mainVisual .sp {
	display: block;
}

.thumbnail {
    width: 100%;
  }

}