@charset "utf-8";
/* CSS Document */

/*
Theme Name: 群馬県難病相談支援センター2025
Theme URI: https://nanbyou.med.gunma-u.ac.jp/
Description: オリジナルテーマ
Author: 
Author URI: 
Version: 1.0
*/

/* 使用フォント */

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New&family=Zen+Maru+Gothic&display=swap');

/* サイト内共通 */

body {
	font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 400;
	font-size:110%;
	color: #3c3c3c;
    overflow-x: hidden;
    background-color: #f9f7f6;
}

p {
	line-height: 1.8em;
	margin-bottom: 1.2em;
	font-size:100%;
}

a {
	color:#344ce0;
	text-decoration:none;
	transition:0.2s ease-in-out;
}

a:hover {
	color:#586ff9;
	text-decoration:underline;
}

a:visited {
	color:#2437aa;
}

.container {
    position: relative;
    margin: 0 auto;
}
.container:after {
    content: "";
    clear: both;
    display: block;
}

.table {
	border-collapse: collapse;
}

.table th,
.table td {
	border:1px solid #b3b3b3;
}


section {
	padding:80px 0;
}

/* 見出し・テキスト */

h2 {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 1.8rem;
    color: #5d9f44;
    padding: 5px 0 15px;
    border-bottom: 2px dotted #5d9f44;
    margin-bottom: 15px;
}

.h_type01 {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 1.4rem;
    color: #5d9f44;
    text-align: center;
}

.ms_type01 {
    text-align: center;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #7b4f32;
}

.ms_type02 {
    font-size: 1.6rem;
    line-height: 1.6;
    color: #7b4f32;
}

/* ボタン */

.link_btn01 {
    color: #FFF;
    text-align: center;
}

.link_btn01 a {
    display: inline-block;
    position: relative;
	background: #5d9f44;
	padding: 15px 30px;
	border-radius: 25px;
	color: #FFF !important;
	text-align: center;
    line-height: 1.4;
    font-size: 1rem;
	min-width:300px;
	margin: 0 auto;
	text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    background-image: url("images/arrow01.svg");
    background-repeat: no-repeat;
    background-position: center right 10px;
    background-size: 15px;
}

.link_btn02 a {
	display: block;
	position: relative;
	background: #5d9f44;
	padding: 12px 30px 15px;
	border-radius: 25px;
	color: #FFF;
	text-align: center;
	width:250px;
	margin: 0;
	text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.link_btn01 a:hover,
.link_btn02 a:hover {
	opacity: 0.8;
}

.link_btn03 a {
	display: inline-block;
	position: relative;
	background: #5d9f44;
	padding: 15px 40px 15px 30px;
	border-radius: 25px;
	color: #FFF;
	text-align: center;
	margin: 0;
	text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
	background-image: url("images/arrow01.svg");
    background-repeat: no-repeat;
    background-position: center right 10px;
    background-size: 15px;
}

.link_btn03 a:hover {
	opacity: 0.8;
}


/* 下層ページ共通 */


/* 固定ページ共通 */

#page h1 {
    display: block;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
    line-height: 1.4;
    color: #FFF;
    background-color: #5d9f44;
    padding:15px;
    margin-bottom: 15px;
    border-radius: 6px;
}

#page h2 {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 1em;
}

#page h3 {
    display: block;
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 400;
    background-color: #ddf1e1;
    padding:8px 10px;
    margin-bottom: 0.6em;
}

#page h4 {
    display: block;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 600;
    border-bottom:1px solid #5d9f44;
    padding:6px 0;
    margin-bottom: 1em;
}

#page h5 {
    display: block;
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
    padding:6px 0;
    margin-bottom: 0.6em;
}

p + h2 ,p + h3 {
    margin-top: 50px;
}

ul + h2, ul + h3 {
    margin-top: 50px;
}

.c_box01 {
    text-align: center;
}

/* パンくず */
#bc_nav {
	font-size:0.9rem;
	margin-bottom:50px;
}

/* お知らせ */

.cat_title {
	font-size:1.2rem;
	text-align:center;
	padding:20px;
	color:#5d9f44;
	border-top:1px solid #5d9f44;
	border-bottom:1px solid #5d9f44;
}

#post img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.entry_date {
	text-align:right;
}

#post h1 {
	font-size: 2.1rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

#post h2 {
	line-height: 1.4;
	margin-bottom: 1em;
}

#post h3 {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 0.6em;
}

.row {
    display: flex;
    justify-content: space-between;
}

.row_wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* アコーディオン */
.ac {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.ac-parent {
	position: relative;
	background-color: #fff;
	cursor: pointer;
	padding:15px 30px 15px 50px;
    font-size: 1.2rem;
    line-height: 1.4;
	border-top:1px solid #3c3c3c;
}

.ac-parent span { 
    display: block;
    position: absolute;
	top: 15px;
	left: 0;
	width: 30px;
	height: 30px;
	color: #fff;
    background-color: #71a742;
    border-radius: 50%;
    text-align: center;
}

.ac-parent:after {
	content: "▼";
	position: absolute;
	top: 40%;
	right: 23px;
	width: 16px;
	height: 16px;
	color: #ccc;
	transform: translateY(-50%);
	transition: .2s;
}

.ac-parent.open:after {
	top: 40%;
	opacity: 1;
	transform: rotate(180deg);
}

.ac-child {
	display: none;
    position: relative;
	padding: 20px 20px 20px 50px;
	line-height: 1.8;
	border-top:1px solid #ccc;
}

.ac-child span { 
    display: block;
    position: absolute;
	top: 20px;
	left: 0;
	width: 30px;
	height: 30px;
	color: #fff;
    background-color: #80785a;
    border-radius: 50%;
    text-align: center;
}

/* アクセス */

.map_wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%; 
}

.map_wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0 20px 20px 0;
}

.page .map {
    margin-bottom: 50px;
}

/* お問い合わせ */


/* フォーム */

.cform {
    margin-bottom: 50px;
}

.cf {
	display: flex;
    flex-wrap: wrap;
	margin:0 auto 40px;
}

.cf dt,.cf dd {
    padding:5px;
    border-bottom:1px solid #ccc;
}

.cf dt {
	flex-basis:30%;
    position: relative;
	font-size:0.9rem;
    line-height: 1.4;
}

.cf dt span {
    display: block;
    position: absolute;
    width:40px;
    height:20px;
    top:50%;
    bottom:50%;
    transform: translateY(-50%);
    right:20px;
    font-size:0.7rem;
    text-align: center;
    color:#F00;
    padding:0 2px;
    border:1px solid #F00;
    
}

.cf dd {
	flex-basis:70%;
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'] {
  padding: 8px;
  border: 1px solid #eee;
  border-radius: 5px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width:100%;
}

textarea{
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width:100%;
}

input[type='date'] {
    padding: 8px;
    border: 1px solid #eee;
}

input:focus {
	border: 2px solid #667e61;
}

select {
    padding: 8px;
    border: 1px solid #eee;
}

.submit {
	text-align: center;
}

.submit input[type="submit"] {
	cursor:pointer;
    padding:8px 30px;
	font-size: 1rem;
	color: #FFF;
	background: #71a742;
	border-radius: 8px;
	border:none;
    transition: 0.2s;
}

.submit input[type="submit"]:hover {
    background-color: #9cd366;
}

input[type=checkbox] {
    display: none; 
}

.wpcf7-list-item input + span {
  padding-left: 28px;
  display: inline-block;
  position: relative;
}

.wpcf7-list-item input + span::after,
.wpcf7-list-item input + span::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
}

.wpcf7-list-item input + span::before {
  border: 1px solid #aaaaaa;
  background-color: #ffffff;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.wpcf7-list-item input + span::after {
  border: none;
  background-color: #344251;
  border-radius: 50%;
  height: 12px;
  width: 12px;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

.wpcf7-list-item input:checked + span::after {
  display: block;
}

.wpcf7-checkbox {
    display: flex;
    justify-content: space-between;
}

.wpcf7-list-item input[type='checkbox'] {
    margin-right: 3px;
}

/* お知らせ */


/* お知らせ一覧（トップ) */

#top_info .info_list {
	display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
	width:100%;
	margin: 0 auto 30px;
}

#top_info .info_list dt {
	flex-basis: 25%;
	display:flex;
	justify-content:space-between;
    margin-bottom: 5px;
	line-height: 1.3;
}

#top_info .info_list dd {
	display:flex;
	flex-basis: 70%;
    margin-bottom: 25px;
	line-height: 1.3;
}

.new {
	display:inline-block;
	font-size:0.8rem;
	margin-right:6px;
	color:#F00;
	font-weight:bold;
	padding-top:3px;
}

/* お知らせ一覧（アーカイブ) */

#page .info_list {
	display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
	width:100%;
	margin: 0 auto 30px;
}

#page .info_list dt {
	flex-basis: 33%;
	display:flex;
	justify-content:space-between;
    margin-bottom: 5px;
	line-height: 1.3;
}

#page .info_list dd {
	display:flex;
	flex-basis: 64%;
    margin-bottom: 25px;
	line-height: 1.3;
}

.info_list dt .info_date {
	display: block;
}

.info_list dt .cat_tag {
    display: block;
	width:100px;
    font-size: 0.8rem;
    color: #FFF;
	text-align:center;    
}

.info_list dt span a {
	display:block;
	width:100%;
	color:#fff;
	text-decoration:none;
	padding:2px 6px 2px;
}

.info_list dt span.cat_info a {
    background-color: #5d9f44;
}

.info_list dt span.cat_training a {
    background-color: #516aaa;
}

.info_list dt span.cat_report a {
    background-color: #eaa428;
}

.info_list dt span.cat_lecture a {
    background-color: #11a38e;
}



/* ページナビ */

.wp-pagenavi {/* 全体 */
    margin: 20px 0;
    font-size: 12px;
	text-align:center;
}
.wp-pagenavi a {/* フォント色 */
    color: #4a4a4a;
}
.pages {/* 左の表記 */
    margin-right: 20px;
}
.wp-pagenavi .current,
.wp-pagenavi a.page {/* ボタン */
    margin: 0 6px 6px 0;
    display: inline-block;
    border: solid 1px #eee;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
}
.wp-pagenavi .current {/* カレント数字 */
    border: none;
    background: #87a88c;
    color: #fff;
}
.wp-pagenavi a.page:hover {/* マウスオーバー */
    background: #666666;
    color: #fff;
}
.wp-pagenavi .first,
.wp-pagenavi .extend {/* ... */
    margin-right: 10px;
}
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {/* 記号の削除 */
    display: none;
}


/* お問い合わせ（メイン） */

#contact h2 {
    width: 150px;
    margin-bottom: 30px;
}

.contact_row01 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.contact_row01 .contact_txt {
    flex-basis: 45%;
}

.contact_row01 .contact_tel {
    flex-basis: 50%;
    background-image: url("images/ic_tel01.svg");
    background-position: top 5px left;
    background-repeat: no-repeat;
    background-size: 60px;
    padding-left:80px;
}

.contact_row01 .contact_tel span {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 6px;
}

.contact_list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
}

.contact_list li {
    flex-basis: 46%;
    display: block;
    margin-bottom: 30px;
}

.contact_list li a {
    display: block;
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.3;
    color: #FFF;
    padding:20px;
    text-decoration: none;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact_list li a span {
    font-size: 1rem;
}

.contact_moto a {
    background-color: #516aaa;
}

.contact_palla a {
    background-color: #71ad42;
}

.contact_photo a {
    background-color: #787878;
}

.contact_list li a:hover {
    opacity: 0.8;
}


/* その他ページ(404/プライバシーポリシー等) */



/* 汎用スタイル */

.narrow {
	width: 700px;
	margin-left:auto;
    margin-right:auto;
}

.col-img {
    text-align: center;
}

.box01 {
    background-color: #f1e8d2;
    padding: 40px;
    border-radius: 15px;
}

.box02 {
    background-color: #fff;
    padding: 30px;
    border:2px solid #5d9f44;
    border-radius: 15px;
}

.dl_table01 {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 auto;
}

.dl_table01 dt,
.dl_table01 dd {
	padding:10px;
	margin-bottom: 20px;
	line-height:1.4;
}

.dl_table01 dt {
	border-bottom:1px solid #ccc;
    flex-basis:13%;
	font-weight:600;
}

.dl_table01 dd {
	border-bottom:1px solid #ccc;
    flex-basis: 87%;
}

.dl_table02 {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 auto;
}

.dl_table02 dt,
.dl_table02 dd {
	margin-bottom: 20px;
}

.dl_table02 dt {
	padding:8px 0;
	border-bottom:2px solid #5b5b5b;
}

.dl_table02 dd {
	padding: 0;
	/*border-bottom:2px solid transparent;*/
}

.table01 {
    border-collapse: collapse;
}

.table01 th,.table01 td {
    padding:15px;
    border:1px solid #666;
    line-height: 1.4;
}

.table01 th {
    background-color: #ddf1e1;
    text-align: center;
}

.list01 {
	list-style: none;
	margin: 0 0 0 10px;
}

.list01 li {
	background-image: url("images/arrow01.png");
	background-position: top 5px left;
	background-repeat: no-repeat;
	padding:0 0 0 25px;
	text-align: left;
}

ul.list_nostyle {
    list-style: none;
    margin: 0;
}

ul.list_nostyle li {
    margin-bottom: 20px;
}

.tel {
    display: inline-block;
    background-image: url("images/ic_tel_b.svg");
    background-repeat: no-repeat;
    background-position: center left;
    background-size: 25px auto;
    padding-left:35px;
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.bg_black {
    background-color: #000;
    color: #FFF;
}

.bg_black a {
    color: #FFF;
    text-decoration: underline;
}

.pc_center {
	text-align: center;
}

a[href^="tel:"] {
	color:#7b4f32;
    pointer-events: none;
}

a[href $='.pdf'], #contents ul.list-index li a[href $='.pdf'] {
	background: url(images/ic_pdf.svg) no-repeat;
    background-position: center left;
    background-size: 20px auto;
	padding-left:30px;
	overflow:hidden;
}
a[href $='.doc'],a[href $='.docx'] {
	background: url(images/ic_word.svg) no-repeat left;
    background-position: center left;
    background-size: 20px auto;
	padding-left:30px;
	overflow:hidden;
}
a[href $='.xls'] ,a[href $='.xlsx'] {
	background: url(images/ic_xls.svg) no-repeat left;
    background-position: center left;
    background-size: 20px auto;
	padding-left:30px;
	overflow:hidden;
}

/*------------------------------------------
  Responsive Grid Media Queries - 1280, 1024, 768, 480
   1280-1024   - デスクトップ（デフォルトのグリッド）
   1024-768    - タブレット横長
   768-480     - タブレット縦長
   480-less    - スマホ
--------------------------------------------*/
@media all and (min-width: 1024px) and (max-width: 1280px) {

.container {
	width:1040px;
	margin: 0 auto;
}
.container_wide {
	width:1200px;
	margin: 0 auto;
}

}
 
@media all and (min-width: 768px) and (max-width: 1024px) {
	
/* パンくず */
.bc_nav {
	margin-top:10px;
}

}
 
@media only screen and (max-width: 768px) {

section {
	padding:40px 0;
}	
	
.narrow {
	width: 100%;
}

/* 見出し */


/* 下層ページ共通 */


	
/* パンくず */
.bc_nav {
	margin-top:10px;
}


/* お知らせ */

.info_entry {
    width: 100%;
}

.info_list {
	width:100%;
	margin: 0 auto 40px;
}

.info_list dt {
	flex-basis: 100%;
	line-height: 1.3;
	margin: 0 0 5px;
	border: none;
	padding: 0;
}

.info_list dd {
	flex-basis: 100%;
	line-height: 1.3;
	margin-bottom: 15px;
	padding-bottom: 15px;
}

#top_info .info_list dt {
	flex-basis: 100%;
	justify-content:start;
}

#top_info .info_list dd {
	flex-basis: 100%;
}

	
/* お問い合わせ */

#contact h2 {
    width:140px;
    margin: 0 auto 30px;
}

.contact_row01 {
    flex-wrap: wrap;
    justify-content: center;
}

.contact_row01 .contact_txt {
    flex-basis: 100%;
}

.contact_row01 .contact_tel {
    flex-basis:300px;
}

.contact_list {
    margin: 0 0 100px;
}

.contact_list li {
    flex-basis:75%;
}

/* お問い合わせページ */

#entry #contact01 h2,
#entry #contact02 h2 {
    font-size: 1.3rem;
}

#contact01 h2 span {
    padding:30px 0 30px 50px;
    background-size: 30px auto;
}

#contact02 h2 span {
    display: inline-block;
    padding:30px 0 30px 40px;
    background-size: 30px auto;
}

.contact01_02 span {
    display: block;
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.contact01_02 .contact01_02_tel01 {
    margin-right: 0;
}

.cf {
    width: 100%;
}

.cf dt,.cf dd {
    flex-basis: 100%;
}

.cf dt {
    margin-bottom: 0;
}

.cf dd {
    margin-bottom: 15px;
}
	
/* 汎用クラス */



.dl_table01 {
	width: 100%;
}

.dl_table01 dt,
.dl_table01 dd {
	flex-basis:100% !important;
}

.dl_table01 dt {
    margin-bottom: 5px;
}

.dl_table01 dd {
    margin-bottom: 15px;
    border:none;
}

.dl_table02 {
	width: 100%;
}

.dl_table02 dt,
.dl_table02 dd {
	flex-basis:100%;
}

.pc_center {
	text-align: left;
}

.link_btn01 a {
	width:80%;
}

a[href^="tel:"] {
	color:#344251;
    pointer-events: auto;
}

}
 
@media all and (max-width: 480px) {

img {
	max-width: 100%;
	width:100%;
	height:auto;
}

/* 見出し */



.page h2 {
    font-size: 2rem;
}

.page h3 {
    font-size: 1.4rem;
}

/* 下層ページ共通 */

/* 固定ページ共通 */

#page h1 {
    font-size: 1.6rem;
}

#page h2 {
    font-size: 1.4rem;
}

#page h3 {
    font-size: 1.2rem;
}

#page h4 {
    font-size: 1.1rem;
}


/* エントリー */



.row {
	flex-wrap: wrap;
}


/* お知らせ */
	
.info_list_item {
	flex-wrap:wrap;	
}
	
.info_list_date {
	flex-basis:100%;
	margin-bottom:8px;
}

/* お問い合わせ */

.contact_list li {
    flex-basis:100%;
}

/* 汎用 */

.box01 {
    padding: 30px 20px;
}

.box02 {
    padding: 30px 20px;
}	
	
.table01 {
    font-size: 0.9rem;
}
	
.res_table,.res_table th,.res_table td {
	display:block;
}

.res_table th {
	display:none;	
}
	
.res_table .cell_name {
	border-bottom:none;	
}
	
.res_table .cell_txt {
	border-top:none;	
}

}