@charset "UTF-8";
/*! destyle.css v4.0.1 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  min-width: 0;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */
dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
}

button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */
option {
  padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */
[type=search] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Fix appearance for Firefox
 */
[type=number] {
  -moz-appearance: textfield;
}

/**
 * Clickable labels
 */
label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

body {
  font-family: "Noto Sans JP", sans-serif, serif;
  color: #7C6F6F;
  background-color: #FFFCFA;
}

h1 {
  font-size: 3.25rem;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  /* 767px以下のモバイルデバイス用のスタイルをここに記述 */
  h1 {
    font-size: 1.5rem;
    font-weight: bold;
  }
}
h2 {
  font-size: 2.8rem;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  /* 767px以下のモバイルデバイス用のスタイルをここに記述 */
  h2 {
    font-size: 2rem;
    font-weight: bold;
  }
}
h3 {
  font-size: 2rem;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  /* 767px以下のモバイルデバイス用のスタイルをここに記述 */
  h3 {
    font-size: 1.6rem;
    font-weight: bold;
  }
}
p {
  font-size: 1.25rem;
}

@media screen and (max-width: 768px) {
  /* 767px以下のモバイルデバイス用のスタイルをここに記述 */
  p {
    font-size: 1rem;
  }
}
li {
  list-style: none;
}

.contents-container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.section {
  padding: 14% 0;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 120px;
  width: 100%;
  padding: 0 40px;
}
.header-logo {
  width: 10vw;
}

html {
  font-size: 16px; /* 基本フォントサイズ */
}

@media (max-width: 768px) {
  html {
    font-size: 14px; /* タブレットなどのデバイスに適用 */
  }
}
@media (max-width: 480px) {
  html {
    font-size: 12px; /* スマートフォンに適用 */
  }
}
/* アニメーションの定義 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px); /* 下から上にふわっと出現 */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* アニメーションを適用するクラス */
.contents-container {
  opacity: 0; /* 初期状態は透明 */
  transition: opacity 1s, transform 1s; /* アニメーションの滑らかさを設定 */
}

/* スクロールで表示するクラス */
.visible {
  opacity: 1; /* 表示状態 */
  transform: translateY(0);
}

/* アニメーションの定義 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px); /* 下から上にふわっと出現 */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* アニメーションを適用するクラス */
.fade-in {
  opacity: 0; /* 初期状態は透明 */
  animation: fadeIn 1s forwards; /* 1秒間のアニメーションを適用 */
}

.main-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.main-visual .hero {
  position: relative;
  width: 100%;
  max-width: 100%; /* この指定は冗長なため削除可能 */
  overflow: hidden; /* 画像がコンテナ外にはみ出さないようにする */
}
.main-visual .hero img {
  width: 100%;
  height: 100%; /* コンテナの高さに合わせて調整 */
  object-fit: contain; /* 画像がコンテナに収まるように調整 */
  display: block;
}
@media (max-width: 768px) {
  .main-visual .hero img {
    position: relative;
    width: 195%;
    right: 142px;
  }
}
.main-visual .hero .hero-text {
  position: absolute;
  top: 48%;
  left: 66%;
  transform: translate(-50%, -50%); /* 全体の中央配置を維持 */
}
@media (max-width: 768px) {
  .main-visual .hero .hero-text {
    position: absolute;
    top: 55%;
    left: 65%;
    writing-mode: vertical-rl;
    text-align: left; /* 縦書きの場合は右揃えが一般的 */
  }
}
.main-visual .hero .hero-text h1 {
  height: max-content;
  width: max-content;
  font-size: min(7.5vw, 3.25rem);
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFFFFF;
  text-shadow: 2px 2px 5px rgba(243, 138, 64, 0.961); /* ドロップシャドウの追加 */
}
@media (max-width: 768px) {
  .main-visual .hero .hero-text h1 {
    margin-left: 12px;
  }
}
.main-visual .hero .hero-text p {
  font-size: min(3.4vw, 1.8em);
  font-weight: 800;
  line-height: 1.5;
  color: #FFFFFF;
  text-align: left; /* 左揃えに変更 */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* ドロップシャドウの追加 */
}
.main-visual .hero .hero-text p.orange {
  text-decoration: underline;
  text-decoration-color: #FF9C57;
  text-decoration-thickness: 4px; /* 太さを調整 */
}
@media (max-width: 768px) {
  .main-visual .hero .hero-text p.orange {
    text-decoration: none;
  }
}
.main-visual header {
  position: absolute;
  display: flex;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10; /* ヘッダーが他の要素の上に表示されるようにする */
  justify-content: center;
}
.main-visual .header-logo {
  height: fit-content; /* ロゴの高さを調整 */
}
@media (max-width: 768px) {
  .main-visual .header-logo {
    display: none;
  }
}
.main-visual .header {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  background-color: #AA8A72;
  border-radius: 5px;
  height: fit-content;
  width: 90%;
  margin-top: 20px;
  justify-content: space-between; /* ロゴとメニューを両端に配置 */
}
@media (max-width: 768px) {
  .main-visual .header {
    margin-top: 2px;
    padding: 4px 10px;
    display: flex;
    justify-content: space-around; /* ロゴとメニューを両端に配置 */
  }
}
.main-visual .navigation {
  display: flex;
  align-items: center;
}
.main-visual .navigation-menu {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}
.main-visual .navigation-menu__link {
  margin-left: 20px;
  text-decoration: none;
  color: #FFFFFF;
  font-weight: bold;
  font-size: 1.3rem;
}
@media (max-width: 768px) {
  .main-visual .navigation-menu__link {
    font-size: 0.8rem;
    font-weight: lighter;
    margin-left: 0;
    margin-right: 12px;
  }
}
.main-visual .btn-primary__gold {
  margin-left: 20px;
  padding: 10px 20px;
  background-color: #FFFCFA;
  color: #7C6F6F;
  text-decoration: none;
  border-radius: 5px;
}
.main-visual .btn-primary__gold:hover {
  position: relative;
  top: 2px;
  background-color: #FF9C57;
  color: #FFFCFA;
}
@media (max-width: 768px) {
  .main-visual .btn-primary__gold {
    padding: 5px 5px;
    font-size: 0.8rem;
    margin-left: 16px;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes underline {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
.hero-text h1 span {
  opacity: 0;
  display: inline-block;
  animation: fadeIn 0.5s forwards;
}

.hero-text p span {
  opacity: 0;
  display: inline-block;
  position: relative;
  animation: fadeIn 0.5s forwards;
}

.hero-text p span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 4px;
  background-color: #FF9C57;
  animation: underline 0.5s forwards;
}
@media (max-width: 768px) {
  .hero-text p span::after {
    height: 0;
  }
}

.card-container {
  margin-top: 4vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .card-container {
    display: flex;
    justify-content: center;
  }
}

.card {
  background-color: white;
  border: 2px solid #AA8A72;
  border-radius: 10px;
  width: 300px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(180, 105, 62, 0.1);
  text-align: center;
}

.icon {
  font-size: 2em;
  margin-bottom: 10px;
}
.icon img {
  width: 100%;
}
@media (max-width: 900px) {
  .icon img {
    width: 60%;
  }
}

.content h3 {
  color: #7C6F6F;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 1.5rem;
}

.content p {
  color: #7C6F6F;
  font-size: 0.9em;
  text-align: left;
}

@media (max-width: 768px) {
  .card {
    width: 80%;
    margin-bottom: 8vh;
  }
}
.works-content {
  margin-top: 4vh;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 80px;
  /* aタグ全体をインラインブロックにして、幅を画像サイズに合わせる */
  /* aタグの中の画像 */
  /* モーダル表示時の拡大スタイル */
}
@media (max-width: 900px) {
  .works-content {
    display: flex;
    flex-direction: column;
  }
}
.works-content a {
  display: inline-block;
  width: auto; /* リンクが画像サイズに合わせるように調整 */
  text-decoration: none;
}
.works-content a img, .works-content .modal-img {
  display: block;
  max-width: 100%; /* 画像が親の幅に収まるようにする */
  height: auto;
  transition: transform 0.3s ease;
}
.works-content .modal-img:hover {
  transform: scale(1.2);
  z-index: 2;
}

.modal {
  display: none; /* 最初は非表示 */
  position: fixed;
  z-index: 1000; /* 他の要素より前面に表示 */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* 背景を半透明に */
}
@media (max-width: 900px) {
  .modal {
    width: 100%;
    height: 20%;
    position: absolute;
    top: 40%;
  }
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%; /* 画面幅に対して最大幅を設定 */
  max-height: 90%; /* 画面高さに対して最大高さを設定 */
  width: auto;
  height: auto;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* アニメーションを強化 */
@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
.modal-content, .close {
  animation-name: zoom;
  animation-duration: 0.6s;
}

.works-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #5093CC;
  background-color: #FFFCFA;
  border: 2px solid #5093CC;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.works-button:hover {
  background-color: #5093CC;
  color: #FFFFFF;
}
@media (min-width: 901px) {
  .works-button {
    margin: 0 auto;
    display: block;
  }
}
@media (max-width: 900px) {
  .works-button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    box-sizing: border-box;
    text-align: center;
  }
}

.service {
  margin-top: 12vh;
}

.service h3 {
  font-weight: bold;
  position: relative;
  display: inline-block;
}
.service h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background-color: #FF9C57;
  z-index: -1;
}

.service dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 20px;
}
@media (max-width: 900px) {
  .service dl {
    display: flex;
    flex-direction: column;
  }
}
.service dl dt {
  width: 20%;
  padding-bottom: 20px;
  font-weight: 500;
  font-size: 1.1rem;
}
@media (max-width: 900px) {
  .service dl dt {
    width: 100%;
    padding-bottom: 8px;
  }
}
.service dl dd {
  width: 80%;
  padding-bottom: 20px;
  font-size: 1rem;
}
@media (max-width: 900px) {
  .service dl dd {
    width: 100%;
    padding-bottom: 24px;
  }
}

.service p {
  font-size: 1rem;
}

.about-section {
  margin-top: 4vh;
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .about-section {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;
  }
}
.about-section .about-text {
  flex: -1 1 400px;
  min-width: 75%;
}
.about-section dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 10px;
  font-size: 1.25rem;
}
@media screen and (max-width: 768px) {
  .about-section dl dl {
    font-size: 1rem;
  }
}
.about-section dl dt {
  width: 20%;
  padding-bottom: 20px;
  margin-bottom: 10px;
}
.about-section dl dd {
  width: 80%;
  padding-bottom: 20px;
  margin-bottom: 10px;
}
.about-section p {
  margin-top: 1vh;
}

.about-images {
  position: relative;
  margin: 0 auto;
}
.about-images img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.message {
  margin-top: 8vh;
}
.message h3 {
  position: relative;
  display: inline-block;
}
.message h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background-color: #FF9C57;
  z-index: -1;
}
.message .message_text {
  margin-top: 2vh;
}

.contact-container {
  margin-top: 4vh;
}

.contact-button {
  margin-top: 6vh;
  display: flex;
  justify-content: center;
}

.button_mail {
  padding: 15px 30px; /* ボタンの内側の余白 */
  text-align: center;
  width: 68%;
  font-size: 1.2rem; /* 文字サイズ */
  font-weight: bold; /* 文字を太字に */
  color: #FFFFFF; /* 文字色 */
  border: none; /* ボーダーを削除 */
  border-radius: 5px; /* ボタンの角を丸く */
  cursor: pointer; /* マウスカーソルをポインタに */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15); /* 影を追加 */
  transition: transform 0.2s ease-in-out; /* ホバー時のアニメーション */
}
@media (min-width: 901px) {
  .button_mail {
    margin: 0 auto;
    display: block;
  }
}
@media (max-width: 900px) {
  .button_mail {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
  }
}

@keyframes smoothScroll {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.top_button {
  display: flex;
  justify-content: flex-end;
  margin-top: 8vh;
  flex-direction: column;
  align-items: flex-end;
  gap: 2vh;
  animation: smoothScroll 2s ease-out;
}
.top_button a i {
  display: block;
  color: #7c6f6f;
  font-size: 2.5rem;
}
.top_button a:hover {
  background-color: #f0f0f0;
}
.top_button p {
  margin: 0;
  font-size: 1rem;
  color: #7c6f6f;
}

.button_mail {
  background-color: #FF9C57; /* ボタンの背景色（オレンジ） */
}

.button_mail:hover {
  transform: scale(1.05); /* ホバー時に少し拡大 */
}

footer {
  background-color: #AA8A72;
  color: #FFFFFF;
  padding: 50px 50px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.footer-nav a {
  color: #ffffff;
  margin: 0 15px;
  text-decoration: none;
  font-size: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  width: 36%;
}

.close-button {
  margin-left: 90%;
}

.footer-rights p {
  font-size: 0.8rem;
}/*# sourceMappingURL=style.css.map */