/*
Theme Name: Gymgym about Theme
Theme URI: https://gymgym.net/
Description: Gymgymサイト用about WordPressテーマ
Text Domain: gymgym
*/
@charset "UTF-8";
.about{
  background-image: url(../img/about/about_bg.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  color: #fff;
  padding: 40px 0;
}
.about_inner{
  width: min(90%, 1200px);
  display: flex;
  margin: auto;
  justify-content: space-between;
  align-items: center;
}
.concept_explanation {
  font-size: 27px;
}
@media (max-width: 768px){
  .about{
    background: url("../img/about/about_bg_sp02.webp") center/cover no-repeat;
    padding: 10% 0;
  }
  .about_inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .concept_explanation {
    font-size: 22px;
    text-align: left;
    line-height: 1.75;
  }
}

.reason {
  background-image: url("../img/reason/reason_bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 50px 0;
}
.reason_inner {
  width: min(90%, 1200px);
  margin: 0 auto;
}
.reason_head {
  margin-bottom: 60px;
}
.reason_list {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  gap: 70px;
}
.reason_row {
  position: relative;
}
.reason_box {
  background: #1F2D5D;
  color: #fff;
  padding: 40px 40px 36px;
  position: relative;
  z-index: 1;
}
.reason_box_head {
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.reason_no {
  font-size: 35px;
  font-weight: 700;
  line-height: 1;
}
.reason_ttl {
  font-size: 35px;
  font-weight: 700;
  margin: 0 0 6px;
  text-align: justify;
}
.reason_sub {
  margin: 0;
  font-size: 18px;
}
.reason_line {
  height: 1px;
  background: rgba(255,255,255,.35);
  margin: 22px 0 22px;
  width: 40%;
}
.reason_body {
  font-size: 18px;
  line-height: 2;
}
.reason_body p {
  margin: 0;
}
.reason_img {
  position: absolute;
  right: 0;
  top: -40px;
  width: 43%;
  margin: 0;
  z-index: 2;
}
.reason_img img {
  width: 100%;
  display: block;
}
.reason_row.reverse .reason_box_head {
  justify-content: flex-end;
}
.reason_row.reverse .reason_img {
  left: 0;
  right: auto;
}
.reason_row.reverse .reason_box {
  margin-left: auto;
  text-align: right;
}
.reason_row.reverse .reason_line {
  height: 1px;
  background: rgba(255,255,255,.35);
  margin: 22px 0 22px auto;
  width: 40%;
}
.reason_cta {
  text-align: center;
  margin-top: 120px;
}
.reason_button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1F2D5D;
  padding: 16px 32px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}
.reason_plus {
  font-weight: 900;
  transform: translateY(-1px);
}
@media (min-width: 769px) {
  .reason_box {
      width: 90%;
  }
}
@media (max-width: 768px) {
  .reason {
    background-image: url("../img/reason/reason_bg_sp.webp");
    padding: 10% 0;
  }
  .reason_head {
    margin-bottom: 10%;
  }
  .reason_img {
    position: relative;
    width: 100%;
    margin-top: 20px;
    margin-left: -20px;
  }
  .reason_row.reverse .reason_img {
    margin-left: 20px;
  }
  .reason_row.reverse .reason_box_head {
    justify-content: left;
  }
  .reason_row.reverse .reason_line {
    width: 100%;
  }
  .reason_body {
    font-size: 16px;
    line-height: 2;
    text-align: left;
  }
  .reason_list {
    gap: 0px
  }
  .reason_no {
    font-size: 30px;
  }
  .reason_en {
    font-size: 30px;
  }
  .reason_ttl {
    font-size: 30px;
  }
  .reason_sub {
    text-align: left;
  }
  .reason_line {
    width: 100%;
    margin: 15px auto;
  }
  .reason_box {
    padding: 20px 15px 30px;
  }
  .reason_cta {
    margin-top: 80px;
  }
}

.recommend{
  position: relative;
  padding: 80px 24px 70px;
  color: #fff;
  background: url("../img/program/program_bg.webp") center/cover no-repeat;
  overflow: hidden;
}
.recommend_inner{
  position: relative;
  z-index:1;
  width: min(90%, 1200px);
  margin: 0 auto;
}
.recommend_wrap {
  margin-top: 44px;
}
.recommend_cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
}
.recommend_card {
  list-style: none;
}
.recommend_card_inner {
  position: relative;
  height: 85%;
  background: rgba(255, 255, 255, 0.92);
  padding: 34px 22px 28px;
  overflow: visible;
}
.recommend_text {
  width: 100%;
}
.recommend_case {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: #1e3676;
}
.recommend_title {
  position: relative;
  margin: 0 0 5%;
  font-size: 30px;
  font-weight: 700;
  color: #d1a100;
  z-index: 5;
}
.recommend_copy {
  position: relative;
  margin: 0px 0 5%;
  font-size: 23px;
  font-weight: 700;
  color: #d1a100;
  z-index: 5;
}
.recommend_desc {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  font-weight: 500;
  color: #666;
}
.recommend_image {
  position: absolute;
  top: -35px;
  right: -10px;
  width: 75%;
  max-width: 370px;
}
.recommend_image img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
@media (max-width: 768px){
  .recommend{
    padding:10% 0;
  }
  .recommend_body {
    display: block;
  }
  .recommend_wrap {
    margin-top: 28px;
  }
  .recommend_cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .recommend_card_inner {
    min-height: auto;
    padding: 20px 16px 18px;
  }
  .recommend_text {
    width: 100%;
  }
  .recommend_case {
    margin-bottom: 0px;
    font-size: 28px;
  }
  .recommend_title {
    margin-bottom: 10px;
    font-size: 28px;
  }
  .recommend_copy {
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 2;
  }
  .recommend_desc {
    font-size: 16px;
    line-height: 2;
  }
  .recommend_image {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0 25px 16px;
  }
  .recommend_image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .recommend_card_inner {
    display: flex;
    flex-direction: column-reverse;
  }
  .detail_cta {
    margin-top: 28px;
  }
  .detail_btn {
    width: 100%;
    min-width: 0;
    padding: 16px 20px;
    font-size: 14px;
  }
  .detail_plus {
    width: 24px;
    height: 24px;
    font-size: 22px;
  }
}