@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Noto+Serif+JP:400,600&display=swap&subset=japanese);
@font-face {
  font-family: "icon";
  src: url(icon/fonts/icon.ttf);
}

/* CSS変数の定義（カラーパレットと余白の標準化） */
:root {
  --primary-color: #004ea2;
  --secondary-color: #05386b;
  --accent-color: #ff6798;
  --success-color: #3fdc91;
  --warning-color: #f775c5;
  --error-color: #f00;
  --text-color: #2d2d2d;
  --light-bg: #fff;
  --gray-light: #f3f3f3;
  --gray: #cccccc;

  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;

  --border-radius-sm: 3px;
  --border-radius-md: 5px;
  --border-radius-lg: 10px;
  --border-radius-xl: 20px;
  --border-radius-round: 50px;
}

/* reset */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
}
ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption,
th {
  text-align: left;
}
q:before,
q:after {
  content: "";
}
object,
embed {
  vertical-align: top;
}
legend {
  display: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
}
img,
abbr,
acronym,
fieldset {
  border: 0;
}

html {
  font-size: 16px; /* ベースフォントサイズを調整 */
}

/* タイポグラフィの基本スタイル */
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  color: var(--text-color);
  background: #fff;
}

/* 見出しの標準化 */
h1 {
  font-size: 2.25rem;
  margin-bottom: var(--spacing-lg);
  line-height: 1.2;
}

h2 {
  font-size: 1.75rem;
  margin: var(--spacing-xl) 0 var(--spacing-md);
  line-height: 1.3;
  color: var(--primary-color);
}

h3 {
  font-size: 1.35rem;
  margin: var(--spacing-lg) 0 var(--spacing-md);
  line-height: 1.4;
}

h4 {
  font-size: 1.15rem;
  margin: var(--spacing-md) 0 var(--spacing-sm);
  line-height: 1.4;
}

p {
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

/* 特殊クラス */
.mok {
  text-decoration: underline;
  color: var(--primary-color);
  font-size: 1.5rem;
  line-height: 1.4;
}

.nonde li {
  list-style: none !important;
}

.sentaku {
  font-size: 1rem;
  padding: var(--spacing-md) 0;
}
.sentaku span {
  color: var(--error-color);
  background: #feebff;
  padding: 0 var(--spacing-md);
  border-radius: var(--border-radius-sm);
  font-size: 1.2rem;
}

.red {
  color: var(--error-color);
}

.sukoo {
  font-size: 1.4rem !important;
  margin-bottom: var(--spacing-lg);
}

#alertsend {
  background: #2e8a35 !important;
}

/* フォーム要素のスタイリング */
label {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-sm);
  display: inline-block;
}

form button {
  padding: var(--spacing-md);
  font-weight: bold;
  font-size: 1rem;
  border: solid 1px var(--gray);
  border-radius: var(--border-radius-md);
  box-shadow: 3px 3px 5px var(--gray);
  margin: 0 var(--spacing-md);
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
}

form button:nth-of-type(1) {
  background: #d1ffd5 !important;
}
form button:nth-of-type(2) {
  background: #e7fae9 !important;
}
form button:nth-of-type(3) {
  background: #b4c2b6 !important;
}
form button:hover {
  background: var(--gray) !important;
  transition: 0.5s;
  box-shadow: 3px 3px 0px var(--gray);
}

/* 確認/入力フォームのレイアウト */
.v label:nth-child(1) {
  width: 330px;
  display: inline-block;
  margin-bottom: var(--spacing-sm);
}
.v label:nth-child(2) {
  margin-right: var(--spacing-md);
}

#kakunin2 label:nth-child(1) {
  width: 390px;
  display: inline-block;
  margin-bottom: var(--spacing-sm);
}
#kakunin2 label:nth-child(2) {
  margin-right: var(--spacing-md);
  color: #0c8606;
}

#kakunin2 label {
  font-size: 1.2rem;
  font-weight: bold;
  color: #000;
}

/* エラーメッセージ */
.errorMessage {
  text-align: center;
  background: var(--error-color);
  color: #fff;
  padding: var(--spacing-sm);
  margin: var(--spacing-sm);
  border-radius: var(--border-radius-sm);
}

/* ログインフォーム */
.indexcf label {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: var(--spacing-xs);
}

.indexcf form {
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
  padding: var(--spacing-lg);
}

.inare {
  margin-bottom: var(--spacing-lg);
}

#response1 {
  padding: var(--spacing-md);
  font-size: 0.9rem;
  margin: var(--spacing-md) 0;
  display: none;
}

/* ボタンスタイル */
.p_kotei input[type="submit"],
.p_kotei input[type="button"] {
  border-radius: var(--border-radius-md) !important;
  -webkit-box-sizing: content-box !important;
  -webkit-appearance: button !important;
  appearance: button !important;
  border: none !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  width: 200px !important;
  font-size: 1.1rem !important;
  margin: var(--spacing-md) auto !important;
  display: block !important;
  border-radius: var(--border-radius-md) !important;
  color: #fff !important;
  background: var(--primary-color) !important;
  padding: var(--spacing-md) var(--spacing-lg);
  transition: opacity 0.3s;
}

.p_kotei input[type="submit"]:hover,
.p_kotei input[type="button"]:hover {
  opacity: 0.8;
}

/* フォーム入力要素 */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea {
  font-size: 1rem;
  padding: var(--spacing-sm) var(--spacing-md);
  border: solid 1px var(--gray);
  border-radius: var(--border-radius-md);
  width: 100%;
  box-sizing: border-box;
  background: #d3ebff;
  margin-bottom: var(--spacing-md);
}

/* チェックボックス・ラジオボタン */
input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  position: relative;
  background-color: #fff;
  border: 2px solid #e4e4e4;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: var(--spacing-sm);
  border-radius: 24px;
}
input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--accent-color);
  border: 2px solid #fff;
  width: 20px;
  height: 20px;
  border-radius: 15px;
}

input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  position: relative;
  background-color: #fff;
  border: 2px solid #e4e4e4 !important;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: var(--spacing-sm);
  border-radius: 50%;
}
input[type="radio"]:checked::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--accent-color);
  border: 2px solid #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

/* 議席番号表示エリア */
.iden {
  border: solid 1px #000;
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  font-size: 1.2rem;
  background: #eef;
  border-radius: var(--border-radius-sm);
}

.iden span {
  padding-left: var(--spacing-xl);
  font-weight: bold;
  color: #000;
}

/* 読み取り専用フィールド */
input:-moz-read-only {
  border: none !important;
  background: #d7ffa5;
}

input:read-only {
  border: none;
  background: #e8ffca;
}

/* レスポンシブデザイン */
@media only screen and (max-width: 1200px) {
  html {
    font-size: 15px;
  }

  .wrap {
    width: 90%;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 960px) {
  html {
    font-size: 14px;
  }

  .p_kotei input[type="submit"],
  .p_kotei input[type="button"] {
    width: 100% !important;
    max-width: 200px;
  }
}

@media only screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .iden {
    padding: var(--spacing-md);
  }

  .iden span {
    padding-left: var(--spacing-md);
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .mok {
    font-size: 1.3rem;
  }

  .v label:nth-child(1),
  #kakunin2 label:nth-child(1) {
    width: 100%;
    display: block;
    margin-bottom: var(--spacing-sm);
  }
}

@media only screen and (max-width: 480px) {
  html {
    font-size: 13px;
  }

  .indexcf form {
    padding: var(--spacing-md);
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .sukoo {
    font-size: 1.2rem !important;
  }

  .mok {
    font-size: 1.1rem;
  }

  .p_kotei p,
  .post p {
    font-size: 1rem;
  }

  #footer p {
    padding: 0 var(--spacing-sm) 20px;
  }
}

/* 以下は既存のCSSを残します */
.usrinfo {
  border: none !important;
}

.wpcf7c-conf {
  background-color: #ecffd5 !important;
  color: black;
  border: 1px solid #333333;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  position: relative;
  background-color: #fff;
  border: 2px solid #e4e4e4;
  width: 25px;
  height: 25px;
  vertical-align: middle;
  margin-right: 0.5em; /* margin-bottom: 5px; */
  border-radius: 25px;
}
input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-color: #ff6798;
  border: 2px solid #fff;
  width: 20px;
  height: 20px;
  border-radius: 15px;
}

input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  position: relative;
  background-color: #fff;
  border: 2px solid #e4e4e4 !important;
  width: 25px;
  height: 25px;
  vertical-align: middle;
  margin-right: 0.5em; /* margin-bottom: 5px; */
  border-radius: 25px;
}
input[type="radio"]:checked::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-color: #ff6798;
  border: 2px solid #fff;
  width: 18px;
  height: 18px;
  border-radius: 25px;
}

.um-misc-ul li:first-child {
  display: none !important;
}

.um-misc-with-img {
  display: none;
}

.usrinfo {
  width: 400px;
}

.custom-wpcf7c-confirmed .wpcf7-list-item {
  border: none !important;
  background: #ecffd5;
  padding: 10px 5px;
}

input[type="radio"] + label,
input[type="radio"] + label::before,
input[type="radio"]:checked + label::after,
input[type="radio"] + label::before,
input[type="radio"]:checked + label::after {
  border-radius: 50%;
}

.wpcf7-submit:read-only,
.wpcf7-confirm:read-only,
.wpcf7c-btn-back:read-only {
  border: none !important;
  background: #000066;
}

.kifutuika {
  padding: 20px;
}

.spect {
  font-size: 0.85em;
  margin: 15px 0 0 15px;
}

.spect2 {
  font-size: 0.85em;
  margin: 15px 0 0 45px;
}
.c_doga {
  margin: 50px 5px;
  background: #f7f6ff;
  padding: 10px;
  border-radius: 10px;
}

.c_doga_box {
  display: table-cell;
  padding: 20px 10px;
}
.c_doga_box video {
  width: 360px;
}
.c_doga_box p {
  font-size: 0.9em;
  margin: 0 !important;
  padding: 0 !important;
}

.kosei {
  margin: 10px auto;
  text-align: center;
}

.chui {
  text-align: center;
  width: 800px;
  margin: 10px auto;
}

.arh2 {
  background: #004ea2;
  padding: 10px;
  color: #fff;
  border-radius: 10px;
}

.contact_table .radio-shokushu input {
  width: initial;
}

.the-content textarea {
  border-radius: 10px;
  box-sizing: border-box;
}

.aideab {
  background: #f3f3f3;
  text-align: center;
  padding: 20px;
}

.aideab h2 {
  font-size: 2em;
}
.aideab p {
  margin-top: 10px;
}

.aidea-box {
  width: 950px;
  margin: 0 auto;
  text-align: left;
  box-sizing: border-box;
}

.boshu1,
.boshu2 {
  display: inline-block;
  box-sizing: border-box;
  width: 49%;
  margin-top: 10px;
}

.boshu1 h2,
.boshu2 h2 {
  font-size: 1.2em;
}
.boshu1 h2 {
  font-size: 1.2em;
  border-bottom: dotted 1px #3fdc91;
  padding-bottom: 5px;
}
.boshu2 h2 {
  font-size: 1.2em;
  border-bottom: dotted 1px #f775c5;
  padding-bottom: 5px;
}

.boshu1 {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  border: solid 5px #3fdc91;
}
.boshu1 a {
  color: #3fdc91;
  display: block;
  width: 100%;
  padding-bottom: 5px;
}
.boshu2 a {
  color: #f775c5;
  display: block;
  width: 100%;
  padding-bottom: 5px;
}

.boshu2 {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  border: solid 5px #f775c5;
}

.clear {
  clear: both;
}

.cat_link {
  color: #fff !important;
}
.cat_link:visited {
  color: #fff !important;
}
.cat_link:active {
  color: #fff !important;
}
.cat_link:hover {
  color: #fff !important;
  text-decoration: underline;
}

.first-onegai a {
  color: #004ea2 !important;
}

.first-onegai {
  border-radius: 20px;
  border: solid 2px #cccccc;
  text-align: center;
  padding: 20px;
  clear: both;
  margin-bottom: 30px;
}

.first-onegai h1 {
  font-size: 1em;
}
.first-onegai h2 {
  font-size: 0.9em;
}
.first-onegai p {
  font-size: 0.8em;
  margin-top: 15px;
}

.komoji {
  font-size: 0.75em;
  color: #616161;
}

.contact_table th,
.contact_table td {
  border: solid 1px #ccc !important;
  padding: 15px;
}
.contact_table th {
  background: #efeffd;
}

.contact_table input {
  border-radius: 8px;
  width: 95%;
  box-sizing: border-box;
}

.yubin-in {
  width: 120px !important;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}
.koza td {
  border: none !important;
  font-weight: bold;
}
.koza_c td {
  border: none !important;
  font-weight: bold;
}
.koza_c td,
.koza_c th {
  display: inline-table;
  font-size: 1.6em;
  border: none !important;
}
.koza_c th {
  font-weight: normal !important;
}

.the-content input[type="text"],
.the-content input[type="email"],
.the-content textarea {
  font-size: 1em;
  padding: 10px;
  border: solid 1px #ccc;
}

.the-content input[type="checkbox"] {
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.kanatu1 {
  width: auto !important;
  margin: 5px !important;
}

.kanatu2 {
  margin: 0 0 1.2rem 8rem !important;
}

.the-content input[type="text"],
.the-content input[type="password"],
.the-content input[type="number"],
.the-content textarea {
  font-size: 1em;
  padding: 10px;
  border: solid 1px #ccc;
  width: 100%;
  background: #d3ebff;
}
.the-content input[type="checkbox"] {
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}
span.wpcf7-list-item {
  /* display: block!important; */
}

input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

.wpcf7-submit,
.wpcf7-confirm,
.wpcf7c-btn-back {
  -webkit-appearance: none;
  display: inline-block;
  border-radius: 5%;
  font-size: 18pt;
  text-align: center;
  cursor: pointer;
  padding: 12px 12px;
  background: #000066;
  color: #ffffff;
  line-height: 1em;
  transition: 0.3s;
  box-shadow: 3px 3px 3px #666666;
  border: 2px solid #000066;
}
.wpcf7-submit :hover,
.wpcf7-confirm :hover,
.wpcf7c-btn-back :hover {
  box-shadow: none;
  color: #000066;
  background: #ffffff;
}

.spetopi {
  width: 100%;
}

.spetopi span {
  font-weight: 900;
  font-size: 1.2em;
}

.spetopi a {
  background: #fff !important;
  color: #000 !important;

  border-radius: 20px;
  border: solid 5px #d21212;
  display: block;
  text-align: center;

  font-size: 1.5em;
}

.spetopi_tu {
  width: 100%;
}

.spetopi_tu a {
  background: #fff !important;
  color: #fff !important;
  border-radius: 20px;
  border: solid 5px #ffffff;
  background: #0fa25f !important;
  display: block;
  text-align: center;
  font-size: 1.5em;
}

.pcon {
  display: block;
}
.spon {
  display: none;
}

.gmap {
  width: 100%;
  height: 400px;
  border: none;
}

.mtli_attachment {
  display: block !important;
}

.mtli_pdf,
.mtli_zip {
  background-position-y: 6px !important;
}

.maincontent a {
  padding: 0;
  color: #4b29d4;
}

.p_kotei {
  background: #fff;
  font-size: 120%;
}

.p_kotei table,
.post table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
}

.p_kotei table td,
.post td {
  border: solid 1px #ccc;
  padding: 5px 10px;
}

.txd1 {
  width: 80px;
}
.txd2 {
  width: 150px;
}

.p_kotei h2,
.post h2 {
  font-size: 1.6em !important;
  text-align: left;
  margin: 30px 0 10px 0;
  padding: 0 !important;
  color: #05386b;
  font-weight: bold;
}

.p_kotei h3,
.post h3 {
  padding: 20px 0 5px 0;
}
.p_kotei h4,
.post h4 {
  padding: 10px 0 5px 0;
}
.p_kotei p,
.post p {
  padding: 2px 0px 10px 8px;
  font-size: 1.25em;
  line-height: 160%;
}

.p_kotei ul,
.p_kotei ol,
.post ul,
.post ol {
  margin: 10px 10px 10px 30px;
}

.p_kotei ul li,
.post ul li {
  line-height: 170%;
  list-style: disc;
}

.p_kotei ol li,
.post ol li {
  line-height: 170%;
  list-style: inherit;
}

.p_kotei a {
  color: #4b29d4;
}

.the-content ul,
.the-content ol {
  margin: 10px 10px 10px 30px;
}

.the-content ul li {
  line-height: 170%;
  list-style: disc;
}

.the-content ol li {
  line-height: 170%;
  list-style: inherit;
}

.p_kotei img {
  width: inherit !important;
}
.alignleft {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}
.addtoany_content {
  text-align: center;
  padding: 20px 0;
}
.wp-caption-text {
  font-size: 12px;
  text-align: center;
}

.kyu_td1 {
  background: #3659d6;
  color: #fff;
}

a {
  color: #222222;
  text-decoration: none;
}
a:hover,
.active {
  text-decoration: underline;
}

.changesize a:hover,
.changesize .active {
  background: #ff0 !important;
  color: #000 !important;
  text-decoration: none !important;
}

a:active,
a:focus,
input:active,
input:focus {
  outline: 0;
}

a img,
#mainnav a {
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
}
a.lnkall:hover,
a img:hover,
#mainnav a:hover {
  text-decoration: none;
  opacity: 0.75;
}
.sublink a:hover img,
#toplink a:hover img {
  opacity: 1;
  box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.5);
}
#mainnav a {
  -webkit-transition: opacity 0.3s linear;
  transition: opacity 0.3s linear;
}

------------------------------------------------------------*/ .home #header {
  margin: 7.2222rem auto 8.3333rem;
  padding: 0;
  text-align: center;
  color: #fff;
  font-family: "Noto Serif JP";
}
.home #header h1 {
  font-size: 3.5rem;
  font-family: "Noto Serif JP";
  font-weight: 600;
  text-shadow: 0 0 4px #05386b;
  margin: 0 0 1rem;
  color: #fff;
}
.home #header h1 span {
  font-size: 1.3rem;
  display: block;
  letter-spacing: 0.2em;
  text-shadow: none;
  font-weight: 400;
}
.home #header h1 img.logo01 {
  width: 3.5rem;
  max-width: 4rem;
  vertical-align: text-bottom;
  margin: 0 5px 10px 0;
}
.home #header p {
  color: #1b224c;
  font-size: 1.333rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.8);
  padding: 1.4rem 0;
  border-radius: 50px;
  width: 22em;
  margin: 0 auto;
}
body.home .logo {
  display: none;
}
#searchform {
  display: inline-block;
  float: right;
  width: 14.25rem;
}
input {
  /* border:none; */

  /* font-size:1rem; */
  padding: 8px;
  margin: 10px 10px 10px 0;
  /* width:8rem; */
}

.mijikainput {
  width: 50px;
}
.the-content input[type="text"] {
  /* margin:5px 10px; */
}

textarea {
  width: 100%;
}
#se #searchform input.SE4_btn,
.changesize input.SE4_btn {
  background: #222;
  color: #fff;
  padding: 6px 0;
  letter-spacing: 0.2em;
  width: 4rem;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s linear;
}
.changesize input.SE4_btn {
  width: 2.2rem;
  letter-spacing: 0;
  margin: 10px 5px 10px 0;
}
#searchform input.SE4_btn:hover,
.changesize input.SE4_btn:hover {
  opacity: 0.8;
}
.changesize {
  display: inline-block;
  float: right;
  width: 8.5rem;
  margin-left: 0.75rem;
}
#mainnav .gnlogo {
  display: none;
}
#mainnav .home img {
  width: 48px;
  margin-top: 5px;
}
#mainnav .home img.logo {
  width: 173px;
  margin-right: 5px;
}
#mainnav a.gnmenu.med,
#mainnav a.gnmenu.member,
#mainnav a.gnmenu.access {
  position: relative;
  padding: 0 0 0 2.2222rem;
}
#mainnav a.gnmenu.med:before,
#mainnav a.gnmenu.member:before,
#mainnav a.gnmenu.access:before {
  position: absolute;
  content: "";
  top: -2px;
  left: 8px;
  width: 30px;
  height: 30px;
  background: url("../img/common/search.png") top left no-repeat;
  background-size: contain;
}
#mainnav a.gnmenu.member:before {
  background: url("../img/common/member.png") top left no-repeat;
  height: 26px;
  background-size: contain;
  left: 13px;
  top: 1px;
}
#mainnav a.gnmenu.access:before {
  background: url("../img/common/access.png") top left no-repeat;
  height: 26px;
  background-size: contain;
  left: 10px;
  top: -1px;
}
#mainnav .home span {
  display: none;
}
.gnlogo {
  width: 120px;
  float: left;
}

#footer {
  clear: both;
  float: left;
  width: 100%;
  background: #004ea2;
  padding: 2rem 0 0 0;
  margin-top: 3rem;
  font-size: 0.6666666667rem;
  color: #fff;
}
.home #footer {
  margin-top: 0;
}
#footer p strong {
  font-size: 1rem;
  display: block;
  line-height: 0;
}
#footer p {
  padding: 0 1rem 50px;
  line-height: 1.2rem;
}
#footer p a {
  color: #fff;
}
#footer .col2 {
  width: 50%;
  display: block;
  float: left;
  text-align: left;
}
#footer .col2.rt {
  text-align: right;
}

.wrap {
  width: 1200px;
  margin: 0 auto;
}
img {
  width: 100%;
  height: auto;
  -webkit-backface-visibility: hidden;
}
section {
  clear: both;
}
section h2 {
  font-weight: normal;
  text-align: center;
  padding: 3rem 0 1rem;
}

/* TOP
------------------------------------------------------------*/
body.home #header {
  background: none;
}
#topmenu01 {
  width: 1000px;
  margin: 0 auto;
  text-align: center;
}

#topmenu01 img {
  width: 21%;
  max-width: 229px;
  margin: 0 1.5%;
}
#topmenu01 br {
  display: none !important;
}

#topmenu01 a img:hover {
  transform: translate(0px, -3px);
  opacity: 1;
  filter: drop-shadow(6px 6px 12px rgba(0, 0, 0, 0.2));
}
#topnews,
#topics {
  padding: 2rem 100px 3rem;
  margin: 0;
}
#topics a {
  display: block;
  background: #012635;
  color: #fff;
  padding: 1.5rem 2.5rem 1.5rem 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}
#topics a:after {
  position: absolute;
  content: "";
  top: 36%;
  right: 1.5rem;
  width: 1rem;
  height: 1rem;
  background: url(../img/common/arr_wh.png) no-repeat;
  background-size: contain;
}

a.pdf::after {
  font-family: "icon";
  content: "\e903";
  padding: 0 10px;
  font-size: 1rem;
  vertical-align: middle;
  color: #012365;
}
span.new {
  font-size: 0.83rem;
  color: #f60000;
  line-height: 1;
  display: inline-block;
  margin: 5px 0 0 5px;
  vertical-align: text-top;
}
dl.lstnews {
}
dl.lstnews dt {
  width: 20rem;
  margin: 0 0 1rem;
  padding: 0;
  float: left;
  clear: left;
}
dl.lstnews dt span.cat {
  width: 11.5rem;
  display: inline-block;
  margin: 0 0.5rem;
  background: #7ebe1a;
  color: #fff;
  font-size: 0.8333333333rem;
  text-align: center;
  padding: 3px 0;
  line-height: 1.4rem;
}
dl.lstnews dt span.cat.news01 {
  background: #eb6d9a;
}
#medical dl.lstnews dt span.cat,
dl.lstnews dt span.news02 {
  background: #7ebe1a;
  font-size: 0.7rem;
}
#member dl.lstnews dt span.cat,
dl.lstnews dt span.news03 {
  background: #ff9000;
}
dl.lstnews dt span.cat.health {
  background: #ff9000;
}
dl.lstnews dt span.cat.event {
  background: #61b80d;
}
dl.lstnews dt span.cat.infection {
  background: #4baee3;
}

.koshi_title {
  color: #757575;
  font-size: 0.9em;
  margin: 0 0 1.2rem 20rem !important;
}

dl.lstnews dd {
  margin: 0 0 1rem 20rem;
  padding: 0;
  padding-left: 20px;
  padding-top: 3px;
}
dl.lstnews dd span.cattxt {
  color: #6c6c6c;
  width: 20em;
  display: block;
}
.tax-category01 dl.lstnews dt,
.tax-category02 dl.lstnews dt,
.tax-category03 dl.lstnews dt {
  width: 8rem;
}
.tax-category01 dl.lstnews dd,
.tax-category02 dl.lstnews dd,
.tax-category03 dl.lstnews dd {
  margin: 0 0 1.2rem 8rem;
}

#topics h2,
#topnews h2 {
  padding: 0 0 3rem;
  font-size: 2.6666666667rem;
}
#toplink {
  background: url(../img/top/bglnk.jpg) no-repeat top center;
  background-position-y: -460px;
  padding: 4rem 0 2rem;
}
#toplink img,
.sublink img {
  box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.2);
}

.col2,
.col4,
.col3 {
  text-align: center;
}
.col2 li,
.col3 li,
.col4 li {
  display: inline-block;
  width: 28%;
  padding: 0 1.5%;
  margin-bottom: 2rem;
  vertical-align: top;
  text-align: left;
}
.col4 li {
  width: 20%;
  padding: 0 2.25%;
}

#topbanner {
  background: url(../img/common/bgbanner.png);
  padding: 4rem 0 2rem;
}

body {
  background: url(../img/common/bgbanner.png);
}
#header,
#kanagawa #header,
.post-type-archive-news01 #header,
.news01-template-default #header {
  /* background:url(../img/ken/bgken.png) no-repeat top center; */
}
#medical #header,
.post-type-archive-news02 #header,
.tax-category02 #header,
.news02-template-default #header {
  background: url(../img/med/bgmed.png) no-repeat top center;
}
#member #header,
.post-type-archive-news03 #header,
.tax-category03 #header,
.news03-template-default #header {
  background: url(../img/mem/bgmember.png) no-repeat top center;
}
#header {
  margin: 0;
  padding: 5rem 0 0rem 0;
  text-align: center;
  color: #05386b;
  font-family: "Noto Serif JP";
}
#header h1 {
  font-size: 3.5rem;
  font-family: "Noto Serif JP";
  font-weight: 600;
  /* text-shadow: 0 0 4px #05386b; */
  margin: -1rem 0 1rem;
}
p.lead {
  text-align: center;
  margin: 0 0 3rem;
  line-height: 1.7rem;
}
#tabnews {
  padding: 2rem 2.75rem 3rem;
  margin: 0;
}
.tab-wrap {
  display: flex;
  flex-wrap: wrap;
}
.tab-label {
  color: #fff;
  padding: 10px 0 5px 1rem;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  flex: 1;
}
.tab-label:not(:last-of-type) {
  margin-right: 10px;
}
.tab-content {
  width: 100%;
  display: none;
}
.tab-content,
.tab-content .col3 {
  opacity: 0;
  height: 0;
  transition: opacity 0.7s;
}
.tab-content .col3 li {
  display: inline-block;
  width: 28%;
  padding: 0 2%;
}

.tab-switch:checked + .tab-label {
}
.tab-label.tab-l01 {
  background: #ff9000;
}
.tab-label.tab-l02 {
  background: #61b80d;
}
.tab-label.tab-l03 {
  background: #4baee3;
}
.tab-switch:checked + .tab-label + .tab-content {
  display: block;
  background: #fff;
  padding: 2rem 0 0;
  border: 5px solid #ff9000;
  z-index: 100;
  height: auto;
  opacity: 1;
  /*transition: all ease-out 0.2s 0.1s;*/
}
.tab-switch:checked + .tab-label + .tab-content .col3 {
  height: auto;
  opacity: 1;
}

.tab-switch:checked + .tab-label + .tab-content.info02 {
  border: 5px solid #61b80d;
}
.tab-switch:checked + .tab-label + .tab-content.info03 {
  border: 5px solid #4baee3;
}
.tab-wrap dd a {
  text-decoration: underline;
}
.tab-wrap p {
  margin: 0;
  padding: 0.8rem 0 0.5rem;
  text-align: center;
  background: #ff9000;
}
.tab-wrap p a {
  color: #fff;
}
.tab-wrap p a:after {
  display: inline-block;
  content: "";
  margin-left: 10px;

  height: 1rem;
  background: url(../img/common/arr_wh.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
}
.tab-wrap .tab-content.info02 p {
  background: #61b80d;
}
.tab-wrap .tab-content.info03 p {
  background: #4baee3;
}
.tab-label:before {
  display: inline-block;
  content: "";
  width: 55px;
  height: 41px;
  background: url("../img/ken/info01.png") top left no-repeat;
  background-size: 49px 41px;
  vertical-align: middle;
}
.tab-label.tab-l02:before {
  background: url("../img/ken/info02.png") top left no-repeat;
  background-size: 36px 36px;
}
.tab-label.tab-l03:before {
  background: url("../img/ken/info03.png") top left no-repeat;
  background-size: 41px 41px;
}

.tab-switch {
  display: none;
}
.tab-content dl dt {
  font-size: 0.8333rem;
  margin: 0.5rem 0;
}
.tab-content span {
  display: block;
  width: 100%;
  height: 10rem;
  overflow: hidden;
}
.tab-content span.new {
  display: inline-block;
  width: auto;
  height: auto;
}

#news {
  width: 1000px;
  padding: 0;
  margin: 1rem auto 5rem;
}
#news div.frm {
  width: 100%;
  padding: 2rem 0;
  background: #fff;
  box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.2);
}
#news div.frm dl {
  margin: 0 3rem;
}
#news div.frm a.lnkall {
  display: block;
  clear: both;
  margin: 2rem auto 0;
  padding: 0.75rem 0;
  width: 40%;
  text-align: center;
  text-decoration: none;
  background: #012635;
  color: #fff;
  border-radius: 30px;
  transition: all 0.3s linear;
}
#news h2 {
  font-size: 2.1111rem;
}
#member #news h2 {
  padding-top: 0;
}
.login {
  width: 388px;
  margin: 0 auto;
  margin-top: -5rem;
  padding: 1.5rem 0 0;
  background: #fff;
  box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.2);
}
.login .col2 li {
  text-align: center;
  width: 46%;
  border-right: 1px solid #e4e4e4;
}
.login .col2 li:last-child {
  border: none;
}

.login li img {
  display: block;
  width: 100px;
}
.login01 span,
.login02 span {
  display: block;
}
.login01 span::after,
.login02 span::after {
  display: block;
  content: "";
  width: 100%;
  height: 100px;
  background: url("../img/med/login.png") top center no-repeat;
  background-size: 68px 49px;
  background-position-y: 1.6rem;
}
.login02 span::after {
  background: url("../img/med/enter.png") top center no-repeat;
  background-size: 55px 55px;
  background-position-y: 1.3rem;
}

.login a {
  display: block;
  margin: 0 auto 0;
  padding: 0.5rem 0;
  width: 90%;
  font-size: 0.8333rem;
  text-align: center;
  text-decoration: none;
  background: #1eaae9;
  color: #fff;
  border-radius: 5px;
  box-shadow: 0px 3px 0px #064865;
  transition: all 0.3s linear;
}
.login02 a {
  background: #f4c903;
  box-shadow: 0px 3px 0px #7c6a03;
  color: #362e01;
}
.login a:hover {
  opacity: 0.8;
}
.sublink {
  margin: 1rem auto 0;
}

/* archive, taxonomy, single 
------------------------------------------------------------*/
.archive #content .wrap,
.taxonomy #content .wrap,
.single #content .wrap {
  width: 1200px;
}

/* 404, search
------------------------------------------------------------*/
.search .page-content h1,
.error404 .page-content h1 {
  font-size: 1.5rem;
  padding: 3rem 0;
  font-weight: 400;
}
.search .page-content,
.error404 .page-content {
  width: 90%;
  padding: 0 5%;
}
.search .page-content p,
.error404 .page-content p {
  margin: 0 0 1rem 0;
}
.search ul.lst01 li {
  list-style: disc;
  margin: 0 0 1rem 1rem;
}
section.search-item {
  padding-bottom: 3rem;
}

.frm01 {
  float: left;
  width: 94%;
  margin: 0 3%;
  background: #fff;
}
.breadcrumbs {
  font-size: 0.85rem;
  margin: 1rem 1rem 2rem;
}
.breadcrumbs a {
  color: #0356a8;
  border-bottom: 1px solid #0356a8;
}
.breadcrumbs a:hover {
  text-decoration: none;
  background: #e7f1fb;
}
.sidenavi {
  width: 25%;
  min-width: 10rem;
  float: left;
  margin: 0 0 1rem 1rem;
}
.sidenavi ul.menu li a {
  display: block;
  border-top: 1px solid #ccc;
  border-left: 3px solid #0356a8;
  padding: 1rem 0.5rem 1rem 1.5rem;
  position: relative;
}

.sidenavi ul.menu li:last-child a {
  border-bottom: 1px solid #ccc;
}
.cat02-01 .sidenavi ul.menu li.cat02-01 a,
.cat02-02 .sidenavi ul.menu li.cat02-02 a,
.cat02-03 .sidenavi ul.menu li.cat02-03 a,
.cat02-04 .sidenavi ul.menu li.cat02-04 a,
.cat02-05 .sidenavi ul.menu li.cat02-05 a,
.cat02-06 .sidenavi ul.menu li.cat02-06 a,
.cat02-07 .sidenavi ul.menu li.cat02-07 a,
.cat02-08 .sidenavi ul.menu li.cat02-08 a,
.cat02-09 .sidenavi ul.menu li.cat02-09 a,
.cat03-01 .sidenavi ul.menu li.cat03-01 a,
.cat03-02 .sidenavi ul.menu li.cat03-02 a,
.cat03-03 .sidenavi ul.menu li.cat03-03 a,
.cat03-04 .sidenavi ul.menu li.cat03-04 a,
.cat03-05 .sidenavi ul.menu li.cat03-05 a,
.cat03-06 .sidenavi ul.menu li.cat03-06 a,
.cat03-07 .sidenavi ul.menu li.cat03-07 a,
.cat03-08 .sidenavi ul.menu li.cat03-08 a,
.cat03-09 .sidenavi ul.menu li.cat03-09 a,
.sidenavi ul.menu li.current-menu-item a,
.sidenavi ul.menu li a:hover {
  background: #eef8ff;
  text-decoration: none;
}
.sidenavi ul.menu li a:before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 0.5rem;
  width: 0;
  height: 0;
  margin-top: -5px;
  border-top: 5px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #b3b3b3;
}
.sidenavi p {
  background: #0356a8;
  padding: 0.8rem 0rem 0.75rem 1rem;
  margin-bottom: 0.5rem;
  color: #fff;
}
.sidenavi ul.sinfo {
  margin-bottom: 0.5rem;
}
.sidenavi ul.sinfo li a {
  display: block;
  padding: 0.5rem 0rem 0.5rem 0.5rem;
  margin-bottom: 5px;
  color: #fff;
  font-size: 0.889rem;
}
.sidenavi ul.sinfo li a:hover {
  text-decoration: none;
  opacity: 0.85;
}
.sidenavi ul.sinfo li.tab-l01 {
  background: #ff9000;
}
.sidenavi ul.sinfo li.tab-l02 {
  background: #61b80d;
}
.sidenavi ul.sinfo li.tab-l03 {
  background: #4baee3;
}
.sidenavi ul.sinfo li a:before {
  display: inline-block;
  content: "";
  width: 55px;
  height: 41px;
  background: url("../img/ken/info01.png") top left no-repeat;
  background-size: 49px 41px;
  vertical-align: middle;
}
.sidenavi ul.sinfo li.tab-l02 a:before {
  background: url("../img/ken/info02.png") top left no-repeat;
  background-size: 36px 36px;
}
.sidenavi ul.sinfo li.tab-l03 a:before {
  background: url("../img/ken/info03.png") top left no-repeat;
  background-size: 41px 41px;
}
.maincontent {
  width: 70%;
  float: right;
  padding-bottom: 3rem;
}
.maincontent h1.title {
  padding: 0 2rem 2rem 1rem;
  font-size: 2rem;
  color: #004bad;
}
.archive #content .maincontent h1.title,
.taxonomy #content .maincontent h1.title,
.single #content .maincontent h1.title {
  padding: 0 2rem 1rem 1rem;
}
.post-dt {
  text-align: right;
  padding: 1rem 2rem 1rem 0;
}

.maincontent p {
  padding: 0 2rem 0rem 1rem;
}
.maincontent p img {
  width: auto;
  max-width: 100%;
}
.pagenav {
  padding: 2rem 0 0;
  text-align: center;
  font-size: 0.875rem;
}
.pagenav span,
.pagenav a {
  padding: 0 0.5rem;
  display: inline-block;
}
.pagenav a {
  color: #0356a8;
}

/* responsive
------------------------------------------------------------*/
@media only screen and (min-width: 2000px) {
  body.home {
    background: url(../img/top/bgtop.jpg) no-repeat top center;
    background-size: contain;
    background-position-y: -100px;
  }
  #toplink {
    background-size: cover;
  }
  #header,
  #kanagawa #header,
  #medical #header,
  #member #header,
  .post-type-archive-news01 #header,
  .post-type-archive-news02 #header,
  .post-type-archive-news03 #header,
  .news01-template-default #header,
  .news02-template-default #header,
  .news03-template-default #header {
    background-size: cover;
    background-position-y: -50px;
  }
  .search #header,
  .error404 #header {
    background-size: cover;
    background-position-y: -50px;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 2000px) {
  body.home {
    background: url(../img/top/bgtop.jpg) no-repeat top center;
    background-size: auto;
  }
  .txt h2 {
    padding: 0 0 20px !important;
  }
}

@media only screen and (max-width: 1200px) {
  body.home {
    background: url(../img/top/bgtop1200.jpg) no-repeat top center;
  }
  #kanagawa #header,
  .post-type-archive-news01 #header,
  .news01-template-default #header {
    background: url(../img/ken/bgken1200.png) no-repeat top center;
  }
  #medical #header,
  .post-type-archive-news02 #header,
  .tax-category02 #header,
  .news02-template-default #header {
    background: url(../img/med/bgmed1200.png) no-repeat top center;
  }
  #member #header,
  .post-type-archive-news03 #header,
  .tax-category03 #header,
  .news03-template-default #header {
    background: url(../img/mem/bgmember1200.png) no-repeat top center;
  }
  #header,
  .search #header,
  .error404 #header {
    /* background:url(../img/ken/bgken1200.png) no-repeat top center; */
  }
  .wrap,
  .home #content .wrap,
  .page-template-page-index #content .wrap,
  .archive #content .wrap,
  .taxonomy #content .wrap,
  .single #content .wrap {
    width: 100%;
  }
  #toplink {
    background-size: 120%;
    background-position-y: 65%;
  }
  dl.lstnews dd {
    margin: 0 1rem 1.2rem 19rem;
  }
}
@media only screen and (max-width: 1140px) {
  #mainnav .home img.logo {
    width: 140px;
  }
  #mainnav .home img {
    width: 40px;
  }
  #mainnav li {
    padding: 5px 0px 0px 5px;
  }
  #mainnav a.gnmenu.med:before,
  #mainnav a.gnmenu.member:before,
  #mainnav a.gnmenu.access:before {
    top: 3px;
    left: 8px;
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
  }
  #mainnav a.gnmenu.member:before {
    background-size: contain;
    left: 10px;
  }
  #searchform {
    width: 10rem;
  }
  #searchform input.SE4_btn,
  .changesize input.SE4_btn {
    padding: 4px 0;
    width: 3rem;
  }
  input {
    padding: 6px 4px;
  }
  .changesize input.SE4_btn {
    width: 2rem;
  }
  .changesize {
    width: 7.5rem;
  }
}
@media only screen and (max-width: 1000px) {
  html {
    font-size: 16px;
  }
  body.home,
  #header,
  .search #header,
  .error404 #header,
  #kanagawa #header,
  #medical #header,
  #member #header,
  .tax-category02 #header,
  .tax-category03 #header,
  .post-type-archive-news01 #header,
  .post-type-archive-news02 #header,
  .post-type-archive-news03 #header,
  .news01-template-default #header,
  .news02-template-default #header,
  .news03-template-default #header {
    background-size: contain;
  }
  .home #header {
    margin: 7.2222rem auto 5.5rem;
  }
  #topmenu01 {
    width: 90%;
  }
  .login {
    width: 500px;
  }
  #news {
    width: 90%;
  }
  #news h2 {
    padding: 1rem;
  }
  #content .wrap,
  .search .site-main .wrap,
  .error404 .site-main .wrap,
  .archive #content .wrap,
  .taxonomy #content .wrap,
  .single #content .wrap {
    width: 90%;
  }
}

@media only screen and (max-width: 900px) {
  #mainnav .home img {
    width: 40px;
  }
  #mainnav a.gnmenu.med,
  #mainnav a.gnmenu.member,
  #mainnav a.gnmenu.access {
    position: relative;
    padding: 0 0 0 0.2222rem;
  }
  #mainnav a.gnmenu.med:before,
  #mainnav a.gnmenu.member:before,
  #mainnav a.gnmenu.access:before {
    display: none;
  }
}

@media only screen and (min-width: 800px) {
  a#menu {
    display: none;
  }
  .panel {
    display: block !important;
  }
  #mainnav {
    /*position:fixed;*/
    top: 0;
    width: 100%;
    z-index: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }

  #mainnav ul {
    text-align: left;
    /*padding-right: 30px;*/
    float: left;
  }

  #mainnav li {
    display: inline-block;
    padding: 0px 0px 0px 5px;
    font-size: 1rem;
    vertical-align: middle;
  }
  #mainnav a {
    color: #fff;
    text-decoration: none;
  }
  #mainnav.changeNav {
    background: rgba(0, 78, 164, 0.8);
  }
}

@media only screen and (max-width: 799px) {
  html {
    font-size: 14px;
  }

  .indexcf form {
    width: 100%;
  }

  a#menu {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
    margin: 10px;
  }
  #menuBtn {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    margin: -1px 0 0 -7px;
    background: #fff;
    transition: 0.2s;
  }
  #menuBtn:before,
  #menuBtn:after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 18px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
  }
  #menuBtn:before {
    margin-top: -7px;
  }
  #menuBtn:after {
    margin-top: 5px;
  }
  a#menu .close {
    background: transparent;
  }
  a#menu .close:before,
  a#menu .close:after {
    margin-top: 0;
  }
  a#menu .close:before {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
  a#menu .close:after {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }
  #mainnav .gnlogo {
    display: block;
    width: 178px;
  }
  #mainnav .gnlogo img {
    width: 120px;
    margin: 10px 5px 0 10px;
  }
  #mainnav .gnlogo img.logo01 {
    width: 28px;
    float: left;
  }
  .panel {
    width: 100%;
    display: none;
    overflow: hidden;
    position: relative;
    left: 0;
    top: 0;
    z-index: 100;
    background: rgba(0, 78, 164, 0.8);
  }

  #mainnav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    text-align: right;
    z-index: 500;
    background: none;
  }
  #mainnav.changeNav {
    background: rgba(0, 78, 164, 0.8);
  }
  #mainnav ul {
    border-bottom: 1px solid #ccc;
    background: #fff;
    text-align: left;
  }
  #mainnav li a.home img {
    display: none;
  }
  #mainnav .home span {
    display: block;
  }
  #mainnav li a.gnmenu {
    position: relative;
    display: block;
    padding: 15px 25px !important;
    border-bottom: 1px solid #ccc;
    color: #222;
    font-weight: 400;
  }
  #mainnav a.gnmenu.med:before,
  #mainnav a.gnmenu.member:before,
  #mainnav a.gnmenu.access:before {
    display: none;
  }
  #mainnav li a.gnmenu:before,
  #mainnav a.gnmenu.med:before,
  #mainnav a.gnmenu.member:before,
  #mainnav a.gnmenu.access:before {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 5px;
    width: 6px;
    height: 6px;
    margin: -4px 0 0 0;
    border-top: solid 2px #000;
    border-right: solid 2px #000;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #searchform {
    float: left;
    margin-left: 1rem;
    text-align: left;
    width: 16rem;
  }
  .changesize {
    display: none;
  }
  input {
  }
  #topics,
  #topnews {
    padding: 2rem 2rem 3rem;
  }
  .home #header {
    margin: 6rem auto 3.5rem;
  }
  #header {
    padding: 6rem 0;
  }
  .frm01 {
    width: 100%;
    margin: 0;
  }
  .sidenavi ul.sinfo li a:before {
    width: 45px;
    height: 36px;
    background-size: 40px 35px;
  }
  .sidenavi ul.sinfo li.tab-l02 a:before {
    background-size: 35px 35px;
  }
  .sidenavi ul.sinfo li.tab-l03 a:before {
    background-size: 35px 35px;
  }
}

@media only screen and (max-width: 480px) {
  a#menu {
    margin: 0 5px;
  }
  #mainnav .gnlogo img {
    width: 110px;
    margin: 5px 5px 0 0;
    float: left;
  }
  #mainnav .gnlogo img.logo01 {
    width: 28px;
  }

  dl.lstnews dt,
  dl.lstnews dd {
    width: 100%;
    display: block;
    float: left;
    clear: both;
    margin: 0 0 0.5rem 0;
    padding: 0;
  }
  dl.lstnews dd {
    margin: 0 0 1.5rem 0 !important;
  }
  .col2 li,
  .tab-content .col3 li,
  .col3 li,
  .col4 li {
    margin: 0 auto 10px;
    display: block;
    width: 100%;
    max-width: 288px;
  }
  .tab-content .col3 li {
    width: 96%;
  }
  .home #header {
    margin: 3.5rem auto 1.5rem;
  }
  .home #header h1,
  #header h1 {
    font-size: 2.25rem;
    margin: 0 0 0.5rem;
  }
  .home #header h1 img.logo01 {
    max-width: 2.8rem;
    margin: 0 5px 2px 0;
  }
  .home #header h1 span {
    font-size: 1rem;
  }
  .home #header p {
    font-size: 1.125rem;
    padding: 0.3rem 0;
    border-radius: 30px;
    width: 80%;
  }
  #topmenu01 {
    width: 100%;
  }
  #topmenu01 img {
    width: 24%;
    margin: 0;
  }
  #topics h2,
  #topnews h2 {
    padding: 0 0 2rem;
    font-size: 2rem;
  }
  dl.lstnews {
    float: left;
    margin: 0 1rem 2rem;
  }
  #news div.frm dl {
    margin: 0 2rem 2rem;
  }
  #toplink {
    background-size: 550%;
    background-position-y: -20px;
  }
  #footer .col2 {
    width: 100%;
  }
  #footer p {
    padding: 0 1rem 25px;
  }
  #header {
    padding: 1rem 0;
  }
  #header h1 {
    font-size: 2rem;
    margin: 0 0 0.5rem;
  }
  #news h2 {
    font-size: 2rem;
  }
  p.lead span {
    display: block;
  }
  #tabnews {
    padding: 2rem 1rem 3rem;
  }
  .tab-label.tab-l01:before,
  .tab-label.tab-l02:before,
  .tab-label.tab-l03:before {
    display: block;
    margin: 0 auto;
    width: 40px;
    height: 30px;
    background-size: contain;
  }
  .tab-label:not(:last-of-type) {
    margin-right: 6px;
  }
  .login {
    width: 90%;
    margin-top: -2rem;
  }
  .login .col2 li {
    display: inline-block;
    width: 45%;
  }
  .login01 span::after,
  .login02 span::after {
    height: 50px;
    background-size: 34px 27.5px;
    background-position-y: 1.2rem;
  }
  .login02 span::after {
    background-size: 27.5px 27.5px;
    background-position-y: 1rem;
  }
  .login a {
    margin-bottom: 1rem;
  }
  .maincontent {
    width: 96%;
    margin: 0 2%;
    float: none;
  }
  .sidenavi {
    width: 90%;
  }
  .archive #content .maincontent h1.title,
  .taxonomy #content .maincontent h1.title,
  .single #content .maincontent h1.title,
  .post-dt,
  .maincontent p {
    padding-right: 1rem;
  }
  .gmap {
    width: 100%;
    height: 300px;
  }
  .pcon {
    display: none;
  }
  .spon {
    display: block;
  }

  .first-onegai h1 {
    font-size: 1.2em;
  }
  .first-onegai h2 {
    font-size: 1em;
  }
  .first-onegai p {
    font-size: 1em;
    margin-top: 15px;
  }

  .contact_table tr {
    display: inline;
  }
  .contact_table th,
  .contact_table td {
    display: block;
  }

  .boshu1,
  .boshu2 {
    display: block;
    width: 100%;
  }
  .aidea-box {
    width: 100%;
  }

  .chui {
    width: 80%;
  }
  .c_doga_box {
    display: block;
    padding: 10px 10px;
  }

  .c_doga_box video {
    width: 100%;
  }

  .spect {
    margin: 15px 0 0 0px;
  }

  .spect2 {
    margin: 15px 0 0 0px;
  }
  .the-content input[type="text"] {
    /* width:90%; */
  }
  .p_kotei p,
  .post p {
    padding: 0px;
  }

  .custom-wpcf7c-confirmed span.wpcf7-list-item {
    display: block !important;
  }

  label {
    margin-left: 10px;
  }

  span.wpcf7-list-item {
    margin: 0 0 0 0em !important;
  }
}

/* 新しく追加したクラス用のスタイル */
.radio-group {
  margin-bottom: var(--spacing-lg);
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  margin-right: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.response-message {
  background-color: #f8f9fa;
  border-left: 4px solid var(--primary-color);
  padding: var(--spacing-md) var(--spacing-lg);
  margin: var(--spacing-md) 0 var(--spacing-xl);
  border-radius: var(--border-radius-sm);
}

.response-message p {
  margin-bottom: 0;
}

.logout-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: var(--spacing-sm) var(--spacing-xl);
  border-radius: var(--border-radius-md);
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.logout-button:hover {
  background-color: #003b7a;
  text-decoration: none;
}

.submit-area {
  margin-top: var(--spacing-xl);
}

.koza {
  margin: var(--spacing-lg) 0;
}

.koza table {
  width: 100%;
  border-collapse: collapse;
}

.koza th {
  width: 30%;
  text-align: right;
  padding-right: var(--spacing-md);
  vertical-align: middle;
}

.koza td {
  width: 70%;
}

@media only screen and (max-width: 768px) {
  .koza th,
  .koza td {
    display: block;
    width: 100%;
    text-align: left;
  }

  .koza th {
    margin-bottom: var(--spacing-xs);
    padding-right: 0;
  }

  .radio-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
  }
}
