@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;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

input,
textarea,
select,
button {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
/* --------------------------------------------------
	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.24em;
  
}
@media screen and (min-width : 960px) {
  .fs_ttl {
    font-size: 32px;
    line-height: 170%;
    font-weight: bold;
    letter-spacing: 0.34em;
  }
}
.fs_ttl2 {
  font-size: 16px;
  line-height: 170%;
  letter-spacing: 0.26em;
  color: #c5a873;
}
/* --------------------------------------------------
	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
-------------------------------------------------- */
.hero-fixed-stage {
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  height: clamp(280px, 58vh, 640px);
  overflow: hidden;
  z-index: 0;
}

.hero-fixed-stage .pc,
.hero-fixed-stage .sp {
  height: 100%;
}

.hero-fixed-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transform-origin: center center;
}

.hero-fixed-spacer {
  height: clamp(280px, 58vh, 640px);
}

.content-layer {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  border-radius: 28px 28px 0 0;
  background-color: #ffffff;
  box-shadow: 0 -8px 24px rgba(25, 25, 25, 0.08);
}

@media (min-width: 1000px) {
  .hero-fixed-stage {
    top: 100px;
    height: clamp(360px, 62vh, 760px);
  }

  .hero-fixed-spacer {
    height: clamp(360px, 62vh, 760px);
  }
}

@media (max-width: 1000px) {
  .content-layer {
    margin-top: -18px;
    border-radius: 18px 18px 0 0;
  }
}

/* --------------------------------------------------
	ttl
-------------------------------------------------- */
.ttl {
  width: 100%;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 24px;
  text-align: center;
  color: #222222;
}

@media (max-width: 1000px) {
  .fs_ttl {
    font-size: 2rem;
    letter-spacing: 0.18em;
  }

  .fs_ttl2 {
    font-size: 1rem;
    letter-spacing: 0.2em;
  }

  .ttl {
    padding-top: 30px;
    padding-bottom: 18px;
  }
}
/* --------------------------------------------------
	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: 24px;
  padding-bottom: 20px;
  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: 10px 20px;
  color: #222;
}
.footer-links {
  text-align: left;
}
.footer-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 4px 0;
}
#footer .footer-nav-link .nav-icon {
  width: 18px;
  min-width: 18px;
}

@media (max-width: 999px) {
  #footer {
    padding-top: 18px;
    padding-bottom: 16px;
  }

  #footer .flex_item {
    text-align: center;
    padding: 10px 16px;
  }

  #footer .flex_item img {
    width: min(240px, 72vw);
    height: auto;
  }

  .footer-links {
    text-align: center;
  }
}
.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: #c5a873;
}
/* --------------------------------------------------
	動き
-------------------------------------------------- */
.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; /* 通常のヘッダーの高さに合わせて調整 */
}

#link01 {
  padding-bottom: 56px;
  background:
    radial-gradient(circle at 10% 12%, rgba(197, 168, 115, 0.08), rgba(197, 168, 115, 0) 34%),
    linear-gradient(180deg, #f7f6f2 0%, #f3f1ea 100%);
}
/* 画面幅1000px以下でヘッダー高さを50pxに合わせる */
@media (max-width: 1000px) {
  section {
    padding-top: 50px; /* ヘッダーが50pxの場合の調整 */
    margin-top: -50px; /* ヘッダーが50pxの場合の調整 */
  }
}
/* --------------------------------------------------
	追加
-------------------------------------------------- */
.txt_b {
  position: relative;
  width: min(1080px, 92%);
  margin: 40px auto 92px;
  padding: 24px 0;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media screen and (max-width: 1000px) {
  .txt_b {
    width: calc(100% - 28px);
    margin: 28px auto 56px;
    padding: 16px 0;
  }
}

.txt_b::before,
.txt_b::after {
  content: "";
  display: block;
  width: min(340px, 58%);
  height: 2px;
  margin: 0 auto 26px;
  background: linear-gradient(90deg, rgba(197, 168, 115, 0), rgba(197, 168, 115, 0.9), rgba(197, 168, 115, 0));
}

.txt_b::after {
  margin: 26px auto 0;
}

#videoContainer {
  width: 100%;
  height: 350px;
  overflow: hidden;
}

#videoContainer video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}
@media screen and (max-width: 1000px) {
  #videoContainer {
    width: 100%;
    height: min(56vw, 320px);
    position: relative;
    z-index: 1;
  }
}
/* Container styling */
.box_c {
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: stretch;
  margin: 24px auto;
  width: min(1180px, 92%);
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e4ddca;
  box-shadow: 0 10px 28px rgba(35, 31, 21, 0.08);
  overflow: hidden;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

#link01 .box_c:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(35, 31, 21, 0.12);
}

#link01 .box_c:nth-of-type(odd) {
  grid-template-columns: 54% 46%;
}

#link01 .box_c:nth-of-type(odd) .image_c {
  order: 2;
}

#link01 .box_c:nth-of-type(odd) .text-content_c {
  order: 1;
}
/* Image styling */
.image_c {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}
/* Text styling */
.text-content_c {
  width: auto;
  padding: 52px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  background:
    linear-gradient(160deg, rgba(197, 168, 115, 0.07), rgba(197, 168, 115, 0) 52%),
    #ffffff;
}
.title_c {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-weight: 600;
  margin-bottom: 18px;
  color: #c5a873;
  line-height: 1.5;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
  word-break: normal;
}
.body-text_c {
  font-size: clamp(0.96rem, 1.22vw, 1.03rem);
  line-height: 2;
  color: #2a2a2a;
  margin: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 1001px) {
  #link01 .box_c {
    --slide-offset: 0px;
    position: relative;
    width: min(1120px, 90%);
    border-radius: 22px;
    margin: 28px auto;
    transform: translateX(var(--slide-offset));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  #link01 .box_c:nth-of-type(odd) {
    --slide-offset: 26px;
    grid-template-columns: 54% 46%;
  }

  #link01 .box_c:nth-of-type(even) {
    --slide-offset: -26px;
  }

  #link01 .box_c:hover {
    transform: translateX(var(--slide-offset)) translateY(-6px);
    box-shadow: 0 20px 38px rgba(35, 31, 21, 0.14);
  }

  #link01 .box_c::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #c5a873 0%, rgba(197, 168, 115, 0.1) 90%);
    z-index: 2;
  }

  #link01 .box_c:nth-of-type(odd)::before {
    background: linear-gradient(90deg, rgba(197, 168, 115, 0.1) 10%, #c5a873 100%);
  }

  #link01 .text-content_c {
    position: relative;
    padding-top: 52px;
  }

  #link01 .image_c {
    transition: transform 0.85s ease, filter 0.4s ease;
  }

  #link01 .box_c:hover .image_c {
    transform: scale(1.04);
    filter: saturate(1) contrast(1.05);
  }
}
/* Responsive layout for screen width below 1000px */
@media (max-width: 1000px) {
  .box_c {
    grid-template-columns: 100%;
    width: calc(100% - 26px);
    margin: 16px auto;
    border-radius: 14px;
  }

  #link01 .box_c:nth-of-type(odd) {
    grid-template-columns: 100%;
  }

  #link01 .box_c:nth-of-type(odd) .image_c,
  #link01 .box_c:nth-of-type(odd) .text-content_c {
    order: initial;
  }

  .image_c {
    width: 100%;
    min-height: 230px;
    max-height: 300px;
  }

  .title_c {
    font-size: 1.14rem;
    margin: 0 0 12px;
  }

  .body-text_c {
    font-size: 0.95rem;
  }

  .text-content_c {
    width: 100%;
    padding: 26px 20px 28px;
    text-align: left;
  }
}
/* --------------------------------------------------
	form
-------------------------------------------------- */
/* Form Wrapper */
#formWrap {
  max-width: 1000px;
  margin: 0 auto;
  background-color: #f9f9f9;
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-sizing: border-box;
}
/* 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: 100%;
  max-width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}
.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: #c5a873;
  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: #c5a873;
}
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: calc(100% - 24px); /* padding/border込みで横にはみ出さないようにする */
    margin: 0 auto; /* Center align */
    padding: 14px;
  }
  /* 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 input[type="email"], .formTable textarea {
    width: 100%;
  }
}

#companyCanvas {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

/* 文字のアニメ */
.animated-text {
  display: inline-block;
  position: relative;
  margin: 0.34em 0;
  padding: 0 0.15em;
  overflow: hidden;
  white-space: normal;
  color: #222;
  font-size: clamp(1.15rem, 2.2vw, 1.95rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.55;
  text-shadow: 0 2px 10px rgba(17, 56, 104, 0.1);
  opacity: 0;
  animation: flow 1.2s ease forwards;
}

.line-1 {
  font-size: clamp(1.25rem, 2.8vw, 2.3rem);
  letter-spacing: 0.06em;
  font-weight: 600;
}

.line-2 {
  font-size: clamp(1.05rem, 2.05vw, 1.6rem);
  font-weight: 500;
  color: #222;
}

.line-3 {
  font-size: clamp(1.25rem, 3vw, 2.45rem);
  font-weight: 600;
}

.line-4 {
  font-size: clamp(1.15rem, 2.4vw, 1.95rem);
}

.line-5 {
  font-size: clamp(1.35rem, 3.4vw, 2.85rem);
  letter-spacing: 0.08em;
  color: #c5a873;
  font-weight: 600;
}

@media screen and (max-width: 1000px) {
  .animated-text {
    font-size: clamp(1rem, 4.8vw, 1.5rem);
    letter-spacing: 0.03em;
    white-space: normal;
  }

  .line-2 {
    font-size: clamp(1rem, 4.1vw, 1.2rem);
  }
}

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

/* 各文字に異なる遅延を設定 */
.txt_b .animated-text:nth-of-type(2) { animation-delay: 0.08s; }
.txt_b .animated-text:nth-of-type(3) { animation-delay: 0.18s; }
.txt_b .animated-text:nth-of-type(4) { animation-delay: 0.28s; }
.txt_b .animated-text:nth-of-type(5) { animation-delay: 0.38s; }
.txt_b .animated-text:nth-of-type(6) { animation-delay: 0.48s; }

/**/
