/*
Theme Name: SC官公庁・自治体セミナー委託サービス
*/

@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
  --main-color: #000066;
  --second-color: #666699;
  --light-color: #c3f014;
  --txt-color: #222;
  --link-color: #20b2aa;
  --base-color: #f8f8f8;

  --gradation: linear-gradient(90deg, #89da22 14.16%, #43c5ee 85.84%);
  --shadow: 0 4px 11px 0 rgba(0, 0, 0, .01);
  --basic-width: 90%;
  --max-width: 1200px;
  --basic-radius: 10px;

  /* 行間 */
  --basic-lh: 1.8;

  /* 文字サイズに使用 */
  --fz10: calc(10 / 16 * 1rem);
  --fz11: calc(11 / 16 * 1rem);
  --fz12: calc(12 / 16 * 1rem);
  --fz13: calc(13 / 16 * 1rem);
  --fz14: calc(14 / 16 * 1rem);
  --fz15: calc(15 / 16 * 1rem);
  --fz18: calc(18 / 16 * 1rem);
  --fz20: calc(20 / 16 * 1rem);
  --fz22: calc(22 / 16 * 1rem);
  --fz24: calc(24 / 16 * 1rem);
  --fz30: calc(30 / 16 * 1rem);
  --fz36: calc(36 / 16 * 1rem);
  --fz40: calc(40 / 16 * 1rem);
  --fz64: calc(64 / 16 * 1rem);
}

* {
  box-sizing: border-box;
  font-family: "Open Sans", "Noto Sans JP", sans-serif;
  list-style: none;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 376px) {
  html {
    font-size: 13px;
  }
}

body {
  background: #fff;
  color: var(--txt-color);
  font-weight: 400;
  letter-spacing: .04em;
  text-align: justify;
}

@keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

a {
  color: var(--link-color);
}

a:hover {
  cursor: pointer;
}

.multiply {
  mix-blend-mode: multiply;
}

/* 共通
====================================================*/
.container {
  margin: 0 auto;
  max-width: var(--max-width);
  width: var(--basic-width);
}

.container--s {
  max-width: 900px;
}

.container--ss {
  max-width: 700px;
}

.sec-title {
  font-size: var(--fz40);
  letter-spacing: .08em;
  margin-bottom: .5em;
  text-align: center;
}

.sec-intro {
  line-height: var(--basic-lh);
  margin-bottom: 60px;
  text-align: center;
}

@media (max-width: 768px) {
  .sec-title {
    font-size: 28px;
  }

  .sec-intro {
    margin-bottom: 40px;
  }
}


/* === ボタン === */

.btn {
  background: var(--main-color);
  border-radius: 100vh;
  color: #fff;
  padding: .4em 1em;
  transition: .3s;
}

.btn:hover {
  background: var(--second-color);
}

.btn-icon {
  font-size: var(--fz14);
  margin-right: .6em;
}

.cv-btn {
  display: block;
  font-size: var(--fz24);
  font-weight: 600;
  letter-spacing: .08em;
  min-width: 15em;
  padding: 1em 2em;
  text-align: center;
  width: fit-content;
}

.cv-btn__icon {
  font-size: var(--fz18);
  margin-right: 8px;
}

.cv-btn span {
  display: block;
  font-size: var(--fz15);
  line-height: 1;
}

@media (max-width: 480px) {
  .cv-btn {
    width: 100%;
  }
}

/* === ページトップに戻るボタン === */

.pagetop {
  background: #fff;
  border-radius: 50%;
  bottom: 25px;
  display: grid;
  height: 60px;
  opacity: 0;
  overflow: hidden;
  overflow: visible;
  place-items: center;
  position: fixed;
  right: 20px;
  transition: visibility 0s 0.3s, opacity 0.3s ease;
  /* フェードインのトランジションを設定 */
  visibility: hidden;
  width: 60px;
  z-index: 99;
}

.pagetop.is-visible {
  opacity: 1;
  transition-delay: 0s;
  /* すぐに表示する */
  visibility: visible;
}

.pagetop span {
  color: var(--main-color);
  font-size: var(--fz12);
  font-weight: 600;
  left: 50%;
  position: absolute;
  text-align: center;
  top: 10%;
  transform: translateX(-49%);
  width: 7em;
}

.pagetop__icon {
  color: var(--main-color);
  font-size: var(--fz22);
  position: absolute;
  top: 35%;
}

@media(max-width: 599px) {
  .pagetop--higher {
    bottom: 13%;
  }
}

/* ヘッダー
====================================================*/

header {
  align-items: center;
  background: #fff;
  box-shadow: 4px 4px 10px 0px rgba(0, 0, 0, .01);
  display: flex;
  height: 80px;
  justify-content: space-between;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.header__wrapper {
  align-items: center;
  display: flex;
}

.header__cv-btn {
  letter-spacing: .08em;
  margin-right: 30px;
  padding: .4em 1em;
}

.sitename {
  color: var(--main-color);
  font-size: var(--fz20);
  font-weight: 700;
  padding-left: 20px;
}

.sitename__medium {
  display: block;
  font-size: var(--fz14);
  font-weight: 600;
  line-height: 1;
}

.sitename__small {
  font-size: var(--fz11);
  font-weight: 500;
}


@media (max-width: 768px) {
  .header__cv-btn {
    display: none;
  }
}

/* === ハンバーガー === */

.hamburger-menu {
  -webkit-appearance: none;
  appearance: none;
  background: var(--main-color);
  border: none;
  cursor: pointer;
  height: 80px;
  padding: 0;
  position: relative;
  width: 80px;
}

.hamburger-menu__bar {
  background: #fff;
  display: inline-block;
  height: 2px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  transition: .5s;
  width: 44%;
}

.hamburger-menu__bar:first-child {
  top: 30%;
}

.hamburger-menu__bar:nth-child(2) {
  top: 40%;
}

.hamburger-menu__bar:last-child {
  top: 50%;
}

.hamburger-menu--open .hamburger-menu__bar {
  top: 40%;
}

.hamburger-menu--open .hamburger-menu__bar:first-child {
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.hamburger-menu--open .hamburger-menu__bar:last-child {
  transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

.hamburger-menu--open .hamburger-menu__bar:nth-child(2) {
  display: none;
}

.hamburger-menu__caption {
  color: #fff;
  font-size: var(--fz12);
  font-weight: 700;
  left: 50%;
  position: absolute;
  top: 70%;
  transform: translate(-50%, -50%);
}

.navigation {
  background: rgba(255, 255, 255, .8);
  display: none;
  height: 100vh;
  padding: 60px 0;
  position: absolute;
  right: 0;
  top: 80px;
  width: 30%;
  z-index: 9999;
}

.navigation__list {
  margin: 0 auto;
  width: 65%;
}

.navigation__link {
  color: var(--txt-color);
  display: block;
  font-weight: 600;
  letter-spacing: .1em;
  padding: 1em 0;
  transition: .3s;
}

.navigation__link:hover {
  color: var(--second-color);
}

.navigation__list-item {
  list-style: none;
}

@media (max-width: 768px) {
  .navigation {
    background: #fff;
    width: 100%;
  }
}

/* メインビジュアル
====================================================*/

.mv {
  background-image: url(images/mv_bg.jpg);
  background-size: cover;
  height: 100vh;
  padding: calc(80px + 70px) 0;
  position: relative;
}

.mv__container {
  bottom: 8%;
  left: 5%;
  position: absolute;
}

.mv__copy {
  color: var(--main-color);
  font-size: var(--fz20);
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 2.2em;
  padding-left: .5em;
}

.mv__copy b {
  font-size: var(--fz24);
}

.badges {
  display: flex;
  gap: 30px;
  padding: 35px 0;
}

.badges img {
  width: 150px;
}

@media (max-width: 1024px) {
  .mv {
    background-image: linear-gradient(to right, rgba(60, 150, 190, 0.1), rgba(0, 0, 0, 0)), url('images/mv_bg.jpg');
    background-position-x: 48%;
    background-repeat: no-repeat;
    padding: calc(80px + 70px) 0 0;
    position: relative;
  }

  .mv__container {
    bottom: 5%;
    left: 20px;
    position: absolute;
    text-align: left;
  }

  .mv__copy {
    color: #fff;
    padding-left: 0;
  }

  .badges img {
    width: 100px;
  }
}


/* サービス概要・受注実績
====================================================*/

.services {
  padding: 80px 0;
}

.services__aligner {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(3, 1fr);
}

.services__item {
	display: grid;
	gap: 0;
	grid-row: span 2;
	grid-template-rows: subgrid;
}

.services__item-bx {
  background: var(--base-color);
  padding: 50px 25px;
  text-align: center;
}

.services__image {
  margin-bottom: 30px;
  width: 200px;
}

.services__hd {
  font-size: var(--fz20);
  letter-spacing: .08em;
  margin-bottom: .4em;
}

.services__intro {
  font-size: 1rem;
}

.services__desc {
  padding: 20px 25px;
}

.services__hd-s {
  font-size: var(--fz15);
  margin-bottom: .4em;
}

.services__list {
  font-size: var(--fz14);
}

@media (max-width: 1024px) {
	.services__aligner {
    gap: 10px;
    grid-template-columns: 1fr;
}

  .services__item {
    width: 100%;
  }

  .services__item-bx {
    padding: 25px 20px;
  }

  .services__image {
    margin-bottom: 15px;
    width: 130px;
  }

  .services__desc {
    padding: 15px 20px;
  }
}

/* 当サービスの強み
====================================================*/

.features {
  background: var(--base-color);
  padding: 80px 0;
}

.features__aligner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 20px;
}

.features__item {
  align-items: center;
  display: flex;
  gap: 60px;
}

.features__circle {
  background: var(--main-color);
  border-radius: 100%;
  color: #fff;
  flex-shrink: 0;
  height: 190px;
  position: relative;
  width: 190px;
}

.features__point {
  font-weight: 600;
  left: 50%;
  position: absolute;
  top: 35%;
  transform: translate(-50%, -50%);
}

.features__point-number {
  font-size: var(--fz64);
  font-weight: 400;
  left: 50%;
  position: absolute;
  top: 55%;
  transform: translate(-50%, -50%);
}

.features__hd {
  color: var(--main-color);
  font-size: var(--fz24);
  margin-bottom: .5em;
}

.features__intro {
  line-height: var(--basic-lh);
}

@media (max-width: 768px) {
  .features__aligner {
    padding: 10px;
  }

  .features__item {
    align-items: flex-start;
    gap: 15px;
  }

  .features__circle {
    height: 60px;
    width: 60px;
  }

  .features__point {
    font-size: 10px;
    top: 32%;
  }

  .features__point-number {
    font-size: 26px;
    top: 60%;
  }
}

/* 対応可能な講座例
====================================================*/

.kouza {
  padding: 80px 0;
}

.kouza__aligner {
  display: flex;
  gap: 30px;
  margin-bottom: 60px;
}

.kouza__item {
  background: var(--base-color);
  padding: 25px 30px;
}

.kouza__hd {
  background: #fff;
  border-radius: 100vh;
  font-size: var(--fz22);
  margin-bottom: 30px;
  padding: .2em .5em;
  text-align: center;
}

.kouza__hd-s {
  font-size: var(--fz15);
  margin-bottom: 0.5em;
}

.kouza__image {
  display: block;
  margin: 0 auto;
  margin-bottom: 30px;
  width: 130px;
}

.kouza__info-table {
  font-size: var(--fz15);
  margin-bottom: 1em;
}

.kouza__info-table tr {
  line-height: var(--basic-lh);
  vertical-align: top;
}

.kouza__info-table tr th {
  width: 6em;
}

.kouza__txt {
  font-size: var(--fz15);
  line-height: var(--basic-lh);
}

.kouza__btn {
  margin: 0 auto;
}

@media (max-width: 1024px) {

  .kouza {
    padding: 80px 0 0;
  }

  .kouza__aligner {
    flex-direction: column;
  }

  .kouza__btn {
    width: 100%;
  }
}


/* よくあるご質問
====================================================*/

.qa {
  padding: 80px 0;

}

.qa__item {
  background: var(--base-color);
  margin-bottom: 30px;
  padding: 30px;
}

.qa__item:last-of-type {
  margin-bottom: 0;
}

.qa__hd {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: var(--fz20);
  font-weight: 500;
  gap: 15px;
  letter-spacing: .08em;
}

.qa__hd::-webkit-details-marker {
  display: none;
}

.qa__q {
  background: var(--main-color);
  color: #fff;
  display: inline-block;
  flex-shrink: 0;
  font-family: "Roboto";
  font-size: var(--fz30);
  font-weight: 700;
  height: 54px;
  position: relative;
  width: 54px;
}

.qa__q span {
  left: 50%;
  position: absolute;
  top: 44%;
  transform: translate(-50%, -50%);
}

.qa__answer {
  margin-top: 1em;
  overflow: hidden;
  padding-left: calc(54px + 15px);
}

.qa__txt {
  line-height: var(--basic-lh);
  margin-bottom: 1em;
}

.qa__txt:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .qa__item {
    padding: 20px;
  }

  .qa__q {
    height: 40px;
    width: 40px;
  }

  .qa__answer {
    padding-left: calc(40px + 15px);
  }
}


/* お問合せ
====================================================*/

.contact {
  background: var(--base-color);
  padding: 80px 0;
  text-align: center;
}

.contact__btn {
  margin: 0 auto 20px;
}

.tel-number {
  color: var(--main-color);
  font-size: var(--fz36);
  font-weight: 700;
  letter-spacing: .08em;
  transition: .3s;
}

.tel-number:hover {
  color: var(--second-color);
}

.tel-number span {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin-right: .25em;
}

@media (max-width: 768px) {
  .contact {
    padding: 60px 0;
  }
}


/* フッター
====================================================*/
footer {
  color: var(--txt-color);
  padding: 80px 0 20px;
}

.footer__aligner {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 60px;
}

.footer__logo {
  height: 100%;
  width: 90px;
}

.footer__company-name {
  font-weight: 700;
}

.footer__company-address {
  font-size: var(--fz14);
  font-weight: 500;
  margin-bottom: .5em;
}

.footer__company-info {
  font-size: var(--fz10);
}

.copyright {
  font-size: var(--fz10);
  text-align: center;
}

@media (max-width: 768px) {
  footer {
    padding: 60px 0 20px;
  }

  .footer__aligner {
    gap: 15px;
  }

  .footer__logo {
    width: 70px;
  }

  .footer__company-info {
    font-size: 10px;
  }

  .copyright {
    font-size: 10px;
  }
}

/* page
====================================================*/

.page-head {
  background-image: url(images/mv_bg.jpg);
  background-size: 240%;
  height: calc(250px + 80px);
  margin-bottom: 80px;
  padding: 160px 0;
}

.page-head__title {
  color: #fff;
  font-size: var(--fz40);
  letter-spacing: .08em;
  text-align: center;
}

@media (max-width: 768px) {
  .page-head {
    height: calc(160px + 80px);
    margin-bottom: 60px;
    padding: 140px 0;
  }
}


/* フォーム
====================================================*/

select {
  -webkit-appearance: none;
  appearance: none;
  -moz-appearance: none;
  background: var(--bg-color);
  border: none;
}

/* セレクトボックスの矢印デザイン変更 */
/* 
.form__select {
  position: relative;
}

.form__select::before {
  border-bottom: 4.5px solid red;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  content: "";
  position: absolute;
  right: 16px;
  top: 19px;
  width: 0;
}

.form__select::after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4.5px solid red;
  content: "";
  position: absolute;
  right: 16px;
  top: 30px;
  width: 0;
} */

/* プレースホルダー */
.form__item input::placeholder {
  color: #b3b3b3;
}

.form__item input:-moz-placeholder {
  color: #b3b3b3;
}

.form__item textarea::-webkit-input-placeholder {
  color: #b3b3b3;
}

.form__item textarea:-moz-placeholder {
  color: #b3b3b3;
}

.form__item textarea::-moz-placeholder {
  color: #b3b3b3;
}

.form__item textarea:-ms-input-placeholder {
  color: #b3b3b3;
}

/* チェックボックスのデフォルトスタイルを復活させる */
.mw_wp_form input[type="checkbox"] {
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  appearance: checkbox;
}

.form__privacy-policy {
  border: 1px solid #eee;
  color: #555;
  font-size: var(--fz14);
  height: 12em;
  margin-bottom: 20px;
  overflow-y: scroll;
  padding: 2em;
}

.form__privacy-policy::-webkit-scrollbar {
  background: yellow;
  height: 15px;
  width: 15px;
}

.form__privacy-policy::-webkit-scrollbar-thumb {
  background: #eee;
}

.form__privacy-policy::-webkit-scrollbar-track {
  background-color: #fff;
}


/* 確認画面へボタン */
.form__item-btn {
  border: none;
  cursor: pointer;
  display: block;
  font-size: var(--fz22);
  font-weight: 600;
  letter-spacing: .1em;
  margin: 0 auto;
  padding: .8em 1em;
  width: 14em;
}

.form__item--read .mwform-checkbox-field label {
  cursor: pointer;
  display: block;
  margin-bottom: 0;
  text-align: center;

}

.mw_wp_form label {
  display: inline-block;
  font-weight: 700;
  margin-bottom: .8em;
}

/* 
.form__item-list li::before {
  color: var(--accent-color);
  content: "\f14a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 10px;
} */

.mw_wp_form .error {
  color: #B70000;
  display: block;
  font-size: var(--fz13);
  margin-top: .4em;
}


/* テキストフィールドとテキストエリアのスタイル */
.mw_wp_form input[type="text"], .mw_wp_form input[type="email"], .mw_wp_form input[type="url"], .mw_wp_form input[type="tel"], .mw_wp_form input[type="number"], .mw_wp_form textarea, .mw_wp_form select {
  background: var(--base-color);
  border: none;
  font-size: 1rem;
  margin-bottom: 0px;
  padding: 1em;
  width: 100%;
}

.form__item {
  margin-bottom: 1.5em;
}

.form__item-desc {
  font-size: var(--fz14);
  margin-bottom: 1rem;
}

.form__item--read .mwform-checkbox-field {
  background: var(--base-color);
  color: var(--txt-color);
  display: block;
  padding: 1em;
  text-align: center;
}


/* チェックボックスの文字 */
.mwform-checkbox-field-text {
  font-size: 1rem;
  font-weight: 500;
}

/* === mw wp form: 確認画面 === */

.mw_wp_form_confirm {
  background-color: var(--base-color);
  padding: 30px 40px;
}

.mw_wp_form_confirm .form__privacy-policy {
  display: none;
}

.mw_wp_form_confirm .form__item--button {
  margin-top: 60px;
}

.mw_wp_form_confirm .form__item-btn {
  margin: 0px auto -20px;
}

/* === mw wp form: 完了画面 === */
.mw_wp_form_complete {
  background-color: var(--base-color);
  padding: 40px 30px;
  text-align: center;
}

@media (max-width: 768px) {
  .mw_wp_form_confirm, .mw_wp_form_complete {
    padding: 30px;
  }
}