@charset "utf-8";
/* 2023-07-12  */

html{
    /* ルートの文字サイズを10pxに設定 */
    font-size:62.5%; /* 10px */
}
body{
    color: #24292e;
    font-size: 1.6rem;
    /* 16px */
    /* font selection */
    font-family: 'Zen Kaku Gothic New', sans-serif;
    -webkit-text-size-adjust: 100%;
	/* font-feature-settings: "palt"; */
   	font-feature-settings: "pkna";
	}
a{text-decoration: none;}
li{list-style: none;}
*{box-sizing: border-box;} 
*{margin: 0;}

/* header */
#header {
    width: 100%;
    height: auto;
    display:flex;
    flex-wrap: wrap;
    justify-content:space-between;
    align-items:center;
    border-bottom: 1.5px solid #979797;
    position: sticky; top: 0; 
    background-color: white;
 }
 .company {
    font-style: normal;
    font-weight: 500;
    font-size: 2.6rem;
    color: #24292e;
    } 
strong{
    color: #24292e;
    } 
 .company img,icon {
    height: 36px;
    padding-top: 10px;
    }   
.category ul{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around; 
    margin-right: 10px;
    }
.category ul li a{
    font-style: normal;
    font-weight: 400;
    font-size: 1.6rem; 
    color: #24292e;
    transition: all 0.3s;
    margin-right: 10px;
    padding: 0 5px;
     }
.category ul li a:hover {
    color: #d7003a;
    opacity:0.5;
}

/* main */
/* main */
#main h2{
    font-style: normal;
    font-weight: 700;
    font-size:clamp(1.6rem, 2rem + 2vw, 3.6rem);
    color: #24292e;
    text-align: center;
 }
#main h3{
   margin-top: 3%;
   margin-bottom: 3%;
    font-style: normal;
   font-weight: 700;
   font-size:clamp(1.6rem, 0.6rem + 1.6vw, 2.6rem);
   color: #24292e; 
   text-align: center;
}
#greeting {
    /* display: flex; */
    /* flex-wrap: wrap; */
    margin:0 15%;
}
#greeting img{
    width:200px;
    height:200px;
    display: block; 
    margin:50px 0 20px 40px;
    float: right; 
}
#greeting h4{
    font-size:clamp(1.2rem, 0.6rem + 1.4vw, 1.6rem);
    text-align: justify;
    font-weight: 200;
    /* text-indent: 0.8em; */
    line-height: 200%;
    width:100%;
    /* padding-left: 8%; */
}
#main dl {
    display:flex;
    flex-wrap: wrap;
    font-size:clamp(1.2rem, 0.6rem + 1.4vw, 2rem);
    line-height: 400%;
    margin:0 15%;
}
#main dl dt {
    width: 15%;
    font-weight: 700;
    background-color: #f7f7f7;
    text-indent: 1em;
    border-bottom: solid 1.2px #24292e;
    margin-left: 5%;
}
#main dl dd {
    width: 75%;
    margin-left: 0%;
    text-indent: 1em;
    border-bottom: solid 1.2px #24292e;
}

/* footer */
#footer{
    margin-top: 80px;
    box-sizing:border-box;
    width: 100%;
    height: 8rem;
    display:flex;
    flex-wrap: wrap;
    justify-content:space-around;
    align-items:center;
    border-top: 1.5px solid #979797;
}

.sns-icon img,icon {
    width: 30px;
    height: 30px;
}

p.copyright {
    font-size: 1.4rem;
    color:   #24292e;
    text-align: center; 
}

/* SP */
/* SP */
/* SP */
@media screen and (max-width:600px) {

/* SP header */
#header {
    justify-content:space-around;
    margin:0;
    padding: 0;
}
.company {
    font-weight: 400;
    font-size: 2.0rem;
    } 
 .company img,icon {
    height: 32px;
    padding-top: 10px;
    }  
.category ul li a{
    font-size: 1.2rem; 
    margin-right: 0;
    padding: 0 5px;
 }

/* SP main */

#greeting {
    display: flex;
    flex-wrap: wrap-reverse;
    margin:0 8%; 
}
#greeting img{
    width:55%;
    height:55%;
    display: block; 
    margin:20px auto;
    float:none
}
#greeting h4{
    display:block; 
    padding: 0;
}
#main dl {
/* height:400px; */
line-height:60px;
margin: 5% 3%;
}
#main dl dt {
    width: 25%;
    text-align: center;
    padding: 0 auto;
    font-weight: 700;
    text-indent: 0;
        margin-left: 0;
}
#main dl dd {
    width: 70%;
    padding: 0 auto;
    text-indent: 0.8em;
}

/* SP footer */
#footer {
    justify-content:space-around;
}
p.copyright {
    font-size: 1.2rem;
}

}
