/* Web Fonts
=============================================================*/

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;700&display=swap");

/* カスタムプロパティ
=============================================================*/

:root {
  /* 色 */
  --color-fonts: #333333; /* 文字 */
  --color-base: #ffffff; /* ベースカラー */
  --color-main: #00a199; /* メインカラー */
  --color-sub: #006eb7; /* サブカラー */
  --color-accent: transparent; /* アクセントカラー */
  --color-border: #cccccc; /* 境界 */
  --color-border-rgb: rgb(204, 204, 204);
  /* z-index */
  --z-index-container: 0;
  --z-index-header: 100;
  --z-index-overlay: 200;
  --z-index-spmenu: 300;
  --z-index-hamburger: 400;
  /* font-family */
  --font-family-notosansjp: "Noto Sans JP", "Helvetica Neue", Arial,
  "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-family-opensans: "Open Sans", sans-serif;
}

/* 初期化
=============================================================*/

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
}

a:hover {
  opacity: 1;
}

address {
  font-style: normal;
}

img {
  image-rendering: auto;
}

hr {
  width: 100%;
  height: 0;
  margin: 20px 0;
  border: none;
  border-top: 2px solid var(--color-border);
}

/* Chromeで画像がぼやけるのを防ぐ */
_:lang(x)::-internal-media-controls-overlay-cast-button, img {
  image-rendering: -webkit-optimize-contrast;
}


/* Fonts
=============================================================*/

body {
  color: var(--color-fonts);
  font-weight: 400;
  font-family: var(--font-family-notosansjp);
}

/* 文字詰めを自動調整する */
.palt {
  font-feature-settings: "palt";
}

/* コロンの高さ調整 */
.colon {
  vertical-align: .06em;
}

/* ハイフンの高さ調整（電話番号など） */
.hyphen {
  vertical-align: .06em;
}

/* Wrapper
=============================================================*/

.container {
  z-index: var(--z-index-container);
  width: 100%;
  overflow-x: hidden;
  background-color: var(--color-base);
}

/* Main
=============================================================*/

.main {
  width: 100%;
}

/* Header 'header, h'
=============================================================*/

.header {
  position: relative;
  z-index: var(--z-index-header);
  width: 100%;
  box-shadow: 0 0 4px #cccccc;
  background-color: rgba(255, 255, 255, .8);
}


@media only screen and (min-width: 768px) {
  /* ヘッダー固定 */
  .header--fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index:999;
  }
}


.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 92%;
  margin: 0 auto;
  padding: 12px 0;

  gap: 12px;
}

/* ヘッダーロゴ */
.h-logo {
  width: 200px;
}

.h-logo {
  display: block;
}

.h-logo img {
  display: block;
  width: 100%;
  height: auto;
}

@media only screen and (max-width: 767.98px) {
  .h-logo {
    width: 80px;
  }
}

/* グローバルナビ 
=============================================================*/

/* PC */
@media only screen and (min-width: 768px) {
  .g-nav {
    font-size: 18px;
  }

  .g-nav__ul {
    display: flex;
    list-style: none;
  }

  .g-nav__li {
    padding: .25em .75em;
    line-height: 1em;
  }

  .g-nav__li:not(:last-child) {
    border-right: 1px solid var(--color-fonts);
  }

  .g-nav a {
    display: inline-block;
    color: inherit;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
  }

  .g-nav a:hover {
    opacity: .8;
  }
}

/* mobile */
@media only screen and (max-width: 767.98px) {
  .g-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: var(--z-index-spmenu);
    transform: translateY(-100%);
    width: 100%;
    padding: 0;
    overflow-y: auto;
    background: none;
    font-size: 18px;
    transition: all .6s;

    font-feature-settings: "palt";
  }

  .g-nav__ul {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .g-nav__li {
    justify-content: center;
    width: 100%;
    background-color: rgba(255, 255, 255, .9);
  }

  .g-nav__li a {
    display: block;
    position: relative;
    padding: .75em 0;
    background-image: none;
    color: var(--color-fonts);
    font-weight: 500;
    text-decoration: none;
    text-decoration: none;
    text-align: center;
  }

  .g-nav__li span {
    margin-right: -.1em;
    letter-spacing: .1em;
  }

  .g-nav__li:not(:last-child) {
    border-bottom: 2px solid var(--color-border);
  }

  .g-nav.active {
    transform: translateY(0%);
  }
}

/*  ハンバーガーメニュー
=============================================================*/

.hamburger {
  display: none;
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: var(--z-index-hamburger);
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: rgba(189, 230, 252, .6);
  text-align: center;
  cursor: pointer;
}

@media only screen and (max-width: 767.98px) {
  .hamburger {
    display: block;
  }
}

.hamburger::before {
  display: block;
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  color: var(--color-main);
  font-size: 10px;
  font-family: var(--font-family-opensans);
  content: "MENU";
  transition: .6s ease-in-out;
}

.hamburger span {
  display: block;
  position: absolute;
  left: 6px;
  width: 30px;
  height: 2px;
  background: var(--color-main);
  transition: .3s ease-in-out;
}

.hamburger span:nth-of-type(1) {
  top: 10px;
}

.hamburger span:nth-of-type(2) {
  top: 20px;
}

.hamburger span:nth-of-type(3) {
  top: 30px;
}

.hamburger.active {
  position: fixed;
}

.hamburger.active span {
  background: #ff5f57;
}

.hamburger.active::before {
  content: "CLOSE";
}

.hamburger.active span:nth-of-type(1) {
  top: 20px;
  left: 6px;
  transform: rotate(-45deg);
}

.hamburger.active span:nth-of-type(2), .hamburger.active span:nth-of-type(3) {
  top: 20px;
  transform: rotate(45deg);
}

/* ハンバーガーメニュー表示時のオーバーレイ */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-index-overlay);
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, .4);
  content: "";
}

@media only screen and (max-width: 767.98px) {
  .overlay.active {
    display: block;
  }
}

/* オーバーレイのフェードアニメーション */
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Footer 'footer, f'
=============================================================*/
.footer {
  width: 100%;
  margin: auto 0 0;
}

.sect-footer {
  display: flex;
  align-items: center;
  width: 92%;
  max-width: 992px;
  margin: 0 auto;

  gap: 40px;
}

@media only screen and (max-width: 767.98px) {
  .sect-footer {
    flex-direction: column;
  }
}

/* フッターアドレス */
.f-addr {
  flex: 1;
}

.f-addr__text {
  font-size: 14px;
}

.f-addr__logo {
  width: 200px;
}

.f-addr__logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* フッターナビ */
.f-nav {
  flex: 2;
}

.f-nav a {
  text-decoration: none;
}

.f-nav__ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  list-style: none;
  font-size: 14px;

  gap: 2em 0;
}

.f-nav__li {
  margin-left: -1px;
  padding: 0 1em;
  border-right: 1px solid #333333;
  border-left: 1px solid #333333;
  white-space: nowrap;
}

@media only screen and (max-width: 767.98px) {
  .f-nav__ul {
    justify-content: center;
  }
}

/* コピーライト */
.f-copy {
  display: block;
  padding: 1em 0;
  background: var(--color-main);
  color: #ffffff;
  font-size: 16px;
  line-height: 1em;
  text-align: center;
  white-space: nowrap;
}

/* Sidebar 'sidebar'
=============================================================*/

.sidebar {
  flex: 1 0 200px;
  max-width: 280px;
  margin-top: 23px;
}

/* .sidebar a{
  color: var(--color-main);
} */

@media only screen and (max-width: 767.98px) {
  .sidebar {
    flex: 1;
    max-width: initial;
  }
}

.sidebar ul {
  list-style: none;
}

.sidebar .archive-dropdown {
  width:100%;
  max-width:200px;
  appearance: auto !important;
}

/*=============================================================

コンテンツ

=============================================================*/

/* メインビジュアル、アイキャッチ 'main-visual ,eyecatch'
=============================================================*/

.eyecatch {
  display: block;
  width: 100%;
  height: auto;
  margin: 20px 0 0;
}

.eyecatch img {
  display: block;
  width: 100%;
  height: auto;
}

/* 項 'sect, section'
=============================================================*/

/* 基本 */
.sect {
  width: 100%;
  margin: 80px auto;
}

/* 固定ページ */
.sect-page {
  width: 92%;
  max-width: 960px;
  margin: 0 auto;
}

/* ブログ2カラム */
.sect-twocol-blog {
  display: flex;
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;

  gap: 80px 40px;
}

@media only screen and (max-width: 767.98px) {
  .sect-twocol-blog {
    flex-direction: column;
  }
}

/* ブログ */
.sect-blog {
  flex: 3 1 auto;
  /* max-width: 840px; */
  overflow: hidden;
}

@media only screen and (max-width: 767.98px) {
  .sect-blog {
    flex: 1;
    max-width: initial;
  }
}

/* アーカイブ投稿抜粋 */
.sect-archive {
  width: 100%;
  margin: 0;
}

.sect-archive:not(:first-child) {
  margin: 40px 0 0;
}

.sect-side {
  margin: 0;
}

.sect-side:not(:first-child) {
  margin: 40px 0 0;
}

/* 見出し 'heading'
=============================================================*/

/* 見出し基本 */
.heading {
  font-weight: 500;
  font-size: 28px;
  letter-spacing: .05em;
}

@media only screen and (max-width: 767.98px) {
  .heading {
    font-size: 20px;
  }
}

.heading a {
  text-decoration: none;
}

/* 見出し固定ページ */
.heading-page {
  position: relative;
  width: fit-content;
  margin: 0 0 1em;
  color: var(--color-main);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.5em;
  letter-spacing: .05em;
}

@media only screen and (max-width: 767.98px) {
  .heading-page {
    font-size: 24px;
  }
}

/* 見出し固定ページを中央揃え */
.heading-page--center {
  margin-right: auto;
  margin-left: auto;
  padding-left: .05em;
}

.heading-page--center:after {
  left: 50%;

  translate: -50% 0;
}

/* 見出し投稿 */
.heading-single {
  margin-bottom: .5em;
  padding-bottom: .5em;
  border-bottom: 2px solid var(--color-border);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: .05em;
  color: var(--color-main);
}

@media only screen and (max-width: 767.98px) {
  .heading-single {
    font-size: 20px;
  }
}

/* .heading-single--color-main {
  color: var(--color-main);
}

.heading-single--color-sub {
  color: var(--color-sub);
} */

.heading-single a {
  text-decoration: none;
}

/* サイドバー見出し */
.heading-side {
  margin-bottom: .5em;
  padding-bottom: .5em;
  border-bottom: 2px solid var(--color-border);
  color: var(--color-main);
  font-weight: 500;
  font-size: 24px;
}

@media only screen and (max-width: 767.98px) {
  .heading-side {
    font-size: 20px;
  }
}

/* ボタン 'btn, button'
=============================================================*/

/* ボタン基本 */
.btn {
  font-size: 16px;
}

.btn-more {
  display: block;
  position: relative;
  width: fit-content;
  min-width: 240px;
  margin: 0 auto;
  padding: .75em 2em;
  background-color: var(--color-sub);
  color: #ffffff;
  font-weight: 500;
  letter-spacing: .05em;
  text-decoration: none;
  text-align: center;
}

.btn-more::after {
  display: inline-block;
  position: absolute;
  top: 50%;
  right: .75em;
  transform: translate(0, -50%) rotate(-45deg);
  width: .5em;
  height: .5em;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  content: "";
  transition: opacity,transform ease .2s;
}

.btn-more:hover {
  opacity: .9;
}

.btn-more:hover::after {
  transform: translate(1px, -50%) rotate(-45deg);
}

/* リスト 'list'
=============================================================*/

/* リスト基本 */
.list {
  font-size: 16px;
}

/* カテゴリーの一覧 */
.list-categories {
  list-style: none;
  font-size: 16px;
}

.list-categories li {
  margin-top: 1em;
  line-height: 1.5em;
}

/* テーブル 'tbl, table'
=============================================================*/

/* カード 'card'
=============================================================*/

/* 図表 'figure'
=============================================================*/

/* 投稿 'post'
=============================================================*/

/* 投稿日時 */
.post-date {
  display: block;
  color: #cccccc;
  font-size: 14px;
  font-family: var(--font-family-opensans);
  white-space: nowrap;
}

.post-date__icon {
  display: inline;
  width: auto;
  height: 1em;
  margin-right: .25em;
  vertical-align: -5%;
}

.post-date__time {
  display: inline;
  line-height: 1em;
}

/* 投稿タイトル */
.post-title {
  font-weight: 500;
  font-size: 28px;
  text-align: justify;
}

.post-title a {
  text-decoration: none;
}

/* 投稿 抜粋 */
.post-excerpt {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.8em;
  text-align: justify;
}

.post-excerpt__thumbnail {
  float: right;
  margin: 0 0 10px 20px;
}

@media only screen and (max-width: 767.98px) {
  .post-excerpt__thumbnail {
    float: none;
    margin: 0 0 20px;
  }
}

.post-excerpt__thumbnail a {
  display: block;
}

.post-excerpt__thumbnail img {
  display: block;
}

/* 投稿 続きを読む */
.post-more {
  margin-top: 20px;
}

.post-more a {
  color: var(--color-main);
}

/* その他ブロック 
=============================================================*/

/* 段落 Wrapper */
.paragraph {
  line-height: 1.8em;
  /* letter-spacing: 0.05em; */
  text-align: justify;
}

.paragraph--center {
  text-align: center;
}

.paragraph p:not(:first-child) {
  margin-top: .5em;
}

@media only screen and (max-width: 767.98px) {
  .paragraph {
    font-size: 16px;
  }
}

/* フロントページ
=============================================================*/
.fp-intro {
  width: 100%;
  max-width: 992px;
  margin: 0 auto;
  padding: 40px 60px;
  background-color: #ebf3f5;
  line-height: 1.8em;
}

@media only screen and (max-width: 991.98px) {
  .fp-intro {
    padding: 40px 4%;
  }
}

.fp-intro-heading {
  margin-bottom: 10px;
  font-size: 24px;
  text-align: center;
}

.fp-intro-heading--center {
  text-align: center;
}

.fp-list-intro {
  padding-left: 1em;
}

.fp-list-intro__item {
  margin-top: 1em;
}

/* リーバースエンジニアリングとは */
.fp-card-grp {
  display: flex;
  flex-wrap: wrap;

  gap: 80px 20px;
}

.fp-card {
  width: calc((100% - 20px) / 2);
}

.fp-card__title {
  padding: .75em 0;
  background-color: var(--color-main);
  color: #ffffff;
  font-size: 18px;
  letter-spacing: .05em;
  text-align: center;
}

.fp-card__item {
  display: flex;
  margin-top: 20px;
  padding-left: 8px;

  gap: 20px 10px;
}

.fp-card__list {
  flex: 2;
  list-style: none;
}

.fp-card__list li {
  margin-top: .25em;
}

.fp-card__list--decimal {
  list-style: decimal;
  padding-left: 1em;
}

.fp-card__fig {
  flex: 1;
}

.fp-card__fig img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
}


.fp-card ul > li::before {
  color: #87bcd5;
  content: "■ ";
}

@media only screen and (max-width: 767.98px) {
  .fp-card {
    width: 100%;
  }

  .fp-card__item {
    flex-direction: column;
    align-items: center;
  }
}

/* リバースエンジニアリングの利用 */
.fp-use {
  width: 100%;
  max-width: 992px;
  margin: 0 auto;
  padding: 40px 60px 80px;
  background-color: #ebf3f5;
  line-height: 1.8em;
}

@media only screen and (max-width: 991.98px) {
  .fp-use {
    padding: 40px 4%;
  }
}

.fp-list-use {
  display: flex;
  list-style: none;
  width: 100%;

  gap: 60px 20px;
}

@media only screen and (max-width: 767.98px) {
  .fp-list-use {
    flex-direction: column;
    align-items: center;
  }
}

.fp-list-use__item {
  flex: 1;
}

.fp-list-use__item a {
  text-decoration: none;
  text-align: center;
}

.fp-list-use__item img {
  width: 100%;
  max-width: 240px;
  height: auto;

  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* 会社案内
=============================================================*/
table.company {
  width: 100%;
  max-width: 992px;
  margin: 0 auto;
  color: #333333;
  border-collapse: collapse;
}

table.company th, table.company td {
  padding: 1em 2em;
  border: 1px solid #cccccc;
  line-height: 1.8em;
  vertical-align: middle;
}

table.company th {
  width: 25%;
  color: #333333;
  font-weight: 500;
  text-align: left;
}

table.company img {
  display: block;
}
@media only screen and (max-width: 767.98px) {
  table.company {
    font-size:14px;
  }
  table.company th, table.company td {
    padding: 1em 0.5em;
  }
}

/* featured-image
=============================================================*/

.featured-image {
  width: 100%;
  max-width: 2600px;
  margin: 0 auto;
}

.featured-image img {
  width:100%;
  height:100%;
  aspect-ratio: 4 / 1;
  object-fit: cover;
  display:block;
}

/* field-box */
.field-box {
  display: flex;
  align-items: flex-start;
  width:100%;
  max-width: 992px;;
  margin: 0 auto 40px;
  gap: 40px;
}

.field-box-img img {
  width: 250px;
  min-width: 250px;
  height: auto;
  display: block;
}

.field-box-text {
  text-align: justify;
}

.field-box-text h3 {
  margin: 0 0 1em !important;
}

.field-box-textonly {
  margin: auto;
}

@media only screen and (max-width: 767.98px) {
  .field-box {
    flex-direction: column;
  }
}

/* ショートコード
============================================================= */

/* ブログ新着 */
.new-arrival {
  list-style: none;
  font-size: 16px;
}

.new-arrival__item {
  width:100%;
  display: flex;
  padding:20px 0;
  border-top:1px solid var(--color-border);
  gap:10px 30px;
}

.new-arrival__thumb {
  flex:1;
  width:200px;
  max-width:100%;
}

.new-arrival__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: #fff;
  border: 1px solid var(--color-border);
}

.new-arrival__detail {
  flex:3;
  width:100%;
}

.new-arrival__title {
  margin: 5px 0 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-main);
  text-align: justify;
}

.new-arrival__title a {
  color: inherit;
  text-decoration: none;
}

.new-arrival__excerpt {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.8em;
}

.new-arrival__excerpt a{
  color: inherit;
  text-decoration: none;
}

@media only screen and (max-width: 767.98px) {
  .new-arrival__item {
    flex-direction: column;
    width:576px;
    max-width:100%;
    margin:0 auto;
  }
}

/* ターム一覧 */
.list-post-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  padding: 0 !important;
  margin: 10px 0 0;
  list-style: none;
}

/* 記事の属するターム */
.post-term {
  width: fit-content;
  min-width: 3em;
  font-size: 14px;
  font-weight: 500;
  font-feature-settings: "palt";
  color: #aaa;
  text-align: center;
  white-space: nowrap;
  background-color: #efefef;
  border: 1px solid var(--color-border);
  border-radius: 24px;
}

/* 新着 */
.post-term--small {
  font-size: 12px;
}

.post-term a {
  display: block;
  width: 100%;
  padding: 0.1em 0.75em;
  color: inherit;
  text-decoration: none;
}

.post-term--tags a::before {
  display: inline;
  content: "#";
}

.post-term--tags a {
  padding: 0.1em 0 0.1em 0.5em;
}
