@charset "UTF-8";
html {
  font-size: 62.5%;
}

body {
  font-family: "ヒラギノ丸ゴ Pro";
  background-color: #ddeeff;
}

header {
  background-color: #0052a5;
  /*  ナビゲーションメニューの表示切り替え */
  /* PC Navメニュー */
  /* フロントページカバー写真 */
}

header h1 {
  color: white;
  font-size: 3.6rem;
  padding-top: 30px;
  padding-left: 70px;
  padding-bottom: 20px;
}

@media (max-width: 749px) {
  header h1 {
    font-size: 2rem;
    padding-left: 15px;
    padding-right: 60px;
  }
}

@media (min-width: 750px) {
  header .sp-nav {
    display: none;
  }
}

@media (max-width: 749px) {
  header .top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  header .nav {
    display: none;
  }
  header .humberger {
    position: absolute;
    top: 12px;
    right: 10px;
    height: 60px;
    width: 60px;
  }
  header .line {
    position: absolute;
    background-color: white;
    height: 3px;
    width: 34px;
  }
  header .line01 {
    top: 20px;
    left: 10px;
  }
  header .line02 {
    top: 30px;
    left: 10px;
  }
  header .line03 {
    top: 40px;
    left: 10px;
  }
  header .sp-nav-li {
    display: none;
    position: absolute;
    text-align: center;
    width: 140px;
    top: 60px;
    right: 1%;
    background-color: #12304a;
  }
  header .sp-nav-li li {
    list-style: none;
    margin: 5px;
    padding: 5px 0;
  }
  header .sp-nav-li li:hover {
    background-color: #0052a5;
  }
  header .sp-nav-li a {
    color: white;
    text-decoration: none;
  }
}

header .nav {
  text-align: center;
  font-size: 2.4rem;
  height: 60px;
  background-color: #12304a;
  border-bottom: solid 2px  #0052a5;
}

header .nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

header .nav ul li {
  border-right: solid 2px #0052a5;
  width: 20%;
  margin-bottom: 0;
  padding-top: 10px;
  padding-bottom: 12px;
  list-style: none;
}

header .nav ul .home {
  border-left: solid 2px #0052a5;
}

header .nav ul a {
  text-decoration: none;
  color: white;
}

header .nav ul li:hover {
  background-color: #0052a5;
  -webkit-transition: .3s;
  transition: .3s;
}

header .cover .box {
  background-image: url(../images/cover.jpg);
  height: 300px;
  width: 100%;
  background-size: cover;
  background-position: 50% 30%;
}

@media (max-width: 749px) {
  header .cover .box {
    height: 200px;
  }
}

/* フロントページサブタイトル */
.subtitle h2 {
  font-size: 2.9rem;
  color: #0052a5;
  background-color: #ddeeff;
  padding-top: 45px;
  padding-bottom: 25px;
  margin-bottom: 0;
  text-align: center;
}

@media (max-width: 749px) {
  .subtitle h2 {
    font-size: 2rem;
  }
}

/* フロントページ背景色調整*/
.eight {
  background-color: #ddeeff;
}

.four {
  background-color: #ddeeff;
  margin: 0;
}

/* フロントページ自己紹介欄 */
.greeting {
  background-color: white;
  margin: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.greeting .face {
  width: 50%;
  padding: 20px;
}

.greeting .introduction {
  width: 50%;
  padding: 20px;
}

.greeting .introduction .name {
  font-size: 2.4rem;
  padding-bottom: 20px;
}

@media (max-width: 749px) {
  .greeting .introduction .name {
    font-size: 1.7rem;
  }
}

.greeting .introduction .license {
  font-size: 2rem;
  list-style: none;
}

@media (max-width: 749px) {
  .greeting .introduction .license {
    font-size: 1.6rem;
  }
}

.greeting .introduction .license li {
  margin: 0;
}

.greeting .introduction .favorite {
  font-size: 2rem;
}

@media (max-width: 749px) {
  .greeting .introduction .favorite {
    font-size: 1.6rem;
  }
}

.greeting .introduction .favorite td {
  border: none;
}

.greeting .introduction .favorite .left {
  vertical-align: top;
  padding-right: 0;
}

.greeting .introduction .favorite .right {
  padding-left: 2px;
}

.article {
  background-color: white;
  margin: 20px;
  padding: 20px;
}

.article h3 {
  font-size: 2.4rem;
  color: #0052a5;
}

@media (max-width: 749px) {
  .article h3 {
    font-size: 2rem;
  }
}

.article p {
  font-size: 2rem;
}

@media (max-width: 749px) {
  .article p {
    font-size: 1.6rem;
  }
}

/* フロントページ実績欄 */
.performance {
  background-color: white;
  padding: 20px;
  margin: 20px;
}

.performance h3 {
  font-size: 2.4rem;
  color: #0052a5;
}

@media (max-width: 749px) {
  .performance h3 {
    font-size: 2rem;
  }
}

.performance td {
  font-size: 2rem;
  border: none;
  vertical-align: top;
}

@media (max-width: 749px) {
  .performance td {
    font-size: 1.6rem;
  }
}

/*  フロントページNHK出演欄 */
.nhk {
  background-color: white;
  margin-top: 20px;
  margin-right: -30px;
}

@media (max-width: 749px) {
  .nhk {
    margin: 20px 20px 0 20px;
  }
}

.nhk img {
  padding: 20px;
}

.nhk .nhktext {
  padding: 0 20px 20px 20px;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

/* フロントページ新聞欄 */
.newspaper {
  background-color: white;
  margin-top: 20px;
  margin-right: -30px;
}

@media (max-width: 749px) {
  .newspaper {
    margin: 20px 20px 0 20px;
  }
}

.newspaper img {
  padding: 20px 20px 0 0;
}

.newspaper .newstext {
  text-align: center;
  padding-bottom: 20px;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

/* フロントページ書籍紹介欄 */
.book {
  background-color: white;
  margin-right: -30px;
  text-align: center;
}

@media (max-width: 749px) {
  .book {
    margin: 20px 20px 0 20px;
  }
}

.book img {
  padding: 20px 20px 10px 20px;
  width: 70%;
  height: auto;
}

.book .book-text {
  font-size: 16px;
  padding: 0 20px 10px 20px;
}

.book .book-title {
  font-size: 20px;
  margin: 0;
}

/* フッター */
/* フッターのfloatを防ぐ */
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

footer {
  height: 100px;
  margin-top: 20px;
  color: white;
  font-size: 2rem;
  text-align: center;
  line-height: 100px;
  background-color: #005488;
}

@media (max-width: 749px) {
  footer {
    font-size: 1rem;
    height: 60px;
    line-height: 60px;
  }
}

footer p {
  margin: 0;
}

/* 事務所ページ、事業紹介ページ */
.main {
  padding: 20px 20px;
  font-size: 2rem;
}

@media (max-width: 749px) {
  .main {
    font-size: 1.6rem;
  }
}

.main h1 {
  font-size: 3rem;
  color: #0052a5;
  background-color: white;
  margin-bottom: 0;
  padding: 20px;
}

@media (max-width: 749px) {
  .main h1 {
    font-size: 2rem;
  }
}

.main .introduce {
  background-color: white;
  padding: 20px;
}

.main .license {
  background-color: white;
  padding: 20px;
  margin-top: 20px;
}

.main .register {
  background-color: white;
  padding: 20px;
  margin-top: 20px;
}

.main h3 {
  font-size: 2.4rem;
  color: #0052a5;
}

@media (max-width: 749px) {
  .main h3 {
    font-size: 1.8rem;
  }
}

.main td {
  vertical-align: top;
  border: none;
}

/* 事業紹介ページ行間調整 */
.work p {
  line-height: 1.8;
}

/* お問い合わせページ */
.contact-main {
  margin: 20px;
}

@media (min-width: 750px) {
  .contact-main {
    border-top: solid 20px white;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .contact-main .contact {
    width: 70%;
  }
  .contact-main .example {
    width: 30%;
  }
}

iframe {
  border: none;
}

.example {
  background-color: white;
  padding: 20px;
  color: #627373;
  font-size: 1.6rem;
}

.example h3 {
  font-size: 2rem;
  text-align: center;
}

@media (max-width: 749px) {
  .cu-form-header__name {
    display: none;
  }
}

/* トップに戻るボタン */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  width: 40px;
  height: 40px;
  background-color: #f0f0f0;
  color: #333;
  opacity: 0.6;
  font-size: 1.6rem;
  line-height: 40px;
  text-align: center;
  text-decoration: none;
}

/* マウスを乗せた時に透明度を変える */
.back-to-top:hover {
  opacity: 1;
}
/*# sourceMappingURL=yamanaka.css.map */