/* =========
   基本（必須条件）
   html: 白
   body: 1068px / 背景 #470000
   container: 950px / 背景 白
   ========= */
html{
  background: #fff;
}

body{
  width: 1068px;
  margin: 0 auto;
  background: #470000;
  font-family: "Yu Mincho","YuMincho","Hiragino Mincho ProN","Hiragino Mincho Pro","HGS明朝E","メイリオ",Meiryo,serif;
}

/* 中央白い箱 */
#container{
  width: 950px;
  margin: 0 auto;
  background: #fff;
}

/* =========
   Header
   ========= */
#header{
  padding: 0;
  background: transparent; /* 赤帯を潰さない */
}

.header-image{
  display: block;
  width: 100%;
  height: auto;
}

/* =========
   Content（白は container が持つ。content 自体で全面白塗りしない）
   ========= */
#content{
  background-image: url("../05_content_back.jpg"); /* パスは環境に合わせて調整 */
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  padding: 22px 18px 30px;
  min-height: 700px;
}

/* 2カラム */
.content-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 299px;
  column-gap: 22px;
  align-items: start;
}

/* メイン表示（文字） */
.main-area{
  min-height: 620px;
  display: grid;
  place-items: start center;
  padding-top: 110px;
}

/*
.main-message{
  font-size: 44px;            /* 56だと広い余白で強すぎたので控えめに */
  letter-spacing: 0.22em;
  color: #1b2c86;
  line-height: 1.3;
  white-space: nowrap;
}
*/
/* =========
   Side menu
   ========= */
.side-area{
  padding-top: 10px;
  font-family: "メイリオ", Meiryo, sans-serif;
  font-size: 14px;
  color: #222;
}

.search-box{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 10px;
  margin-bottom: 18px;
}

.search-label{
  margin: 0;
  font-weight: 700;
}

.search-control{
  display: grid;
  grid-template-columns: 1fr 38px;
  gap: 6px;
}

.search-input{
  width: 100%;
  height: 24px;
  border: 2px solid #2aa3a0;
  border-radius: 2px;
  outline: none;
  padding: 0 6px;
}

.search-btn{
  height: 24px;
  border: none;
  background: #2aa3a0;
  border-radius: 2px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.search-icon{
  width: 14px;
  height: 14px;
  display: inline-block;
  border: 2px solid #fff;
  border-radius: 50%;
  position: relative;
}

.search-icon::after{
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: #fff;
  right: -7px;
  bottom: -2px;
  transform: rotate(45deg);
  border-radius: 1px;
}

.side-section{
  padding: 14px 0 10px;
  border-top: 2px dotted #e2c8a7;
}

.side-title{
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
}

.side-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-list li{
  padding-left: 18px;
  position: relative;
  margin: 6px 0;
}

.side-list li::before{
  content: "";
  width: 10px;
  height: 10px;
  background: #b89a63;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 5px;
}

.side-list a{
  color: #222;
  text-decoration: none;
}

.side-list a:hover{
  text-decoration: underline;
}

/* =========
   Footer（白は container。site-footer で全面白塗りしない）
   ========= */
#site-footer{
  padding: 18px 0 26px;
  background: transparent;
}

/* HTMLにある <hr> の見た目調整（要素追加なし） */
#site-footer hr{
  margin: 0 0 12px;
  border: none;
  border-top: 1px solid #6c6c6c;
}

.footer-box{
  display: grid;
  justify-items: center;
  row-gap: 6px;
}

.footer-title{
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.footer-sub{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #333;
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-sub-strong{
  font-weight: 800;
  letter-spacing: 0.06em;
}

.footer-mail{
  color: #333;
}
