
/*--------------------------*/
/*　TOPのスクロール			*/
/*--------------------------*/
html {
	scroll-behavior: smooth;
}
.pagetop {
    height: 40px;
    width: 40px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: rgba(255, 255, 255, 0.5);
    border: solid 1px #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
.pagetop__arrow {
    height: 8px;
    width: 8px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transform: translateY(20%) rotate(-45deg);
}
.img-frame{
   position: relative;
   width: 100%;
   height: auto;
   overflow: hidden;
   margin: 0 auto;
}
.ratio-1_1:before {
    content: "";
    display: block;
    padding-top: 50%; /* 2:1 */
}

.img-01, .img-02, .img-03{
   position: absolute;
   top:0;
   left:0;
   width: 100%;
   height: 100%;
   background-size: cover;
   background-repeat: no-repeat;
}
.img-01{
   background-image: url('./image/sanzeji.jpg');
   animation: slide-animation-01 24s infinite;
}
.img-02{
   background-image: url('./image/sanzeji2.jpg');
   animation: slide-animation-02 24s infinite;
}
.img-03{
   background-image: url('./image/sanzeji3.jpg');
   animation: slide-animation-03 24s infinite;
}
@keyframes slide-animation-01 {
    0% {opacity: 1; transform: scale(1.0);}
  30% {opacity: 1;}
  40% {opacity: 0; transform: scale(1.15);}
  90% {opacity: 0}
100% {opacity: 1; transform: scale(1.0);}
}
@keyframes slide-animation-02 {
    0% {opacity: 0;}
  30% {opacity: 0; transform: scale(1.1);}
  40% {opacity: 1;}
  60% {opacity: 1;}
  70% {opacity: 0; transform: scale(1.0);}
100% {opacity: 0;}
}
@keyframes slide-animation-03 {
    0% {opacity: 0;}
  60% {opacity: 0;  transform: scale(1.0);}
  70% {opacity: 1;}
  90% {opacity: 1;}
100% {opacity: 0; transform: scale(1.1);}
}

.slideshow {
	width: 100%;
	height: auto;
	position: relative;
	overflow: hidden;
}
input[name="slideshow"] {
	display: none;
}

.slideshow2 {
	width: 100%;
	height: auto;
	position: relative;
	overflow: hidden;
}
input[name="slideshow2"] {
	display: none;
}

.slideshow3 {
	width: 100%;
	height: auto;
	position: relative;
	overflow: hidden;
}
input[name="slideshow3"] {
	display: none;
}


/* :::::: slideContents :::::: */
.slideContents {
	position: relative;
	background: #86c0de;
	text-align: center;
	-webkit-user-select: none;
	user-select: none;
}
.slideContents section {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transform: translateX(100%);
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
	  text-align: center;

}
.slideContents section img {
	max-width: 100%;
	height: auto;
	padding: 0 30px;
	box-sizing: border-box;
	vertical-align: middle;
}

.slideContents section p {
  position: absolute;
  top: 2px;/*画像の左上に配置*/
  left: 32px;
  margin: 0; /*余計な隙間を除く*/
  color: white;/*文字を白に*/
  background-color:rgba(90, 90, 90, 0.8);
  font-size: 1em;
  line-height: 1;/*行高は1に*/
  padding: 5px 10px;/*文字周りの余白*/
}



@media (min-width: 520px) {
	.slideContents section img {
		aspect-ratio: 16 / 9;
		object-fit: cover;
	}
}

/* :::::: arrows :::::: */
.arrow,
.arrow label,
.arrow .ico {
	position: absolute;
}
.arrow {
	top: 0;
	margin: 0;
	transition: background .3s;
}
.prev {
	left: 0;
}
.next {
	right: 0;
}
.arrow:hover {
	background: rgba(255,255,255,.2);
}
.arrow,
.arrow label {
	cursor: pointer;
	width: 30px;
	height: 100%;
}
.arrow label {
	top: 0;
	left: 0;
	z-index: 1;
}
.arrow .ico {
	top: calc(50% - 6px);
	width: 12px;
	height: 12px;
	border-top: 3px solid #fff;
	opacity: 0.5;
}
.prev .ico {
	left: 50%;
	border-left: 3px solid #fff;
	transform: rotate(-45deg);
	transition: transform .3s cubic-bezier(0.215, 0.61, 0.355, 1), opacity .3s;
}
.next .ico {
	right: 50%;
	border-right: 3px solid #fff;
	transform: rotate(45deg);
	transition: transform .3s cubic-bezier(0.215, 0.61, 0.355, 1), opacity .3s;
}
.arrow:hover .ico {
	opacity: .6;
}
.prev:hover .ico {
	transform: translateX(-6px) rotate(-45deg);
}
.next:hover .ico {
	transform: translateX(6px) rotate(45deg);
}

/* :::::: mechanism :::::: */
#switch1:checked ~ .slideContents #slide1,
#switch2:checked ~ .slideContents #slide2,
#switch3:checked ~ .slideContents #slide3,
#switch4:checked ~ .slideContents #slide4,
#switch5:checked ~ .slideContents #slide5,
#switch6:checked ~ .slideContents #slide6 {
	position: relative;
	transform: none;
}

/* :::::: mechanism2 :::::: */
#switch21:checked ~ .slideContents #slide21,
#switch22:checked ~ .slideContents #slide22,
#switch23:checked ~ .slideContents #slide23,
#switch24:checked ~ .slideContents #slide24 {
	position: relative;
	transform: none;
}

/* :::::: mechanism3 :::::: */
#switch31:checked ~ .slideContents #slide31,
#switch32:checked ~ .slideContents #slide32,
#switch33:checked ~ .slideContents #slide33,
#switch34:checked ~ .slideContents #slide34 {
	position: relative;
	transform: none;
}


/* :::::: arrow mechanism :::::: */
.arrow label {
	pointer-events: none;
}
#switch1:checked ~ .prev label[for="switch6"],
#switch2:checked ~ .prev label[for="switch1"],
#switch3:checked ~ .prev label[for="switch2"],
#switch4:checked ~ .prev label[for="switch3"],
#switch5:checked ~ .prev label[for="switch4"],
#switch6:checked ~ .prev label[for="switch5"],
#switch1:checked ~ .next label[for="switch2"],
#switch2:checked ~ .next label[for="switch3"],
#switch3:checked ~ .next label[for="switch4"],
#switch4:checked ~ .next label[for="switch5"],
#switch5:checked ~ .next label[for="switch6"],
#switch6:checked ~ .next label[for="switch1"] {
	pointer-events: auto;
}

/* :::::: arrow mechanism2 :::::: */
.arrow label {
	pointer-events: none;
}
#switch21:checked ~ .prev label[for="switch24"],
#switch22:checked ~ .prev label[for="switch21"],
#switch23:checked ~ .prev label[for="switch22"],
#switch24:checked ~ .prev label[for="switch23"],
#switch21:checked ~ .next label[for="switch22"],
#switch22:checked ~ .next label[for="switch23"],
#switch23:checked ~ .next label[for="switch24"],
#switch24:checked ~ .next label[for="switch21"]{
	pointer-events: auto;
}

/* :::::: arrow mechanism3 :::::: */
.arrow label {
	pointer-events: none;
}
#switch31:checked ~ .prev label[for="switch34"],
#switch32:checked ~ .prev label[for="switch31"],
#switch33:checked ~ .prev label[for="switch32"],
#switch34:checked ~ .prev label[for="switch33"],
#switch31:checked ~ .next label[for="switch32"],
#switch32:checked ~ .next label[for="switch33"],
#switch33:checked ~ .next label[for="switch34"],
#switch34:checked ~ .next label[for="switch31"]{
	pointer-events: auto;
}


/*--------------------------*/
/*　基本設定				*/
/*--------------------------*/
body {
  margin: 0;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}


/* Navbar & Navmenu color */
:root {
  --background-navbar: rgba(252, 252, 252, 0.98);
}

.header {
  background: var(--background-navbar);
  width: 100%;
  height: 72px;
}

.mainimage{
  width: 100%;
  float: left;
    display: flex;
	align-items: flex-end

}
.mainimage img {
  z-index:-9999;
  width: 100%;
  float: left;
}

.infoOld {
  width: 85%;
  text-align:right;
  margin-left: 10%;

}
.box2{
  /*background: rgba(250, 250, 250, 0.98);*/
  width: 100%;
  float: right;
  text-align: center;
   margin-top: 1.5em;
  margin-bottom: 1.5em;
}

.box2sub {
  width: 90%;
	display: flex;
   margin: 0 auto;
   margin-bottom: 1em;
}

.box2sub2 {
  width: 100%;
  display: flex;
   margin: 0 auto;
   margin-bottom: 1em;
}

.box2sub2 img {
  width: 100%;
  display: flex;
   margin: 0 auto;
   margin-bottom: 1em;
   margin-top: 1em;
   margin-leff: 1em;
}

.contactbox{
  width: 100%;
  border: 2px dashed #777;
  position: relative;
  margin-top: 1em;
  margin-right: 1em;
  margin-bottom: 2em;
  padding-top: 0.75em;
}
.contactbox h3{
  margin-left: 1em;
  text-align: left;
  position: absolute;
  right: 0;
  left: 0;
  top: -1.8em;
}
.contactbox span{
  background: #FFF;
  color: #000;
}

.box3{
  /*background: rgba(236, 247, 251, 0.98);*/
  width: 100%;
  float: right;
  text-align: center;
  
}

.box3sub {
  width: 90%;
  margin-bottom: 1em;
  box-shadow: 0px 1px 3px #cad4e2, -1px -1px 2px #fff;
  border-radius: 5px;
  margin: 0 auto;
  margin-bottom: 1em;
}

.box3sub2 {
    position: relative;
    width: 100%;
    padding: 0.5em 0.5em;
    border-radius: 3px;
    display: inline-block;

}

.box3sub2 span {
    position: absolute;
    top: -1.8em;
    left: 0px;
    padding: .2em .8em;
    border-radius: 3px 3px 0 0;
    color: #333;
      font-weight: bold;

  box-shadow:inset -1.2px -1px 1px #c7c7c7,
             inset 1px 1px 1px #f8f8f8;
}

.box3sub2 p {
    margin: 0;
    color: #f00;
    font-family: 'Zen Kaku Gothic New', sans-serif;

}

/*--------------------------*/
/*　addressのテーブル		*/
/*--------------------------*/
.addTable {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-left: 0.5em;
}

.addTable th {
  width: 15%;
  min-width: 5em;
  background: rgba(252, 252, 252, 0.3);
    border: none;
	 box-sizing: border-box;
  padding: 5px;
  vertical-align: top;
  font-weight: bold;
	text-align:left
}
.addTable td {
  background: rgba(252, 252, 252, 0.3);
  border: none;
  border-bottom: 1px solid rgba(200, 200, 200, 1);
  box-sizing: border-box;
  padding: 5px;
  vertical-align: top;
  text-align: left;
   margin-bottom: 20px;
}





/*--------------------------*/
/*お問い合わせ				*/
/*--------------------------*/
.contactTable {
  width: 95%;
  border-collapse: collapse;
  border-spacing: 4;
  margin-bottom: 20px;
}

.contactTable th {
  width: 80px;
  background: rgba(252, 252, 252, 0.3);
    border: none;
	box-sizing: border-box;
  	padding-top: 0.75em;
  	vertical-align: top;
  	font-weight: bold;
	text-align:center;
   font-size: 1em;
}
.contactTable td {
  background: rgba(252, 252, 252, 0.3);
  border: none;
  border-bottom: 1px solid black;
  box-sizing: border-box;
  	padding-top: 0.75em;
  vertical-align: top;
  text-align: left;
   margin-bottom: 1px;
   font-size: 1em;
}

.contactTable2 {
  width: 95%;
  border-collapse: collapse;
  border-spacing: 4;
  margin-bottom: 20px;
  margin-left: 10px;
}

.contactTable2 th {
  width: 100%;
  background: rgba(252, 252, 252, 0.3);
    border: none;
	box-sizing: border-box;
  	padding-top: 1.3em;
  	padding-left: 1.3em;
  	vertical-align: top;
  	font-weight: bold;
	text-align:left;
   font-size: 1em;
}

.contactTable2 td {
  background: rgba(252, 252, 252, 0.3);
  border: none;
  border-bottom: 1px solid black;
  box-sizing: border-box;
  	padding-left: 1.3em;
  	vertical-align: top;
	text-align:left;
   font-size: 1em;
}


.contactTable2 th, td {
    display: block;
    width: 100%;
    border-bottom: none;
}
.contactTable2 tr:last-child td:last-child {
    border-bottom: 1px solid #ccc;
}


/*--------------------------*/
/*リンクデザイン			*/
/*--------------------------*/
.cp_link {
	position: relative;
	padding: 0.1em 0.3em;
	display: inline-block;
	transition: .3s;
	color: #555;
	text-decoration: none; 
}
.cp_link::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	content: '';
	width: 0;
	height: 1px;
	background-color: #555;
	transition: .3s;
	transform: translateX(-50%);
}
.cp_link:hover::after {
	width: 100%;
}


/*--------------------------*/
/*最後の要素				*/
/*--------------------------*/
.footerBox {
	display: flex;
}
.infoBox{
	width: 100%;
}

.mapBox{
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #5d627b;
    background: white;
    border-top: solid 5px #5d627b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
 	width: 100%;
 	margin:5%;
}
footer{
}
footer p {
	text-align: center;
	font-size:0.75em;
}

/*--------------------------*/
/*　見出し					*/
/*--------------------------*/
.midori {
	width: 100%;
	text-align: center;
	position: relative;
	display: inline-block;
	margin-bottom: 1em;
	font-size:1.4em;
	padding:0;
}
.midori:before {
  content: '';
  position: absolute;
  bottom: -10px;
  display: inline-block;
  width: 160px;
  height: 4px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #7A7865;
  border-radius: 2px;
}
.yamabuki { 
	width: 100%;
	text-align: center;
	position: relative;
	display: inline-block;
	margin-bottom: 1em;
	font-size:1.4em;
	padding:0;
}

.yamabuki:before {
  content: '';
  position: absolute;
  bottom: -10px;
  display: inline-block;
  width: 160px;
  height: 4px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #C4A87B;
  border-radius: 2px;
}

.sakura { 
	width: 100%;
	text-align: center;
	position: relative;
	display: inline-block;
	margin-bottom: 1em;
	font-size:1.4em;
	padding:0;
}

.sakura:before {
  content: '';
  position: absolute;
  bottom: -10px;
  display: inline-block;
  width: 160px;
  height: 4px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #BAA09D;
  border-radius: 2px;
}

.kikyo { 
	width: 100%;
	text-align: center;
	position: relative;
	display: inline-block;
	margin-bottom: 1em;
	font-size:1.4em;
	padding:0;
}

.kikyo:before {
  content: '';
  position: absolute;
  bottom: -10px;
  display: inline-block;
  width: 160px;
  height: 4px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #BAA8B4;
  border-radius: 2px;
}

.def { 
	width: 100%;
	text-align: center;
	position: relative;
	display: inline-block;
	margin-bottom: 1em;
	font-size:1.4em;
	padding:0;
}

.def:before {
  content: '';
  position: absolute;
  bottom: -10px;
  display: inline-block;
  width: 160px;
  height: 4px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color:rgba(90, 90, 90, 0.7);
  border-radius: 2px;
}


.menubar {
	display: block;
	font-size: 0.8em;		/*文字サイズ*/
	font-weight: normal;	/*文字を太字でなく標準に戻す設定*/
	letter-spacing: 0.1em;	/*文字間隔を少しあける設定*/
}

/*--------------------------*/
/*　お知らせのテーブル		*/
/*--------------------------*/
.infoTable {
  width: 90%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-left: 5%;

}

.infoTable th {
  width: 10%;
  background: rgba(252, 252, 252, 0.3);
    border: none;
	 box-sizing: border-box;
  padding: 5px;
  vertical-align: top;
  font-weight: bold;
	text-align:left
}
.infoTable td {
  background: rgba(252, 252, 252, 0.3);
  border: none;
  border-bottom: 1px solid black;
  box-sizing: border-box;
  padding: 5px;
  vertical-align: top;
  text-align: left;
   margin-bottom: 20px;
}


/*--------------------------*/
/*　各種テーブル		*/
/*--------------------------*/
.mainTable {
  width: 100%;
  margin-top: 2em;
}
.mainTable th {
	width: 5.5em;
	border-bottom: solid 2px lightgray;
	color:#FFF;
	font-weight:normal;
	background-color: #C4A87B;
}
.mainTable td {
	border: solid 0.2px #cad4e2;
}

.subTable {
  width: 98%;
  margin-top: 0em;
}
.subTable th {
	width: 5.5em;
	border-bottom: solid 2px lightgray;
	color:#FFF;
	font-weight:normal;
	background-color: #C4A87B;
}
.subTable td {
	border: solid 0.2px #cad4e2;
	height:100%;
}



/*--------------------------*/
/*　リンクボタン			*/
/*--------------------------*/
.shadow_btn01 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 5.5em; /* ボタン高さ */
  background: #fff; /* 背景色 */
  position: relative;
  font-size: 1em;
  margin: 1%;
}

.shadow_btn01 span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 5.5em;
  background: #fff; /* 背景色 */
  color: #000; /* 文字色 */
  font-weight: bold; /* 文字の太さ */
  letter-spacing: 0.1em;
  text-decoration: none;
  box-shadow: 0px 5px 12px #cad4e2, -6px -6px 12px #fff;
  border-radius: 10px;
  position: absolute;
  top: -5px;
  left: 0;
  transition-duration: 0.2s;
  font-size: 1em; /* 文字の太さ */
}

/* マウスオーバーした際のデザイン */
.shadow_btn01:hover span {
  left: 0;
  top: 0;
  box-shadow: 0 0 4px #CAD4E2, -2px -2px 4px #FFF;
}

/*--------------------------*/
/* ハンバーガーメニュー		*/
/*--------------------------*/
.menu {
  list-style: none;
  position: absolute;
  width: 100%;
  height: auto;
  top: 0;
  margin-top: 60px;
  padding: 0 0 10px 0;
  clear: both;
  background: var(--background-navbar);
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  transform: scale(1, 0);
  transform-origin: top;
  z-index:1;
}
/* Hamburger menu button */
.menu-btn:checked ~ .menu {
  transform: scale(1, 1);
  transform-origin: top;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  z-index:1;
}
/* Hamburger menbu text */
.menu a {
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 16px;
  text-transform: capitalize;
  color: #555;
  opacity: 0;
  transition: 0.5s;
  z-index:1;
}
.menu li {
  border-top: 1px solid rgb(75, 75, 75);
  padding: 15px 0;
  margin: 0 54px;
  opacity: 0;
  transition: 0.5s;
}
.menu-btn:checked ~ .menu a,
.menu-btn:checked ~ .menu li {
  opacity: 1;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
  z-index:1;
}

.menu-btn {
  display: none;
  z-index:1;
}

.menu-icon {
  display: inline-block;
  position: relative;
  cursor: pointer;
  padding: 34px 14px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  z-index:1;
}

.navicon {
  background: #777;
  display: block;
  height: 3px;
  width: 26px;
  position: relative;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  z-index:1;
}

.navicon:before,
.navicon:after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  background: #777;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  z-index:1;
}

.navicon:before {
  top: 9px;
  z-index:1;
}

.navicon:after {
  bottom: 9px;
  z-index:1;
}

/* Hamburger Menu Animation Start */
.menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
  z-index:1;
}

.menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
  z-index:1;
}

.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
  top: 0;
  z-index:1;
}
.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  bottom: 0;
  z-index:1;
}

.menu-btn:checked ~ .menu-icon .navicon {
  background: rgba(0, 0, 0, 0);
  transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  z-index:1;
}
/* Hamburger Menu Animation End */


/* Navbar Container */
.navtext-container {
  width: 100%;
  height: 72px;
  position: absolute;
  box-sizing: border-box;
  display: flex;
  justify-content: left;
  align-items: center;
  z-index:1;
}


/* ヘッダータイトル */
[data-ruby] {
    position: relative;
}
[data-ruby]::before {
    content: attr(data-ruby);
    position: absolute;
    top: -0.8em;
    left: 0em;
    right: 0;
    /*margin: auto;*/
    font-size: 0.3em;
    letter-spacing: 0.05em;
}
/* Navbar Text */
.navtext {
   margin: 0 auto;
   position: relative;
   padding-left:2em;
   color: #000;
  letter-spacing: 4px;
  font-size: 33px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight:bold;
  z-index:1;
}

.navtext img {
  margin-left:-45px;
  margin-top:35px;
  width: 40px;
  height: 40px;
  position: absolute;
}


.box-011 {
    position: absolute;
    width: 70%;
    max-width: 1000px;
    margin: 1.9em auto 0;
    padding: 1em 1.5em;
    border: 2px solid #d05025;
    border-radius: 3px;
    background-color:  rgba(252, 252, 100, 0.9);
    z-index:-9998;
    margin: 10px 10px;
    margin-left: 10%;

}

.box-011 span {
    position: absolute;
    top: -1.9em;
    left: -2px;
    padding: .2em .8em;
    border-radius: 5px 5px 0 0;
    background-color: #d05025;
    color: #fff;
}

.box-011 p {
    margin: 0;
    color: #f00;
}

/*タブ切り替え全体のスタイル*/
.tabs {
  margin-top: 50px;
  padding-bottom: 40px;
  background-color: #fff;
  width: 100%;
  margin: 0 auto;
  border-radius: 5px;
}

.tabs2 {
  margin-top: 50px;
  padding-bottom: 40px;
  background-color: #fff;
  width: 100%;
  margin: 0 auto;
  border-radius: 5px;
}

.tabs3 {
  margin-top: 50px;
  padding-bottom: 40px;
  background-color: #fff;
  width: 100%;
  margin: 0 auto;
  border-radius: 5px;
}


/*タブのスタイル*/
.tab_item {
  width: calc(100%/3);
  height: 50px;
  background-color: #F2F2F2F2;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}
.tab_item:hover {
  opacity: 0.75;
}

/*タブのスタイル*/
.tab_item2 {
  width: calc(100%/3);
  height: 50px;
  background-color: #F2F2F2F2;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}

.tab_item2:hover {
  opacity: 0.75;
}

/*タブのスタイル*/
.tab_item3 {
  width: calc(100%/4);
  height: 50px;
  background-color: #F2F2F2F2;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}

.tab_item3:hover {
  opacity: 0.75;
}



/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*ラジオボタンを全て消す*/
input[name="tab_item2"] {
  display: none;
}

/*ラジオボタンを全て消す*/
input[name="tab_item3"] {
  display: none;
}


/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding-top:1em;
  clear: both;
  overflow: hidden;
}

.tab_content2 {
  display: none;
  padding-top:1em;
  clear: both;
  overflow: hidden;
}

.tab_content3 {
  display: none;
  padding-top:1em;
  clear: both;
  overflow: hidden;
}



/*選択されているタブのコンテンツのみを表示*/
#gairai1:checked ~ #gairai1d,
#gairai2:checked ~ #gairai2d,
#gairai3:checked ~ #gairai3d {
  display: block;
}

/*選択されているタブのコンテンツのみを表示*/
#midori:checked ~ #midori_info,
#ooura:checked ~ #ooura_info,
#himawari:checked ~ #himawari_info {
  display: block;
}

/*選択されているタブのコンテンツのみを表示*/
#sanzeji:checked ~ #sanzeji_info,
#iwaki:checked ~ #iwaki_info,
#chien:checked ~ #chien_info,
#seibu:checked ~ #seibu_info {
  display: block;
}


/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  background-color: #33A5D5;
  color: #fff;
}

/*選択されているタブのスタイルを変える*/
.tabs2 input:checked + .tab_item2 {
  background-color: #E26493;
  color: #fff;
}


/*選択されているタブのスタイルを変える*/
.tabs3 input:checked + .tab_item3 {
  background-color: #565656;
  color: #fff;
}




/*-----------------------------------
  レスポンシブ対応
  @見出し左寄せ
  @ブロックのflixやめ
------------------------------------ */
@media all and (max-width: 767px) {
  .infoTable th, td {
    display: block;
    width: 100%;
    border-bottom: none;
  }
  .infoTable tr:last-child td:last-child {
    border-bottom: 1px solid #ccc;
  }
  .addTable th, td {
    display: block;
    width: 100%;
    border-bottom: none;
  }
  
  .box2sub {
  	flex-direction: column;
  }
  .box3sub {
  	flex-direction: column;
  }
  
}
