@charset "utf-8";

/* 共通設定 */
:root {
  --main-green: #175a00;
  --accent-green: #4d8600;
  --white: #fff;
}
html {
  font-size: 100%;
}
body {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  line-height: 1.7;
  color: #333;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
  max-height: 100%;
}
ul, ol {
  list-style-type: none;
}
section {
  margin-top: 80px;
  margin-bottom: 80px;
}
.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4%;
}
/* HEADER */
.page-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: 90px;
  max-width: 100%;
  display: flex;
  justify-content: center;
}
.page-header a:hover .logo {
  opacity: .8;
}
.main-nav {
  margin-left: 40px;
  display: flex;
  list-style: none;
}
.main-nav a {
  color: #222;
  width: 170px;
  text-align: center;
  line-height: 90px;
  display: block;
}
.main-nav a:hover {
  background: #eee;
}
/* HEADERお問い合わせ */
.contact {
  background: var(--main-green);
}
.contact a{
  color: var(--white);
  padding-left: 20px;
  height: 90px;
}
.contact:hover a{
  color: var(--main-green);
}
.contact a:before {
  content: "\f0e0";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  display: inline-block;
  vertical-align: middle;
  text-indent: -2em;
}
/* HOME */
#home {
  position: relative;
  background: url(../img/big-bg.jpg) no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  padding-top: 100px;
}
#home::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.home-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  animation: fadeInUp 1.2s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.home-inner h2 {
  font-size: 2.4rem;
  font-family: 'Merriweather', serif;
  margin-bottom: 20px;
  line-height: 1.4;
}
.home-inner p {
  font-size: 1.2rem;
  margin: 10px;
  margin-bottom: 20px;
}
.home-inner .button {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-green);
  color: var(--white);
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-decoration: none;
  font-size: 1rem;
}
.home-inner .button:hover {
  background-color: var(--main-green);
}
/* メニュー */
.main-title {
  color: var(--main-green);
  letter-spacing: 2px;
  border-bottom: 1px solid var(--accent-green);
}
.company-name {
  font-size: 1.1rem;
  font-weight: bold;
  text-align: left;
  margin-bottom: 10px;
}
/* 会社案内 */
#company h3 {
  padding-left: 5px;
  color: var(--main-green);
  font-size: 1.3rem;
  letter-spacing: 2px;
  border-bottom: 2px solid #bbb;
  margin: 50px 0 20px 0;
}
#profile {
  display: flex;
  margin: 0 15px 0 15px;
}
.profile-name {
  margin-bottom: 10px;
  font-size: 1.4rem;
  letter-spacing: 2px;
  font-weight: 600;
}
.profile-read {
  margin-left: 15px;
  font-size: 0.9rem;
  vertical-align: middle;
}
.sub-title {
  background: #eee;
  margin: 20px 0 10px 0;
  padding: 15px 20px;
  letter-spacing: 2px;
}
.art-wrapper {
  padding: 0 10px;
  text-indent: 14px;
}
.art-wrapper p {
  padding-bottom: 3px;
}
#company ol li {
  padding: 10px 0 10px 125px;
  border-bottom: 1px dotted var(--accent-green);
  text-indent: -125px;
}
.year-month {
  display: inline-block;
  width: 125px;
  font-weight: bold;
  text-indent: 20px;
}
.important {
  font-weight: bold;
  color: #d9534f;
}
/* NEWS */
#news {
  margin: 20px 5% 0 5%;
}
#news h2 {
  font-size: 2rem;
  font-family: Merriweather, serif;
  color: var(--main-green);
}
#news ul li {
  position: relative;
  padding-left: 190px;
  background: var(--white);
  padding-top: 20px;
  padding-bottom: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
#news ul li:hover {
  transform: translateY(-3px);
}
#news ul li time {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 160px;
  font-weight: bold;
  color: #666;
}
/* ページタイトル */
.page-title {
  font-size: 2.5rem;
  font-family: Merriweather, serif;
}
.common-visual {
  background: url(../img/common-visual.jpg) no-repeat center bottom/cover;
  background-color: var(--main-green);
  background-blend-mode: luminosity;
  padding: 120px 0 40px;
  text-align: center;
  margin-bottom: 50px;
}
.common-visual h1 {
  margin: 0;
  letter-spacing: 2px;
}
.common-visual p {
  margin: 0;
  letter-spacing: 2px;
}
/* お問い合わせ */
.iframe-wrapper {
  padding-top: 120px;
}
/* テーブル */
table {
  border-collapse: collapse;
  width: 100%;
}
.table-basic {
  border-top: 1px dotted var(--main-green);
  border-bottom: 1px dotted var(--main-green);
  margin: 15px 0 40px;
}
.table-basic thead th {
  background-color: #d6dcd3ce;
  font-weight: bold;
  border-bottom: none;
  border-left: 1px solid var(--main-green);
}
.table-basic th,
.table-basic td {
  padding: 10px;
}
.table-basic th{
  width: 30%;
  font-weight: 500;
  background-color: #d6dcd3ce;
  border-bottom: 1px solid var(--white);
  letter-spacing: 2px;
}
.table-basic td{
  border-bottom: 1px dotted var(--main-green);
  border-left: 1px solid var(--main-green);
  line-height: 1.8;
  width: 70%;
}
.table-basic tr:first-child td,
.table-basic tr:first-child th {
  border-top: 1px solid var(--main-green);
}
.table-basic tr:last-child td, 
.table-basic tr:last-child th {
  border-bottom: 1px solid var(--main-green);
}
.table-basic td:first-child,
.table-basic th:first-child {
  border-left: none;
}
/* 特徴テーブル */
.table-features {
  table-layout: fixed;
  text-align: center;
  width: 100%;
}
.table-features td {
  border-left: 1px solid var(--main-green);
}
.table-features thead th {
  background-color: #d6dcd3ce;
  font-weight: bold;
  border-bottom: none;
  border-left: 1px solid var(--main-green);
}
/* リスト表示 */
.inline-list li {
  display: inline-block;
  margin-right: 10px;
}
.inline-list li::before {
  content: '・';
  margin-right: 0.2em;
}
.inline-list li:last-child {
  margin-right: 0;
}
dt {
  font-weight: bold;
}
/* セクションフェードイン */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ページトップへ */
#pageTop {
  position: fixed;
  right: 0;
  bottom: 0;
  background: var(--accent-green);
  opacity: .6;
  transition: opacity 0.3s ease;
  width: 45px;
  height: 45px;
  border-radius: 50%;
}
#pageTop:hover {
  opacity: 1;
}
#pageTop a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
#pageTop a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 1.5rem;
  color: var(--white);
  position: absolute;
  width: 25px;
  height: 40px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
/* フッター */
footer {
  background: var(--main-green);
  text-align: center;
  padding: 26px 0;
  margin-top: 50px;
}
footer p {
  color: var(--white);
  font-size: .9rem;
}
/* モバイル版 */
@media (max-width: 600px) {
  .home-inner h2 {
    font-size: 1.6rem;
  }
  .home-inner p {
    font-size: 1rem;
  }
  .page-header {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 200px;
  }
  .logo {
    width: 300px;
  }
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0;
  }
  .main-nav a {
    width: 105px;
    font-size: 11px;
  }
  .common-visual {
    padding-top: 220px;
  }
  .iframe-wrapper {
    padding-top: 220px;
  }
  #profile {
    display: block;
    font-size: 0.8rem;
    text-align: center;
  }
}
/* スクリーンリーダー用非表示クラス */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
