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


#topImage {
background-image: url(images/topImage.jpg);
}
h2 {
background-image: url(/casa-furosu/images/m02_on.png);
}

:root {
  --active-color: #e2953d;
  --inactive-bg: #f1f1f1;
  --inactive-text: #e2953d;
  --active-text: #ffffff;
}

/* 大タブのラジオを非表示 */
.tab_container input[name="main_tab"] {
  display: none;
}

.tab_container {
    margin-top: 2rem;
}
/* 大タブのラベル */
.tab_item {
    padding: 15px 0;
    border-bottom: 3px solid #fbc300;
    background-color: #f1f1f1;
    text-align: center;
    color: #fbc300;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s ease;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}
input[name="main_tab"]:checked + .tab_item {
  background-color: #fbc300;
  color:#fff;;
}

/* 大タブの中身 */
.tab_content {
  display: none;
  padding: 1.5rem;
  margin-top: 1rem;
}
#tab1:checked ~ #tab1_content,
#tab2:checked ~ #tab2_content {
  display: block;
}

/* 入れ子タブ用のラジオ非表示 */
.nested_tab_wrapper input[type="radio"] {
  display: none;
}

/* ボタンの横並び */
.nested_tab_buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ボタンの見た目 */
.nested_tab_item {
  background-color: var(--inactive-bg);
  color: var(--inactive-text);
  font-weight: bold;
  padding: 1rem 6rem;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
  font-size: 20px;
}
.nested_tab_item:hover {
  opacity: 0.8;
}

/* アクティブ時のボタン色 */
#nested_tab1:checked ~ .nested_tab_buttons label[for="nested_tab1"],
#nested_tab2:checked ~ .nested_tab_buttons label[for="nested_tab2"],
#nested_tab3:checked ~ .nested_tab_buttons label[for="nested_tab3"],
#nested_tab4:checked ~ .nested_tab_buttons label[for="nested_tab4"] {
  background-color: var(--active-color);
  color: var(--active-text);
}

/* 中身非表示がデフォルト */
.nested_tab_content {
  display: none;
  padding: 1rem;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

/* アクティブ中身だけ表示 */
#nested_tab1:checked ~ .nested_tab_content_wrapper .tab1_content,
#nested_tab2:checked ~ .nested_tab_content_wrapper .tab2_content,
#nested_tab3:checked ~ .nested_tab_content_wrapper .tab3_content,
#nested_tab4:checked ~ .nested_tab_content_wrapper .tab4_content {
  display: block;
}



@media print, screen and (min-width: 641px) {

.tab_item {
  width: calc(60%/2);
  font-size: 18px;
  }
#tab1_content {
margin-bottom: 50px;
}
#tab1_content ul {
margin-bottom: 50px;
}
#tab1_content ul li {
width: 50%;
}
#tab1_content table {
margin: 0;
border-collapse:collapse;
}
#tab1_content table th,
#tab1_content table td {
padding: 10px;
text-align: left;
border-bottom: solid 1px #cccccc;
}
#tab1_content table th {
width: 20%;
}
#tab1_content .map {
margin-bottom: 50px;
}
#tab1_content .greeting p{
text-align: left;
}
#tab2_content {
margin-bottom: 50px;
}
#tab2_content .equipment {
margin-bottom: 50px;
}
#tab2_content .equipment li {
width: 32%;
margin-bottom: 20px;
}
#tab2_content .equipment ul:after {
 content: "";
display: block;
width: 32%; 
height: 0;
}
#tab2_content .madori h3 {
margin-bottom: 20px;
}
#tab2_content .madori ul {
  display:flex;
  flex-wrap: wrap;
  justify-content: space-between;
  overflow: hidden;
}
#tab2_content .madori ul:before{
  content:"";
  display: block;
  width:48%;
  order:1;
}
#tab2_content .madori ul:after{
  content:"";
  display: block;
  width:48%;
}
#tab2_content .madori ul li {
    width: 48%;
    box-sizing: border-box;
    text-align: left;
    font-size: 13px;
    margin-bottom: 20px;
}

.after {
margin-bottom: 4rem;
}
.after h4 {
font-size: 18px;
text-align: center;
font-weight: bold;
margin-bottom: 3rem;
}
.after ul {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.after ul li:first-child {
width: 60%!important;
}
.after ul li:nth-child(2){
width: 36%!important;
}
.after ul li dl {
margin: 0;
padding: 0;
text-align: left;
margin-bottom: 1rem;
}
.after ul li dl dt {
font-weight: bold;
}
.after ul li dl dd a{
display: block;
text-decoration: underline;
background-image: url("images/pdf_icon.png");
background-size: 5%;
background-position: right center;
background-repeat: no-repeat;
}
.after ul li dl dd a:hover {
text-decoration: none;
}

.promise h5 {
font-size: 18px;
margin-bottom: 1rem;
text-align: left;
}
.promise ul {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.promise li {
width: 48%;
}
.promise li dl {
text-align: left;
margin-bottom: 1rem;
}
.promise li dt {
font-weight: bold;
margin-bottom: 0.2rem;
}



}

@media screen and (max-width: 640px) {

.tab_item {
  width: calc(80%/2);
  font-size: 16px;
  }
#tab1_content {
margin-bottom: 50px;
}
#tab1_content ul {
margin-bottom: 50px;
}
#tab1_content table {
margin: 0;
border-collapse:collapse;
}
#tab1_content table th,
#tab1_content table td {
padding: 10px;
text-align: left;
border-bottom: solid 1px #cccccc;
}
#tab1_content table th {
width: 25%;
}
#tab1_content .map {
margin-bottom: 50px;
}
#tab1_content .map {
height: 0;
overflow: hidden;
padding-bottom: 56.25%;
position: relative;
}
#tab1_content .map iframe {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}
#tab1_content .greeting p{
text-align: left;
}
#tab2_content {
margin-bottom: 50px;
}
#tab2_content .equipment {
margin-bottom: 50px;
}
#tab2_content .equipment li {
width: 48%;
margin-bottom: 20px;
}
#tab2_content .madori h3 {
margin-bottom: 20px;
}
#tab2_content .madori ul {
 display: block;
}
#tab2_content .madori ul li {
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    font-size: 13px;
    margin-bottom: 20px;
}

.after {
margin-bottom: 4rem;
}
.after h4 {
font-size: 18px;
text-align: center;
font-weight: bold;
margin-bottom: 3rem;
}
.after ul {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.after ul li:first-child {
width: 100%;
margin-bottom: 2rem;
}
.after ul li:nth-child(2){
width: 100%;
}
.after ul li dl {
margin: 0;
padding: 0;
text-align: left;
margin-bottom: 1rem;
}
.after ul li dl dt {
font-weight: bold;
}
.after ul li dl dd a{
display: block;
text-decoration: underline;
background-image: url("images/pdf_icon.png");
background-size: 5%;
background-position: right center;
background-repeat: no-repeat;
}
.after ul li dl dd a:hover {
text-decoration: none;
}

.promise h5 {
font-size: 18px;
margin-bottom: 1rem;
text-align: left;
}
.promise ul {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.promise li {
width: 100%;
margin-bottom: 2rem;
}
.promise li dl {
text-align: left;
margin-bottom: 1rem;
}
.promise li dt {
font-weight: bold;
margin-bottom: 0.2rem;
}

}
