/* 令和７年度女性活躍推進　全体*/

body *:focus {
  outline: none;
}
body img {
  width: 100%;
  vertical-align: bottom;
}
p {
  text-align: center;
}
.flex-tem {
  display: flex;
  justify-content: space-between;
}
.housework-sharing {
  margin-top: 7rem;
}
.contents {
  background-color: #fff;
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 3rem;
}
@media screen and (max-width: 767px) {
  .housework-sharing {
    margin-top: 4.7rem;
  }
}

.heading {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}
.heading a.link {
  display: none;
}
.heading h2 {
  font-size: 30px !important;
  padding-top: 3rem;
  padding-bottom: 0;
  width: fit-content;
  margin: 0 auto;
  position: relative;
}
.heading h2 .img {
  max-width: 90px;
  width: auto;
  position: absolute;
  top: 0;
  left: 0;
}
.heading h2 span {
  color: #000;
  font-size: 26px;
}
.heading > p {
  color: #cf438c;
  font-weight: bold;
  margin: 1.5rem 0;
}
.heading .period p {
  color: #fff;
  background-color: #000;
  font-size: 36px;
  font-weight: bold;
  line-height: 100% !important;
  width: fit-content;
  margin: 0 auto;
  padding: 0.5rem 2rem 1rem;
}
.heading .period p span.font-s {
  font-size: 18px;
}
.heading .period p span.font-m {
  font-size: 24px;
}
@media screen and (max-width: 991px) {
  .heading a.link {
    right: 4rem;
  }
}
@media screen and (min-width: 768px) {
  .heading a.link {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 12rem;
  }
  .heading a.link span,
  .heading br.sp {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .heading {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
  .heading a.link {
    /*display: block;*/
    width: 90%;
    margin: 0 auto;
    border-radius: 50px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    padding: 1rem 0;
    background-repeat: no-repeat;
    background-size: 2rem;
    background-position: 90% center;
    color: #fff;
    background-color: #5eb8ad;
    background-image: url("../img/housework-sharing/img-arrow-w.png");
  }
  .heading a.link img {
    display: none;
  }
  .heading h2 {
    font-size: 22px !important;
    padding-top: 2rem;
    text-align: center;
  }
  .heading h2 .img {
    position: relative;
    margin: 0 auto;
  }
  .heading h2 span {
    font-size: 16px;
  }
  .heading .period p {
    font-size: 30px;
    width: auto;
  }
  .heading .period p span.font-s {
    font-size: 16px;
  }
  .heading .period p span.font-m {
    font-size: 22px;
  }
}

.method {
  max-width: 900px;
  width: auto;
  margin: 0 auto;
  padding-bottom: 5rem;
}
.method .box .title,
.method .box .con {
  flex-basis: 49%;
}
.method .box .title {
  margin-bottom: 3rem;
}
.method .box .title .img {
  width: 145px;
}
.method .box .title p {
  flex-basis: calc(100% - 160px);
  text-align: justify;
  font-weight: bold;
  font-size: 18px;
  line-height: 140% !important;
}
.method .box .con:last-of-type .img {
  max-width: 155px;
  width: auto;
  margin: 0 auto;
  padding: 2rem 0;
}
.method .box .con:last-of-type > p {
  color: #cf438c;
  font-size: 43px;
  font-weight: bold;
  line-height: 120% !important;
}
.method .box .con:last-of-type > p span.font-s {
  color: #000;
  font-size: 28px;
}
.method .box .con:last-of-type > p span.font-m {
  color: #cf438c;
  font-size: 34px;
}
@media screen and (max-width: 767px) {
  .method {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 3rem;
  }
  .method .box,
  .method .box .title {
    display: block;
  }
  .method .box:first-of-type {
    margin-bottom: 3rem;
  }
  .method .box .title {
    margin-bottom: 1rem;
  }
  .method .box .title .img {
    margin: 0 auto;
    margin-bottom: 0.5rem;
  }
  .method .box .title p br {
    display: none;
  }
  .method .box .con:last-of-type .img {
    max-width: 125px;
  }
  .method .box .con:last-of-type > p {
    font-size: 8.5vw;
  }
  .method .box .con:last-of-type > p span.font-s {
    font-size: 22px;
  }
  .method .box .con:last-of-type > p span.font-m {
    font-size: 26px;
  }
}

.no-name {
  padding-bottom: 5rem;
}
.no-name h3 {
  font-size: 30px;
  color: #fff;
  background-color: #cf438c;
  width: fit-content;
  margin: 0 auto;
  margin-bottom: 3rem;
}
.no-name .frame {
  max-width: 900px;
  width: auto;
  margin-left: auto;
}
.no-name .frame .box {
  flex-basis: 45%;
}
.no-name .frame .box p {
  font-size: 18px;
  text-align: justify;
}
.no-name .frame .box p:first-of-type {
  font-size: 28px;
  font-weight: bold;
  color: #cf438c;
}
.no-name .frame .box p:nth-of-type(2) {
  margin: 1rem 0;
}
.no-name .frame .box p:last-of-type {
  font-weight: bold;
  color: #cf438c;
}
.no-name .frame .img {
  flex-basis: 450px;
}
@media screen and (max-width: 767px) {
  .no-name {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 3rem;
  }
  .no-name h3 {
    padding: 0.5rem 1rem;
  }
  .no-name .frame {
    display: block;
  }
  .no-name .frame .box {
    margin-bottom: 2rem;
  }
  .no-name .frame .box p:first-of-type {
    font-size: 22px;
  }
}

.rule {
  max-width: 800px;
  width: auto;
  margin: 0 auto;
  padding-bottom: 3rem;
}
.rule div {
  max-width: 150px;
  width: auto;
  margin: 0 auto 2rem;
}
.rule p {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 1rem;
}
.rule ol {
  counter-reset: my-counter;
}
.rule ol li {
  font-size: 18px;
  margin-top: 0.3rem;
  padding-left: 25px;
  position: relative;
}
.rule ol li:before {
  content: counter(my-counter);
  counter-increment: my-counter;
  border: 1px solid #000;
  border-radius: 50%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 22px;
  width: 22px;
  color: #000;
  font-size: 85%;
  line-height: 1;
  position: absolute;
  top: 2px;
  left: 0;
}
@media screen and (max-width: 767px) {
  .rule {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .rule div {
    max-width: 145px;
    margin-bottom: 1rem;
  }
}

.contacts {
  background-color: #f2e0e0;
  padding: 2rem 0;
}
.contacts h3 {
  font-size: 30px;
  color: #fff;
  background-color: #927964;
  border-radius: 30px;
  width: fit-content;
  margin: 0 auto;
  margin-bottom: 2rem;
  padding: 0 2rem;
}
.contacts p {
  font-size: 18px;
}
.contacts p:first-of-type {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 1rem;
}
.contacts p span {
  color: #000;
}
.contacts p span.font-s {
  font-size: 22px;
}
.contacts p a.font-m {
  font-size: 26px;
  font-weight: bold;
}
.yellow-line {
  border: 2px solid #ffdd2a;
}
@media screen and (min-width: 768px) {
  .contacts p:first-of-type br,
  .contacts p:last-of-type br.sp {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .contacts {
    padding: 4rem 1.5rem;
  }
  .contacts p:first-of-type {
    margin-bottom: 0;
  }
  .contacts p:last-of-type {
    font-size: 16px;
    margin-top: 1rem;
  }
}

/* telリンク調整 */
@media (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}
