/*
Theme Name: Original
*/
/* Variables
   ----------------------------------------------------------------- */
:root {
  --color-text: #05183E;
  --color1: #005BAC;
  --color2: #2C2E83;
  --light-gray: #F3F4F5;
  --white: #ffffff;
  --black: #212A37;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-black: 900;
  --leading-default: 2.2;
  --text-shadow: 0px 4px 4px rgba(0,0,0,0.25);
  --font-noto-sans-jp: "Noto Sans JP", sans-serif;
  --font-noto-serif-jp: "Noto Serif JP", serif;
  --font-eb-garamond: "EB Garamond", serif;
  --duration-default: .3s;
  --opacity-default: 0.8;
}

/* Reset
   ----------------------------------------------------------------- */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

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

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

/* # =================================================================
	 # Forms
	 # ================================================================= */
input {
  border-radius: 0;
}

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

[type=search] {
  -webkit-appearance: textfield; /* Correct the odd appearance in Chrome and Safari */
  outline-offset: -2px; /* Correct the outline style in Safari */
}

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

textarea {
  overflow: auto; /* Internet Explorer 11+ */
  resize: vertical; /* Specify textarea resizability */
}

button,
input,
optgroup,
select,
textarea {
  font: inherit; /* Specify font inheritance of form elements */
}

optgroup {
  font-weight: bold; /* Restore the font weight unset by the previous rule */
}

button {
  overflow: visible; /* Address `overflow` set to `hidden` in IE 8/9/10/11 */
}

button,
select {
  text-transform: none; /* Firefox 40+, Internet Explorer 11- */
}

/* Apply cursor pointer to button elements */
button,
[type=button],
[type=reset],
[type=submit],
[role=button] {
  cursor: pointer;
}

/* Remove inner padding and border in Firefox 4+ */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/* Replace focus style removed in the border reset above */
button:-moz-focusring,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  outline: 1px dotted ButtonText;
}

button,
html [type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button; /* Correct the inability to style clickable types in iOS */
}

/* Remove the default button styling in all browsers */
button,
input,
select,
textarea {
  background-color: transparent;
  border-style: none;
}

/* Style select like a standard input */
select {
  -moz-appearance: none; /* Firefox 36+ */
  -webkit-appearance: none; /* Chrome 41+ */
}

select::-ms-expand {
  display: none; /* Internet Explorer 11+ */
}

select::-ms-value {
  color: currentColor; /* Internet Explorer 11+ */
}

legend {
  border: 0; /* Correct `color` not being inherited in IE 8/9/10/11 */
  color: inherit; /* Correct the color inheritance from `fieldset` elements in IE */
  display: table; /* Correct the text wrapping in Edge and IE */
  max-width: 100%; /* Correct the text wrapping in Edge and IE */
  white-space: normal; /* Correct the text wrapping in Edge and IE */
  max-width: 100%; /* Correct the text wrapping in Edge 18- and IE */
}

::-webkit-file-upload-button {
  /* Correct the inability to style clickable types in iOS and Safari */
  -webkit-appearance: button;
  color: inherit;
  font: inherit; /* Change font properties to `inherit` in Chrome and Safari */
}

/* Replace pointer cursor in disabled elements */
[disabled] {
  cursor: default;
}

/* org-add */
*,
*::before,
*::after {
  background-repeat: no-repeat;
  box-sizing: border-box;
}

::before,
::after {
  text-decoration: inherit;
  vertical-align: inherit;
}

@media (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
    user-select: initial !important;
    -webkit-user-select: initial !important;
  }
}
textarea, input[type=text], input[type=tel], input[type=email] {
  font-size: max(1.15rem, 16px);
}

@media (min-width: 768px) {
  textarea, input[type=text], input[type=tel], input[type=email] {
    font-size: max(1rem, 16px);
  }
}
/* Base
   ----------------------------------------------------------------- */
body {
  font-size: 0.875rem;
  background-color: var(--white);
  color: var(--color-text);
  font-family: var(--font-noto-sans-jp);
  font-weight: var(--font-normal);
  line-height: var(--leading-default);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
@media (min-width: 768px) {
  body {
    font-size: 1rem;
  }
}

main {
  flex: 1;
}

section {
  scroll-margin-top: 45px;
}
@media (min-width: 768px) {
  section {
    scroll-margin-top: 65px;
  }
}

a {
  color: var(--color-text);
  cursor: pointer;
  text-decoration: none;
  vertical-align: bottom;
}

p {
  text-align: justify;
}

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

figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

input, textarea {
  cursor: pointer;
  -webkit-appearance: none;
}

button[type=submit] {
  -webkit-appearance: none;
  appearance: none;
}

/* Header
----------------------------------------------------------------- */
.l-header {
  width: 100%;
}

.l-header.l-header--fixed {
  position: fixed;
  top: 0;
  z-index: 10;
}

/* Footer
   ----------------------------------------------------------------- */
.l-footer {
  background-color: var(--black);
  position: relative;
}

/* Layout
   ----------------------------------------------------------------- */
/**
* Container
*/
.l-container {
  width: 100%;
  max-width: 1590px;
  padding: 0 15px;
  margin-right: auto;
  margin-left: auto;
}

.l-container--nopadding {
  max-width: 1560px;
  padding: 0;
}

.l-container--narrow {
  max-width: 1230px;
}

/**
* Section
*/
.l-section {
  padding-top: clamp(3.75rem, 2.5633rem + 5.0633vw, 7.5rem);
  padding-bottom: clamp(3.75rem, 2.5633rem + 5.0633vw, 7.5rem);
}

/**
* c-text
*/
.c-text {
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: var(--font-normal);
  line-height: var(--leading-default);
}
@media (min-width: 768px) {
  .c-text {
    font-size: 1rem;
  }
}

/**
 * Heading
 */
.c-heading-40 {
  color: var(--color-text);
  font-size: clamp(1.5rem, 1.1835rem + 1.3502vw, 2.5rem);
  line-height: 1.7;
  font-family: var(--font-noto-serif-jp);
  font-weight: var(--font-semibold);
  letter-spacing: 0.3em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.3125rem, -0.0698rem + 1.676vw, 1.25rem);
}
.c-heading-40 span {
  font-size: clamp(0.75rem, 0.699rem + 0.2235vw, 0.875rem);
  line-height: 1;
  font-family: var(--font-eb-garamond);
  letter-spacing: 0.2em;
}

.c-heading-32 {
  color: #fff;
  font-size: clamp(1.25rem, 1.0127rem + 1.0127vw, 2rem);
  line-height: 1.5;
  letter-spacing: 0.15em;
  font-family: var(--font-noto-serif-jp);
  font-weight: var(--font-semibold);
}

.c-heading-24 {
  color: var(--color-text);
  font-size: clamp(1.125rem, 1.0063rem + 0.5063vw, 1.5rem);
  line-height: 1.7;
  letter-spacing: 0.15em;
  font-family: var(--font-noto-serif-jp);
  font-weight: var(--font-semibold);
}

.c-heading-vertical {
  font-size: clamp(1.25rem, 0.9929rem + 1.097vw, 2.0625rem);
  font-family: var(--font-noto-serif-jp);
  line-height: 1.5;
  letter-spacing: 0.46em;
  writing-mode: vertical-rl;
}

/**
 * header
 */
.c-header {
  background-color: var(--white);
  height: 45px;
}
@media (min-width: 1025px) {
  .c-header {
    height: 65px;
  }
}

.c-header__inner {
  width: 100%;
  height: 100%;
  max-width: 1590px;
  padding-right: 15px;
  padding-left: 15px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.c-header__logo-wrapper {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
@media (min-width: 768px) {
  .c-header__logo-wrapper {
    gap: 20px;
  }
}

.c-header__logo-img {
  display: block;
  width: auto;
  height: 30px;
}
@media (min-width: 1025px) {
  .c-header__logo-img {
    height: 50px;
  }
}

.c-header__logo-text {
  color: #1D70B8;
  font-size: 1.125rem;
  line-height: 1;
  font-family: var(--font-noto-serif-jp);
  font-weight: var(--font-smibold);
}
@media (min-width: 768px) {
  .c-header__logo-text {
    font-size: 1.5rem;
  }
}

.c-header__logo-link {
  position: absolute;
  content: "";
  inset: 0;
}

/**
* c-nav
*/
@media (max-width: 1024px) {
  .c-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 45px;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    overflow-y: auto;
    transition: ease var(--duration-default);
    opacity: 0;
    pointer-events: none;
    z-index: 5;
  }
}

.c-nav__menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 80px;
}
@media (min-width: 1025px) {
  .c-nav__menu {
    flex-direction: row;
    min-height: auto;
    height: 100%;
    padding-top: 0;
    gap: clamp(1.125rem, -7.0532rem + 12.766vw, 3rem);
  }
}

.c-nav__item {
  display: block;
  position: relative;
  width: 100%;
}
@media (min-width: 1025px) {
  .c-nav__item {
    width: auto;
  }
}

.c-nav__link {
  display: block;
  font-size: 1rem;
  font-weight: var(--font-normal);
  line-height: 2.2;
  padding: 1.125em 20px;
  transition: var(--duration-default);
  color: var(--color2);
  text-align: center;
}
@media (min-width: 1025px) {
  .c-nav__link {
    padding: 0;
    text-align: left;
  }
}

@media (any-hover: hover) {
  .c-nav__link:hover {
    transition: var(--duration-default);
    opacity: var(--opacity-default);
  }
}
.is-menu-panel-open {
  opacity: 1;
  pointer-events: all;
}

.is-noscroll {
  overflow: hidden;
}

/**
* c-overlay
*/
.c-overlay {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  inset: 0;
  top: 45px;
  opacity: 0;
  z-index: 2;
  transition: var(--duration-default);
  pointer-events: none;
}

.is-overlay-appear {
  opacity: 1;
  transition: var(--duration-default);
  pointer-events: all;
}

/**
 * Hamburger-button
 */
.c-hamburger-button {
  display: block;
  position: relative;
  z-index: 9999;
  cursor: pointer;
  width: 30px;
  height: 20px;
  padding: 0;
}
@media (min-width: 1025px) {
  .c-hamburger-button {
    display: none;
  }
}

.c-hamburger-button__line {
  display: inline-block;
  transition: var(--duration-default);
  position: absolute;
  left: 0;
  height: 2px;
  border-radius: 1px;
  background-color: var(--color1);
  width: 100%;
}

.c-hamburger-button__line:nth-of-type(1) {
  top: 0;
}

.c-hamburger-button__line:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
}

.c-hamburger-button__line:nth-of-type(3) {
  bottom: 0;
}

.is-hamburger-button-open .c-hamburger-button__line:nth-of-type(1) {
  top: 50%;
  transform: rotate(-45deg);
}
.is-hamburger-button-open .c-hamburger-button__line:nth-of-type(2) {
  opacity: 0;
}
.is-hamburger-button-open .c-hamburger-button__line:nth-of-type(3) {
  top: 50%;
  transform: rotate(45deg);
}

/**
* p-top
*/
/* mv */
.p-top-mv {
  position: relative;
  margin-top: 45px;
}
@media (min-width: 1025px) {
  .p-top-mv {
    margin-top: 65px;
  }
}

.p-top-mv__img {
  width: 100%;
  height: calc(100vh - 45px);
  object-fit: cover;
}
@media (min-width: 768px) {
  .p-top-mv__img {
    height: auto;
  }
}

.p-top-mv .l-container {
  position: absolute;
  content: "";
  inset: 0;
}

.p-top-mv__box {
  position: relative;
  height: 100%;
}

.p-top-mv__right {
  position: absolute;
  right: 0;
  display: flex;
  flex-direction: row-reverse;
  padding-top: 8vw;
}
@media (min-width: 768px) {
  .p-top-mv__right {
    padding-top: clamp(1.875rem, -0.2083rem + 4.3403vw, 5rem);
    gap: clamp(0.0625rem, -0.7292rem + 1.6493vw, 1.25rem);
  }
}

.p-top-mv__sub-title-sm {
  color: #fff;
  font-size: 0.875rem;
  font-weight: var(--font-semibold);
  font-family: var(--font-noto-serif-jp);
  text-shadow: var(--text-shadow);
  line-height: 1.5;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
}
@media (min-width: 768px) {
  .p-top-mv__sub-title-sm {
    font-size: clamp(0.875rem, 0.7917rem + 0.1736vw, 1rem);
    letter-spacing: 0.5em;
  }
}

.p-top-mv__sub-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: var(--font-semibold);
  font-family: var(--font-noto-serif-jp);
  text-shadow: var(--text-shadow);
  line-height: 1.5;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
}
@media (min-width: 768px) {
  .p-top-mv__sub-title {
    font-size: clamp(1.25rem, 1.0833rem + 0.3472vw, 1.5rem);
    letter-spacing: 0.5em;
  }
}

.p-top-mv__title-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2rem;
  font-weight: var(--font-semibold);
  font-family: var(--font-noto-serif-jp);
  text-shadow: var(--text-shadow);
  line-height: 1.5;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  height: max-content;
}
@media (min-width: 768px) {
  .p-top-mv__title-text {
    font-size: clamp(1.5rem, 0.5rem + 2.0833vw, 3rem);
    letter-spacing: 0.5em;
  }
}

/* policy */
.p-top-policy {
  padding-bottom: clamp(3.75rem, 2.5633rem + 5.0633vw, 7.5rem);
}
@media (min-width: 768px) {
  .p-top-policy {
    padding-bottom: clamp(7.5rem, 5.1266rem + 10.1266vw, 15rem);
  }
}

.p-top-policy .c-heading-40 {
  padding-bottom: 30px;
}
@media (min-width: 768px) {
  .p-top-policy .c-heading-40 {
    padding-bottom: 60px;
  }
}

.p-top-policy__text {
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: var(--font-normal);
  line-height: 2.5;
}
@media (min-width: 768px) {
  .p-top-policy__text {
    font-size: 1rem;
    text-align: center;
  }
}

/* charm */
.p-top-charm {
  background-color: var(--color1);
}

@media (min-width: 1025px) {
  .p-top-charm .l-container {
    padding-left: 0;
  }
}

.p-top-charm__primary {
  position: relative;
  padding-bottom: 50px;
}
@media (min-width: 1025px) {
  .p-top-charm__primary {
    padding-bottom: 120px;
  }
}

@media (min-width: 1025px) {
  .p-top-charm__primary-img1 {
    position: absolute;
    top: calc(-1 * clamp(3.75rem, 2.5633rem + 5.0633vw, 7.5rem) - 120px);
    left: 0;
    width: 61.5384615385%;
  }
}

.p-top-charm__primary-img2 {
  width: 100%;
}
@media (min-width: 1025px) {
  .p-top-charm__primary-img2 {
    position: absolute;
    width: max(400px, 28.8461538462%);
    right: auto;
    left: min(9.375vw, 180px);
    bottom: 52px;
  }
}

.p-top-charm__primary-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin-top: 30px;
  padding: 0 15px;
}
@media (min-width: 1025px) {
  .p-top-charm__primary-text-wrapper {
    width: max(510px, 42.3076923077%);
    margin-left: auto;
    gap: clamp(1.5625rem, -5.2374rem + 10.6145vw, 7.5rem);
    margin-top: 0;
  }
}

.p-top-charm__primary-title {
  color: #fff;
  letter-spacing: 0.46em;
}

.p-top-charm__primary-text-wrapper .c-text {
  color: #fff;
}

.p-top-charm__secondary {
  display: grid;
  gap: 30px;
}
@media (min-width: 1025px) {
  .p-top-charm__secondary {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
  }
}

.p-top-charm__secondary-title {
  padding-bottom: 20px;
}
@media (min-width: 1025px) {
  .p-top-charm__secondary-title {
    padding-bottom: clamp(1.25rem, -0.7012rem + 4.065vw, 2.5rem);
  }
}

.p-top-charm__secondary-text-wrapper {
  padding-right: 15px;
  padding-left: 15px;
}
@media (min-width: 1025px) {
  .p-top-charm__secondary-text-wrapper {
    padding-right: clamp(0.9375rem, -5.4261rem + 13.2576vw, 7.5rem);
  }
}

@media screen and (min-width: 1560px) {
  .p-top-charm__secondary-text-wrapper {
    padding-left: calc(var(--sidespace) + 15px);
  }
}
.p-top-charm__secondary-text-wrapper .c-text {
  color: #fff;
}

.p-top-charm__secondary-img {
  height: 100%;
  aspect-ratio: 960/650;
  object-fit: cover;
  object-position: center;
  grid-row: 1;
}
@media (min-width: 1025px) {
  .p-top-charm__secondary-img {
    grid-column: 2;
  }
}

/* knowledge */
.p-top-knowledge {
  background-color: var(--light-gray);
}
@media (min-width: 1025px) {
  .p-top-knowledge {
    padding-bottom: 85px;
  }
}

.p-top-knowledge__img {
  margin-bottom: 30px;
}
@media (min-width: 1025px) {
  .p-top-knowledge__img {
    width: 55.6097560976vw;
    margin-left: calc(-1 * (var(--sidespace) + 15px));
    margin-bottom: 0;
  }
}
@media (min-width: 1200px) {
  .p-top-knowledge__img {
    width: clamp(43.75rem, -8.3333rem + 69.4444vw, 75rem);
  }
}
@media (min-width: 1536px) {
  .p-top-knowledge__img {
    width: 62.5vw;
  }
}

.p-top-knowledge__head-wrapper {
  display: flex;
  flex-direction: column;
}
@media (min-width: 1025px) {
  .p-top-knowledge__head-wrapper {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 1025px) {
  .p-top-knowledge__head {
    width: fit-content;
    margin-left: auto;
  }
}

@media (min-width: 1025px) {
  .p-top-knowledge .c-heading-40 {
    align-items: flex-start;
  }
}

.p-top-knowledge__lead {
  text-align: center;
  margin-top: 10px;
}
@media (min-width: 1025px) {
  .p-top-knowledge__lead {
    text-align: left;
    margin-top: 0;
  }
}

.p-top-knowledge__box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background-color: #fff;
  padding: 20px;
  margin-top: 20px;
}
@media (min-width: 1025px) {
  .p-top-knowledge__box {
    gap: 60px;
    margin-top: 0;
    width: 100%;
    padding: 60px;
    margin-left: auto;
    top: 50px;
  }
}
@media (min-width: 1200px) {
  .p-top-knowledge__box {
    width: 76.9230769231%;
    top: -5.2083333333vw;
  }
}

.p-top-knowledge__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 1025px) {
  .p-top-knowledge__item {
    gap: 20px;
  }
}

/* message */
.p-top-message .c-heading-40 {
  padding-bottom: 40px;
  color: var(--color2);
}
@media (min-width: 768px) {
  .p-top-message .c-heading-40 {
    padding-bottom: 80px;
  }
}
.p-top-message .c-heading-40 span {
  color: var(--color-text);
}

.p-top-message__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(100%, 517px);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .p-top-message__body {
    flex-direction: row-reverse;
    gap: 80px;
  }
}

.p-top-message__lead {
  color: var(--color2);
  font-weight: var(--font-semibold);
  letter-spacing: 0.15em;
  writing-mode: unset;
}
@media (min-width: 768px) {
  .p-top-message__lead {
    writing-mode: vertical-rl;
    letter-spacing: 0.45em;
  }
}

.p-top-message__box {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (min-width: 768px) {
  .p-top-message__box {
    flex-direction: row-reverse;
    gap: 74px;
  }
}

.p-top-message__text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (min-width: 768px) {
  .p-top-message__text-wrapper {
    flex-direction: row-reverse;
    gap: 80px;
  }
}

.p-top-message__text {
  color: var(--color2);
  font-size: 0.875rem;
  font-weight: var(--font-normal);
  line-height: 2.2;
}
@media (min-width: 768px) {
  .p-top-message__text {
    font-size: 1rem;
    writing-mode: vertical-rl;
    letter-spacing: 0.15em;
  }
}

.p-top-message__daihyou {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: fit-content;
  margin-left: auto;
}
@media (min-width: 768px) {
  .p-top-message__daihyou {
    flex-direction: row-reverse;
    margin-left: 0;
  }
}

.p-top-message__name {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 10px;
}
@media (min-width: 768px) {
  .p-top-message__name {
    flex-direction: column;
    align-items: center;
  }
}

.p-top-message__name .p-top-message__text {
  line-height: 1;
  padding-bottom: 5px;
}
@media (min-width: 768px) {
  .p-top-message__name .p-top-message__text {
    padding-bottom: 0;
  }
}

.p-top-message__name-img {
  display: block;
}
@media (min-width: 768px) {
  .p-top-message__name-img {
    width: 28px;
  }
}

/* company */
.p-top-company {
  background-color: var(--light-gray);
}

.p-top-company .c-heading-40 {
  padding-bottom: 40px;
  color: var(--color2);
}
@media (min-width: 768px) {
  .p-top-company .c-heading-40 {
    padding-bottom: 80px;
  }
}
.p-top-company .c-heading-40 span {
  color: var(--color-text);
}

.p-top-company__box {
  width: min(100%, 624px);
  margin: 0 auto;
}

.p-top-company__info {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 1.5em 0;
}

.p-top-company__info-item {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: span 2;
}

.p-top-company__info-item dt,
.p-top-company__info-item dd {
  color: var(--color2);
}

/* contact */
.p-top-contact {
  position: relative;
  background-image: url(images/contact-bg_img.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: 1;
}
.p-top-contact::after {
  position: absolute;
  content: "";
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: -1;
}

.p-top-contact .c-heading-40 {
  color: #fff;
  text-shadow: var(--text-shadow);
  padding-bottom: 20px;
}
@media (min-width: 768px) {
  .p-top-contact .c-heading-40 {
    padding-bottom: 40px;
  }
}

.p-top-contact__body {
  text-align: center;
}

.p-top-contact__body .c-text {
  color: #fff;
  text-align: center;
}

.p-top-contact__link {
  transition: var(--duration-default);
}

@media (any-hover: hover) {
  .p-top-contact__link:hover {
    transition: var(--duration-default);
    opacity: var(--opacity-default);
  }
}
.p-top-contact__link span {
  position: relative;
}

.p-top-contact__link span::after {
  content: "@";
}

/* animation */
.js-fadein {
  opacity: 0;
  transition: all 0.7s ease-out;
}

.js-fadein-isvisible {
  opacity: 1;
}

/* footer */
.p-footer {
  padding-top: 30px;
  padding-bottom: 30px;
}
@media (min-width: 768px) {
  .p-footer {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

.p-footer__top {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (min-width: 768px) {
  .p-footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.p-footer__logo-wrapper {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
@media (min-width: 768px) {
  .p-footer__logo-wrapper {
    gap: 20px;
  }
}

.p-footer__logo-img {
  display: block;
  width: auto;
  height: 30px;
}
@media (min-width: 1025px) {
  .p-footer__logo-img {
    height: 80px;
  }
}

.p-footer__logo-text {
  color: #fff;
  font-size: 1.125rem;
  line-height: 1;
  font-family: var(--font-noto-serif-jp);
  font-weight: var(--font-smibold);
}
@media (min-width: 768px) {
  .p-footer__logo-text {
    font-size: 1.5rem;
  }
}

.p-footer__logo-link {
  position: absolute;
  content: "";
  inset: 0;
}

.p-footer-nav {
  display: grid;
  row-gap: 8px;
}

.p-footer-nav__item {
  line-height: 1;
}

.p-footer-nav__link {
  color: var(--white);
  transition: var(--duration-default);
}
@media (hover: hover) {
  .p-footer-nav__link:focus, .p-footer-nav__link:hover {
    opacity: var(--opacity-default);
    transition: var(--duration-default);
  }
}

.p-footer__bottom {
  padding-top: 40px;
  text-align: center;
}

.p-footer__copyright {
  color: var(--white);
}

/**
* utility
*/
/* u-display */
.u-hidden {
  display: none;
}

.u-block {
  display: block;
}

.u-inline-block {
  display: inline-block;
}

.u-inline {
  display: inline;
}

.u-flex {
  display: flex;
}

.u-grid {
  display: grid;
}

@media (min-width: 768px) {
  .md\:u-hidden {
    display: none;
  }
  .md\:u-block {
    display: block;
  }
  .md\:u-inline-block {
    display: inline-block;
  }
  .md\:u-inline {
    display: inline;
  }
  .md\:u-flex {
    display: flex;
  }
  .md\:u-grid {
    display: grid;
  }
}
@media (min-width: 1025px) {
  .lg\:u-hidden {
    display: none;
  }
  .lg\:u-block {
    display: block;
  }
  .lg\:u-inline-block {
    display: inline-block;
  }
  .lg\:u-inline {
    display: inline;
  }
  .lg\:u-flex {
    display: flex;
  }
  .lg\:u-grid {
    display: grid;
  }
}
/* margin */
.u-mt-0 {
  margin-top: 0;
}

.u-mr-0 {
  margin-right: 0;
}

.u-mb-0 {
  margin-bottom: 0;
}

.u-ml-0 {
  margin-left: 0;
}

/* u-textalign */
.u-text-center {
  text-align: center;
}

.u-text-left {
  text-align: left;
}

.u-text-right {
  text-align: right;
}

.u-text-justify {
  text-align: justify;
}

/* u-weight */
.u-font-light {
  font-weight: 300;
}

.u-font-normal {
  font-weight: 400;
}

.u-font-medium {
  font-weight: 500;
}

.u-font-semibold {
  font-weight: 600;
}

.u-font-bold {
  font-weight: 700;
}

.u-font-black {
  font-weight: 900;
}

/* leading */
.u-leading-none {
  line-height: 1;
}

/* color */
.u-color-link {
  color: var(--link);
}

.u-color1 {
  color: var(--color1);
}

.u-color2 {
  color: var(--color2);
}

.u-color-white {
  color: #fff;
}

/* background */
.u-bgc-light-gray {
  background-color: var(--light-gray);
}

.u-bg-col1 {
  background-color: var(--color1);
}

.u-bg-col2 {
  background-color: var(--color2);
}

/* u-cursor */
.u-cursor-pointer {
  cursor: pointer;
}

.u-pointer-events-none {
  pointer-events: none;
}

.u-indent {
  padding-left: 1em;
  text-indent: -1em;
}