@charset "utf-8";

/* 変数 */
:root {
  /* --main-color: #1c3b6d; */
  --main-color: #0071b9;
  --main-color-h: #10397c;
  --sub-color: #4c9cce;
  --back-color: #e9f6f8;

  --example-color: #6ebb38;
  --example-color-h: #699e43;
  --example-title: #3c6619;
  --example-color-accent: #60b920;
  --accentColor: #ff3b3b;
  --accentColor2: #fff000;

  --trans: 0.15s ease-in-out;
}

/* 全体 */
#body {
  position: relative;
}
#body * {
  box-sizing: border-box;
}
#body .widthSet {
  width: 1100px;
  margin: 0 auto;
}
#body h2,
#body h3,
#body h4 {
  color: var(--main-color);
  border-color: var(--main-color);
}
#contents {
  width: auto;
}
.backColor {
  position: relative;
  margin-top: 7rem;
  margin-bottom: 8rem;
  padding-top: 1rem;
  padding-bottom: 6rem;
  background-color: var(--back-color);
}
.backColor::before,
.backColor::after {
  position: absolute;
  content: "";
  left: 0;
  width: 100%;
  height: 100px;
  background-image: url(./wave.svg);
  background-repeat: repeat-x;
}
.backColor::before {
  top: -2rem;
}
.backColor::after {
  bottom: -2rem;
  rotate: 180deg;
}
.backColor2 {
  padding-top: 2rem;
  padding-bottom: 6rem;
  background-color: #fafafa;
}
img {
  user-select: none;
  pointer-events: none;
}
.exclamation {
  display: inline-block;
  rotate: 10deg;
}

/* flex & grid */
@media screen and (min-width: 680px) {
  /* flex */
  .flex {
    display: flex;
  }
  .jcs {
    justify-content: start;
  }
  .jce {
    justify-content: end;
  }
  .jcc {
    justify-content: center;
  }
  .jc-sb {
    justify-content: space-between;
  }
  .fdc {
    flex-direction: column;
  }
  .aic {
    align-items: center;
  }
  .aie {
    align-items: end;
  }
  .fdc {
    flex-direction: column;
  }

  /* grid */
  .grid {
    display: grid;
  }
  .gtc2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .gtc3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .gtc4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .gtc5 {
    grid-template-columns: repeat(5, 1fr);
  }

  /* gap */
  .g05 {
    gap: 0.5rem;
  }
  .g1 {
    gap: 1rem;
  }
  .g2 {
    gap: 2rem;
  }
  .g3 {
    gap: 3rem;
  }
}
@media screen and (max-width: 679px) {
  /* flex-sp */
  .flex-sp {
    display: flex;
  }
  .jcs-sp {
    justify-content: start;
  }
  .jce-sp {
    justify-content: end;
  }
  .jcc-sp {
    justify-content: center;
  }
  .jc-sb-sp {
    justify-content: space-between;
  }
  .fdc-sp {
    flex-direction: column;
  }
  .aic-sp {
    align-items: center;
  }
  .aie-sp {
    align-items: end;
  }
  .fdc-sp {
    flex-direction: column;
  }
  .fdr-r-sp {
    flex-direction: row-reverse;
  }

  /* grid-sp */
  .grid-sp {
    display: grid;
  }
}

/* -------------------------------- */
/* -------------------------------- */
/* -------------------------------- */

/* ぱくぱくくん 画像 */
h2:has(.pakpak),
p:has(.pakpak) {
  position: relative;
}
h2 img.pakpak,
p img.pakpak {
  position: absolute;
  content: "";
  width: 120px;
  height: 120px;
}
.intro .pakpak {
  top: -4rem;
  right: calc(50% - (120px / 2) - 17rem);
}
.step .pakpak {
  top: 5.75rem;
  left: calc(50% - (120px / 2) - 5.25rem);
  width: 105px;
  height: 105px;
  rotate: -10deg;
}
.example .pakpak {
  top: -3.75rem;
  right: calc(50% - (120px / 2) - 10rem);
  rotate: 5deg;
  transform: scale(0.85);
}
.links .pakpak {
  top: -0.25rem;
  left: calc(50% - (100px / 2) - 14rem);
  width: 100px;
  height: 100px;
}

/* どんなことをするの */
.step {
  position: relative;
  margin-top: 2.5rem;
  padding: 1rem;
  padding-top: 5rem;
  border: solid 3px var(--sub-color);
  border-radius: 0.5rem;
  background-color: #fff;
}
.step:has(+ .step)::after {
  position: absolute;
  content: "";
  top: calc(50% - (2rem / 2));
  right: -1.8rem;
  width: 1rem;
  height: 2rem;
  background-color: var(--sub-color);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.step .num {
  position: absolute;
  content: "";
  top: -2.75rem;
  left: calc(50% - (4rem / 2));
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  line-height: 1.25rem;
  font-size: 0.9rem;
  text-align: center;
  color: #fff;
  background-color: var(--main-color);
}
.step .num span {
  font-size: 1.15rem;
  font-weight: bold;
}
.step .copy {
  position: absolute;
  content: "";
  top: 2.35rem;
  display: inline-block;
  font-family: "Zen Maru Gothic";
  line-height: 1.1;
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  color: var(--main-color-h);
}
.step:nth-of-type(1) .copy {
  left: calc(50% - (7rem / 2));
}
.step:nth-of-type(2) .copy {
  left: calc(50% - (11rem / 2));
}
.step:nth-of-type(3) .copy {
  top: 1rem;
  left: calc(50% - (12rem / 2));
}
.copy .exclamation {
  margin-left: 0.25rem;
  font-size: 2.5rem;
}
.copy span {
  font-size: 1.5rem;
}
.step p {
  line-height: 1.6rem;
  text-align: center;
}
.step img {
  width: 70%;
}
.step3 img {
  margin-bottom: 0.5rem;
}
.point {
  width: fit-content;
  margin: 0 auto;
  margin-top: 3rem;
  line-height: 1.3;
  font-size: 1.75rem;
  font-weight: bold;
  text-align: center;
  color: var(--main-color);
  cursor: default;
}
.point .underline {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0 1rem;
  border-bottom: solid 0.5rem var(--accentColor2);
}
.point .big {
  display: inline-block;
  margin: 0 0.2rem;
  vertical-align: -0.1rem;
  font-size: 2.5rem;
}
.point .small {
  font-weight: normal;
  font-size: 1.5rem;
}
.point-intro {
  width: 65%;
  margin: 0 auto;
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

/* 例えばこんなこと */
section:has(.swiper) h2 {
  margin-top: 0 !important;
  color: var(--example-title) !important;
  border-color: var(--example-title) !important;
}
.swiper-container {
  position: relative; /* swiper-prev, next用 */
}
.swiper-in {
  overflow-x: hidden;
  margin-bottom: 9rem;
}
#swiper1 {
  width: 800px;
  overflow: visible;
}
.swiper-slide {
  height: auto !important;
  background-color: #fff;
  opacity: 1;
  transition: opacity 0.5s ease-in-out !important;
}
.swiper-slide:not(.swiper-slide-visible) {
  opacity: 0.2;
  pointer-events: none;
}
.swiper-prev,
.swiper-next {
  position: absolute;
  content: "";
  bottom: -2.5rem;
}
.swiper-prev {
  left: calc(50% - (4rem / 2) - 120px);
}
.swiper-next {
  right: calc(50% - (4rem / 2) - 120px);
}
.swiper-button-prev,
.swiper-button-next {
  position: relative;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  color: #fff;
  background-color: var(--example-color);
  transition: var(--trans);
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.3);
}
.swiper-button-prev::before,
.swiper-button-next::before {
  position: absolute;
  content: "";
  top: calc(50% - (1rem / 2));
  width: 1rem;
  height: 1rem;
  border-left: solid 2px #fff;
  border-bottom: solid 2px #fff;
}
.swiper-button-prev::before {
  left: calc(50% - (1rem / 2));
  rotate: 45deg;
}
.swiper-button-next::before {
  right: calc(50% - (1rem / 2));
  rotate: -135deg;
}
.swiper-button-prev svg,
.swiper-button-next svg {
  display: none;
}
@media screen and (min-width: 680px) {
  .swiper-button-prev:hover,
  .swiper-button-next:hover {
    background-color: var(--example-color-h);
    transform: scale(1.1);
  }
}

/* スライド */
.slide-card {
  position: relative;
  height: 100% !important;
  padding: 0.75rem;
  border: solid 2px var(--example-color);
  border-radius: 0.75rem;
}
.slide-card > span {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 8rem;
  height: 2rem;
  padding-left: 0.5rem;
  border-radius: 0.5rem 0 0.75rem 0;
  line-height: 2rem;
  font-weight: bold;
  color: #fff;
  background-color: var(--example-color);
}
.slide-card .flex:first-of-type {
  padding-bottom: 0.75rem;
  border-bottom: dashed 1px var(--example-color);
}
.slide-card img {
  width: 5rem;
}
.slide-card h3 {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  font-size: 1.1rem !important;
  line-height: 1.6rem;
  white-space: nowrap;
  color: var(--example-title) !important;
}
.slide-card p {
  line-height: 1.5rem;
  font-size: 0.95rem;
  text-align: justify;
  color: #222;
}
.slide-card p:has(a) {
  margin-top: 1.5rem;
  margin-bottom: 0;
}
.slide-card p a {
  position: relative;
  display: block;
  padding: 0.5rem 1.25rem;
  border: solid 1px var(--example-color);
  border-radius: 5rem;
  line-height: 1.2rem;
  color: #111 !important;
  transition: var(--trans);
  background-color: #fff;
}
.slide-card p a::after {
  position: absolute;
  content: "";
  top: calc(50% - (0.75rem / 2));
  right: 1rem;
  width: 0.5rem;
  height: 0.5rem;
  border-right: solid 2px var(--example-color);
  border-bottom: solid 2px var(--example-color);
  rotate: -45deg;
  transition: var(--trans);
}
@media screen and (min-width: 680px) {
  .slide-card p a:hover {
    color: #fff !important;
    background-color: var(--example-color);
  }
  .slide-card p a:hover::after {
    border-color: #fff;
  }
}

/* リンクボタン */
.linkBtn img {
  width: 70%;
}
.linkBtn p {
  margin: 0;
  margin-top: 1rem;
}
.linkBtn a {
  display: block;
  width: 17.5rem;
  padding: 1rem 0;
  border-radius: 0.5rem;
  line-height: 1;
  font-size: 1.5rem;
  text-align: center;
  color: #fff;
  background-color: var(--main-color);
  transition: var(--trans);
}
@media screen and (min-width: 680px) {
  .linkBtn a:hover {
    background-color: var(--main-color-h);
  }
}
p:has(small.date) {
  line-height: 1;
}
small.date {
  font-size: 1rem;
}

/* リンク集 */
.links {
  margin-top: 5rem !important;
}
.links h4 {
  margin-top: 1.5rem !important;
}
.links p {
  margin: 0;
}
.links a {
  position: relative;
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  border: solid 1px var(--main-color);
  border-radius: 5rem;
  color: var(--main-color) !important;
  background-color: #fff;
  transition: var(--trans);
}
.links a::after {
  position: absolute;
  content: "";
  top: calc(50% - (0.5rem / 2));
  right: 1rem;
  width: 0.5rem;
  height: 0.5rem;
  border-right: solid 2px var(--main-color);
  border-bottom: solid 2px var(--main-color);
  rotate: -45deg;
  transition: var(--trans);
}
@media screen and (min-width: 680px) {
  .links a:hover {
    color: #fff !important;
    background-color: var(--main-color);
  }
  .links a:hover::after {
    border-right: solid 2px #fff;
    border-bottom: solid 2px #fff;
    right: 0.75rem;
  }
}

/* 5つのたいせつ */
.taisetsu-container {
  width: 75%;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 1.5rem;
  background-color: var(--main-color);
}
.taisetsu-container > p {
  position: relative;
  line-height: 2.2rem;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: #fff;
}
.taisetsu-container > p::before,
.taisetsu-container > p::after {
  position: absolute;
  content: "";
  bottom: calc(50% - (4rem / 2));
  width: 2px;
  height: 4rem;
  background-color: #fff;
}
.taisetsu-container > p::before {
  left: calc(50% - (2px / 2) - 17rem);
  rotate: -15deg;
}
.taisetsu-container > p::after {
  right: calc(50% - (2px / 2) - 17rem);
  rotate: 15deg;
}
.taisetsu-container > p .small {
  font-size: 1.25rem;
}
.taisetsu-container > p .exclamation {
  font-size: 2.15rem;
}
.taisetsu-in {
  position: relative;
  width: 100%;
  padding: 1.5rem 0;
  border-radius: 0.8rem;
  outline: solid 1px var(--main-color);
  outline-offset: -0.5rem;
  background-color: #fff;
}
.taisetsu-in p {
  margin: 0;
}
.taisetsu-in p.caution {
  margin-top: 0.75rem;
  line-height: 1;
  text-align: center;
}
.taisetsu-in img {
  display: block;
  width: 50%;
  margin: 0 auto;
}
.taisetsu-container img.left5,
.taisetsu-container img.right5 {
  position: absolute;
  content: "";
  top: calc(50% - (225px / 2));
  width: 17.5%;
  height: auto;
}
.taisetsu-container img.left5 {
  left: 1.5rem;
}
.taisetsu-container img.right5 {
  right: 1.5rem;
}
.taisetsu-in a {
  position: relative;
  display: block;
  width: 51.5%;
  margin: 0 auto;
  margin-top: 1rem;
  padding: 0.5rem;
  border-radius: 5rem;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  color: #fff !important;
  background-color: var(--example-color-accent);
  transition: var(--trans);
}
.taisetsu-in a::after {
  position: absolute;
  content: "";
  top: calc(50% - (0.65rem / 2));
  right: 1.5rem;
  width: 0.65rem;
  height: 0.65rem;
  border-right: solid 2px #fff;
  border-bottom: solid 2px #fff;
  rotate: -45deg;
  transition: var(--trans);
}
@media screen and (min-width: 680px) {
  .taisetsu-in a:hover {
    color: #fff !important;
    background-color: var(--main-color);
  }
  .taisetsu-in a:hover::after {
    border-right: solid 2px #fff;
    border-bottom: solid 2px #fff;
    right: 1rem;
  }
}

/* -------------------------------- */

/* -------------------------------- */

/* -------------------------------- */

/* SP */
@media screen and (max-width: 679px) {
  /* 全体 */
  #body .widthSet {
    width: calc(100% - 20px);
  }
  #contents {
    margin: 0 !important;
  }
  .backColor {
    margin-top: 4rem;
    margin-bottom: 5rem;
    padding-top: 0.1rem;
    padding-bottom: 3rem;
  }
  .center {
    text-align: center;
  }
  .backColor::before,
  .backColor::after {
    height: 40px;
  }
  .backColor2 {
    padding-bottom: 4rem;
  }

  /* ぱくぱくくん 画像 */
  h2 img.pakpak,
  p img.pakpak {
    width: 70px;
    height: 70px;
  }
  .intro .pakpak {
    top: -4.75rem;
    right: calc(50% - (60px / 2) - 8.5rem);
  }
  .step .pakpak {
    top: 6.25rem;
    left: calc(50% - (110px / 2) - 5.5rem);
    width: 100px;
    height: 100px;
    rotate: -10deg;
  }
  .example .pakpak {
    top: -2rem;
    right: calc(50% - (60px / 2) - 7.5rem);
    rotate: 5deg;
    transform: scale(0.85);
  }
  .links .pakpak {
    top: 0.5rem;
    left: auto;
    right: calc(50% - (90px / 2) - 7.5rem);
    width: 90px;
    height: 90px;
  }

  /* どんなことするの */
  h2:has(+ .flow) {
    margin-top: 1rem !important;
    margin-bottom: 4.5rem !important;
  }
  .step {
    margin-top: 2.5rem;
    padding: 0.75rem;
    padding-top: 6rem;
  }
  .step:has(+ .step) {
    margin-bottom: 4.75rem;
  }
  .step:has(+ .step)::after {
    top: auto;
    bottom: -2rem;
    right: calc(50% - (2rem / 2));
    width: 2rem;
    height: 1rem;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
  }
  .point {
    margin-top: 2.5rem;
    line-height: 1.3;
    font-size: 1.5rem;
  }
  .point .underline {
    border-bottom: none;
  }
  .point .underline-sp {
    display: inline-block;
    margin-bottom: 0.5rem;
    border-bottom: solid 0.5rem var(--accentColor2);
  }
  .point .small {
    font-size: 1.2rem;
  }
  .point-intro {
    width: 100%;
    margin-top: 1rem;
    font-size: 1rem;
  }

  /* 例えばこんなこと */
  #swiper1 {
    width: 100%;
  }
  .swiper-in {
    margin-bottom: 7rem;
  }
  .swiper-prev,
  .swiper-next {
    bottom: -2.5rem;
  }
  .swiper-prev {
    left: calc(50% - (4rem / 2) - 60px);
  }
  .swiper-next {
    right: calc(50% - (4rem / 2) - 60px);
  }
  .swiper-button-prev,
  .swiper-button-next {
    box-shadow: none;
  }

  /* スライド */
  .swipe-title {
    margin-top: 2rem;
  }
  .slide-card h3 {
    font-size: 1rem !important;
    white-space: nowrap;
  }

  /* リンクボタン */
  .linkBtn > div:has(+ div) {
    margin-bottom: 0.75rem;
  }
  .linkBtn img {
    width: 25%;
  }
  .linkBtn p {
    margin: 0;
    font-size: 1.25rem;
    text-align: center;
  }
  .linkBtn a {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: calc(100% - 20px);
    margin: 0 auto;
    padding: 0.5rem 1rem;
  }
  p:has(small.date) {
    line-height: 1.2;
  }

  /* リンク集 */
  .links h4 {
    margin: 0.75rem 0 !important;
  }
  .links .grid > p:has(+ p) {
    margin-bottom: 0.75rem;
  }
  .links a {
    padding: 0.25rem 1.1rem;
  }
  .links .grid + h4 {
    margin-top: 1.5rem !important;
  }

  /* 5つのたいせつ */
  .taisetsu h2 {
    margin-top: 3.5rem !important;
  }
  .taisetsu-container {
    width: 100%;
    border-radius: 1rem;
  }
  .taisetsu-container > p {
    line-height: 1.5rem;
    font-size: 1.5rem;
  }
  .taisetsu-container > p::before,
  .taisetsu-container > p::after {
    bottom: 0;
  }
  .taisetsu-container > p::before {
    left: 0.75rem;
    rotate: -35deg;
  }
  .taisetsu-container > p::after {
    right: 0.75rem;
    rotate: 35deg;
  }
  .taisetsu-container > p .small {
    font-size: 1rem;
    font-weight: normal;
  }
  .taisetsu-container > p .exclamation {
    font-size: 1.75rem;
  }
  .taisetsu-in {
    padding: 1.5rem 0;
    border-radius: 0.8rem;
  }
  .taisetsu-in p {
    margin: 0;
  }
  .taisetsu-in p.caution {
    margin-top: 0.75rem;
    line-height: 1;
    font-size: 0.9rem;
    text-align: center;
  }
  .taisetsu-in img {
    display: block;
    width: 50%;
    margin: 0 auto;
  }
  .taisetsu-container img.left5,
  .taisetsu-container img.right5 {
    top: calc(50% - (160px / 2));
  }
  .taisetsu-container img.left5 {
    left: 1rem;
  }
  .taisetsu-container img.right5 {
    right: 1rem;
  }
  .taisetsu-in a {
    width: 70%;
    padding: 0.75rem 0.5rem;
    line-height: 1;
    font-size: 1.2rem;
  }
  .taisetsu-in a::after {
    top: calc(50% - (0.75rem / 2));
  }
}
