@charset "utf-8";

/* ローディングアニメーション */
#loading {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background-color: #8e8e8e;
  transition: all 3s; /* アニメーション表示時間 */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}
#loading.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader,
.loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
.loader {
  margin: 60px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(255, 255, 255, 0.2);
  border-right: 1.1em solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
  border-left: 1.1em solid #ffffff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: op-load 1.1s infinite linear;
  animation: op-load 1.1s infinite linear;
}
@-webkit-keyframes op-load {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes op-load {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
/* ローディングアニメーションここまで */

/* 
Base style
*/
body {
  font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}
label,
input,
textarea,
select,
button {
  cursor: pointer;
}
button {
  border: 0;
}

/* 
section
*/
.section {
  padding: 30px 15px;
}
.section.section-secounday {
  background: hsl(0, 0%, 94%);
}
.section-headline {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  margin: 0 0 40px;
}
.section-button {
  margin: 40px 0 0;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .section {
    padding: 20px 10px;
  }
  .section-headline {
    font-size: 30px;
    margin: 0 0 20px;
  }
  .section-button {
    margin: 20px 0 0;
  }
}

/* 
header
*/
.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
}
.header-logo {
  margin: 0;
}
.header-logo > a {
  display: block;
  color: transparent;
}
.header .header-logo {
  padding-left: 6%;
  padding-left: 4%;
}
/* .header-nav {} */
.menu {
  margin: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* .header-navitem {} */
.header-navitem > a {
  display: block;
  padding: 15px;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s;
}
.header-navitem > a:hover {
  border-bottom: 2px solid #fff;
}
@media screen and (max-width: 768px) {
  .header-logo {
    padding: 33px 15px;
  }
}

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

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

.hamburger {
  display: none; /* ハンバーガーアイコンを初めは非表示にする */
  cursor: pointer;
  transition: transform 0.3s ease; /* アニメーション用のトランジションを設定 */
}

.hamburger-bar {
  width: 35px;
  height: 5px;
  background-color: #fff;
  margin: 6px 0;
  transition: 0.4s;
}

/* アクティブ時のハンバーガーアイコンのスタイル */

.hamburger.active .hamburger-bar:first-child {
  transform: rotate(-45deg) translate(-10px, 10px); /* 最初のバーを移動して × マークを形成 */
}

.hamburger.active .hamburger-bar:nth-child(2) {
  opacity: 0; /* 2番目のバーを非表示にする */
}

.hamburger.active .hamburger-bar:last-child {
  transform: rotate(45deg) translate(-5px, -5px); /* 最後のバーを移動して × マークを形成 */
}

@media screen and (max-width: 1200px) {
  .menu {
    display: none; /* 通常のメニューを非表示にする */
  }

  .hamburger {
    display: block; /* ハンバーガーアイコンを表示する */
  }

  .menu.active {
    display: flex; /* ハンバーガーアイコンクリックでメニューを表示する */
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 100px;
    right: 15px;
    width: 200px;
    border-radius: 5px;
    padding: 15px;
    animation: fadein 1s ease-out forwards;
  }

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

/* 
hero
*/
.hero {
  background-image: url(../img/top.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-position: top;
  width: 100%;
  height: 850px;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero > strong {
  position: absolute;
  z-index: 3;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  color: #fff;
  font-weight: bold;
  display: block;
  width: 100%;
  text-shadow: 0 0 10px #000;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .hero {
    background-image: url(../img/top-s.jpg);
    background-size: auto;
    height: 500px;
  }
}

@media screen and (max-width: 768px) {
  .hero > strong {
    font-size: 50px;
    font-size: 30px;
    top: 50%;
  }
}

/* 
news
*/
.news {
  margin: 0;
  display: flex;
}
/* .news-image {} */
.news-caption {
  padding-left: 15px;
  padding-left: 55px;
}
.news-headline {
  margin: 0 0 20px;
  font-size: 30px;
}
/* .news-description {} */
@media screen and (max-width: 768px) {
  .news {
    display: block;
  }
  .news-image {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .news-headline {
    font-size: 20px;
    text-align: center;
  }
  .news-caption {
    padding-left: 15px;
  }
  
}

/* 
.select, .input, .radio, .textarea
*/
.select {
  border-radius: 5px;
  padding: 10px;
  border: 1px solid #ccc;
  min-width: 500px;
}
.input {
  border-radius: 5px;
  padding: 10px;
  border: 1px solid #ccc;
  min-width: 500px;
}
.radio {
  margin: 0 10px;
}
.textarea {
  border-radius: 5px;
  padding: 10px;
  border: 1px solid #ccc;
  min-width: 500px;
  min-height: 100px;
}
@media screen and (max-width: 768px) {
  .select,
  .input,
  .textarea {
    min-width: auto;
    width: 100%;
  }
}

/* 
form
*/
/* .form {} */
.form-table {
  margin: 0 auto;
}
/* .form-table tr {} */
.form-table th {
  padding: 10px;
  text-align: left;
}
.form-table td {
  padding: 10px;
}
.form-button {
  margin-top: 20px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .form-table,
  .form-table tbody,
  .form-table tr,
  .form-table th,
  .form-table td {
    display: block;
  }
}

/* 
works
*/
.works {
  margin: 40px 0;
  padding: 20px;
  text-align: center;
}
.works > img {
  margin: 0 15px;
}
@media screen and (max-width: 768px) {
  .works {
    margin: 20px 0;
    padding: 10px;
  }
  .works > img {
    width: 100px;
    margin: 5px;
  }
}

/* 
footer
*/
footer {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
}

footer .footer {
  padding: 40px 20px;
}

/* フッターA： サイト情報 */
.footA {
  margin-bottom: 30px;
}

.footA h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  letter-spacing: 0.2em;
  letter-spacing: -0em;
}

.footA p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 14px;
}

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

/* フッターB： フッターメニュー */
.footB div {
  margin-bottom: 20px;
}

.footB h3 {
  margin-top: 0;
  margin-bottom: 10px;
  border-bottom: solid 1px currentColor;
  font-size: 14px;
}

.footB ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footB a {
  display: block;
  padding: 5px;
  color: inherit;
  font-size: 12px;
  text-decoration: none;
}

.footB a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.footer-copy {
  display: block;
  text-align: center;
  padding: 10px;
}

@media (min-width: 768px) {
  .footB {
    display: flex;
  }

  .footB div {
    flex: 1;
  }

  .footB div:not(:first-child) {
    margin-left: 40px;
  }
}

/* コンテンツB： 概要（テキスト＋画像） */
.conB .contain01 {
	padding-top: 2px;
}

.conB .text {
	padding: 20px;
}

.conB h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 20px;
}

.conB p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
}

.conB a {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 30px;
	box-shadow: 0 0 0 1px #888;
	border: solid 3px currentColor;
	border-radius: 6px;
	background-color: #F79646;
	background-color: var(--accent-color);
	color: #fff;
	color: var(--text-bright-color);
	font-size: 14px;
	text-decoration: none;
}

.conB a:hover	{
	background-image: linear-gradient(
		rgba(255,255,255,0.2),
		rgba(255,255,255,0.2)
	);
}

.conB .photo {
	min-height: 200px;
	background-image: url(../img/photo01.jpg);
	background-position: center;
	background-size: cover;
}

@media (min-width: 768px) {
	.conB .contain01 {
		display: flex;
		flex-direction: row-reverse;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
		padding-top: 40px;
		padding-bottom: 40px;
    margin-top: -40px;
    margin-bottom: -39px;
	}

	.conB .photo {
		flex: 0 0 400px;
	}

	.conB .text {
		flex: 1;
		padding: 50px;
	}
}



/* コンテンツC： 概要（画像＋テキスト） */
.conC {
	background-color: #65A6CF;
	background-color: var(--main-color);
	color: #fff;
	color: var(--text-bright-color);
  background-color: #57a68b;
	background-color: #65A6CF;
}

.conC .text {
	padding: 20px;
}

.conC h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 20px;
}

.conC p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
}

.conC a {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 30px;
	border: solid 3px currentColor;
	border-radius: 6px;
	background-color: #F79646;
	background-color: var(--accent-color);
	color: #fff;
	color: var(--text-bright-color);
	font-size: 14px;
	text-decoration: none;
}

.conC a:hover	{
	background-image: linear-gradient(
		rgba(255,255,255,0.2),
		rgba(255,255,255,0.2)
	);
}

.conC .photo {
	min-height: 200px;
	background-image: url(img/top_kame.jpg);
	background-position: center;
	background-size: cover;
}

@media (min-width: 768px) {
	.conC .contain01 {
		display: flex;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
    margin-top: -23px;
	}

	.conC .photo {
		flex: 3;
	}

	.conC .text {
		flex: 2;
		padding: 50px;
    color: #fff;
	}
}

@media (min-width: 1190px) {

  /* 全体の横幅を固定 */
  .contain01
    {width: 1140px;
    margin-left: auto;
    margin-right: auto}

  }
  
