@charset "utf-8";

/* =Reset default browser CSS
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

:focus { outline: 0; }
ol, ul { list-style: none; }
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { font-weight: normal; text-align: left; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
a img { border: 0; }
figure { margin: 0; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }

/* Base Style
-------------------------------------------------------------- */
body {
  color: #333;
  font-size: 13px;
  font-family: verdana, "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: none;
}

/* リンク設定 */
a { color: #74b4df; text-decoration: none; }
a:hover { color: #006699; }
a:active, a:focus { outline: 0; }

/* ボタンデザイン (.link_button) */
.link_button {
  display: inline-block; /* ボタンとして幅を持たせるため追加 */
  font-weight: bold;
  text-decoration: none;
  background: #FFb6c1;
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-family: 'Avenir', 'Arial', sans-serif;
}

.link_button:hover {
  background: silver;
  text-decoration: none;
  color: #fff; /* ホバー時に文字色がリンク色にならないよう固定 */
}

/* 訪問済みリンクのデザイン（必要に応じて調整） */
/* .link_button:visited { color: #fff; } */ /* ボタンの場合は白のままの方が一般的です */

/* 全体レイアウト
------------------------------------------------------------*/
#wrapper {
  margin: 0 auto;
  padding: 0 1%;
  width: 98%;
  position: relative;
  background: #fff;
}

.inner {
  margin: 0 auto;
  width: 100%;
}

/* ヘッダー */
#header { height: 110px; }
#header h1 {
  padding: 5px 0 10px 15px;
  font-size: 10px;
  font-weight: normal;
}
#header a { color: #333; }
#header a:hover { color: #888; }

/* ロゴ・情報 */
.logo { float: left; }
.logo p { float: left; }
.logo img {
  width: auto;
  float: left;
  padding: 2px 10px 0 10px;
}
.logo span { display: block; }

.info {
  float: right;
  padding-right: 20px;
  text-align: right;
}
.info .open { font-size: 11px; }

.logo, .info .tel {
  margin-top: 6px;
  font-size: 20px;
  font-weight: bold;
  color: #FFb6c1;
}

.logo span, .info span {
  color: #333;
  font-size: .6em;
  font-weight: normal;
}

/* メインバナー */
#mainBanner {
  margin: 25px auto;
  padding: 0;
  width: 100%;
  position: relative;
  line-height: 0;
}
#mainBanner img {
  max-width: 100%;
  height: auto;
}

/* グリッド */
.gridWrapper {
  padding: 10px 0 20px;
  overflow: hidden;
}

.grid {
  float: left;
  border-radius: 5px;
  background: #fff;
}

.box { margin: 0 5px; }
.box img { max-width: 100%; height: auto; }
.box h3 { padding: 10px 0 5px; }
.box h3, .box p { text-align: left; }
.box p.readmore {
  padding: 10px 5px 5px;
  text-align: right;
}

/* メインコンテンツ */
#main { margin-top: 25px; }
section.content article {
  padding-top: 20px;
  margin-bottom: 30px;
  overflow: hidden;
}

h3.heading {
  line-height: 36px;
  border-bottom: 1px solid #D6D6D6;
  color: #333;
  font-weight: bold;
  font-size: 15px;
}

h3.heading2 {
  line-height: 36px;
  border-bottom: 1px solid #D6D6D6;
  color: #333;
  font-size: 18px;
  font-family: 'Avenir', 'Arial', sans-serif;
  font-weight: bold;
}

section.content img {
  max-width: 90%;
  height: auto;
}

.alignleft { float: left; clear: left; margin: 3px 10px 10px 0; }
.alignright { float: right; clear: right; margin: 3px 0 10px 10px; }

/* テーブル */
.table-wrap { overflow-x: auto; }

table.table2 {
  border-collapse: collapse;
  margin: 5px auto 15px auto;
}

/* table2というタグはないため .table2 (クラス) に修正 */
.table2 th {
  border: none;
  width: auto;
  padding: 10px;
  font-size: 16px;
  white-space: nowrap;
  vertical-align: middle;
  font-weight: bold;
}

.table2 td:last-child {
  border-left: solid 5px #FFb6c1;
  font-size: 15px;
  padding: 15px;
}

table.table {
  border-collapse: collapse;
  margin: 5px auto 15px auto;
  white-space: nowrap;
}

table.table td {
  background-color: #F9F9F9;
  text-align: left;
  padding: 8px;
  border: 1px solid #D6D6D6;
  line-height: 20px;
}

table.table th {
  background-color: #F5F5F5;
  text-align: right;
  padding: 8px;
  color: #151515;
  border: 1px solid #D4D4D4;
  border-right: 4px solid #D4D4D4;
  font-size: 15px;
  font-weight: normal;
  letter-spacing: 1px;
}

/* サイドバー */
#sidebar ul { padding-top: 10px; }
#sidebar li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #f1f1f1;
}
#sidebar li:last-child {
  border: 0;
  margin-bottom: 0;
}
#sidebar li a {
  font-size: 12px;
  display: block;
  color: #333;
}
#sidebar li a:hover { color: #888; }

ul.list li {
  font-size: 12px;
  line-height: 1.35;
  clear: both;
  margin-bottom: 5px;
  padding: 5px 0;
  overflow: hidden;
}
ul.list li img {
  float: left;
  margin-right: 10px;
}

/* フッター */
#footer {
  clear: both;
  overflow: hidden;
  padding: 10px 10px 20px 10px;
}
#footer .grid {
  padding: 10px 0 5px;
  margin: 0;
  background: transparent;
}
#footer #info .logo, #footer #info .info { float: none; }
#footer #info .info {
  clear: both;
  padding: 10px 0 0 15px;
  text-align: left;
}
#footer .logo { font-size: 18px; }
#footer .info .tel, #footer .info .tel span, #footer #info .open {
  font-size: 12px;
  color: #333;
}

ul.footnav {
  float: right;
  width: 650px;
  padding: 10px 0;
}
ul.footnav li {
  float: left;
  margin-bottom: 10px; /* タイポ修正 */
  padding: 0 7px 0 8px;
  font-size: 11px;
  border-right: 1px solid #b6b6b6;
}

#footer a { color: #333; }
#footer a:hover { color: #888; }

address {
  clear: both;
  padding: 20px 0 50px 0;
  text-align: center;
  font-style: normal;
  font-size: 10px;
  color: #333;
}

/* PC用 (960px以上)
------------------------------------------------------------*/
@media only screen and (min-width: 960px) {
  #header, #wrapper, .inner {
    width: 960px;
    padding: 0;
    margin: 0 auto;
  }
  #wrapper { padding-bottom: 20px; }
  nav#mainNav {
    clear: both;
    overflow: hidden;
    position: relative;
  }
  nav#mainNav .inner {
    width: 932px;
    padding: 0 14px;
  }
  nav#mainNav ul li {
    float: left;
    position: relative;
  }
  nav#mainNav li:last-child { border-right: 1px dotted #ebebeb; }
  nav#mainNav ul li a {
    display: block;
    text-align: center;
    font-size: 13px;
    width: 154px;
    height: 45px;
    padding-top: 9px;
    color: #333;
    border-left: 1px dotted #ebebeb;
  }
  nav#mainNav ul li a span, nav#mainNav ul li a strong { display: block; }
  nav#mainNav ul li a span {
    color: #cdcdcd;
    font-size: 10px;
  }
  nav div.panel {
    display: block !important;
    float: left;
  }
  a#menu { display: none; }
  nav#mainNav li.active a, nav#mainNav li a:hover {
    color: #909090;
    background: #f9f9f9;
  }
  #mainBanner { margin-left: 15px; }
  #subpage #mainBanner { margin: 17px auto; }
  #main {
    float: right;
    width: 657px;
    padding-right: 15px;
  }
  #sidebar {
    float: left;
    width: 245px;
    padding: 25px 0 0 15px;
    overflow: hidden;
  }
  #sidebar article {
    padding-top: 7px;
    margin-bottom: 20px;
    overflow: hidden;
  }
  .gridWrapper {
    width: 960px;
    margin: 0 0 0 -10px;
  }
  #gallery article { padding: 10px 0 10px 10px; }
  .grid {
    float: left;
    width: 300px;
    margin-left: 20px;
  }
  #subpage .grid { width: auto; }
  #gallery .grid {
    width: auto;
    margin: 10px 0 2px 10px;
  }
}

/* タブレット・スマホ用 (959px以下)
------------------------------------------------------------*/
@media only screen and (max-width: 959px) {
  * { box-sizing: border-box; }
  nav#mainNav {
    clear: both;
    width: 100%;
    margin: 0 auto;
    border: 1px solid #e4e4e4;
  }
  nav#mainNav a.menu {
    width: 100%;
    display: block;
    height: 40px;
    line-height: 40px;
    font-weight: bold;
    text-align: left;
  }
  nav#mainNav a#menu span { padding-left: 10px; color: #333; }
  nav#mainNav a.menu span:before { content: "→ "; }
  nav#mainNav a.menuOpen span:before { content: "↓ "; }
  nav#mainNav a#menu:hover { cursor: pointer; }
  nav .panel {
    display: none;
    width: 100%;
    position: relative;
  }
  nav#mainNav ul li {
    float: none;
    clear: both;
    width: 100%;
  }
  nav#mainNav ul li a {
    color: #333;
    display: block;
    padding: 15px 10px;
    text-align: left;
    border-bottom: 1px dashed #ccc;
  }
  nav#mainNav ul li a span { padding-left: 10px; }
  nav#mainNav ul li:first-child a { border-top: 1px solid #e4e4e4; }
  nav#mainNav ul li:last-child a { border: 0; }
  nav div.panel { float: none; }
  #subpage #mainBanner { max-width: 668px; }
  #sidebar { padding-bottom: 30px; }
  #footer .grid, #footer ul.footnav {
    float: none;
    width: 100%;
    text-align: center;
  }
  ul.footnav li { float: none; display: inline-block; }
  .grid {
    width: 32%;
    margin: 10px 0 0 1%;
  }
  #gallery .grid {
    float: left;
    width: 31%;
    margin: 0 0 0 1%;
  }
  #footer #info .info { text-align: center; }
  #footer .logo, #footer .info {
    width: 100%;
    float: none;
  }
}

/* スマートフォン用 (640px以下 / 480px以下)
------------------------------------------------------------*/
@media only screen and (max-width: 640px) {
  #header { height: auto; padding-bottom: 20px; }
  #header h1, .logo, .info { text-align: center; }
  .logo, .info {
    clear: both;
    width: 100%;
    float: none;
  }
  .logo p, .logo img { float: none; padding: 0; }
  .box img { float: left; margin-right: 5px; }
  .box h3 { padding-top: 0; }
  .alignleft, .alignright {
    float: none;
    display: block;
    margin: 0 auto 10px;
  }
}

@media only screen and (max-width: 480px) {
  .grid { width: 100%; }
  .box img { max-width: 100px; }
}