/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/********** reset ***********/
.entry-header {
  display: none;
}

html {
  margin-top: 0px !important;
}

.site-main .wp-block-group__inner-container {
  padding: 0;
}

.separate-containers .comments-area, .separate-containers .inside-article, .separate-containers .page-header, .separate-containers .paging-navigation {
  padding: 0px;
}

.separate-containers .site-main {
  margin: 0;
}

.entry-content:not(:first-child), .entry-summary:not(:first-child), .page-content:not(:first-child) {
  margin-top: 0;
}

/********** common ***********/
body {
  font-family: "Noto Sans JP",sans-serif,system-ui,-apple-system,"Segoe UI",Roboto;
  letter-spacing:0.05em;
  line-height: 1.8;
  margin:0;
}

section {
  padding: 80px 0;
}

.section__heading {
  width: fit-content !important;
  margin: 0 auto 80px auto;
}

img {
  max-width:100%;
  height:auto;
  display:block;
}

h1 {
  font-size: min(40px,2.7vw);
  font-family: "Noto Serif JP", serif;
  font-weight:700;
  letter-spacing:0.025em;
  line-height: 1.6;
}

h2 {
  font-size: min(40px,2.7vw);
  letter-spacing:0.05em;
  font-weight:700;
  line-height: 1.8;
}

h3,
h4 {
  font-size: min(24px,1.6vw);
  letter-spacing:0.1em;
  font-weight:700;
  line-height: 1.8;
}

h5,
h6 {
  font-size: min(16px,1.1vw);
  letter-spacing:0.1em;
  font-weight:500;
  line-height: 1.8;
}

a {
  color:inherit;
  text-decoration:none;
}

p {
  margin-bottom: 2.5em;
}

th,
td {
  font-size: min(18px,1.25vw);
  letter-spacing:0.05em;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: var(--green-1)!important;
}

.wp-block-separator {
  border-top: 1px dotted;
  margin: 40px 0;
}

.span-green {
  color: var(--green-2);
}

.span-orange {
  color: var(--orange);
}

.span-red {
  color: var(--accent-red);
}

@media screen and (max-width:1024px) and (min-width:768px) {
  h1 {
	font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  h3,
  h4 {
    font-size: 20px;
  }

  h5,
  h6 {
    font-size:16px;
  }
	
  th, td {
    font-size: 16px;
  }
}
	
@media screen and (max-width:767px) {	
  .section__heading {
	display: block;
	position: relative;
  }
	
  .section__heading img {
	position: absolute;
	bottom: 0;
	right: -60px;
  }
	
  h1 {
    font-size: min(24px, 6.4vw);
  }
	
  h2 {
    font-size: min(24px, 6.4vw);
  }
	
  h3,
  h4 {
    font-size: min(18px, 4.8vw);
  }
	
  h5,
  h6 {
    font-size:min(12px, 3.2vw);
  }
	
  p {
    font-size: min(14px, 3.8vw);
    word-break: break-all;
  }
	
  li {
    font-size: min(12px, 3.2vw);
  }
	
  th,
  td {
    font-size:min(12px, 3.2vw);
  }
}

/********** header ***********/
.inside-header {
  position: fixed;
}

@media (max-width: 768px) {
  .main-navigation .menu-toggle, .sidebar-nav-mobile:not(#sticky-placeholder) {
     display: none;
  }
}
/********** mv **********/
.mv__content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
  gap: 40px;
}

.mv__left {
  position: relative;
  gap: 24px;
}

.mv__left--h2 strong {
  font-size: min(28px, 2vw);
}

.mv__left--h1 span {
  font-size: 140%;
}

.mv__left--p {
  margin-bottom: 24px!important;
}

.mv__left--point {
  width: 180px;
  line-height: 60px;
  border-radius: 30px;
  padding: 0;
}

.mv__left--img1 {
  position: absolute;
  top: 10%;
  right: 35%;
  transform: rotate(5deg);
}

.mv__left--img2 {
  position: absolute;
  bottom: 0%;
  right: 2.5%;
}

.mv__right {
  padding: 0;
}

.mv__right--heading {
  margin-bottom: 24px;
}

.mv__right--date {
  font-size: min(28px, 1.9vw);
  letter-spacing: 0;
  line-height: 2;
}

.mv__right--weekday {
  font-size: min(18px, 1.25vw);
  width: 36px;
  line-height: 36px;
  border-radius: 100%;
  padding: 0;
  text-align: center;
}

@media screen and (max-width:1024px) {
  hr {
	display: none!important;	
  }
	
  .mv > span{
	background: linear-gradient(180deg, rgb(229, 240, 221) 0%, rgb(255, 255, 255) 100%)!important;
  }
	
  .mv__content {
    flex-direction: column;
  }
	
  .mv__left {
    align-items: center!important;
  }

  .mv__left--h1,
  .mv__left--h2 {
	text-align: center!important;
  }
	
  .mv__left--h2 strong {
	font-size: 24px;
  }
	
  .mv__left--p {
	text-align: center;
  }
	
  .mv__left--point {
	width: 120px;
	height: 120px;
	border-radius: 100%;
	display:flex;
    align-items:center;
    justify-content:center;
	line-height: 1.5;
  }
	
  .mv__left--img1 {
	top: 5%;
    left: -10%;
  }
	
  .mv__left--img2 {
	bottom: 45%;
	right: -20%;
  }
	
  .mv__right {
	flex-direction: row!important;
	gap: 24px;
  }
	
  .mv__right--heading {
	margin-bottom: 8px;
  }
	
  .mv__right--date {
    font-size: 18px;
  }
	
  .mv__right--weekday {
	font-size: 16px;
	width: 30px;
    line-height: 30px;	
  }
}

@media screen and (max-width:767px) {
  .mv__content {
	gap: 32px;	
  }
	
  .mv__left {
	gap: 8px;
    margin-top: 24px !important;	
  }
	
  .mv__left--h1 {
	margin-bottom: 24px!important;	
  }
	
  .mv__left--h2 strong {
	font-size: min(18px, 4.8vw);
  }
	
  .mv__left--point {
	font-size: 12px;
	width: 80px;
	height: 80px;
  }
	
  .mv__left--img1 {
	width: 40px;
  }

  .mv__left--img2 {
	width: 70px;
	bottom: 40%;
	right: -7.5%;
  }
	
  .mv__right {
	width: 96vw;
	gap: 8px;
	margin: 0 auto;
	justify-content: center;
  }
	
  .mv__right--heading {
	font-size: min(14px, 3.8vw);
	gap: 4px;
  }
	
  .mv__right--heading strong {
	font-size: min(14px, 3.8vw);
  }
	
  .mv__right--icon,
  .mv__right--icon img {
	width: 20px!important;
	height: 20px!important;
  }
	
  .mv__right p {
	font-size: min(12px, 3.2vw);
   }
	
  .mv__right--weekday {
    font-size: 12px;
    width: 24px;
    line-height: 24px;
  }
}


/********** cta **********/
.cta {
  padding: 40px 0;
}

/********** onayami **********/
.onayami__p {
  margin-bottom: 3em;
}

.onayami__upper-container {
  margin-bottom: 40px;
}

.onayami__under-container {
  gap: 10%;
}

@media screen and (max-width:1024px) {
  .onayami__upper-container {
	margin-bottom: 0;	
  }
	
  .onayami__upper-container,
  .onayami__under-container {
	flex-direction: column;
  }
	
  .hukidashi {
	flex-basis: 0 !important;
    width: 460px;
    height: 180px;
	margin-bottom: 24px !important;
  }
	
  .hukidashi__left {
	margin-right: 20vw!important;	
  }
	
  .hukidashi__right {
	margin-left: 20vw!important;	
  }
}

@media screen and (max-width:767px) {
  .hukidashi {
    width: 340px;
    min-height: 140px!important;
  }
	
  .hukidashi__left {
	margin-right: 5vw!important;	
  }
	
  .hukidashi__right {
	margin-left: 5vw!important;	
  }
	
  .onayami__img {
	width: 160px;
	margin: 0 auto;
  }
}

/********** solution **********/
.speaker__img {
  margin-bottom: 40px;
}

.speaker__info p {
  margin-bottom: 0;
}

.speaker__info--name {
  font-size: min(24px, 1.6vw);
  margin-bottom: 80px!important;
}

.speaker__message {
  width: 900px;
  margin: 0 auto;
}

.speaker__message span {
  text-decoration: underline;
  text-decoration-color: #F8D555 !important;
  text-decoration-thickness: 8px;
  text-underline-offset: -2px;
}

@media screen and (max-width:1024px) {
  .speaker__info--name {
    font-size: 20px;
  }
	
  .speaker__message {
	width: 90vw;	
  }
}

/********** seminar info **********/
.seminar__info--h3 {
  margin-bottom: 80px;
}

.seminar__info--table {
  width: 90vw;
  max-width: 800px;
  table-layout: fixed;
  margin: 0 auto;
  font-weight: 500;
}

.seminar__info--table th:nth-child(1),
.seminar__info--table td:nth-child(1) {
  width: 12.5%;
}

.seminar__info--table th:nth-child(2),
.seminar__info--table td:nth-child(2) {
  width: 43.75%;
}

.seminar__info--table th:nth-child(3),
.seminar__info--table td:nth-child(3) {
  width: 43.75%;
}

.seminar__info--p {
  width: 90vw;
  max-width: 800px;
  margin: 24px auto 80px;
  font-weight: 600;
}

.seminar__info--place {
  width: 90vw;
  max-width: 800px;
  padding: 40px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .seminar__info--table th:nth-child(1),
  .seminar__info--table td:nth-child(1) {
    width: 15%;
  }

  .seminar__info--table th:nth-child(2),
  .seminar__info--table td:nth-child(2) {
    width: 50%;
  }

  .seminar__info--table th:nth-child(3),
  .seminar__info--table td:nth-child(3) {
    width: 35%;
  }
	
  .seminar__info--place {
	padding: 40px 0;	
  }
	
  .map {
	width: 300px;
	height: 200px;
	display: block;
	margin: 0 auto;
  }
}

/********** voice **********/
.voices__container {
  width: 90%;
  max-width: 1200px;
  gap: 40px;
  margin: 0 auto;
}

.voice {
  position: relative;
}

.voice__p {
  font-weight: 500;
  padding: 20px;
  margin-bottom: 80px;
}

.voice__leaf {
  position: absolute;
  bottom: 0;
  right: 0;
}
	
@media screen and (max-width:1024px) and (min-width:768px) {
  .voices__container {
	display: grid!important;
	grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width:767px) {
   .voices__container {
	display: flex;
	flex-direction: column;
  }
}