@charset "UTF-8";
/**
 * YUI 3.5.0 - reset.css (http://developer.yahoo.com/yui/3/cssreset/)
 * http://cssreset.com
 * Copyright 2012 Yahoo! Inc. All rights reserved.
 * http://yuilibrary.com/license/
 */
html {
  color: #000;
  background: #FFF;
}

/*
	TODO remove settings on BODY since we can't namespace it.
*/
/*
	TODO test putting a class on HEAD.
		- Fails on FF.
*/
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset,
img {
  border: 0;
}

/*
	TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
*/
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: bold;
}

q:before,
q:after {
  content: '';
}

abbr,
acronym {
  border: 0;
  font-variant: normal;
}

/* to preserve line-height and selector appearance */
sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

/*to enable resizing for IE*/
input,
textarea,
select {
  *font-size: 100%;
}

/*because legend doesn't inherit in IE */
legend {
  color: #000;
}

/* YUI CSS Detection Stamp */
#yui3-css-stamp.cssreset {
  display: none;
}

body {
  font-family: "Sorts Mill Goudy", "Noto Serif JP", serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
}

h1, h2 {
  font-weight: normal;
}

a {
  color: #000;
  text-decoration: none;
}

a.btn, button.btn {
  border-radius: 20px;
  /* CSS3草案 */
  -webkit-border-radius: 20px;
  /* Safari,Google Chrome用 */
  -moz-border-radius: 20px;
  /* Firefox用 */
  border: 1px solid #000;
  display: inline-block;
  padding: 10px 15px 7px;
  background: transparent;
  overflow: hidden;
  position: relative;
  text-align: center;
  z-index: 1;
  transition: .3s;
}
a.btn::before, button.btn::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: #000;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform ease .3s;
}
a.btn::after, button.btn::after {
  background-image: url(../img/arrow-black.svg);
  background-size: 100%;
  content: "";
  display: inline-block;
  margin-left: 15px;
  width: 27px;
  height: 9px;
}
a.btn:hover, button.btn:hover {
  color: #fff;
}
a.btn:hover::before, button.btn:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}
a.btn:hover::after, button.btn:hover::after {
  background-image: url(../img/arrow-white.svg);
}
a.btn.black, button.btn.black {
  background: #000;
  color: #fff;
}
a.btn.black::before, button.btn.black::before {
  background: #fff;
}
a.btn.black:hover, button.btn.black:hover {
  color: #000;
}
a.btn.noarrow::after, button.btn.noarrow::after {
  display: none;
}

@media screen and (max-width: 575px) {
  br.pc {
    display: none;
  }
}

@media screen and (min-width: 576px) {
  br.sp {
    display: none;
  }
}

.main-header {
  width: 100%;
  background-color: #fff;
  padding: 15px 0;
  /* 上下のパディング */
  position: sticky;
  /* スクロールしても追従させる場合 */
  top: 0;
  z-index: 90;
}
.main-header .hamburger {
  position: absolute;
  top: 32px;
  right: 32px;
  cursor: pointer;
  width: 32px;
  height: 24px;
  z-index: 999;
  display: none;
}
@media screen and (max-width: 1024px) {
  .main-header .hamburger {
    display: block;
  }
}
.main-header .hamburger.open span {
  background-color: #fff;
}
.main-header .hamburger span {
  /*3本の線を作る*/
  transition: all .3s;
  position: absolute;
  height: 2px;
  background-color: #333;
  width: 100%;
  z-index: 999;
}
.main-header .hamburger span:nth-of-type(1) {
  /*上の線の位置*/
  top: 4px;
}
.main-header .hamburger span:nth-of-type(2) {
  /*真ん中の線の位置*/
  top: 12px;
}
.main-header .hamburger span:nth-of-type(3) {
  /*下の線の位置*/
  top: 20px;
}
.main-header .hamburger.open span:nth-of-type(1) {
  /*openのとき、上の線を右斜めにする*/
  top: 10px;
  transform: translateY(6px) rotate(-33deg);
}
.main-header .hamburger.open span:nth-of-type(2) {
  /*真ん中の線を消す*/
  opacity: 0;
}
.main-header .hamburger.open span:nth-of-type(3) {
  /*下の線を左斜めにする*/
  top: 22px;
  transform: translateY(-6px) rotate(33deg);
}

.header-content {
  max-width: calc(1280px - 100px);
  /* 最大幅を設定 (適宜調整) */
  margin: 0 auto;
  /* 中央寄せ */
  padding: 0 50px;
  /* 左右のパディング */
  display: grid;
  grid-template-columns: 300px 1fr 48px;
  align-items: center;
  /* 垂直方向の中央揃え */
}
@media screen and (max-width: 1024px) {
  .header-content {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* ロゴ */
.logo a {
  font-size: 28px;
  /* ロゴのフォントサイズ */
  font-weight: bold;
  letter-spacing: 2px;
  /* 文字間隔 (画像から推測) */
  color: #000;
  /* ロゴの色 */
}

/* ナビゲーションメニュー */
.main-nav ul {
  display: flex;
  /* 横並び */
  gap: 25px;
  /* メニュー項目間のスペース */
  justify-content: flex-end;
  margin-right: 50px;
}
@media screen and (max-width: 1024px) {
  .main-nav ul {
    display: none;
  }
}

.main-nav ul li a {
  border: none;
  font-size: 14px;
  /* メニューのフォントサイズ */
  padding: 5px 20px;
}

/* ソーシャルアイコン */
.social-icons {
  position: relative;
  top: -5px;
}
@media screen and (max-width: 1024px) {
  .social-icons {
    display: none;
  }
}
.social-icons a {
  font-size: 24px;
  /* アイコンのサイズ */
  color: #000;
  /* アイコンの色 */
  padding: 5px;
  /* 枠線とアイコンの間の余白 */
  display: flex;
  /* アイコンを中央に配置するため */
  justify-content: center;
  margin: 0 auto;
  align-items: center;
  width: 38px;
  /* 正方形にするため (アイコンサイズ+パディング+枠線で調整) */
  height: 38px;
  /* 正方形にするため */
  border-radius: 4px;
  /* 少し角丸に */
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* レスポンシブ対応 (例: スマートフォン向け) */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    /* 縦並びにする */
    padding: 15px;
  }

  .main-nav ul {
    flex-direction: column;
    /* メニューも縦並び */
    gap: 10px;
    text-align: center;
    margin-bottom: 15px;
  }

  .main-nav ul li a {
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .logo a {
    font-size: 24px;
  }

  .social-icons a {
    font-size: 20px;
    width: 32px;
    height: 32px;
    padding: 3px;
  }
}
.bg {
  background: #fff;
}
.bg.gray {
  background: #f1f1f1;
}
@media screen and (max-width: 575px) {
  .bg.gray-sp {
    background: #f1f1f1;
  }
}
.bg .wrapper {
  margin: 0 auto;
  max-width: 1280px;
  padding: 100px 50px;
}
@media screen and (max-width: 575px) {
  .bg .wrapper {
    padding: 100px 30px;
  }
}

/* フッターのスタイル */
.main-footer {
  background-color: #000;
  /* 背景色 */
  color: #fff;
  /* 文字色 */
  padding: 50px 0;
  /* 上下左右のパディング */
}

.footer-content {
  margin: 0 auto;
  max-width: 1280px;
  /* 最大幅を設定 (適宜調整) */
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  /* 小さい画面で折り返す */
  justify-content: space-between;
  /* ロゴと著作権表示を左右に配置 */
  align-items: flex-end;
  /* 下端に揃える */
}
@media screen and (max-width: 575px) {
  .footer-content {
    justify-content: center;
    padding: 0 30px;
    width: auto;
  }
}

/* フッターロゴ */
.footer-logo {
  display: flex;
  flex-direction: column;
  /* 縦並び */
  margin-left: 50px;
  align-items: flex-start;
  /* 左揃え */
  width: calc(100% - 300px);
}
@media screen and (max-width: 575px) {
  .footer-logo {
    display: block;
    margin-left: 0;
    width: 100%;
  }
}
@media screen and (max-width: 575px) {
  .footer-logo > span {
    display: block;
    margin-bottom: 30px;
    text-align: center;
  }
}

.kanji-logo {
  margin-bottom: 45px;
  /* 漢字とアルファベットの間隔 */
}

.text-logo img {
  max-width: 749px;
  width: 100%;
}

.footer-info {
  width: 200px;
  text-align: right;
}
@media screen and (max-width: 575px) {
  .footer-info {
    text-align: center;
    width: 100%;
  }
}

/* 著作権表示 */
.copyright {
  font-family: "Noto Serif JP", serif;
  font-size: 12px;
  /* 著作権表示のフォントサイズ */
  font-weight: 350;
  color: #aaa;
  /* 少し薄い色に */
  margin-left: auto;
  /* 右端に寄せる */
  padding-right: 50px;
  padding-bottom: 5px;
  /* ロゴの下端に合わせるための調整 */
}
@media screen and (max-width: 575px) {
  .copyright {
    padding-right: 0;
  }
}

/* ページトップに戻るボタン */
.scroll-to-top {
  position: absolute;
  /* 親要素 .main-footer に対して絶対位置 */
  top: 40px;
  /* 右上の位置を調整 */
  right: 40px;
  /* 右上の位置を調整 */
  background-color: #555;
  /* ボタンの背景色 */
  color: #fff;
  /* アイコンの色 */
  width: 40px;
  /* ボタンの幅 */
  height: 40px;
  /* ボタンの高さ */
  border-radius: 50%;
  /* 丸い形にする */
  display: flex;
  /* アイコンを中央に配置 */
  justify-content: center;
  align-items: center;
  font-size: 20px;
  /* アイコンのサイズ */
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: none;
  /* 初期状態では非表示 */
}

.scroll-to-top:hover {
  background-color: #777;
  transform: translateY(-2px);
  /* 少し上に浮き上がる効果 */
}

.sidenav {
  background: rgba(0, 0, 0, 0.3);
  display: none;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 95;
}
.sidenav.active {
  display: block;
}
.sidenav .nav-main {
  background: #000;
  color: #fff;
  padding-left: 50px;
  padding-top: 20px;
  position: absolute;
  top: 0;
  right: 100%;
  width: 200px;
  height: 100vh;
  z-index: 99;
}
@media screen and (max-width: 575px) {
  .sidenav .nav-main {
    padding-left: 30px;
    padding-right: 30px;
    width: calc(100% - 60px);
  }
}
.sidenav .nav-main.open {
  left: 0;
  right: auto;
}
.sidenav .nav-main .logo {
  margin-bottom: 35px;
}
.sidenav .nav-main a {
  color: inherit;
  text-decoration: none;
}
.sidenav .nav-main li {
  font-size: 13pt;
  margin-bottom: 20px;
  position: relative;
}
.sidenav .nav-main li::after {
  background-color: #fff;
  /* 下線の色 */
  bottom: -4px;
  /* 要素の下端からの距離 */
  content: "";
  /* 要素に内容を追加 */
  height: 2px;
  /* 下線の高さ */
  left: 0;
  /* 要素の左端からの距離 */
  position: absolute;
  /* 絶対位置指定 */
  transform: scale(0, 1);
  /* 下線を横方向に0倍、縦方向に1倍に変形（非表示） */
  transform-origin: left top;
  /* 変形の原点を左上に指定 */
  transition: transform .5s;
  /* 変形をアニメーション化 */
  width: 100%;
  /* 要素の幅 */
}
@media screen and (max-width: 575px) {
  .sidenav .nav-main li::after {
    transform: scale(1, 1);
  }
}
.sidenav .nav-main li.active::after, .sidenav .nav-main li:hover::after {
  transform: scale(1, 1);
}
.sidenav .nav-sub {
  background: #e5e5e5;
  position: absolute;
  top: 0;
  right: 100%;
  padding: 90px 20px 0;
  z-index: 98;
  width: calc(100% - 290px);
  height: 100vh;
  max-width: 500px;
}
@media screen and (max-width: 575px) {
  .sidenav .nav-sub {
    width: calc(100% - 40px);
    z-index: 101;
  }
}
.sidenav .nav-sub.open {
  left: 250px;
  right: auto;
}
@media screen and (max-width: 575px) {
  .sidenav .nav-sub.open {
    left: 0;
  }
}
.sidenav .nav-sub a {
  color: inherit;
  display: inline-block;
  position: relative;
  text-decoration: none;
  width: 100%;
}
.sidenav .nav-sub a::after {
  background-image: url(../img/arrow-black-radius.svg);
  background-size: 100%;
  content: "";
  display: inline-block;
  width: 39px;
  height: 20px;
  position: absolute;
  right: 10px;
  top: 8px;
}
@media screen and (max-width: 575px) {
  .sidenav .nav-sub a::after {
    display: none;
  }
}
.sidenav .nav-sub li {
  border-bottom: 1px solid #000;
  color: #000;
  font-size: 13pt;
  line-height: 35px;
  transition: all .5s;
}
.sidenav .nav-sub li:hover {
  letter-spacing: 1px;
}
.sidenav .nav-sub .close-area {
  cursor: pointer;
  position: absolute;
  z-index: 100;
  top: 30px;
  right: 50px;
  width: 15px;
  height: 15px;
}
.sidenav .nav-sub .close-area img {
  width: 100%;
}

.to-top {
  position: fixed;
  bottom: 100px;
  right: 100px;
  width: 40px;
  height: 40px;
}
@media screen and (max-width: 575px) {
  .to-top {
    bottom: 30px;
    right: 30px;
  }
}
.to-top img {
  width: 100%;
}

body .fancybox-slide--image .fancybox-content {
  background: transparent;
  padding-left: 10px;
  padding-right: 25px;
}
body .fancybox-close-small {
  background: #000;
  color: #fff;
  top: 0;
  right: 25px;
}
body img.fancybox-image {
  filter: drop-shadow(15px 15px 5px rgba(0, 0, 0, 0.5));
}

.preview img {
  width: 100%;
}

body.home section h2 {
  font-size: 54pt;
  line-height: 58pt;
}
@media screen and (max-width: 575px) {
  body.home section h2 {
    font-size: 25px;
    text-align: center;
  }
}
@media screen and (max-width: 575px) {
  body.home section#visual {
    padding: 0;
  }
}
body.home section#visual .text {
  padding: 225px 50px 350px;
  position: relative;
}
@media screen and (max-width: 575px) {
  body.home section#visual .text {
    padding: 30px 20px 90px;
  }
}
body.home section#visual .text .en {
  font-size: 54pt;
  line-height: 58pt;
  margin-bottom: 15px;
}
@media screen and (max-width: 575px) {
  body.home section#visual .text .en {
    font-size: 26px;
    line-height: 1.3;
  }
}
body.home section#visual .text .ja {
  font-size: 16pt;
  line-height: 22pt;
}
@media screen and (max-width: 575px) {
  body.home section#visual .text .ja {
    font-size: 14px;
    line-height: 1.5;
  }
}
body.home section#visual .text::after {
  background-image: url(../img/logo-visual.png);
  background-size: 100%;
  content: "";
  display: block;
  position: absolute;
  width: 256px;
  height: 319px;
  right: 50px;
  bottom: -35px;
}
@media screen and (max-width: 575px) {
  body.home section#visual .text::after {
    width: 80px;
    height: 100px;
    right: 30px;
    bottom: -14px;
  }
}
body.home section#visual .cover img {
  width: 100%;
}
body.home section#construction .text {
  padding: 301px 50px;
  position: relative;
  text-align: center;
}
@media screen and (max-width: 575px) {
  body.home section#construction .text {
    padding: 90px 30px;
  }
}
body.home section#construction .text .en {
  font-size: 54pt;
  line-height: 58pt;
  margin-bottom: 15px;
}
@media screen and (max-width: 575px) {
  body.home section#construction .text .en {
    font-size: 20pt;
    line-height: 28pt;
  }
}
@media screen and (max-width: 575px) {
  body.home section#construction .text .en img {
    width: 48px;
  }
}
body.home section#construction .text .ja {
  font-size: 16pt;
  line-height: 22pt;
}
@media screen and (max-width: 575px) {
  body.home section#construction .text .ja {
    font-size: 12pt;
    line-height: 14pt;
  }
}
body.home section#projects {
  padding: 36px;
  max-width: calc(1280px - 72px);
}
@media screen and (max-width: 575px) {
  body.home section#projects {
    padding: 10px;
    text-align: center;
  }
}
body.home section#projects h2 {
  display: inline-block;
  margin-right: 50px;
}
@media screen and (max-width: 575px) {
  body.home section#projects h2 {
    display: block;
    margin-right: 0;
  }
}
body.home section#projects .btn {
  font-size: 12pt;
  line-height: 12pt;
  position: relative;
  top: -5px;
}
@media screen and (max-width: 575px) {
  body.home section#projects .btn {
    font-size: 11px;
  }
}
body.home section#message {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 110px;
}
@media screen and (max-width: 575px) {
  body.home section#message {
    margin-bottom: 0;
    padding: 10px;
    flex-direction: row-reverse;
    text-align: center;
  }
}
body.home section#message .h2-box {
  margin-top: 110px;
  width: 400px;
}
@media screen and (max-width: 575px) {
  body.home section#message .h2-box {
    margin-top: 0;
    padding: 0;
    width: 100%;
  }
}
body.home section#message .h2-box h2 {
  margin-bottom: 50px;
}
@media screen and (max-width: 575px) {
  body.home section#message .h2-box h2 {
    margin-bottom: 0;
  }
}
body.home section#message .h2-box .btn {
  font-size: 12pt;
  line-height: 12pt;
}
body.home section#message .h2-box .btn::after {
  margin-left: 45px;
}
body.home section#message .img-box {
  width: 460px;
  height: 490px;
}
body.home section#message .img-box img {
  width: 100%;
}
@media screen and (max-width: 575px) {
  body.home section#message .img-box {
    display: none;
    width: 100%;
    height: auto;
  }
}
body.home section#members {
  padding: 50px 80px;
  max-width: calc(1280px - 160px);
}
@media screen and (max-width: 575px) {
  body.home section#members {
    padding: 10px;
    text-align: center;
  }
}
body.home section#members h2 {
  display: inline-block;
  margin-right: 50px;
}
@media screen and (max-width: 575px) {
  body.home section#members h2 {
    display: block;
    margin-right: 0;
  }
}
body.home section#members .btn {
  font-size: 12pt;
  line-height: 12pt;
  position: relative;
  top: -5px;
}
body.home section#members .btn::after {
  margin-left: 35px;
}
body.home section#news {
  padding-top: 215px;
  padding-left: 370px;
  padding-bottom: 150px;
  max-width: calc(1280px - 370px);
}
@media screen and (max-width: 575px) {
  body.home section#news {
    padding: 10px;
    text-align: center;
  }
}
body.home section#news h2 {
  display: inline-block;
  margin-right: 50px;
}
@media screen and (max-width: 575px) {
  body.home section#news h2 {
    display: block;
    margin-right: 0;
  }
}
body.home section#news .btn {
  font-size: 12pt;
  line-height: 12pt;
  position: relative;
  top: -5px;
}
body.home section#news .btn::after {
  margin-left: 35px;
}
@media screen and (max-width: 575px) {
  body.home section#news {
    padding: 36px;
    max-width: calc(1280px - 72px);
  }
}
body.home section#contact {
  padding: 130px 0;
  text-align: center;
}
@media screen and (max-width: 575px) {
  body.home section#contact {
    padding: 10px;
    text-align: center;
  }
}
body.home section#contact p {
  margin: 50px 0;
}
body.home section#contact .btn {
  border-radius: 30px;
  /* CSS3草案 */
  -webkit-border-radius: 30px;
  /* Safari,Google Chrome用 */
  -moz-border-radius: 30px;
  /* Firefox用 */
  font-size: 12px;
  line-height: 18pt;
  padding: 12px 30px 10px;
}

body.page-company .wrapper {
  padding: 60px 50px;
  max-width: calc(1280px - 100px);
}
@media screen and (max-width: 575px) {
  body.page-company .wrapper {
    padding: 60px 30px;
  }
}
body.page-company h1 {
  font-size: 48px;
  line-height: 48px;
  margin-bottom: 90px;
}
@media screen and (max-width: 575px) {
  body.page-company h1 {
    margin-bottom: 60px;
  }
}
body.page-company dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  column-gap: 20px;
  row-gap: 15px;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  margin: 36px;
}
@media screen and (max-width: 575px) {
  body.page-company dl {
    font-size: 16px;
    grid-template-columns: 1fr;
    row-gap: 5px;
    margin: 15px 0;
  }
}
body.page-company dl dt {
  font-weight: bold;
}
@media screen and (max-width: 575px) {
  body.page-company dl dd {
    padding-bottom: 15px;
  }
}
body.page-company ol {
  counter-reset: my-counter;
  list-style: none;
  padding-left: 2em;
}
body.page-company ol li {
  counter-increment: my-counter;
  position: relative;
}
body.page-company ol li::before {
  content: "(" counter(my-counter) ")";
  position: absolute;
  left: -2em;
}

body.page-contact .wrapper, body.page-contact-thanks .wrapper {
  font-size: 14px;
  max-width: calc(1280px - 100px);
  text-align: center;
}
body.page-contact h1, body.page-contact-thanks h1 {
  font-size: 48px;
  margin-bottom: 20px;
}
@media screen and (max-width: 575px) {
  body.page-contact h1, body.page-contact-thanks h1 {
    margin-bottom: 10px;
  }
}
body.page-contact .title_ja, body.page-contact-thanks .title_ja {
  margin-bottom: 100px;
}
@media screen and (max-width: 575px) {
  body.page-contact .title_ja, body.page-contact-thanks .title_ja {
    margin-bottom: 50px;
  }
}
body.page-contact form, body.page-contact-thanks form {
  margin: 100px auto;
  max-width: 420px;
  width: 100%;
}
@media screen and (max-width: 575px) {
  body.page-contact form, body.page-contact-thanks form {
    margin-top: 50px;
  }
}
body.page-contact form dt, body.page-contact-thanks form dt {
  padding-bottom: 7px;
}
body.page-contact form dd, body.page-contact-thanks form dd {
  padding-bottom: 23px;
}
body.page-contact form input, body.page-contact form textarea, body.page-contact-thanks form input, body.page-contact-thanks form textarea {
  box-sizing: border-box;
  border: none;
  width: 100%;
}
body.page-contact form input, body.page-contact-thanks form input {
  line-height: 38px;
  padding: 0 15px;
}
body.page-contact form input[type="file"], body.page-contact-thanks form input[type="file"] {
  display: inline-block;
  padding: 0;
  width: auto;
}
body.page-contact form textarea, body.page-contact-thanks form textarea {
  padding: 15px;
}
body.page-contact form button, body.page-contact-thanks form button {
  border-radius: 30px;
  /* CSS3草案 */
  -webkit-border-radius: 30px;
  /* Safari,Google Chrome用 */
  -moz-border-radius: 30px;
  /* Firefox用 */
  padding: 15px 100px;
}
body.page-contact form .mwform-file-delete, body.page-contact-thanks form .mwform-file-delete {
  font-size: 28px;
  position: relative;
  top: 3px;
}

body.page-contact-thanks p {
  margin-bottom: 1.5em;
}
@media screen and (max-width: 575px) {
  body.page-contact-thanks p {
    text-align: left;
  }
}

body.page-members .wrapper {
  padding: 0 50px;
  max-width: calc(1280px - 100px);
}
@media screen and (max-width: 575px) {
  body.page-members .wrapper {
    padding: 0 30px;
  }
}
body.page-members h1 {
  font-size: 36px;
  line-height: 36px;
  padding-top: 59px;
  margin-bottom: 25px;
}
body.page-members .members-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 69.5px;
  padding-top: 100px;
  padding-bottom: 50px;
}
@media screen and (max-width: 767px) {
  body.page-members .members-row {
    column-gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
}
body.page-members .members-row.first {
  padding-top: 0;
}
body.page-members .members-item {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr minmax(300px, auto) minmax(300px, auto) minmax(100px, auto);
  font-size: 15px;
}
body.page-members .members-item .photo {
  margin-bottom: 30px;
}
body.page-members .members-item .photo img {
  width: 100%;
}
body.page-members .members-item .name_en {
  margin-bottom: 15px;
}

body.page-message .wrapper {
  padding: 60px 50px;
  max-width: calc(1280px - 100px);
}
@media screen and (max-width: 575px) {
  body.page-message .wrapper {
    padding: 60px 30px;
  }
}
body.page-message h1 {
  font-size: 48px;
  line-height: 48px;
  margin-bottom: 175px;
}
@media screen and (max-width: 575px) {
  body.page-message h1 {
    margin-bottom: 60px;
  }
}
body.page-message article {
  font-feature-settings: "palt";
  font-size: 18px;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 736px;
}
@media screen and (max-width: 575px) {
  body.page-message article {
    font-size: 15px;
  }
}
body.page-message .thumb {
  margin-bottom: 60px;
  position: relative;
}
body.page-message .thumb::before {
  background-image: url(../img/logo-visual.png);
  background-size: 100%;
  content: "";
  display: block;
  position: absolute;
  width: 135px;
  height: 169px;
  top: calc(50% - 84.5px);
  left: -67.5px;
}
@media screen and (max-width: 575px) {
  body.page-message .thumb::before {
    width: 80px;
    height: 100px;
    top: calc(50% - 50px);
    left: -20px;
  }
}
body.page-message .thumb img {
  width: 100%;
}
body.page-message p {
  margin-bottom: 1.5em;
  min-height: 1.5em;
}

body.page-news .wrapper {
  padding: 0 50px;
  max-width: calc(1280px - 100px);
}
@media screen and (max-width: 575px) {
  body.page-news .wrapper {
    padding: 0 30px;
  }
}
body.page-news h1 {
  font-size: 48px;
  line-height: 48px;
  padding-top: 72px;
  margin-bottom: 25px;
}
body.page-news .news-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 44px;
  padding-bottom: 50px;
}
@media screen and (max-width: 767px) {
  body.page-news .news-list {
    column-gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
}
body.page-news .news-item {
  font-size: 13px;
  font-weight: 300;
  line-height: 13px;
}
body.page-news .news-item .thumb {
  margin-bottom: 17px;
}
@media screen and (max-width: 575px) {
  body.page-news .news-item .thumb {
    margin-bottom: 10px;
  }
}
body.page-news .news-item .thumb img {
  width: 100%;
}
body.page-news .news-item .title {
  margin-bottom: 80px;
}
@media screen and (max-width: 575px) {
  body.page-news .news-item .title {
    margin-bottom: 30px;
  }
}

body.single .wrapper {
  padding: 60px 50px;
  max-width: calc(1280px - 100px);
}
@media screen and (max-width: 575px) {
  body.single .wrapper {
    padding: 60px 30px;
  }
}
body.single .page-title {
  font-size: 48px;
  line-height: 48px;
  margin-bottom: 90px;
}
@media screen and (max-width: 575px) {
  body.single .page-title {
    margin-bottom: 60px;
  }
}
body.single h1 {
  font-size: 32px;
}
@media screen and (max-width: 575px) {
  body.single h1 {
    font-size: 18px;
  }
}
body.single article {
  font-feature-settings: "palt";
  font-size: 18px;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 736px;
}
@media screen and (max-width: 575px) {
  body.single article {
    font-size: 15px;
  }
}
body.single .thumb {
  margin-bottom: 60px;
}
body.single .thumb img {
  width: 100%;
}
body.single p {
  margin-bottom: 1.5em;
  min-height: 1.5em;
}
body.single .wrapper.foot {
  padding: 30px 0 66px;
  text-align: center;
}

body.page-projects .wrapper {
  padding: 0 50px;
  max-width: calc(1280px - 100px);
}
@media screen and (max-width: 575px) {
  body.page-projects .wrapper {
    padding: 0 30px;
  }
}
body.page-projects h1 {
  font-size: 48px;
  line-height: 48px;
  padding-top: 72px;
  margin-bottom: 25px;
}
body.page-projects .projects-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 44px;
  padding-bottom: 50px;
}
@media screen and (max-width: 767px) {
  body.page-projects .projects-list {
    column-gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
}
body.page-projects .projects-item {
  font-size: 13px;
  font-weight: 300;
  line-height: 13px;
}
body.page-projects .projects-item .thumb {
  margin-bottom: 17px;
}
@media screen and (max-width: 575px) {
  body.page-projects .projects-item .thumb {
    margin-bottom: 10px;
  }
}
body.page-projects .projects-item .thumb img {
  width: 100%;
}
body.page-projects .projects-item .title {
  margin-bottom: 80px;
}
@media screen and (max-width: 575px) {
  body.page-projects .projects-item .title {
    margin-bottom: 30px;
  }
}

body.single-projects .wrapper.thumb {
  padding: 0;
}
body.single-projects .wrapper.thumb img {
  width: 100%;
}
body.single-projects .wrapper.head {
  padding-top: 40px;
}
@media screen and (max-width: 575px) {
  body.single-projects .wrapper.head {
    padding-bottom: 30px;
  }
}
body.single-projects .wrapper.head h1 {
  font-size: 40px;
  line-height: 40px;
  margin-bottom: 15px;
}
body.single-projects .wrapper.head .content {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 10px;
}
body.single-projects .wrapper.photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 50px 100px;
  max-width: calc(1280px - 200px);
}
@media screen and (max-width: 575px) {
  body.single-projects .wrapper.photos {
    padding: 30px;
    max-width: calc(1280px - 60px);
  }
}
body.single-projects .wrapper.photos img {
  width: 100%;
}
body.single-projects .wrapper.foot {
  padding: 30px 0 66px;
  text-align: center;
}
