@charset "utf-8";
/* --------------------------------------------------
	html
-------------------------------------------------- */
html {
  font-size: 16px; /* 基本フォントサイズ（デフォルトは16px） */
}
body {
  font-family: 'ヒラギノ明朝 Pro', 'Hiragino Mincho Pro', 'MS PMincho', serif;
  font-size: 1rem; /* html の font-size を基準にする */
  line-height: 1.5; /* 行間を1.5倍に設定 */
  background-color: #ffffff;
}
/* --------------------------------------------------
	img切り替え
-------------------------------------------------- */
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc {
  display: block !important;
}
.sp {
  display: none !important;
}
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 1000px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
}
/* --------------------------------------------------
	float
-------------------------------------------------- */
.center {
  text-align: center;
}
.left {
  text-align: left;
}
.right {
  text-align: right;
}
.img-right {
  float: right;
}
.img-left {
  float: left;
  margin: 20px;
}
/* --------------------------------------------------
	margin
-------------------------------------------------- */
.ma_top_10 {
  margin-top: 10px;
}
.ma_top_20 {
  margin-top: 20px;
}
.ma_top_30 {
  margin-top: 30px;
}
.ma_top_40 {
  margin-top: 40px;
}
.ma_top_50 {
  margin-top: 50px;
}
.ma_bottom_10 {
  margin-bottom: 10px;
}
.ma_bottom_20 {
  margin-bottom: 20px;
}
.ma_bottom_30 {
  margin-bottom: 30px;
}
.ma_bottom_40 {
  margin-bottom: 40px;
}
.ma_bottom_50 {
  margin-bottom: 50px;
}
.ma_left_10 {
  margin-left: 10px;
}
.ma_left_20 {
  margin-left: 20px;
}
.ma_left_30 {
  margin-left: 30px;
}
.ma_left_40 {
  margin-left: 40px;
}
.ma_left_50 {
  margin-left: 50px;
}
/* --------------------------------------------------
	font_size
-------------------------------------------------- */
.fs_ttl {
  font-size: 24px;
  line-height: 170%;
  font-weight: bold;
  letter-spacing: 0.5em;
  
}
@media screen and (min-width : 960px) {
  .fs_ttl {
    font-size: 32px;
    line-height: 170%;
    font-weight: bold;
    letter-spacing: 0.5em;
  }
}
.fs_ttl2 {
  font-size: 16px;
  line-height: 170%;
  letter-spacing: 0.5em;
  color: #98823e;
}
/* --------------------------------------------------
	font_color
-------------------------------------------------- */
.red {
  color: #C00;
}
.pink {
  color: #F69;
  font-weight: bold;
}
.blue {
  color: #19193d;
  font-weight: bold;
}
.white {
  color: #FFF;
  font-weight: bold;
}
.yellow {
  color: #FAFA03;
  font-weight: bold;
}
.green {
  color: #28AA32;
  font-weight: bold;
}
.orange {
  color: #F67103;
  font-weight: bold;
}
/* --------------------------------------------------
	bg_color
-------------------------------------------------- */
.bg_red {
  background-color: #118cd2;
  color: #FFF;
}
.bg_red a {
  color: #FC0;
}
.bg_blue {
  background-color: #99ccff;
}
.bg_white {
  background-color: #fff;
  padding-bottom: 50px;
}
/* --------------------------------------------------
	main_image
-------------------------------------------------- */
/* --------------------------------------------------
	ttl
-------------------------------------------------- */
.ttl {
  width: 100%;
  margin: 0 auto;
  padding-top: 3%;
  padding-bottom: 3%;
  text-align: center;
  color: #222222;
}
/* --------------------------------------------------
	hr
-------------------------------------------------- */
hr {
  height: 0;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0;
  border: 0;
  border-top: 1px dashed #ccc;
}
/* --------------------------------------------------
	wrapper
-------------------------------------------------- */
#wrapper {
  color: #555;
}
@media screen and (min-width : 768px) {
  #wrapper {
    width: 100%;
  }
}
@media screen and (min-width : 1000px) {
  #wrapper {
    width: 1000px;
    margin: 0 auto;
  }
  /* --------------------------------------------------
	box
-------------------------------------------------- */
}
.box {
  width: 100%;
}
@media screen and (min-width : 1000px) {
  .box {
    width: 100%;
    margin: 0 auto;
  }
}
.box2 {
  margin: 0px auto;
  width: 90%;
}
@media screen and (min-width : 1000px) {
  .box2 {
    width: 70%;
    margin: 0 auto;
    padding: 2%;
  }
}
.box_gray {
  margin: 0 auto;
  background-color: #eeeeee;
}
/* --------------------------------------------------
	footer
-------------------------------------------------- */
#footer {
  background-color: #efefef;
  color: #222222;
  padding-top: 2%;
  padding-bottom: 2%;
  font-size: 0.875em;
}
#footer .flex_item {
  line-height: 1.4; /* Adjust line-height for better readability at a smaller font size */
}
@media screen and (min-width : 1000px) {
  #footer {
    display: flex;
    align-items: stretch;
    justify-content: center;
  }
}
#footer a {
  color: #222222;
  text-decoration: none;
}
.flex_item {
  padding: 1%;
  color: #222;
}
.copy {
  background-color: #000;
  text-align: center;
  font-size: 12px;
  color: #FFF;
  padding-top: 2%;
  padding-bottom: 2%;
}
/* --------------------------------------------------
	レイアウト
-------------------------------------------------- */
.layout {
  background-color: #fff;
  color: #222222;
  padding-top: 0%;
  padding-bottom: 3%;
  width: 100%;
}
@media screen and (min-width : 1000px) {
  .layout {
    display: flex;
    align-items: stretch;
    justify-content: center;
  }
}
.item {
  width: 100%;
  padding: 20px;
  background-color: #f5f5f5;
}
@media screen and (min-width : 1000px) {
  .item {
    width: 460px;
  }
}
.vision {
  background-color: #fff;
  color: #222222;
  padding-top: 0%;
  padding-bottom: 3%;
  width: 100%;
}
@media screen and (min-width : 1000px) {
  .vision {
    display: flex;
    align-items: stretch;
    justify-content: center;
  }
}
.item2 {
  width: 100%;
  padding: 20px;
  background-color: #fff;
}
@media screen and (min-width : 1000px) {
  .item2 {
    width: 700px;
  }
}
.item3 {
  width: 100%;
  padding-left: 60px;
  padding-right: 60px;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #fff;
}
@media screen and (min-width : 1000px) {
  .item3 {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 260px;
  }
}
.link_btn {
  overflow: hidden;
  list-style: none;
}
.link_btn li {
  float: left;
  width: 24%;
  text-align: center;
  background: #FF9900;
  margin-right: 1%;
  border-radius: 15px;
}
.link_btn li a {
  text-decoration: none;
  color: #fff;
  font-size: 0.8em;
}
/* 経営理念 */
.flex-container {
  background-color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  flex-direction: column;
}
@media screen and (min-width : 1000px) {
  .flex-container {
    flex-direction: row;
  }
}
.flex-item {
  margin: 0px auto;
  margin-bottom: 1%;
  width: 60%;
  padding: 1%;
  box-sizing: border-box;
  color: #222;
}
@media screen and (min-width : 1000px) {
  .flex-item {
    margin: 0px auto;
    margin-bottom: 0.5%;
    width: 21%;
    padding: 1%;
    box-sizing: border-box;
    color: #222;
  }
}
.flex-item img {
  width: 60%;
}
/* --------------------------------------------------
	page-top
-------------------------------------------------- */
#page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 100%;
}
#page-top a {
  background: #ccc;
  text-decoration: none;
  color: #fff;
  width: 50px;
  padding: 10px 0;
  text-align: center;
  display: block;
  border-radius: 5px;
}
#page-top a:hover {
  text-decoration: none;
  background: #98823e;
}
/* --------------------------------------------------
	動き
-------------------------------------------------- */
.sa {
  opacity: 0;
  transition: all .5s ease;
}
.sa.show {
  opacity: 1;
  transform: none;
}
.sa--lr {
  transform: translate(-100px, 0);
}
.sa--rl {
  transform: translate(100px, 0);
}
.sa--up {
  transform: translate(0, 100px);
}
.sa--down {
  transform: translate(0, -100px);
}
/* --------------------------------------------------
	リンク調整
-------------------------------------------------- */
section {
  padding-top: 0px; /* 通常のヘッダーの高さに合わせて調整 */
  margin-top: -0px; /* 通常のヘッダーの高さに合わせて調整 */
}
/* 画面幅1000px以下でヘッダー高さを50pxに合わせる */
@media (max-width: 1000px) {
  section {
    padding-top: 50px; /* ヘッダーが50pxの場合の調整 */
    margin-top: -50px; /* ヘッダーが50pxの場合の調整 */
  }
}
/* --------------------------------------------------
	追加
-------------------------------------------------- */
.txt_b {
	font-size:1.2rem;
    margin-top: 20px;
    margin-bottom: 60px;
    word-wrap: break-word; /* 単語を折り返す */
    overflow-wrap: break-word; /* 単語の折り返しを強制 */
    text-align: center; /* テキストの整列 */
}

@media screen and (max-width: 1000px) {
    .txt_b {
        padding-left: 1em;
        padding-right: 1em;
        word-wrap: break-word; /* スマートフォンでの折り返し */
        overflow-wrap: break-word; /* スマートフォンでの折り返し */
        font-size: 0.7rem; /* フォントサイズを調整（必要に応じて変更） */
    }
}

#videoContainer {
  width: 100%; /* 横幅を100%に設定 */
  height: 350px; /* 高さを指定 */
  overflow: hidden; /* はみ出し部分を隠す */
}
video {
  width: 100%; /* 横幅を100%に */
  height: auto; /* 高さは自動調整 */
  display: block;
}
@media screen and (max-width: 1000px) {
	#videoContainer {
  width: 100%; /* 横幅を100%に設定 */
  height: 100%; /* 高さを指定 */
		z-index: -1;       /* 他のコンテンツの後ろに配置 */
}
}
/* Container styling */
.box_c {
  display: flex;
  background-color: #fff;
  margin-bottom: 0px;
  padding: 10px;
  border-radius: 5px;
  overflow: hidden;
}
/* Image styling */
.image_c {
  width: 50%; /* Set image width to 50% of the container */
  height: 500px; /* Fixed height */
  object-fit: cover;
}
/* Text styling */
.text-content_c {
  width: 50%; /* Set text section to take up remaining 50% */
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.title_c {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #98823e;
}
.body-text_c {
  font-size: 1em;
  line-height: 1.5;
	margin: 10px;
}
/* Responsive layout for screen width below 1000px */
@media (max-width: 1000px) {
  .box_c {
    flex-direction: column; /* Stack elements vertically */
  }
  .image_c {
    width: 100%; /* Full width */
    height: auto; /* Adjust height to maintain aspect ratio */
  }
	.title_c {
  font-size: 1.2em;
  margin-left: 20px;
}
	.body-text_c {
	margin-left: 30px;
		margin-right: 30px;
}
  .text-content_c {
    width: 100%; /* Full width for text section */
    padding-left: 0; /* Remove left padding */
    padding-top: 10px; /* Add padding above text */
    text-align: left; /* Align text to the left */
  }
}
/* --------------------------------------------------
	form
-------------------------------------------------- */
/* Form Wrapper */
#formWrap {
  max-width: 1000px;
  margin: 0 auto;
  background-color: #f9f9f9;
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}
/* Form Table */
.formTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
/* Table Headers */
.formTable th {
  text-align: left;
  padding: 10px 0;
  color: #333;
  font-weight: bold;
  width: 20%;
  vertical-align: top; /* 追加: テキストを上部に揃える */
}
/* Table Data Cells */
.formTable td {
  padding: 10px 0;
}
/* Input Fields */
.formTable input[type="text"], .formTable input[type="email"], .formTable textarea {
  width: 95%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}
.formTable input[type="text"]:focus, .formTable input[type="email"]:focus, .formTable textarea:focus {
  border-color: #0078D4;
  outline: none;
}
/* Radio Buttons */
.formTable input[type="radio"] {
  margin-right: 5px;
}
/* Textarea */
.formTable textarea {
  resize: vertical;
  min-height: 100px;
}
/* Buttons */
.btn {
  background-color: #98823e;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn:hover {
  background-color: #98823e;
}
input[type="reset"] {
  background-color: #CCCCCC;
}
input[type="reset"]:hover {
  background-color: #A0A0A0;
}
p {
  text-align: center;
  margin-top: 20px;
}
/* Responsive Styles for screens 1000px or below */
@media (max-width: 1000px) {
  /* Center the formWrap area */
  #formWrap {
    width: 90%; /* Set the width to less than 100% */
    margin: 0 auto; /* Center align */
  }
  /* Form Table in responsive view */
  .formTable, .formTable tr, .formTable th, .formTable td {
    display: block;
    width: 100%;
  }
  /* Table Headers */
  .formTable th {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
  }
  /* Table Data Cells */
  .formTable td {
    margin-bottom: 10px;
  }
  /* Input Fields and Textarea */
  .formTable input[type="text"], .formTable textarea {
    width: ;
  }
}

/* 文字のアニメ */
.animated-text {
    display: inline-block; /* インラインブロックで各文字を個別に扱う */
    overflow: hidden; /* 隠す */
    white-space: nowrap; /* 改行を防ぐ */
    opacity: 0; /* 初期状態で透明 */
    animation: flow 2.5s forwards; /* アニメーションの適用 */
}

@keyframes flow {
    0% {
        transform: translateY(20px); /* 下から上に */
        opacity: 0; /* 初期状態で透明 */
    }
    100% {
        transform: translateY(0); /* 元の位置に戻る */
        opacity: 1; /* 完全に表示 */
    }
}

/* 各文字に異なる遅延を設定 */
.animated-text:nth-child(1) { animation-delay: 0s; }
.animated-text:nth-child(2) { animation-delay: 0.1s; }
.animated-text:nth-child(3) { animation-delay: 0.2s; }
.animated-text:nth-child(4) { animation-delay: 0.3s; }

/**/
