﻿@charset "utf-8";

body{
    background-color:#F5E9D1;
    margin: 0;
    padding: 0;
}

.wrapper{
    min-height: 100vh;
    position: relative;/*←相対位置*/
    padding-bottom: 120px;/*←footerの高さ*/
    box-sizing: border-box;/*←全て含めてmin-height:100vhに*/
}

/*フッター*/
footer{
    background-color: #1F2847;
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 100px;
    position: absolute;
    
}

/*トップページ*/

.image-container{
  overflow:hidden;
  position:relative;
  width: 100%;
  height:670px;
  margin: -40px 0 0 0;
  background: linear-gradient(to left bottom,#4B9EE2, #D0E9F9);
}
.image-container img{
  position:absolute;
/*▼画像幅の半分、右に動かす*/
  left:50%;
  height:670px;
  width: 1200px;
/*▼画像の幅の半分だけ、ネガティブマージンを設定*/
  margin-left:-600px;
}

/*ナビメニュー*/
nav ul{
display: table;
margin: 0 auto;
padding: 30px 0 0 0;
width: 100%;
text-align: center;
background-color: #1F2847;
}
nav li{
display: table-cell;
min-width: 50px;
}
nav a{
display: block;
width: 100%;
text-decoration: none;
color: white;
padding-bottom: 5px;
}
nav li:hover{
border-bottom: 3px solid #B6CEC0;
}

/*お知らせ*/
.news-list{
  list-style: none outside;
  padding: 0 200px 100px 200px;
  margin-top: 100px;
}
.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: 140px;
  font-size: 16px;
  color: #999;
  padding: 0 20px 0 0;
}
.news-list .item .category{
  margin: 0;
  min-width: 140px;
  padding: 0 20px 0 0;
}
.news-list .item .category span{
  background: #999;
  color: #FFF;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
}
.news-list .item .title{
  margin: 0;
  width: 100%;
}

@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;
}
}

/*kawagoe*/
h1 {
  padding: 0.5em;/*文字周りの余白*/
  color: #494949;/*文字色*/
  background: #fffaf4;/*背景色*/
  border-left: solid 10px #B6CEC0;/*左線（実線 太さ 色）*/
}

.flex {
  display: flex; /*横並び*/
  align-items: center;
}
.flex .image {
  margin: 0;
  padding: 0;
}
.flex .text {
  margin: 0 100px 0 70px;
  padding: 40px;
  background-color: #B6CEC0;
  border-radius: 30px; 
}

/*観光スポット*/
p{
  margin: 20px;
}
div.parent_box {
  display: flex;/*横並び*/
  align-items: center;
}
.side_text{
  width: 50%;
}
.text-color{
  background-color: #B6CEC0;
  border-radius: 20px;
  padding: 5px;
  margin: 0 0 40px 150px;
}
.small-text{
  font-size: 80%;
  background-color: #B6CEC0;
  border-radius: 10px;
  padding: 1px;
  margin: 0 0 20px 150px;
  width: 60%;
}

img{
    display: block;
    height: auto;
    margin: 40px 0px 40px 150px;
}


/*イベント情報*/

table{
  margin:70px auto;
  width: 60%;
  border-collapse: collapse;
  border-spacing: 0;
}

/*月の行の幅*/
table .month{
  width: 9%;
  text-align: center;
}

/*曜日の行の幅*/
table .day{
  width: 23%;
  padding-left: 30px;
}

/*イベント詳細の行の幅*/
table .content{
  width: 50%;
  text-align: center;
}
table th,table td{
  padding: 15px 0;
}
table td{
	border: none;
	border-right: 1px dashed #646566;
}
table td:last-child {
	border: none;
}
table tr:nth-child(odd) {
	background:#f7eedc;
}



/*お問い合わせ*/

/* フォームのタイトル */
h2 {
    margin-top: 50px;
    font-size: 24px;
    color: #333;
}

/* フォーム全体のスタイル */
form {
    background-color: white;
    padding: 45px;
    width: 90%;
    max-width: 400px;
    margin: 100px auto;
    border-radius: 10px;
    text-align: left;
}

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

/* 入力欄のスタイル */
input, textarea {
    width: 100%; 
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

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

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

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