@charset "utf-8";

body {
  font-family: 'Noto Sans JP', sans-serif;
  width: 100%;
  color: #444444;
}

span {
  color: #21A937;
}

/* ================================ header ================================ */
header {
  height: 130px;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  width: 61%;
  height: 100%;
  margin: auto;
  padding: 0 20px;
}

.logo-img {
  width: 263px;
  height: 80px;
}

.phone p{
  display: inline-block;
  font-size: 14px;
  line-height: 19px;
}

.phone-num {
  display: flex;
  justify-content: flex-end;
  margin-top: 9px;
}

.phone-num img {
  vertical-align: bottom;
  margin-right: 6.8px;
}

.phone-num a {
  color: #21A937;
  font-size: 24px;
  line-height: 24px;
  font-weight: bold;
  text-decoration: none;
}

/* ================================ main-img ================================ */
.main-img {
  width: 100%;
  height: 947px;
  object-fit: cover;
  background-image: url(../img/fv.jpg);
  background-position: right;
  background-size: cover;
  position: relative;
}

.main-img > .textboxes {
  display: flex;
  position: absolute;
  top: 133px;
  left: 211px;
}

.main-img .textbox {
  width: 102px;
  height: 565px;
  background-color: #fff;
}

.main-img .textbox + .textbox {
  margin-left: 80px;
}

.main-img .textbox p {
  width: 34px;
  font-size: 28px;
  line-height: 34px;
  font-weight: bold;
  writing-mode: vertical-rl;
  margin: 0 auto;
  margin-top: 20px;
  letter-spacing: 0.2em;
}

/* ================================ intro ================================ */
.intro-container {
  width: 100%;
}

.intro {
  width: 61.46%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding-top: 162px;
  padding-left: 31px;
}

.intro .sentence {
  margin-right: 3%;
}

.intro .sentence h1 {
  font-size: 24px;
  font-weight: bold;
  line-height: 32px;
  margin-top: 33px;
}

.intro .sentence .header1 {
  box-sizing: border-box;
  height: 33px;
  width: 300px;
  padding: 0 8px 0 22px;
  border-bottom: solid 10px #99E5A5;
}

.intro .sentence .header2 {
  box-sizing: border-box;
  height: 33px;
  width: 248px;
  padding: 0 8px 0 0;
  border-bottom: solid 10px #99E5A5;
}

.intro .sentence p {
  font-size: 16px;
  line-height: 38px;
  margin-top: 40px;
  width: 415px;
}

.intro img{
  border-radius: 10px;
  max-width: 690px;
  height: auto;
}

/* ================================ main ================================ */
main {
  width: 100%;
  margin-top: 82px;
  background-color: #F5FCF8;
}

.care-content {
  text-align: center;
  padding: 0 20px;
}

.care-content > h1 {
  font-size: 24px;
  font-weight: bold;
  box-sizing: border-box;
  line-height: 38px;
  height: 38px;
  width: 103px;
  display: inline-block;
  text-align: center;
  border-bottom: 10px solid #99E5A5;
  margin-top: 80px;
  margin-bottom: 73px;
}

.care-content .contents {
  display: flex;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  margin-top: 35px;
}

.care-content .content {
  background-color: #fff;
  border: solid 2px #C9C9C9;
  border-radius: 10px;
  width: 380px;
  height: 591px;
  position: relative;
}

.care-content .content h1 {
  font-size: 24px;
  margin-top: 42px;
  margin-bottom: 48px;
}

.care-content .content p{
  line-height: 38px;
  text-align: left;
  font-size: 16px;
  margin-left: 31px;
}

.care-content .content .img {
  position: absolute;
  bottom: 0;
  width: 100%;
}

main .news {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  margin-top: 83px;
  padding-bottom: 112px;
}

main .news > h1 {
  font-size: 24px;
  line-height: 38px;
  box-sizing: border-box;
  border-bottom: 10px solid #99E5A5;
  display: inline-block;
  width: 117px;
  height: 37px;
  padding-right: 18px;
  padding-left: 3px;
  margin-bottom: 71px;
}

.d-list {
  background-color: #fff;
  height: 390px;
  border-radius: 30px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  padding: 29.5px 66px 109.5px;
  position: relative;
}

.d-list dl {
  display: flex;
  border-bottom: 2px solid #E7E7E7;
  height: 62px;
  padding-top: 19.5px;
}

.d-list dt {
  height: 25px;
  width: 194px;
  position: relative;
}

.d-list time {
  color: #21A937;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.d-list .term-box {
  display: inline-block;
  width: 80px;
  height: 25px;
  line-height: 25px;
  font-size: 12px;
  background-color: #444;
  color: #fff;
  position: absolute;
  left: 116px;
}

.d-list dd {
  font-weight: bold;
  margin-left: 30px;
  width: 822px;
  text-align: left;
}

.d-list p {
  text-align: right;
  font-weight: bold;
  position:absolute;
  right: 48.5px;
  bottom: 50px;
}

/* ================================ footer ================================ */
footer {
  width: 100%;
}

footer .container {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  margin-top: 196px;
  margin-bottom: 163px;
  position: relative;
}

.gmap {
  width: 608px;
  height: 440px;
}

.f-logo {
  width: 263px;
  height: 80px;
}

.f-right-container {
  height: 445px;
  width: 45.17%;
  margin-left: 34px;
}

.f-right-container p {
  margin-top: 26px;
}

.f-phone-num {
  display: flex;
  margin-top: 28px;
  margin-bottom: 29.5px;
}

.f-phone-num img {
  vertical-align: bottom;
  margin-right: 6.8px;
}

.f-phone-num a {
  color: #21A937;
  font-size: 24px;
  line-height: 24px;
  font-weight: bold;
  text-decoration: none;
}

.time-info {
  font-size: 14px;
  width: 100%;
  border-top: solid 2px #E7E7E7;
  border-bottom: solid 2px #E7E7E7;
  line-height: 38px;
  padding: 19px 0;
}

.time-info dl {
  display: flex;
}

.dl-time {
  border-left: 2px solid #E7E7E7;
}

.term-info {
  margin-right: 28.5px;
}

.day-box {
  display: inline-block;
  box-sizing: border-box;
  width: 42px;
  height: 28px;
  border-bottom: 4px solid #99E5A5;
  margin-right: 23px;
  margin-left: 28.5px;
}

.last-dl {
  margin-top: 20px;
}

.last-dd {
  padding-left: 28.5px;
}

.c {
  font-size: 11px;
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
}

/* ================================ responsive ================================ */

@media (max-width: 1280px) {
  .main-img > .textboxes {
    left: 80px;
  }

  .intro img{
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .intro {
    padding-left: 50px;
    padding-right: 50px;
  }

  .care-content .content {
    width: calc((100% - 40px) / 3);
    height: 500px;
  }
  
  .care-content .content h1 {
    font-size: 20px;
  }
  
  .care-content .content p{
    line-height: 30px;
    font-size: 13px;
    margin-left: 30px;
  }

  .d-list {
    margin: 0 20px;
  }

  .d-list dd {
    text-align: left;
  }
  
  .d-list dl {
    height: 70px;
  }

  .d-list .term-box {
    left: 90px;
  } 

  .d-list p {
    bottom: 35px;
    right: 20px;
  }

  footer .container {
    padding: 0 20px;
  }

  .gmap {
    width: 460px;
    height: 332.9px;
  }
}

/* ====================================== */

@media (max-width: 1135px) {
  
  header .container {
    width: 90%;
  }
  
  .main-img .textbox {
    width: 70px;
    height: 450px;
  }
  
  .main-img .textbox + .textbox {
    margin-left:45px;
  }
  
  .main-img .textbox p {
    font-size: 20px;
  }

    
  .intro .sentence h1 {
    margin-top: 25px;
  }
  
  .intro .sentence p {
    line-height: 30px;
  }  
}

/* ====================================== */

@media (max-width: 975px) {
  header {
    height: 100px;
  }
  
  .logo-img {
    width: 200px;
    height: 61px;
  }
  
  .main-img {
    height: 478px;
  }
  
  .main-img .textbox {
    width: 50px;
    height: 350px;
  }
    
  .main-img .textbox p {
    font-size: 15px;
  }

  .main-img > .textboxes {
    top:30px;
  }

  .phone p{
    font-size: 12px;
  }

  .phone-num {
    margin-top: 5px;
  }

  .phone-num img {
    vertical-align: bottom;
    margin-right: 6.8px;
  }

  .phone-num a {
    color: #21A937;
    font-size: 20px;
    line-height: 20px;
  }

  .intro {
    padding-left: 20px;
    padding-right: 20px;
  }

  .intro {
    width: 100%;
    padding-top: 100px;
    flex-direction: column;
    text-align: center;
    margin: 0 auto;
  }

  .intro .sentence h1 {
    margin: 0 auto;
    margin-top: 20px;
  }

  .intro .sentence p {
    font-size: 16px;
    line-height: 38px;
    margin: 0 auto;
    margin-top: 40px;
    width: 420px;
  }

  .intro img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    margin-top: 50px;
  }

  .care-content .contents {
    display: flex;
    flex-direction: column;
    max-width: 1180px;
    margin: 0 auto;
    margin-top: 35px;
  }

  .care-content .content {
    width: 380px;
    height: 591px;
    position: relative;
    margin: 0 auto;
    margin-bottom: 20px;
  }
  
  .care-content .content h1 {
    font-size: 24px;
    margin-top: 42px;
    margin-bottom: 48px;
  }
  
  .care-content .content p{
    line-height: 38px;
    text-align: left;
    font-size: 16px;
    margin-left: 31px;
  }
  
  .care-content .content .img {
    position: absolute;
    bottom: 0;
    width: 100%;
  }

  .d-list {
    height: 450px;
  }

  .d-list dl {
    height: 90px;
  }

  .d-list dd {
    font-size: 14px;
  }
  
  .d-list p {
    bottom: 20px;
    right: 10px;
  }

  .d-list .term-box {
    left: 0;
    bottom: -30px;
  } 

  footer .container {
    margin-bottom: 70px;
  }

  .gmap-wrap {
    order: 100;
    margin: 0 20px;
    margin-top: 40px;
  }

  .gmap {
    width: 534px;
    height: 386.4px;
  }

  .c {
    order: 10000;
  }
  
  footer .container {
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
  }
  
  .f-right-container {
    width: 534px;
    margin-left: 0px;
    display: flex;
    flex-direction: column;
  }
  
  .info-container {
    align-self: center;
  }
  
  .f-phone-num img {
    margin-left: 40px;
  }
  
  .c {
    margin-top: 22.5px;
    position: static;
  }
  .care-content > h1 {
    font-size: 20px;
  }
  
  main .news > h1 {
    font-size: 20px;
  }
  .intro .sentence h1 {
    margin-top: 15px;
    font-size: 20px;
  }
  
  .intro .sentence h1 {
    font-size: 20px;
  }
}

@media (max-width:700px) {
  .intro {
    padding-top: 80px;
  }
  
  .intro .sentence p {
    font-size: 15px;
    line-height: 30px;
    width: 100%;
  }
  
}

@media (max-width:600px) {
  .main-img .textbox {
    width: 35px;
    height: 300px;
  }
  
  .main-img .textbox p {
    font-size: 15px;
  }
  
  .main-img > .textboxes {
    left:30px;
  }
  
  .logo-img {
    width: 150px;
    height: 46px;
  }
  
  .d-list dl {
    display: block;
    height: 140px;
  }
  
  .d-list dd {
    width: 90%;
    padding-top: 10px;
    margin-left: 0;
  }
  
  .d-list {
    height: 660px;
    padding-left: 33px;
    padding-right: 33px;
  }
  
  .d-list .term-box {
    left: 116px;
    bottom: 0;
  }
  
  .time-info {
    font-size: 14px;
    width: 100%;
    border-top: solid 2px #E7E7E7;
    border-bottom: solid 2px #E7E7E7;
    line-height: 38px;
    padding: 19px 0;
    z-index: 100;
  }
  
  .time-info dl {
    display: block;
    text-align: center;
  }
  
  .dl-time {
    border-left: none;
  }
  
  .f-right-container {
    margin-bottom: 50px;
    width: 100%;
  }
  
  .term-info {
    display: none;
  }
  
  .ex-term-info {
    display: block;
    margin: 0 auto;
  }
  
  .day-box {
    margin-left: 0;
  }
  
  .last-dl {
    margin-top: 20px;
  }
  
  .last-dl dt {
    margin-left: 16px;
  }
  
  .last-dd {
    padding-left: 0px;
    margin: 0 auto;
  }
  
  .gmap {
    width: 450px;
    height: 325.7px;
  }
}

@media (max-width:490px) {
  
  header .container {
    width: 100%;
    padding: 0 10px;
  }
  
  .main-img .textbox + .textbox {
    margin-left:20px;
  }
  
  .main-img > .textboxes {
    left:300px;
    top: 150px;
  }
  
  .intro {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .intro .sentence p {
    width: 320px;
    font-size: 12px;
    line-height: 30px;
  }
  
  .intro .sentence h1 {
    margin-top: 15px;
    font-size: 20px;
  }
  
  .care-content .content {
    width: 320px;
  }

  .care-content .content p{
    line-height: 30px;
    font-size: 14px;
  }

  .gmap {
    width: 345px;
    height: 249.7px;
  }
}

@media (max-width:410px) {
  .phone p {
    text-align: left;
    width:150px;
    margin-left: 45px;
  }

  .main-img > .textboxes {
    left:250px;
  }
  
  .d-list dl {
    height: 160px;
  }
  
  .d-list dd {
    width: 90%;
    padding-top: 10px;
  }
  
  .d-list {
    height: 730px;
  }
  
  .d-list .term-box {
    margin-left: 10px;
  }
}
