@charset 'utf-8';
/*
Theme Name: Hiro Languages
*/

:root {
  --base: #EBE9E0;
  --primary: #4F6C2B;
  --text1: #575757;
  --text2: #ADACAC;

}

html {
  font-size: 100%;
}

body {
  font-family: 'Jost', 'Yu Gothic', sans-serif;
  color: var(--text1);
  font-size: 1.25rem;
  line-height: 1.5;
}
a {
  text-decoration: none;
  color: var(--text1);
}

img {
  max-width: 100%;
}
li {
  list-style: none;
}
.site-title {
  width: 120px;
  line-height: 1px;
  padding: 10px 0;
}
.site-title a {
  display: block;
}
.section-title {
  display: inline-block;
  font-size: 3.4rem;
  text-align: center;
  margin: 0 0 40px;
  color: var(--primary);
  border-bottom: solid 2px var(--text1);
}
.content-title {
  font-size: 1rem;
  margin: 10px 0;
}
.wrapper {
  max-width: 1116px;
  margin: 0 auto 80px auto;
  padding: 0 2%;
  text-align: center;
}

/* ヘッダー */
.nav-toggle-check {
  display: none;
}

header {
  z-index: 9999;
}

.header {
    width: 100%;
    height: 80px;
    background-color: rgba(79, 108, 43, 0.8);
    color: #fff;
    position: fixed;
}

.header_content {
  display: flex;
  height: 80px;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto; 
  max-width: 1116px;
}


.site-title {
    width: 56px;
    margin: 0;
}

.site-title a:hover {
  transform:scale(1.2,1.2);
}

#header ul {
  display: flex;
  padding: 0;
  margin: 0;
}
#header li {
  margin-left: 40px;
  line-height: 80px;
}
.nav_black  a {
  font-size: 1.25rem;
  color: var(--base);
}
.nav_black a:hover {
  color: var(--text1);
}

.nav_lesson {
  background-color: rgba(241, 252, 113, 0.8);
  padding: 0 24px;
  color: var(--text1);
}

.nav_lesson a:hover {
  color: #fff;
}

.nav_drop {
  display: block;
}


/* メインビジュアル */
#mainvisual {
  padding-top: 80px;
  margin-bottom: 0;
  height: 700px;
  position: relative;
}

.mv_photo img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  object-position: 30% 0%;
}

.mv_catchphrase {
  display: flex;
  align-items: center;
  position: absolute;
  top: 30%;
  left: 40%;
  transform: translateX(-30%);
}

.mv_logo {
  width: 185px;
}

.mv_text {
  font-size: 5rem;
  font-weight: bold;
  color: #fff;
  margin-left: 32px;
  text-shadow: 1px 2px 3px #000;
}


/* About */
#about {
  background-color: var(--base);
  padding: 80px 0 60px;
}
#about .content {
  display: flex;
  justify-content: center;
  align-items: center;
}

#about img {
  width: 365px;
  height: 365px;
  margin-right: 24px;
  object-fit: cover;
}

#about .text {
  text-align: left;
}

.about_japanese {
  margin-bottom: 40px;
}

.about_link {
  margin-top: 40px;
  text-align: end;
  text-decoration: underline;
  font-weight: bold;
  align-items: center;
}

.fa-chevron-right {
  margin-left: 8px;
}

/* News */
#news {
  padding: 80px 0 60px;
}

article {
  display: flex;
  margin-bottom: 32px;
  align-items: center;
}

.article_photo {
  width: 60%;
  height: 240px;
}

.article_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article_text {
  width: 100%;
  margin-left: 24px;
}

.article-title {
 text-align: start;
 margin-left: 16px;
}

article ul {
  display: flex;
  padding: 0;
  color: var(--primary);
}

.article-title {
 text-align: start;
}

article li {
  margin: 0 16px;
}

article .text {
  text-align: start;
  margin: 0 16px;
}

.readmore {
  text-align: end;
  text-decoration: underline;
  margin-top: 8px;
  margin-right: 24px;
}

.readmore a:hover {
  opacity: 0.7;
}

.link_btn {
  margin: 80px 0 40px;
}

.link_btn a {
  background-color: #000;
  color: #fff;
  padding: 8px 60px;
}

.link_btn a:hover {
  background-color: var(--primary);
} 

/* footer */
.sns {
  text-align: center;
}

.fa-facebook-square, .fa-instagram, .fa-envelope-square {
  font-size: 2.5em;
  color: #ADACAC;
  margin: 0 16px 40px;
}

.fa-facebook-square:hover, .fa-instagram:hover, .fa-envelope-square:hover {
  color: var(--primary);
}

.copylight {
  height: 60px;
  background-color: var(--base);
  align-items: center;
}

.copylight p {
  font-size: 1rem;
  text-align: center;
  line-height: 60px;
}

/* =======  archive.php  ======== */
.customize-support > #news {
  padding-top: 200px;
}

/* =======  single.php  ======== */
.single_article {
  display: block;
  padding-top: 140px;
}


.post-link {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.post-link li {
  margin: 0 40px;
}

/* =======  page.php  ======== */
.page_wrap {
  padding-top: 140px;
}

.page_wrap h1 {
  text-align: center;
  color: var(--primary);
  font-size: 3.4rem;
  margin: 0;
}

.page_container {
  max-width: 1116px;
  margin: auto;
  padding: 40px 0 80px;
}

.wp-block-image img {
  object-fit: contain;
}


/* =======  contactページ  ======== */
#contact_content {
  width: 60%;
  margin: 0 auto;
}

.contact_lead 
{
  text-align: center;
}

.must {
	color: #FF1A00;
  font-size: 0.8rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 textarea  {
	 width: 100%;
	 padding: 8px 15px;
	 margin-right: 10px;
	 margin-top: 10px;
	 border: 1px solid #ddd;
	 border-radius: 3px;
}

input.sub-btn {
	width: 103%;
	height: 40px;
	background: #000;
  border: none;
	color: #FFF;
	font-size: 1rem;
	letter-spacing: 0.2em;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
  margin: 24px 0 40px;
}

input.sub-btn:hover{
	background: var(--primary);
	color: #fff;  
}



/* ===============================
  SP style 
================================== */

@media screen and (max-width: 767px) {
/* 共通 */
body {
  font-size: 1rem;
  line-height: 1.25;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.link_btn {
  margin: 40px 0 20px;
}

.link_btn a {
  background-color: #000;
  color: #fff;
  padding: 6px 40px;
}
  
/* SP ヘッダー */
.header  {
  height: 54px;
}

  /* SP ナビゲーショントグル */
  .sp-global-nav {
    display: block;
  }

.nav-toggle {
  display: block;
  position: fixed;
  width: 40px;
  height: 40px;
  right: 24px;
  top: 8px;
  z-index: 99999;
}
.nav-toggle span {
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: #fff;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
}
.nav-toggle span:before,
.nav-toggle span:after {
  content: '';
  width: 30px;
  height: 3px;
  background-color: #fff;
  display: block;
  transition: transform .3s;
}

.nav-toggle span:before {
  transform: translateY(-8px);
}

.nav-toggle span:after {
  transform: translateY(5px);
}


.nav-toggle-check:checked ~ .global-nav {
  transform: translateY(0);
}

.nav-toggle-check:checked ~ .nav-toggle span {
  height: 0;
}

.nav-toggle-check:checked ~ .nav-toggle span:before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle-check:checked ~ .nav-toggle span:after {
  transform: translateY(-3px) rotate(-45deg);
}

.nav-toggle {
  margin: 8px 0;
}

/* SP グローバルナビゲーション */
.global-nav {
  transform: translateY(-115%);
  position: fixed;
  top: 60px;
  left: 0;
  transition: transform .3s;
  z-index: 99998;
  background-color: var(--base);
  width: 100%;
  padding: 24px;
}

.global-nav  { box-sizing: border-box; }

.global-nav > .container {
height: 480px;
background-color: #fff;
margin: auto;
}

#header ul {
  display: block;
}

#header li {
  margin: 0;
}

.global-nav ul {
  text-align: center;
}

.global-nav a {
  color: var(--text1);
}

.global-nav li {
  margin: 0;
}

.hover_black:hover {
  color: var(--text2);
}

.nav_lesson a {
  font-size: 1.2rem;
}

 /* SP メインビジュアル */
 #mainvisual {
   height: 400px;
 }

 .mv_photo img {
   height: 400px;
 }

 .mv_logo {
   width: 130px;
 }

.mv_text {
  font-size: 2rem;
}

/* SP About */
  #about .content {
    flex-direction: column;
  }

  #about img {
    width: 240px;
    height: 240px;
    margin-right: 0;

  }
  
/* SP Coffee */
  #coffee ul {
    display: block;
  }
  #coffee li {
    width: 100%;
    margin-bottom: 30px;
    padding: 0 24px;
    box-sizing: border-box; 
  }

  #coffee img {
      height: 300px;
  }

  /* SP News */
  article {
    display: block;
    margin-bottom: 60px;
  }

  .article_photo {
    width: 70% ;
    height: 240px;
    margin: 16px auto 0;
  }
  
  .article_text {
    margin: 0;
  }
  
  .article-title {
   margin: 16px 0 0 16px ;
  }

  .article-title a {
    font-size: 1.125rem;
  }

  .meta {
    margin: 8px 0;
  }
  
  article li {
    font-size: 0.9rem;
    margin: 0 16px;
  }

  
/* =======  SP single.php  ======== */
  .post-link {
    padding: 0;
  }

  .post-link a {
    font-size: 0.9rem;
  }

/* =======  page.php  ======== */

.page_wrap h1 {
  font-size: 2rem;
}

.wp-block-image img {
  object-fit: contain;
  height: 120px;
}

}

