@charset "UTF-8";

main{
    min-height: inherit;
    padding: 12vw 0 0;
}
section {
  width: 100%;
  max-width: 940px;
  padding: 40px 8vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
  gap: 2rem;
}
section h2{
  font-size: 8vw;
  line-height: 1.25;
  font-weight: 700;
}
section p {
  font-size: 14px;
  line-height: 1.8;
  text-align: justify;
}
.container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
  margin-bottom: 16px;
}
.container iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
@media screen and (min-width: 768px) {
 main{
  position: relative;
  /*min-height: calc(100vh - 231px);*/
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
}

section{
  text-align: center;
  gap: 3rem;
}

section h2 {
  font-size: 3.6rem;
  line-height: 1.6; 
}
section p{
  font-size: 16px;
  line-height: 1.8;
  width: 100%;
}
}
/* =====================================
	firstview
===================================== */
.fv {
  background: url(../img/casestudy/fv_sp.png) no-repeat;
  background-position: top center;
  background-size: cover;
  width: 100%;
  height: 510px;
  display: flex;
  justify-content: center;
  padding-top: 60px;
}
.fv h1 {
  font-weight: bold;
  line-height: 1.4;
  font-size: 8.96vw;
  letter-spacing: .2rem;
  text-align: center;
}
.fv h1 span {
  display: block;
  font-size: 24px;
  color: #389C7C;
  font-family: "Oswald", serif;
  font-weight: normal;
  letter-spacing: 0;
}

@media screen and (min-width: 480px) {
.fv {
  height: 570px;
  padding-top: 80px;
}
}
@media screen and (min-width: 600px) {
.fv {
  height: 740px;
  padding-top: 100px;
}
.fv h1 {
  font-size: 9.6vw;
}
.fv h1 span {
  font-size: 36px;
}
}
@media screen and (min-width: 768px) {
.fv {
  background: url(../img/casestudy/fv.png) no-repeat;
  background-position: top center;
  background-size: cover;
  width: 100%;
  height: 360px;
  display: flex;
  justify-content: flex-start;
  padding-top: 0;
  padding-left: 4vw;
  align-items: center;
}
.fv h1 {
  font-size: 50px;
  text-align: left;
  margin-bottom: 1rem;
}
}
@media screen and (min-width: 1080px) {
.fv {
    height: 400px;
    padding-left: 60px;
}
.fv h1 {
    font-size: 5.6rem;
}
}
@media screen and (min-width: 1200px) {
.fv {
  height: 440px;
  padding-left: 80px;
}
}
@media screen and (min-width: 1400px) {
.fv {
  height: 460px;
  padding-left: 80px;
}
}
@media screen and (min-width: 1800px) {
.fv {
  height: 580px;
  padding-left: 120px;
}
}
/* =====================================
	CaseStudy
===================================== */
section#CaseStady {
  padding: 40px 0;
  gap: 0;
  max-width: none;
}
section#CaseStady article {
  width: 100%;
  margin: 0 auto;
}
section#CaseStady article:nth-child(2n+1) {
  background: #EDF7E9;
}
section#CaseStady article .inner {
  max-width: 1000px;
  width: 86%;
  margin: 20px auto;
}
.case_title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.title_left {
  color: #A5C96B;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 20px;
  text-align: left;
}
.title_left .number {
  font-size: 150%;
  margin-left: 5px;
  display: inline-block;
}
section#CaseStady h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #4B9D83;
  text-align: left;
}
.body_lf img {
  width: 100%;
  margin-bottom: 16px;
}
.body_lf p ,
p.grn_name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #4B9D83;
  margin-bottom: 4px;
}
.body_lf p span {
  font-size: 80%;
}
.body_lf table {
  width: 100%;
  margin-bottom: 16px;
  border-top: 1px dotted #959595;
  max-width: 400px;
}
.body_lf th ,.body_lf td {
  font-size: 14px;
  line-height: 1.2;
  padding: 4px 10px;
  border-bottom: 1px dotted #959595;
  width: 12rem;
  font-weight: normal;
}
.body_lf td {
  width: calc(100% - 13rem);
}
.body_rgt dl{
  margin-bottom: 10px;
}
.body_rgt dt ,.body_rgt dd {
  width: 100%;
  font-size: 14px;
  line-height: 1.8;
}
.body_rgt dt {
  font-size: 16px;
  font-weight: 900;
  color: #8A8A8A;
}
.color_gr {
  color: #8A8A8A;
  font-weight: 700;
}

/* マーカーのスタイル */
.marker {
  background-image: linear-gradient(0deg, #FFFDC2, #FFFA75);
  background-position: left bottom; 
  background-repeat: no-repeat;
  background-size: 0 .5em;
  padding-bottom: 3px;
  transition: background-size 1.5s;
  font-weight: 700;
}
/* マーカーが表示された時のスタイル */
.marker.active {
  background-size: 100% .5em;
}
section#CTA {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
}
section#CTA article {
    background: rgba(4, 137, 222, .1);
    padding: 20px 0;
    width: 92%;
    margin: 0 auto;
    border-radius: 8px;
}
section#CTA article .inner {
  width: 86%;
  max-width: 1000px;
  margin: 0 auto;
}
section#CTA article#ContactUs {
  background: url("../img/casestudy/bg_consul2.jpg") no-repeat;
  padding: 30px 0;
  width: 100%;
  margin: 0 auto;
  border-radius: 0;
}
section#CTA article#ContactUs .inner {
  width: 86%;
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;box-shadow: 10px 10px 40px 0px rgba(0, 0, 0, 0.4);
  padding: 20px 4%;
}
.card_book {
  background: url("../img/book.png") no-repeat;
  background-size: 140px 200px;
  background-position: bottom right;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.card_book h3 ,
section#CTA article#ContactUs h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 10px;
  text-align: left;
}
.book_title {
  font-weight: 700;
  width: 50%;
  margin-top: 30px;
}
.cta_amz {
  width: 142px;
  margin: 30px auto 0 0;
}
.cta_amz a {
  width: 100%;
  display: inline-block;
  text-align: center;
  padding: 10px 30px 10px 20px;
  border-radius: 8px;
  background: #FF594D;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  position: relative;
  box-shadow: rgba(224, 63, 51, 0.2) 3px 3px 0px 0px;
}
.cta_amz a::after {
  position: absolute;
  content: "";
  background: url(../img/icon_arrow1.svg) no-repeat;
  background-size: 14px;
  display: inline-block;
  width: 16px;
  height: 16px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 8px;
}
.cta_amz a:hover {
  background: linear-gradient(135deg, #00B078 0%, #A2EB44 100%);
  box-shadow: rgba(75, 157, 131, 0.6) 2px 2px 0px 0px;
  transform: translateY(-2px);
}
.flex_san ,.row_img {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.flex_san {
  gap: 20px;
}
.row_img {
  width: 260px;
  margin: 0 auto;
  text-align: center;
}
.batch_img {
  height: auto;
  position: relative;
  padding-bottom: 40px;
}
.personal_img {
  width: 200px;
  border-radius: 16px;
  margin: 0 auto;
}
.batch9000 {
  position: absolute;
  width: 100px;
  right: 0;
  bottom: 0;
  z-index: 2;
}
.btn_grn {
  width: 130px;
  margin-top: 8px;
}
.btn_grn a {
  display: block;
  background: #63C69E;
  color: #ffffff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 0;
}
.btn_cta {
  width: 100%;
  text-align: center;
  margin-top: 30px;
}
.p_catch {
  text-align: center;
  font-size: 96%;
  margin-bottom: 10px;
}
.btn_cta a {
  width: 280px;
  display: inline-block;
  text-align: center;
  padding: 16px 30px 16px 20px;
  background: #FF594D;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  position: relative;
  box-shadow: rgba(224, 63, 51, 0.2) 3px 3px 0px 0px;
}
.btn_cta a::after {
  position: absolute;
  content: "";
  background: url(../img/icon_arrow1.svg) no-repeat;
  background-size: 14px;
  display: inline-block;
  width: 16px;
  height: 16px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 8px;
}
.btn_cta a:hover {
  background: linear-gradient(135deg, #00B078 0%, #A2EB44 100%);
  box-shadow: rgba(75, 157, 131, 0.6) 2px 2px 0px 0px;
  transform: translateY(-2px);
}
p.record {
  font-size: 96%;
}
@media screen and (min-width: 480px) {
section#CTA article {
    padding: 40px 0;
}
.card_book {
    padding-bottom: 50px;
}
.cta_amz {
    width: 210px;
}
.book_title {
    margin-top: 20px;
}
}
@media screen and (min-width: 768px) {
section#CaseStady article .inner {
  margin: 40px auto;
}
.case_title {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-bottom: 0;
}
.title_left {
  font-size: 32px;
  width: 100px;
}
.case_body {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4%;
  text-align: left;
}
.body_lf {
  width: 40%;
  max-width: 400px;
}
.body_rgt {
  width: calc(100% - 40% - 4%);
}
.book_title {
    width: 70%;
    margin-top: 30px;
}
.cta_amz {
    width: 260px;
}
.cta_amz a {
    padding: 20px 30px 20px 20px;
    font-size: 18px;
}
.body_rgt dd {
  font-size: 16px;
}
.body_rgt dt {
  font-size: 18px;
}
section#CTA article {
    width: 86%;
    max-width: 1000px;
}
.card_book p ,
.row_txt p {
    font-size: 15px;
}
section#CTA article#ContactUs {
  background: url("../img/casestudy/bg_consul.jpg") no-repeat;
  background-size: cover;
  padding: 60px 0;
  width: 100%;
  max-width: none;
}
.flex_san {
  gap: 30px;
  flex-direction: row;
}
.row_img {
  width:30%;
}
.row_txt {
  width: calc(100% - 30% - 20px);
}
.personal_img {
  width: 160px;
  margin: 0 auto 0 0;
}
.batch9000 {
  width: 80px;
}
p.grn_name {
    margin-top: -20px;
}
p.record {
  font-size: 12px;
}
.p_catch {
  font-size: 14px;
  letter-spacing: .2rem;
}
section#CTA {
    gap: 60px;
}
section#CTA article#ContactUs .inner {
  padding: 30px 6%;
}
.btn_cta a {
  width: 340px;
  font-size: 20px;
}
}
@media screen and (min-width: 960px) {
section#CaseStady article .inner {
  margin: 60px auto;
}
.title_left {
  font-size: 44px;
  width: 146px;
}
section#CaseStady h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  color: #4B9D83;
  text-align: left;
}
.case_body {
  gap: 6%;
}
.card_book {
  background-size: 170px 260px;
  background-position: top right;
  padding: 0 190px 0 0;
}
.book_title {
  width: 100%;
  margin-top: 4px;
  }
.flex_san {
  gap: 50px;
}
.personal_img {
  width: 180px;
}
.batch9000 {
    width: 90px;
}
}
@media screen and (min-width: 1080px) {
.card_book {
  background-size: 217px 335px;
  background-position: top right;
  padding: 0 260px 0 20px;
}
.personal_img {
  width: 200px;
}
.batch9000 {
  width: 100px;
  bottom: -10px;
}
p.grn_name {
  margin-top: -10px;
  font-size: 20px;
}
}