﻿
@charset "UTF-8";

/* リセットCSS */
html {overflow-y: scroll;}

body, div, dl, dt, dd, ul, ul li, h1, h2, h3, h4, h5, h6,
pre, form, fieldset, input, textarea, p, blockquote, th, td,
section, nav, article, aside, header, address,
figure, figcaption {
  margin: 0;
  padding: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
  font-style: normal;
  font-weight: normal;
}

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

caption, th {text-align: left;}

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

object, embed {vertical-align: top;}

legend {display: none;}

h1, h2, h3, h4, h5, h6 {
  font-size: 1rem;
  font-weight: inherit;
}

img, abbr, acronym, fieldset {border: 0;}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

ul li {list-style-type: none;}

*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  color: #666;
  text-align: left;
  line-height: 1.8;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Yu Gothic", Meiryo, "Hiragino kaku Gothic ProN", sans-serif;
  font-size: 16px;
}

/* リンク */
.main a {
  text-decoration: underline;
  color: #2e7d32;
  outline: none;
  transition: color .2s linear;
}

html:not(.sp) .main a:hover {
  text-decoration: none;
  color: #4caf50;
}

/* ローディング */
#top-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s;
}

#top-loading.loaded {
  opacity: 0;
  pointer-events: none;
}

#top-loading-cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
}

#top-logo-heli,
#top-logo-txt {
  margin: 10px 0;
}

/* ヘッダー */
header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .top {
  background: #f5f5f5;
  padding: 10px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

header .top p {
  margin: 0;
}

header .top a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

header .top a:hover {
  color: #2e7d32;
}

header .top ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

header .top ul li {
  list-style: none;
}

.outline-en-link {
  border: 1px solid #666;
  padding: 2px 8px;
  border-radius: 3px;
}

/* ナビゲーション */
nav {
  padding: 0 30px;
}

#global-navi {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu {
  position: relative;
}

.main-menu > a {
  display: block;
  padding: 20px 15px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

.main-menu > a:hover {
  color: #2e7d32;
}

.main-menu.logo {
  margin: 0 20px;
}

.main-menu.logo img {
  height: 40px;
  width: auto;
}

/* サブナビ */
.sub-nav {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  min-width: 600px;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 100;
}

.main-menu:hover .sub-nav {
  opacity: 1;
  visibility: visible;
}

.col-set {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.col1-3 {
  flex: 1;
}

.col1-3 a {
  display: block;
  text-decoration: none;
  color: #333;
  transition: transform 0.2s;
}

.col1-3 a:hover {
  transform: translateY(-5px);
}

.col1-3 .img {
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 5px;
}

.col1-3 .img img {
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.col1-3 a:hover .img img {
  transform: scale(1.1);
}

.col1-3 p {
  text-align: center;
  font-weight: bold;
  margin: 0;
}

/* SPメニュー */
.sp_menu {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sp_menu .c_name {
  font-weight: bold;
}

.sp_menu .heading3 {
  font-size: 1.2rem;
  margin: 0;
}

.sp_menu .heading3 span {
  font-size: 0.9rem;
}

#btn-menu button {
  background: #2e7d32;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.9rem;
}

.show-sp {
  display: none;
}

.accordion_icon {
  width: 20px;
  height: 20px;
  position: relative;
  cursor: pointer;
}

.accordion_icon span {
  position: absolute;
  background: #333;
  transition: transform 0.3s;
}

.accordion_icon span:first-child {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.accordion_icon span:last-child {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* メインコンテンツ */
#wrapper {
  min-width: 320px;
}

main {
  display: block;
}

.main .content {
  padding: 60px 30px;
  background-color: #fff;
  overflow: hidden;
}

.row {
  max-width: 1170px;
  margin: 0 auto;
}

/* 見出し */
.heading1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.heading1:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #2e7d32;
}

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

.heading2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  border-left: 4px solid #2e7d32;
  padding-left: 15px;
}

.heading3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #2e7d32;
}

/* パネル */
.panel-vertical {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 30px;
}

.panel-vertical:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.panel-vertical a {
  text-decoration: none;
  color: inherit;
}

.panel-vertical .img {
  overflow: hidden;
}

.panel-vertical .img img {
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.panel-vertical:hover .img img {
  transform: scale(1.05);
}

.panel-vertical .txt {
  padding: 20px;
}

/* ボックス */
.box {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.frame {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
}

/* テーブル */
table.border-set {
  width: 100%;
  border: 1px solid #ddd;
}

table.border-set th,
table.border-set td {
  padding: 15px;
  border: 1px solid #ddd;
}

table.border-set th {
  background: #f5f5f5;
  font-weight: bold;
  width: 200px;
  text-align: left;
}

/* ボタン */
.btn {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.btn.center {
  justify-content: center;
}

.btn a,
.btn button {
  display: inline-block;
  padding: 12px 30px;
  background: #2e7d32;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn a:hover,
.btn button:hover {
  background: #4caf50;
  transform: translateY(-2px);
}

.btn .ghost {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn .ghost:hover {
  background: #fff;
  color: #2e7d32;
}

/* 背景色 */
.bg-light {
  background-color: #f5f5f5;
}

.bg-color3 {
  background-color: #2e7d32;
}

.txt-white,
.txt-white * {
  color: #fff !important;
}

/* テキスト配置 */
.center {
  text-align: center;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

/* 余白 */
.mb10 {margin-bottom: 10px;}
.mb20 {margin-bottom: 20px;}
.mb30 {margin-bottom: 30px;}
.mb40 {margin-bottom: 40px;}
.mb50 {margin-bottom: 50px;}

/* フッター */
footer {
  background: #333;
  color: #fff;
  padding: 40px 0 0;
}

.footer-content {
  padding: 0 30px 30px;
}

.footer-content .row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-info {
  flex: 1;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.company-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-info p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-nav {
  flex: 1;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.footer-nav ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav ul li a:hover {
  color: #4caf50;
}

.footer-bottom {
  background: #222;
  padding: 20px 30px;
}

.copyright {
  text-align: center;
  font-size: 0.88rem;
  margin: 0;
}

/* ページトップボタン */
#pagetop-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

#pagetop-btn.show {
  opacity: 1;
  visibility: visible;
}

#pagetop-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #2e7d32;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.2s;
}

#pagetop-btn a:hover {
  background: #4caf50;
  transform: translateY(-5px);
}

#pagetop-btn span {
  font-size: 0;
}

#pagetop-btn a:before {
  content: '↑';
  font-size: 1.5rem;
  font-weight: bold;
}

/* レスポンシブ: 768px未満 */
@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }

  header .top {
    display: none;
  }

  nav {
    display: none;
  }

  .sp_menu {
    display: flex;
  }

  .show-sp {
    display: block !important;
  }

  .main .content {
    padding: 40px 20px;
  }

  .heading1 {
    font-size: 1.5rem;
  }

  .heading2 {
    font-size: 1.3rem;
  }

  .heading3 {
    font-size: 1.1rem;
  }

  .col-set {
    flex-direction: column;
  }

  .footer-content .row {
    flex-direction: column;
  }

  .footer-nav ul {
    grid-template-columns: 1fr;
  }

  table.border-set th,
  table.border-set td {
    display: block;
    width: 100%;
  }

  table.border-set th {
    border-bottom: none;
  }

  #pagetop-btn {
    bottom: 20px;
    right: 20px;
  }

  #pagetop-btn a {
    width: 50px;
    height: 50px;
  }
}
