@charset "utf-8";
/* CSS Document */

img {
  pointer-events: all;
}
figure:has(> img[src="img/main.png"]) {margin: 0;}
/* ==========================
==========　メイン　===========
============================= */

/* 折り畳みボックス */
.detail_box {
  margin: 72px 0;
  @media screen and ( max-width: 700px ){
    margin: 0;
    margin-bottom: 45px;
  }
}
.detail_title {
  position: relative;
  color: #fff;
  background: #EE9342;
  padding: 20px;
  text-align: center;
  &::before {
    content: "";
    position: absolute;
    left: 80px;
    bottom: 0;
    width: 125px;
    height: 127px;
    background-image: url(../img/l_img_01.png);
  }
  /* + */
  &::after {
    content: "+";
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3.2rem;
    font-weight: bold;
    line-height: 1;
  }
  @media screen and ( max-width: 700px ){
    padding-right: 50px;
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    &::before {
      position: initial;
      display: block;
      width: 100%;
      max-width: 70px;
      height: 75px;
      background-image: none;
      background: url(../img/l_img_01.png) no-repeat center / contain;
    }
    &::after {
      right: 20px;
    }
  }
}
.detail_title:hover {
  cursor: pointer;
}
/* 開いたら - */
.detail_box[open] .detail_title::after {content: "−";}
.detail_title--hd {
  font-size: 2.6rem;
  font-weight: bold;
}
.hd_mini_txt {
  font-size: 2.1rem;
}
.content_block .detail_box:nth-of-type(2) .detail_title {
  background: #8FB846;
  &::before {
    width: 120px;
    background-image: url(../img/l_img_02.png);
  }
  @media screen and ( max-width: 700px ){
    &::before {
      background-image: none;
      background: url(../img/l_img_02.png) no-repeat center / contain;
    }
  }
}
.content_block .detail_box:nth-of-type(2) .profile_block {
  border: solid 2px #8FB846;
  border-top: none;
}
.content_block .detail_box:nth-of-type(3) .detail_title {
  background: #638ACC;
  &::before {
    width: 119px;
    background-image: url(../img/l_img_03.png);
  }
  @media screen and ( max-width: 700px ){
    &::before {
      background-image: none;
      background: url(../img/l_img_03.png) no-repeat center / contain;
    }
  }
}
.content_block .detail_box:nth-of-type(3) .profile_block {
  border: solid 2px #638ACC;
  border-top: none;
}

/* プロフィール */
.profile_block {
  position: relative;
  background: #ffff;
  border: solid 2px #EE9342;
  border-top: none;
  padding: 64px 0 90px;
  @media screen and (max-width: 700px) {
    padding-block: 45px;
  }
}
.profile_block--inner {
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  @media screen and (max-width: 700px) {
    flex-direction: column;
    gap: 25px;
  }
}
.profile_block li:last-child {
  width: 100%;
  max-width: 535px;
}

.block_item, .full_item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}
.block_title--top{
  font-size: 2.6rem;
  font-weight: bold;
  border-bottom: 1px #EE9342 solid;
  padding-bottom: 24px;
  margin-bottom: 24px;
}
.block_item, .full_item{
  font-size: 1.6rem;
  font-weight: normal;
  margin-bottom: 24px;
  line-height: 1.9;
}
.block_item.blank {
  align-items: flex-start;
  margin-top: 32px;
}
.full_item {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.full_item:first-child {
  margin-bottom: 32px;
}
.full_item:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 700px) {
  .block_item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.block_title,
.block_title_red {
  min-width: 166px;
  padding: 10px;
  text-align: center;
  border-radius: 36px;
  color: #fff;
  font-size: 1.6rem;
  box-sizing: border-box;
  @media screen and (max-width: 700px) {
    min-width: 128px;
    font-size: 1.4rem;
    padding: 8px;
  }
}
.block_title--top:has(> .block_title_red) {
  display: flex;
  align-items: center;
  gap: 20px;
  @media screen and (max-width: 700px) {
    gap: 10px;
  }
}
.block_title_red {
  background: #DC000C;
  display: inline-flex;
  justify-content: center;
  @media screen and (max-width: 700px) {

  }
}
.block_title {
  font-weight: bold;
  background: #EE9342;
  &.bg-green {background: #8FB846;}
  &.bg-blue {background: #638ACC;}
}

.full {
  position: relative;
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
}

/* がまっちからのプレゼント */
.content_block .detail_box:nth-of-type(3) .full_item {
  align-items: flex-start;
  flex-direction: row;
  gap: 16px;
}
@media screen and (max-width: 700px) {
  .content_block:not(:last-child) {margin-bottom: 45px;}
}

.download_card--flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
  &:has(+ *) {margin-bottom: 35px;}
  @media screen and (max-width: 700px) {
    gap: 15px;
    /* &:has(+ *) {margin-bottom: 25px;} */
  }
}
.download_card {
  width: calc(100%/3 - 40px/3);
  max-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 1px solid #8FB846;
  border-radius: 8px;
  padding: 15px;
  font-weight: bold;
  @media screen and (max-width: 700px) {
    width: calc(50% - 7.5px);
    box-sizing: border-box;
  }
}

.topics_article {
  width: 90%;
  margin-inline: auto;
  &:not(:last-child) {margin-bottom: 45px;}
}
.topics_hgroup {
  font-weight: bold;
  border-bottom: 1px #638ACC solid;
  padding-bottom: 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  .block_title {
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
  @media screen and (max-width: 700px) {
    flex-wrap: wrap;
    font-size: 2rem;
    gap: 10px;
    padding-bottom: 16px;
  }
}
.topics_hgroup--hd {
  font-size: 2.6rem;
  font-weight: bold;
}

.topics_txtFlex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  & > figure {
    margin: 0;
  }
  & > *:not(.topics_txtFlex--des) {
    width: 100%;
    max-width: max-content;
  }
  @media screen and (max-width: 700px) {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}
.topics_txtFlex--des {
  width: 100%;
}
.topics_imgFlex {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding-top: 20px;
  text-align: center;
  figure {
    margin: 0;
  }
  figcaption {
    padding-top: 10px;
  }
  @media screen and (max-width: 700px) {
    flex-direction: column;
  }
}
.flex_center {
  align-items: center;
}
.t_inner {
  margin-top: 30px;
}
.t_inner_title {
  margin-top: 20px;
}
.topics_sub_title {
  font-size: 2.5rem;
  font-weight: bold;
}
.indent {
  text-indent: -1em;
  padding-left: 1em;
}

/* がまっちページtable */
.topics_table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  th,
  td {
    text-align: left;
    padding: 1rem;
    border: 1px solid #ccc;
  }

  th {
    width: 30%;
  }
}
.table_scroll {
  @media screen and (max-width: 767px) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    table {
      min-width: 700px;
    }
  }
}