@charset "shift_jis";

 

/* ベース設定 */

body {

  font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;

  font-size: 75%;

  line-height: 2;

  color: #656058;

  background-color: #D9D0C2;

  background-image: url(bg.gif);

  margin: 0;

  padding: 0;

  text-align: center;

}

 

h1, h2, h3, h4, h5, p, ul, ol, li, dl, dt, dd, form {

  margin: 0;

  padding: 0;

}

 

ul {

  list-style-type: none;

}

 

img {

  border: none;

  max-width: 100%;

  height: auto;

}

 

input, textarea, select {

  font-size: 1em;

}

 

form {

  margin: 0;

}

 

table {

  border-collapse: collapse;

  font-size: 100%;

  border-spacing: 0;

  width: 100%;

  overflow-x: auto;

}

 

/* リンク設定 */

a {

  color: #656058;

}

 

a:hover {

  text-decoration: none;

}

 

/* ページごとのリンク hover 色 */

#page1 a:hover { color: #99d1d7; }

#page2 a:hover { color: #8aba9b; }

#page3 a:hover { color: #849e70; }

#page4 a:hover { color: #9e7c71; }

#page5 a:hover { color: #85709a; }

#page6 a:hover { color: #7387a1; }

 

/* h1設定 */

h1 {

  font-size: 10px;

  color: #fafafa;

  font-weight: normal;

  text-align: right;

  width: 100%;

  padding: 10px 1em 0 0;

}

 

h1 a {

  color: #fafafa;

  text-decoration: none;

}

 

/* コンテナー */

#container {

  background-color: #FFFFFF;

  max-width: 850px;

  margin: 0 auto;

  text-align: left;

  padding: 0 1em;

}

 

/* ヘッダー */

#header {

  background: url(images/main_img2025-2.gif) no-repeat center center;

  background-size: cover;

  height: 310px;

  width: 100%;

  position: relative;

  margin-bottom: 10px;

}

 

#header #logo {

  position: absolute;

  left: 0;

  top: 100px;

}

 

/* メニュー */

ul#menu {

  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 10px;

  margin-bottom: 20px;

  padding: 0;

}

 

ul#menu li {

  margin: 0;

}

 

ul#menu img {

  vertical-align: bottom;

}

 

/* 下線カラー */

#page1 ul#menu { border-bottom: 10px solid #d6ecef; }

#page2 ul#menu { border-bottom: 10px solid #daf0e2; }

#page3 ul#menu { border-bottom: 10px solid #e1efd6; }

#page4 ul#menu { border-bottom: 10px solid #efdcd6; }

#page5 ul#menu { border-bottom: 10px solid #e0d4eb; }

#page6 ul#menu { border-bottom: 10px solid #d6e1ef; }

 

/* コンテンツ */

#contents {

  max-width: 830px;

  margin: 0 auto;

}

 

/* メイン */

#main h2 {

  font-size: 120%;

  line-height: 40px;

  height: 40px;

  padding-left: 15px;

  clear: both;

  color: #fafafa;

  background-repeat: no-repeat;

}

 

#page1 #main h2 { background-image: url(images/midashi1_1.gif); }

#page2 #main h2 { background-image: url(images/midashi1_2.gif); }

#page3 #main h2 { background-image: url(images/midashi1_3.gif); }

#page4 #main h2 { background-image: url(images/midashi1_4.gif); }

#page5 #main h2 { background-image: url(images/midashi1_5.gif); }

#page6 #main h2 { background-image: url(images/midashi1_6.gif); }

 

#main p {

  padding: 0.5em 10px 1em;

}

 

/* フッター */

ul#footermenu {

  clear: both;

  width: 100%;

  font-size: 10px;

  text-align: center;

  padding: 30px 0 10px;

}

 

ul#footermenu li {

  display: inline;

  padding: 0 5px;

}

 

#footer {

  font-size: 10px;

  text-align: center;

  background-image: url(images/footer_bg.jpg);

  background-repeat: no-repeat;

  background-position: top;

  padding: 10px 0;

  max-width: 850px;

  margin: 0 auto;

}

 

/* テーブル共通 */

.ta1 {

  width: 100%;

  margin: 0 auto;

  text-align: center;

}

 

.ta1, .ta1 td, .ta1 th {

  border: 1px solid #999999;

}

 

.ta1 td, .ta1 th {

  padding: 10px 5px;

}

 

.ta1 th {

  background-color: #f5f5f5;

  width: 70px;

  text-align: center;

}

 

.ta1 th.tamidashi {

  width: auto;

  text-align: center;

}

 

/* 背景色 */

#page1 .ta1 th.tamidashi { background-color: #D6ECEF; }

#page2 .ta1 th.tamidashi { background-color: #DAF0E2; }

#page3 .ta1 th.tamidashi { background-color: #E1EFD6; }

#page4 .ta1 th.tamidashi { background-color: #EFDCD6; }

#page5 .ta1 th.tamidashi { background-color: #E0D4EB; }

#page6 .ta1 th.tamidashi { background-color: #D6E1EF; }

 

/* レスポンシブ対応 */

@media screen and (max-width: 600px) {

  body {

    font-size: 85%;

    line-height: 1.8;

  }

 

  #header {

    height: auto;

    background-size: contain;

    background-position: center top;

  }

 

  #header #logo {

    position: static;

    text-align: center;

    padding: 1em 0;

  }

 

  ul#menu {

    flex-direction: column;

    align-items: center;

  }

 

  .ta1, .ta1 th, .ta1 td {

    font-size: 12px;

  }

 

  #main .new dl {

    height: auto;

  }

 

  .box1 {

    width: 100%;

    height: auto;

    margin-left: 0;

  }

}