#lead {
  padding: 15vw 0;
  background: url(../img/shared/bg3.jpg);
}
#lead h2 {
  font-size: 20px;
  line-height: 40px;
  margin-bottom: 15px;
}

@media screen and (min-width: 768px) {
  main {
    overflow-y: visible;
    overflow-x: clip;
  }
  .txt {
    letter-spacing: 0;
  }
  #lead {
    padding: 115px 0 135px;
  }
  #lead .content {
    width: 360px;
    margin-left: calc(50% + 70px);
  }
  #lead h2 {
    font-size: 26px;
    line-height: 52px;
    margin-bottom: 30px;
    letter-spacing: 2.4px;
  }
}
#history {
  padding: 15vw 0;
}
#history .row-1 {
  margin-bottom: 30px;
}
#history .row-2 {
  margin-bottom: 30px;
}
#history .row-2 h3 {
  font-size: 20px;
  line-height: 38px;
  margin-bottom: 20px;
}
#history .row-3 {
  margin-bottom: 40px;
}
#history .row-3 .photo-2 {
  margin-bottom: 20px;
}
#history .row-3 .content .ttl {
  margin-bottom: 20px;
  padding-left: 20px;
  position: relative;
}
#history .row-3 .content .ttl::before {
  content: "";
  background: #04345c;
  width: 15px;
  height: 1px;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  position: absolute;
}
#history .row-3 .content h3 {
  font-size: 20px;
  line-height: 38px;
  margin-bottom: 30px;
}
#history .box {
  background: #fff;
  position: relative;
  padding: 50px 20px 20px;
  margin-bottom: 30px;
}
#history .box > h3 {
  font-size: 22px;
  position: absolute;
  left: 50%;
  width: -moz-max-content;
  width: max-content;
  transform: translateX(-50%);
  top: -12px;
  padding: 0 30px;
}
#history .box > h3::before {
  content: "";
  background: url(../img/map/h3_deco1.png) no-repeat 0 0/100%;
  width: 15px;
  height: 28px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
}
#history .box > h3::after {
  content: "";
  background: url(../img/map/h3_deco2.png) no-repeat 0 0/100%;
  width: 14px;
  height: 28px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
}
#history .box .row-4 .card h3 {
  display: flex;
  background: #f0efe2;
  padding: 20px;
  gap: 0 10px;
}
#history .box .row-4 .card h3 span:first-child {
  font-family: "Cormorant Garamond";
}
#history .box .row-4 .card h3 span:last-child {
  font-family: "Shippori Mincho B1";
}
#history .box .row-4 .card-t1 {
  margin-bottom: 20px;
}
#history .box .row-4 .card-t2 {
  display: flex;
  margin-bottom: 15px;
}
#history .box .row-4 .card-t2 .card-photo {
  width: 80px;
}
#history .box .row-4 .card-t2 h3 {
  padding: 10px;
  width: calc(100% - 80px);
}
#history .row-5 .photo-7 {
  margin-bottom: 30px;
}
#history .row-5 h3 {
  writing-mode: vertical-rl;
  width: -moz-max-content;
  width: max-content;
  height: -moz-max-content;
  height: max-content;
  font-size: 20px;
  line-height: 40px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  #history {
    padding: 150px 0 130px;
  }
  #history .row-1 {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
  }
  #history .row-1 .ttl-s1 {
    margin-left: -25px;
    margin-bottom: 0;
  }
  #history .row-1 .ttl-s1 .ttl-jp {
    writing-mode: vertical-rl;
    font-size: 62px;
  }
  #history .row-1 .photo-1 {
    margin-right: -250px;
  }
  #history .row-2 {
    margin-bottom: 170px;
    display: flex;
    justify-content: space-between;
    width: 785px;
    margin-left: auto;
  }
  #history .row-2 h3 {
    font-size: 26px;
    line-height: 52px;
    margin-bottom: 0;
  }
  #history .row-2 .txt {
    width: 335px;
  }
  #history .row-3 {
    margin-bottom: 130px;
    display: flex;
    justify-content: space-between;
  }
  #history .row-3 .photo-2 {
    margin-bottom: 20px;
  }
  #history .row-3 .content {
    display: flex;
  }
  #history .row-3 .content .ttl {
    font-size: 18px;
    margin-bottom: 20px;
    padding-left: 0;
    position: relative;
    writing-mode: vertical-rl;
    order: 3;
    margin-right: -5px;
    margin-top: -32px;
    margin-left: 30px;
    height: -moz-max-content;
    height: max-content;
  }
  #history .row-3 .content .ttl::before {
    width: 1px;
    height: 30px;
    top: -50px;
    transform: translateY(0) translateX(-50%);
    left: 50%;
  }
  #history .row-3 .content h3 {
    order: 2;
    writing-mode: vertical-rl;
    font-size: 26px;
    line-height: 52px;
    margin-bottom: 30px;
    margin-left: 30px;
    height: -moz-max-content;
    height: max-content;
  }
  #history .row-3 .content .txt {
    order: 1;
    writing-mode: vertical-rl;
    height: 350px;
    letter-spacing: 0.5px;
  }
  #history .box {
    padding: 80px 90px 50px;
    margin-bottom: 130px;
  }
  #history .box > h3 {
    font-size: 30px;
    top: -12px;
    padding: 0 40px;
  }
  #history .box > h3::before {
    width: 19px;
    height: 36px;
    left: 0;
  }
  #history .box > h3::after {
    width: 19px;
    height: 38px;
    right: 0;
  }
  #history .box .row-4 {
    display: flex;
    gap: 0 30px;
  }
  #history .box .row-4 .card h3 {
    padding: 20px 10px 25px 33px;
    gap: 0 15px;
  }
  #history .box .row-4 .card h3 span {
    font-size: 20px;
  }
  #history .box .row-4 .card h3 span:last-child {
    line-height: 36px;
  }
  #history .box .row-4 .card-t1 {
    margin-bottom: 20px;
  }
  #history .box .row-4 .card-t2 {
    display: flex;
    margin-bottom: 30px;
    width: 440px;
  }
  #history .box .row-4 .card-t2 .card-photo {
    width: 135px;
  }
  #history .box .row-4 .card-t2 h3 {
    padding: 30px 10px 10px 30px;
    width: calc(100% - 135px);
  }
  #history .row-5 {
    position: relative;
    height: 250px;
  }
  #history .row-5 .photo-7 {
    margin-bottom: 30px;
    position: absolute;
    top: 0;
    left: 50%;
  }
  #history .row-5 h3 {
    font-size: 20px;
    line-height: 52px;
    margin: 0;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 17px 10px 10px 40px;
  }
}
#grave {
  padding: 10vw 0;
  background: #fbfaf7;
}
#grave .box-1 {
  position: relative;
  margin-bottom: 50px;
}
#grave .box-1 .photo-bg {
  margin: 0 -40vw;
}
#grave .box-1 .content {
  position: absolute;
  left: 5%;
  width: 90%;
  bottom: 10%;
  color: #fff;
}
#grave .box-1 .content h3 {
  margin-bottom: 7vw;
  font-size: 5vw;
  line-height: 2em;
}
#grave .row-t1 {
  margin-bottom: 70px;
}
#grave .row-t1 .group-photo {
  position: relative;
  margin-bottom: 30px;
}
#grave .row-t1 .group-photo .tag {
  position: absolute;
  left: -20px;
  top: -30px;
  background: url(../img/kuyo/tag_pt.jpg);
  color: #fff;
  writing-mode: vertical-rl;
  font-family: "Shippori Mincho B1";
  z-index: 1;
  padding: 20px 10px;
  font-size: 20px;
  letter-spacing: 2px;
}
#grave .row-t1 .group-photo .tag small {
  font-size: 12px;
}
#grave .row-t1 .content h3 {
  font-size: 20px;
  line-height: 38px;
  margin-bottom: 20px;
}
#grave .row-t1 .content .txt {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 2px dotted #7c8b98;
}
#grave .row-t1 .content .txt span {
  margin-bottom: 20px;
  display: block;
}
#grave .row-t1 .content h4 {
  text-decoration: underline;
  text-decoration-color: #fffea5;
  text-decoration-thickness: 7px;
  font-family: "Shippori Mincho B1";
  font-size: 18px;
  margin-bottom: 20px;
  text-underline-offset: -3px;
}
#grave .row-t1 .content ul li {
  padding-left: 20px;
  background: url(../img/kuyo/li_before.png) no-repeat left top 9px/auto;
  margin-bottom: 10px;
}
#grave .row-t2 .group-photo .tag {
  left: auto;
  right: -20px;
}
#grave .box-2 {
  border: 1px solid #dcdcdc;
  background: #ffffff;
  margin-bottom: 30px;
}
#grave .box-2 h3 {
  text-align: center;
  font-size: 18px;
  padding: 10px;
  background: url(../img/kuyo/pt_grey.jpg);
}
#grave .box-2 .content {
  padding: 20px;
}
#grave .box-2 .content dl {
  border-bottom: 1px solid #dcdcdc;
  padding-bottom: 20px;
  margin-bottom: 15px;
  padding-left: 15px;
  position: relative;
  font-family: "Shippori Mincho B1";
  font-weight: 500;
}
#grave .box-2 .content dl::before {
  content: "";
  background: #04345c;
  height: 1px;
  width: 12px;
  top: 15px;
  left: 0;
  position: absolute;
}
#grave .box-2 .content dl dt {
  font-size: 22px;
}
#grave .box-2 .content dl dd {
  font-size: 13px;
}
#grave .row-last h3 {
  width: -moz-max-content;
  width: max-content;
  padding: 5px 15px;
  background: #dcecec;
  margin-bottom: 15px;
}
#grave .row-last ul li {
  display: flex;
}
#grave .row-note {
  display: flex;
  margin-top: 50px;
  justify-content: center;
}
#grave .row-note h4 {
  text-align: center;
  font-size: 18px;
  padding: 10px;
}

@media screen and (min-width: 768px) {
  #grave {
    padding: 150px 0;
  }
  #grave .ttl-s1 .ttl-eng{
    font-size: 22px;
  }
  #grave .row-1 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 125px;
  }
  #grave .row-1 .ttl-s1 {
    order: 2;
    margin-right: -10px;
    margin-top: -10px;
  }
  #grave .row-1 .ttl-s1 .ttl-jp {
    font-size: 62px;
    writing-mode: vertical-rl;
  }
  #grave .box-1 {
    margin-bottom: 50px;
    order: 1;
  }
  #grave .box-1 .photo-bg {
    margin: 0 0 0 -250px;
  }
  #grave .box-1 .content {
    left: auto;
    right: 105px;
    width: -moz-max-content;
    width: max-content;
    bottom: 115px;
    display: flex;
  }
  #grave .box-1 .content h3 {
    margin-bottom: 0;
    font-size: 26px;
    line-height: 52px;
    writing-mode: vertical-rl;
    order: 2;
    margin-left: 55px;
  }
  #grave .box-1 .content .txt {
    order: 1;
    height: 305px;
    writing-mode: vertical-rl;
  }
  #grave .row-t1 {
    margin-bottom: 70px;
    display: flex;
    justify-content: space-between;
    max-width: 860px;
    margin: 0 auto 100px;
  }
  #grave .row-t1 .group-photo {
    margin-bottom: 30px;
  }
  #grave .row-t1 .group-photo .tag {
    left: -40px;
    top: -45px;
    padding: 25px 25px;
    font-size: 36px;
    letter-spacing: 2px;
  }
  #grave .row-t1 .group-photo .tag small {
    font-size: 22px;
  }
  #grave .row-t1 .content {
    width: 340px;
  }
  #grave .row-t1 .content h3 {
    font-size: 26px;
    line-height: 52px;
    margin-bottom: 10px;
  }
  #grave .row-t1 .content .txt {
    margin-bottom: 40px;
    padding-bottom: 45px;
  }
  #grave .row-t1 .content .txt span {
    margin-bottom: 20px;
  }
  #grave .row-t1 .content h4 {
    text-decoration-thickness: 8px;
    font-size: 20px;
    margin-bottom: 20px;
    text-underline-offset: -3px;
  }
  #grave .row-t1 .content ul li {
    padding-left: 20px;
    background: url(../img/kuyo/li_before.png) no-repeat left top 8px/auto;
    margin-bottom: 10px;
    line-height: 26px;
  }
  #grave .row-t2 .group-photo {
    order: 2;
  }
  #grave .row-t2 .group-photo .tag {
    left: auto;
    right: -40px;
  }
  #grave .box-2 {
    max-width: 850px;
    margin: 0 auto 40px;
  }
  #grave .box-2 h3 {
    text-align: center;
    font-size: 18px;
    padding: 10px;
    background: url(../img/kuyo/pt_grey.jpg);
  }
  #grave .box-2 .content {
    padding: 30px 40px;
  }
  #grave .box-2 .content dl {
    padding-bottom: 20px;
    margin-bottom: 25px;
    padding-left: 30px;
  }
  #grave .box-2 .content dl::before {
    height: 1px;
    width: 15px;
    top: 15px;
  }
  #grave .box-2 .content dl dt {
    font-size: 26px;
    margin-bottom: 15px;
  }
  #grave .box-2 .content dl dd {
    font-size: 20px;
  }
  #grave .box-2 .content dl dd small {
    font-size: 13px;
  }
  #grave .row-last {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    gap: 0 35px;
  }
  #grave .row-last h3 {
    padding: 5px 15px;
    margin-bottom: 15px;
    width: 100px;
    height: -moz-max-content;
    height: max-content;
  }
  #grave .row-last ul {
    width: calc(100% - 120px);
    font-size: 14px;
    letter-spacing: 0;
  }
  #grave .row-last ul li {
    display: flex;
  }
}
#hakajimai {
  padding: 15vw 0;
  background: #dfeee9;
}
#hakajimai .photo-1 {
  margin-bottom: 20px;
}
#hakajimai h3 {
  font-size: 16px;
  line-height: 36px;
  margin-bottom: 20px;
}
#hakajimai .txt {
  margin-bottom: 50px;
}
#hakajimai .box {
  background: #fff;
  position: relative;
  padding: 50px 20px 20px;
  margin-bottom: 30px;
}
#hakajimai .box > h3 {
  font-size: 20px;
  position: absolute;
  left: 50%;
  width: -moz-max-content;
  width: max-content;
  transform: translateX(-50%);
  top: -18px;
  padding: 0 25px;
}
#hakajimai .box > h3::before {
  content: "";
  background: url(../img/map/h3_deco1.png) no-repeat 0 0/100%;
  width: 15px;
  height: 28px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
}
#hakajimai .box > h3::after {
  content: "";
  background: url(../img/map/h3_deco2.png) no-repeat 0 0/100%;
  width: 14px;
  height: 28px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
}
#hakajimai .box .row {
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px dotted #7c8b98;
}
#hakajimai .box .row .col {
  margin-bottom: 30px;
  text-align: center;
}
#hakajimai .box .row .col .col-img {
  margin: 0 auto 10px;
  width: 125px;
}
#hakajimai .box .row .col h4 {
  font-size: 17px;
}

@media screen and (min-width: 768px) {
  #hakajimai {
    padding: 140px 0 120px;
  }
  #hakajimai .ttl-s1 .ttl-jp{
    font-size: 46px;
  }
  #hakajimai .photo-1 {
    margin-bottom: 70px;
  }
  #hakajimai h3 {
    font-size: 26px;
    line-height: 52px;
    margin-bottom: 25px;
  }
  #hakajimai .txt {
    margin-bottom: 145px;
  }
  #hakajimai .box {
    padding: 65px 90px 45px;
    margin-bottom: 30px;
  }
  #hakajimai .box > h3 {
    font-size: 30px;
    top: -28px;
    padding: 0 35px;
  }
  #hakajimai .box > h3::before {
    width: 19px;
    height: 36px;
    left: 0;
  }
  #hakajimai .box > h3::after {
    width: 19px;
    height: 38px;
    right: 0;
  }
  #hakajimai .box .row {
    margin-bottom: 40px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
    border-bottom: 2px dotted #7c8b98;
    display: flex;
    justify-content: space-between;
  }
  #hakajimai .box .row .col {
    margin-bottom: 30px;
    width: 200px;
  }
  #hakajimai .box .row .col .col-img {
    margin: 0 0 25px;
    width: 200px;
  }
  #hakajimai .box .row .col h4 {
    font-size: 22px;
    line-height: 32px;
    width: -moz-max-content;
    width: max-content;
  }
}
#sogihoyo {
  padding: 10vw 0;
  background: #fbfbf7;
}
#sogihoyo .row-1 {
  margin-bottom: 30px;
}
#sogihoyo .row-2 {
  margin-bottom: 30px;
}
#sogihoyo .row-2 h3 {
  font-size: 20px;
  line-height: 38px;
  margin-bottom: 20px;
}
#sogihoyo .row-t1 {
  margin-bottom: 40px;
}
#sogihoyo .row-t1 .col-img {
  margin-bottom: 20px;
}
#sogihoyo .row-t1 .content h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
#sogihoyo .row-t1 .content h4 {
  font-size: 20px;
  line-height: 36px;
  margin-bottom: 10px;
}
#sogihoyo .box-2 {
  border: 1px solid #dcdcdc;
  background: #ffffff;
  margin-bottom: 30px;
}
#sogihoyo .box-2 h3 {
  text-align: center;
  font-size: 18px;
  padding: 10px;
  background: url(../img/kuyo/pt_grey.jpg);
}
#sogihoyo .box-2 .content {
  padding: 20px;
}
#sogihoyo .box-2 .content dl {
  border-bottom: 1px solid #dcdcdc;
  padding-bottom: 20px;
  margin-bottom: 15px;
  padding-left: 15px;
  position: relative;
  font-family: "Shippori Mincho B1";
  font-weight: 500;
}
#sogihoyo .box-2 .content dl::before {
  content: "";
  background: #04345c;
  height: 1px;
  width: 12px;
  top: 15px;
  left: 0;
  position: absolute;
}
#sogihoyo .box-2 .content dl dt {
  font-size: 22px;
  margin-bottom: 5px;
}
#sogihoyo .box-2 .content dl dd {
  font-size: 13px;
}
#sogihoyo .box-2 .content dl dd span {
  display: block;
}
#sogihoyo .row-last{
  font-weight: 500;
}
#sogihoyo .box-2 .content .list{
  font-weight: 500;
}
#sogihoyo .row-last h3 {
  width: -moz-max-content;
  width: max-content;
  padding: 5px 15px;
  background: #dcecec;
  margin-bottom: 15px;
}
#sogihoyo .row-last ul li {
  display: flex;
}

@media screen and (min-width: 768px) {
  #sogihoyo {
    padding: 165px 0;
  }
  #sogihoyo .ttl-s1 .ttl-eng{
    font-size: 22px;
  }
  #sogihoyo .row-1 {
    margin-bottom: 80px;
    display: flex;
    justify-content: space-between;
  }
  #sogihoyo .row-1 .ttl-s1 {
    margin-left: -30px;
  }
  #sogihoyo .row-1 .ttl-s1 .ttl-jp {
    writing-mode: vertical-rl;
    font-size: 62px;
  }
  #sogihoyo .row-1 .photo-1 {
    margin-right: -250px;
  }
  #sogihoyo .row-2 {
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    width: 675px;
    margin-left: auto;
  }
  #sogihoyo .row-2 h3 {
    font-size: 25px;
    line-height: 52px;
    writing-mode: vertical-rl;
    margin-bottom: 20px;
    order: 2;
    margin-right: -15px;
  }
  #sogihoyo .row-2 .txt {
    order: 1;
    writing-mode: vertical-rl;
    height: 280px;
  }
  #sogihoyo .row-t1 {
    margin-bottom: 85px;
    display: flex;
    justify-content: space-between;
    max-width: 950px;
  }
  #sogihoyo .row-t1 .col-img {
    margin-bottom: 20px;
  }
  #sogihoyo .row-t1 .content {
    width: 365px;
    padding-top: 80px;
  }
  #sogihoyo .row-t1 .content h3 {
    font-size: 40px;
    margin-bottom: 35px;
  }
  #sogihoyo .row-t1 .content h4 {
    font-size: 26px;
    line-height: 52px;
    margin-bottom: 25px;
  }
  #sogihoyo .row-t2 {
    margin-left: auto;
  }
  #sogihoyo .row-t2 .col-img {
    order: 2;
  }
  #sogihoyo .row-t2 .content {
    order: 1;
  }
  #sogihoyo .box-2 {
    max-width: 850px;
    margin: 0 auto 40px;
  }
  #sogihoyo .box-2 h3 {
    text-align: center;
    font-size: 18px;
    padding: 10px;
    background: url(../img/kuyo/pt_grey.jpg);
  }
  #sogihoyo .box-2 .content {
    padding: 30px 40px;
  }
  #sogihoyo .box-2 .content dl {
    padding-bottom: 20px;
    margin-bottom: 25px;
    padding-left: 30px;
  }
  #sogihoyo .box-2 .content dl::before {
    height: 1px;
    width: 15px;
    top: 15px;
  }
  #sogihoyo .box-2 .content dl dt {
    font-size: 26px;
    margin-bottom: 15px;
  }
  #sogihoyo .box-2 .content dl dd {
    font-size: 20px;
  }
  #sogihoyo .box-2 .content dl dd .sub-desc {
    font-size: 16px;
    margin-bottom: 5px;
  }
  #sogihoyo .box-2 .content dl dd small {
    font-size: 13px;
  }
  #sogihoyo .row-last {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    gap: 0 35px;
  }
  #sogihoyo .row-last h3 {
    padding: 5px 15px;
    margin-bottom: 15px;
    width: 100px;
    height: -moz-max-content;
    height: max-content;
  }
  #sogihoyo .row-last ul {
    width: calc(100% - 120px);
    font-size: 14px;
    letter-spacing: 0;
  }
  #sogihoyo .row-last ul li {
    display: flex;
  }
}/*# sourceMappingURL=kuyo.css.map */