@charset "UTF-8";

*{
padding: 0;
margin: 0;
box-sizing: border-box;
}

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

body{
min-width: 1180px;
font-family: "Kiwi Maru";
position: relative;
color:#41564d;
}

.container{
width: 1080px;
margin: 0 auto;
}


h2{
font-size: 40px;
text-align: center;
padding-top: 80px;
padding-bottom: 60px;
}

h3{
font-size: 20px;
}


P{
font-size: 16px;
}

header {
position: absolute;
width: 100%;
height: 80px;
background: rgba(255,255,143,.6);
}

header .container{
display: flex;
justify-content: space-between;
align-items: center;
padding: 6px 0;
}

header img {
    height: auto;
    display: block;
    width: 90px;
}
header nav ul{
list-style-type: none;
display:flex;
}


header nav a{
text-decoration: none;
display: block;
padding: 10px 40px;
white-space: nowrap;
color:#41564d;
}

header nav a:hover{
background-color:#e07a5f;
border-radius: 60px;
color:#fdf2e1;
}

.main-visual{
width: 100%;
background-image: url("../images/firstview.png");
height: 100vh;
min-height: 540px;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
padding-top: 80px;
}

.main-visual img{
width: 415px;
}


.egao1 p {
  background-color: #fff;
  border-radius: 40px;
  padding: 40px 30px;
  line-height: 2;
  max-width: 700px;
  margin: 0 auto 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.egao1{
background-color:#fff8a2;
padding: 80px 20px;
text-align: center;
}

.egao .container{
position: relative;
background-image: #fff8a2;

}


.btn{
background-color:#d27f65;
border-radius: 60px;
padding:10px 20px;
text-decoration: none;
color:#f5f3ef;
display:block;
width:200px;
font-size: 24px;
margin: 0 auto;
text-align: center;
margin-top: 45px;
}

.egao1 .btn:hover {
  background-color: #c36f4a;
}

.onayami_mondai{
background-image: url(../images/bg-onayami_top.png), linear-gradient(to top, rgb(255 255 255 / 100%), rgb(255 255 255 / 0%));
    background-repeat: no-repeat, no-repeat;
    background-position: top center, bottom left;
    background-size: contain, contain;
}


.onayami ul{
background-color: #fff;
width: 480px;
list-style-type: none;
margin: 0 auto;
padding: 50px;
border-radius: 70px;
}

.onayami li {
display: flex;
flex-direction: row;
justify-content: flex-start;
gap: 12px;
align-items: center;
} 
.onayami li:before {
content:"";
display: block;
background: url("../images/check.svg") no-repeat top left;
background-size: 22px 22px;
height: 22px;
width: 22px;
}
.onayami li+li {
margin-top: 16px;
}
.marutto {
padding-bottom: 80px;
background-size: contain;
background-position: bottom;
background-repeat: no-repeat;
}
.marutto li{
display:flex;
justify-content: space-between;
padding:60px 0;
align-items: center;
border-bottom: 1px solid #a6b18e;
position:relative;}

.marutto li:first-child {
border-top: 1px solid #a6b18e;
}

.marutto_text{
width: 300px;
margin-left: 145px;

}

.marutto_image{
margin-right: 145px;
}

.marutto h3{
margin-bottom: 25px;
}


.marutto{
background-image: url("../images/bg-marutto_bottom.png");
}

.marutto img,.anshin img{
border-radius: 60px;
}

.marutto .marutto_text img{
width: 60px;
position: absolute;
left:30px;
top:30px;}




.mondai ul{
display:flex;
justify-content: space-between;
list-style-type: none;
flex-wrap: wrap;
}

.mondai li{
max-width: 260px;
text-align: center;
}

.mondai img{
border-radius: 70px;
margin-bottom: 40px
}

.sekourei img{
border-radius: 80px;
}

.anshin .container{
padding-top:80px;
}

.anshin_sekourei{
background-image: url("../images/bg-anshin.png");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
height: 1500px;
}

.anshin h2{
background-color: #fff;
padding: 1em 2em;
border-radius: 2em;
text-align: center;
width: fit-content;
margin: 0 auto 3em;
color: #1d1d1d;

}

.anshin_content{
background-color: white;
border-radius: 80px;
padding: 2em;
display: flex;
align-items: center;
gap: 2em;
flex-wrap: wrap;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.kenchikushi_image img {
width: 250px;
max-width: 100%;
border-radius: 60px;
}

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

.kenchikushi_text li {
margin-bottom: 2em;
}

.kenchikushi_text h3 {
margin-bottom: 0.5em;
}

.sekourei .container{
width: 1120px;
}
.sekourei .container .gallery-slider{
/*display:flex;
justify-content: space-between;
gap: 20px;
flex-wrap: wrap;*/
max-width: 1200px;
margin: 0 auto;
}

.card_sekourei{
background-color: #fff;
padding:30px 20px;
flex: 1 1 30%;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
text-align: center;
border-radius: 105px;
margin-top: 500px;
width: 320px;
margin: 20px;
}

.card_sekourei h3{
margin-bottom: 20px;
line-height: 1.6;
}

.egao img{
width:500px;
display: block;
margin:0 auto;
}

.egao p{
display: block;
text-align: center;
padding: 40px 0;
margin: 0 auto;
}

.egao img:hover{

}

footer {
  padding: 40px 20px;
  border-top: 1px solid #aab898;
  background-color: #fff;
  text-align: center;
  position: relative;
}

.footer-logo {
  text-align: center;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 160px; 
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-links p {
  margin: 0;
}

.footer-links a{
text-decoration: none;
color:#41564d;
}

.footer-links a:hover{
color:#d27f65;
}


.footer-image {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer-image img {
  width: 24px;
}








