/* リセット（簡易） */
html, body,
h1, h2, h3, h4, h5, h6,
a, p, span,
em, small, strong,
sub, sup,
mark, del, ins, strike,
abbr, dfn,
blockquote, q, cite,
code, pre,
ol, ul, li, dl, dt, dd,
div, section, article,
main, aside, nav,
header, hgroup, footer,
img, figure, figcaption,
address, time,
audio, video,
canvas, iframe,
details, summary,
fieldset, form, label, legend,
table, caption,
tbody, tfoot, thead,
tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
}

/* ベース */
html {
  font-family: "Noto Sans JP", serif;
  background-color: #fff5e8;
  margin-top: 0 !important;
  padding: 0;
  border: 0;
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 100px;
  margin-bottom: 30px;
}

img {
  width: 100%;
  height: auto;
}

section img {
  box-shadow: rgba(255, 255, 255, 0.5) 3px 4px 12px;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #000;
}

p {
  line-height: 1.5;
  word-wrap: break-word;
}

/* 共通表示切り替え */
.pc_only {
  display: block;
}

.sp_only {
  display: none;
}

/* ボタン共通 */
.button {
  height: 50px;
  width: 10rem;
  background-color: #014d03;
  border-radius: 50px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  font-weight: 900;
  z-index: 1;
  overflow: hidden;
  transition: 0.3s;
  color: #fff;
  box-shadow: 3px 3px 5px #ababab;
}

.button p {
  display: block;
  color: #f6ab00;
  font-size: 0.8rem;
}

.button::before {
  content: "";
  width: 110%;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  border-right: 10px solid transparent;
  border-bottom: 60px solid #014d03;
  transform: translateX(-100%);
  transition: transform ease 0.3s;
}

.button:hover {
  transition: ease 0.1s;
  color: #fff;
}

.button:hover::before {
  transform: translateX(10px);
}

/* Flexレイアウト */
.flex_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.flex_wrapper.reverse {
  flex-direction: row-reverse;
}

.text_wrapper {
  width: 40%;
}

.image_wrapper {
  width: 50%;
}

/* コンテナ */
.container {
  overflow-x: hidden;
  position: relative;
  width: 90%;
  margin: 0 auto;
  max-width: 1020px;
}

/* セクションタイトル */
.section_title {
  display: block;
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin: 0 auto 50px auto;
  color: #010101;
  width: fit-content;
}

.section_title::after {
  content: "";
  display: block;
  width: 50%;
  height: 2px;
  background-color: #014d03;
  margin: 10px auto 0;
}

/* パンくず・ページネーション */
.breadcrumb {
  margin-top: 57px;
  font-size: 0.875rem;
}

.pagenation {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

/* 992px以下 */
@media screen and (max-width: 992px) {
  .pc_only {
    display: none;
  }

  .sp_only {
    display: block;
  }
}

/* 768px以下 */
@media screen and (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0 1rem;
  }

  .flex_wrapper {
    flex-direction: column;
    align-items: center;
  }

  .flex_wrapper.reverse {
    flex-direction: column;
    align-items: center;
  }

  .text_wrapper,
  .image_wrapper {
    width: 100%;
  }
}

/* 576px以下 */
@media screen and (max-width: 576px) {
  .section_title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
}