@charset "UTF-8";
/*各ページ独自のcss設定*/


/*以下に指定を記述する*/
body{
   background-color: #fffbf8;
}

p{
   font-family: "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif;
}


.title{
   color: #3e3a39;
   font-size: 28px;
   font-weight: bold;
   text-align: center;
   margin: 0 auto;
   margin-top: 40px;
}



.linebox {
  position: relative;
  width: 265px;
  height: 4px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.line {
  position: absolute;
  height: 4px;
}

.line1 {
  width: 120px;
  background: #edaa0b;
  border-radius: 10px;
  z-index: 3;
  left: 0;
}

.line2 {
  width: 100px;
  background: #f3c759;
  border-radius: 0 10px 10px 0;
  z-index: 2;
  left: 105px;
}

.line3 {
  width: 80px;
  background: #f9e3aa;
  border-radius: 0 10px 10px 0;
  z-index: 1;
  right: 0;
}


.capbox {
    position: relative;
    width: 345px;
    margin: 0 auto;
    padding: 15px 20px;
    border-top: 1px solid #f3c759;
    border-bottom: 1px solid #f3c759;
    margin-bottom: 30px;
}

.capbox::before,
.capbox::after {
    position: absolute;
    width: 1px;
    top: 50%;
    transform: translateY(-50%);
    height: calc(100% + 10px);
    background-color: #f3c759;
    content: '';
}

.capbox::before {
    left: 5px;
}

.capbox::after {
    right: 5px;
}


.tab-switch {
    display: flex;            
    flex-wrap: wrap;
    margin: auto;             
    justify-content: center;   
}


.tab-switch > label {
    flex: 1 0 0%;        
    order: -1;              
    position: relative;     
    padding: 0.7em 1em;     
    background-color: #f2f2f280;
    border: solid 1px #99999980;
    border-bottom: solid 2px #f3c759;
    color: #999999;
    font-family: "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif;
    font-weight: 500;   
    text-align: center;       
    cursor: pointer; 
    transition: 0.3s all;             
}

#tab1:checked + label[for="tab1"],
#tab2:checked + label[for="tab2"],
#tab3:checked + label[for="tab3"] {
    background-color: #fffbf8;
    color: #3e3a39;
    font-family: "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif;
    font-weight: 500;
    border-top: solid 2px #f3c759;
    border-left:solid 2px #f3c759;
    border-right:solid 2px #f3c759;
    border-bottom: 2px transparent;
}


.tab-switch input {
    display: none;         

}
.tab-switch > div {
    display: none; 
    width: 100%;          
    padding: 1.5em 1em; 
}


#tab1:checked ~ .content1 {
     display: block;
}

#tab2:checked ~ .content2 {
     display: block;
}

#tab3:checked ~ .content3 {
    display: block;
}


.kyote{
    margin: 0 auto;
    font-weight: 400;
    font-size: 14px;
    margin-left: 15px;
}

.acd {
    max-width: 500px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 7px 15px -5px rgb(0 0 0 / 5%);
    background-color: #f5f5f5;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0 auto;   
}

.acd summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-top: 0px;
    padding-bottom: 0px;
    padding: 0.6em 1em;
    color: #3e3a39;
    font-weight: 600;
    cursor: pointer;
}

.acd summary::-webkit-details-marker {
    display: none;
}

.acd summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #3e3a39b3;
    border-right: 3px solid #3e3a39b3;
    content: '';
    transition: transform .3s;
}

.acd[open] summary::after {
    transform: rotate(225deg);
}

.acd p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    color: #666666;
    transition: transform .5s, opacity .5s;
}

.acd[open] p {
    transform: none;
    opacity: 1;
}


.calbox{
   width: 335px;
   margin: 0 auto;
   border-radius: 5px;
   background: #ffffff;
   color: #666666;
   margin-top: 10px;
   margin-bottom: 15px;
}

.calbox p{
  margin-bottom: 8px;
}

.calbox p:last-child {
  margin-bottom: 0;
}


table{
   width: 100%;
   border-collapse: collapse;
   font-size: 14px;
}

td{
   border: 1px solid #e4e4e4;
   vertical-align: top;
}

th{
   border-collapse: collapse;
   font-weight: 400;
   min-width: 24.19px;
}

table tr:first-child td,
table tr:first-child th {
  border-top: none;
}

table tr:last-child td,
table tr:last-child th {
  border-bottom: none;
}

table tr td:first-child,
table tr th:first-child {
  border-left: none;
}

table tr td:last-child,
table tr th:last-child {
  border-right: none;
}

.day{
   text-align: center;
}

.happyouday{
   background-color: #F27B5A33;
   padding: 10px;
   padding-right: 0px;
   text-align: left;
}

.shikenday{
   background-color: #fbf4de;
   padding: 10px;
   padding-right: 0px;
   text-align: left;
}

.nijiday{
   background-color: #f3c75980;
   padding: 10px;
   text-align: left;
}

.hanreibox{
   display: flex;
   justify-content: center;
   gap: 10px;
   margin-bottom: 20px;
}

.hanrei{
   padding: 5px;
   width: 100px;
   text-align: center;
   font-size: 14px;
   color: #666666;
}


.noheigan{
   width: 335px;
   height: 76px;
   background-color: #ffffff;
   border: solid 1px #f3c759;
   margin: 0 auto;
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: 600;
   font-size: 16px;
   color: #3e3a39;
}

.box{
   background-color: #ffffff;
   width: 335px;
   border: 1px solid #f3c759;
   margin: 0 auto;
   margin-top: 20px;
   margin-bottom: 60px;
   padding: 15px;
}

.honbun{
   font-size: 14px;
   line-height: 1.5;
   text-align: justify;
   text-align-last: left;
   color: #3e3a39;
}


.return{
   font-size: 17px;
   font-weight: 500;
   color: #3e3a39;
   text-decoration: none;
   display: flex;
   justify-content: center;
   align-items: center;
   background-color: #f9f9f9;
   width: 180px;
   height: 45px;
   margin: 0 auto;
   margin-bottom: 90px;
   box-shadow: 1px 1px 1px #00000080;
   position: relative;
}

.return::before{
   content: "";
   position: absolute;
   top: 0px;
   left: 166px;
   width: 15px;
   height: 15px;
   background-color: #b3b3b3;
   clip-path:polygon(0 0, 100% 0, 100% 100%)
}

.return::after{
   content: "";
   position: absolute;
   top: 30px;
   left: 0px;
   width: 15px;
   height: 15px;
   background: #f3c759;
   clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.modoru{
   display: block;
   text-decoration: none;
   width: 180px;
   margin: 0 auto;
   position: relative;
}

.nanameline{
   display: inline-block;
   width: 10px;
   height: 0.75px;
   background: #4d4d4d;
   transform: rotate(-45deg) translateY(-55%);
   transform-origin: left bottom;
   position: absolute;
   top: 55%;
   left: 33px;

}

.yokoline{
   display: inline-block;
   width: 30px;
   height: 0.75px;
   background: #4d4d4d;
   position: absolute;
   top: 55%;
   transform: translateY(-55%);
   left: 33px;
}

.back-to-top {
position: fixed;
bottom: 15px;
right: 15px;
background-color: #f3c75999;
color: white;
padding: 10px 14px;
border-radius: 25px;
text-decoration: none;
font-weight: bold;
font-size: 14px;
z-index: 999;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease;
}

.back-to-top:hover {
background-color: #e07e0099;
}

@media screen and (min-width:1024px) {
    /*レスポンシブ用*/

.title{
   font-size: 32px;
}

.capbox {
    width: 70%;
}

.listbox{
   width: 80%;
}

.labelbox{
   width: 35%;
   height: 64px;
}

.lab-tri1{
   width: 20px;
   top: 24px;
   left: 20px;
}

.lab-tri2{
   width: 20px;
   top: 24px;
   right: 20px;
}


.tab-switch > label {
  font-size: 20px;             
}


#tab1:not(:checked) ~ label[for="tab1"]:hover,
#tab2:not(:checked) ~ label[for="tab2"]:hover,
#tab3:not(:checked) ~ label[for="tab3"]:hover {
  opacity: 0.6;
  background-color: #fffbf8;
}

.box{
   width: 80% !important;
   padding: 2.5%;
}


.honbun{
   font-size: 18px;
}

.underhonbun{
   margin-bottom: 0px;
}



.kyote{
    font-size: 20px;
    margin-left: 5%;
}

.acd {
    max-width: none;
    width: 80%;
    margin-bottom: 40px;
}


.acd summary{
   font-size: 20px;
}


.acd summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
}


.calbox{
   width: 80%;
}


table{
   font-size: 15px;
   padding: 5px;
}

.happyouday{
   background-color: #F27B5A33;
   padding: 10px;
   padding-right: 0px;
   text-align: left;
}

.shikenday{
   background-color: #fbf4de;
   padding: 10px;
   padding-right: 0px;
   text-align: left;
}

.nijiday{
   background-color: #f3c75980;
   padding: 10px;
   text-align: left;
}

.hanreibox{
   gap: 15px;
   margin-bottom: 20px;
}

.hanrei{
   padding: 2.5%;
   width: 30%;
   font-size: 20px;
   display: flex;
   justify-content: center;
}


.noheigan{
   width: 80%;
   height: 80px;
   aspect-ratio: 100 / 10;
   font-size: 20px;
   padding: 5px;
}


.return{
   font-size: 18px;
   width: 188px;
   height: 53px;
}

.return::before{
   top: 0px;
   left: auto;
   right: -1px;
   width: 20px;
   height: 20px;
}

.return::after{
   top: 33px;
   left: 0px;
   width: 20px;
   height: 20px;
}

.modoru{
   display: block;
   text-decoration: none;
   width: 180px;
   margin: 0 auto;
   position: relative;
}

.nanameline{
   display: inline-block;
   width: 10px;
   height: 0.75px;
   background: #4d4d4d;
   transform: rotate(-45deg) translateY(-55%);
   transform-origin: left bottom;
   position: absolute;
   top: 55%;
   left: 37px;

}

.yokoline{
   display: inline-block;
   width: 30px;
   height: 0.75px;
   background: #4d4d4d;
   position: absolute;
   top: 55%;
   transform: translateY(-55%);
   left: 37px;
}
.return:hover{
  transform: translateY(4px);
  box-shadow: none;
}


.modoru:hover{
    transform: translateY(4px);


}

}
    