@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPMincho&family=Zen+Kaku+Gothic+New&family=Zen+Old+Mincho&display=swap');

html {
  font-size: 16px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

:where([hidden]:not([hidden=until-found])) {
  display: none !important;
}

:where(html) {
  -webkit-text-size-adjust: none;
  color-scheme: dark light;
  -moz-tab-size: 2;
    -o-tab-size: 2;
       tab-size: 2;

}

:where(html:has(dialog:modal[open])) {
  overflow: clip;
}

@media (prefers-reduced-motion: no-preference) {
  :where(html:focus-within) {
    scroll-behavior: smooth;
  }
}
:where(body) {
  line-height: 1.5;
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

:where(button) {
  all: unset;
}

:where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
}

:where(textarea) {
  resize: vertical;
  resize: block;
}

:where(button, label, select, summary, [role=button], [role=option]) {
  cursor: pointer;
}

:where(:disabled) {
  cursor: not-allowed;
}

:where(label:has(> input:disabled), label:has(+ input:disabled)) {
  cursor: not-allowed;
}

:where(a) {
  color: inherit;
  text-underline-offset: 0.2ex;
}

:where(ul, ol) {
  list-style: none;
}

:where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block;
}

:where(img, picture, svg, video) {
  max-inline-size: 100%;
  block-size: auto;
}

:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}

:where(h1, h2, h3) {
  line-height: calc(1em + 0.5rem);
  text-wrap: balance;
}

:where(hr) {
  border: none;
  -webkit-border-before: 1px solid;
          border-block-start: 1px solid;
  color: inherit;
  block-size: 0;
  overflow: visible;
}

:where(dialog, [popover]) {
  border: none;
  background: none;
  color: inherit;
  inset: unset;
  max-width: unset;
  max-height: unset;
}

:where(dialog:not([open], [popover]), [popover]:not(:popover-open)) {
  display: none !important;
}

:where(:focus-visible) {
  outline: 3px solid CanvasText;
  -webkit-box-shadow: 0 0 0 5px Canvas;
          box-shadow: 0 0 0 5px Canvas;
  outline-offset: 1px;
}


:where(.visually-hidden:not(:focus-within, :active)) {
  clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important;
  border: 0 !important;
  -webkit-user-select: none !important;
     -moz-user-select: none !important;
      -ms-user-select: none !important;
          user-select: none !important;
}

/* ========================================================================== */
/* 全体の設定
/* ========================================================================== */
body {
  background-color: #fff;

  color: #222;
  font-family: "BIZ UDPMincho", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.045em;
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: none;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
       text-size-adjust: 100%;
}

img {
  border: none;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  max-width: 100%;
  height: auto;
}

a {
  color: #387A00;
  text-decoration: none;
  -webkit-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}
a:hover {
  opacity: 0.8;
  text-decoration: none;
}

@media (min-width:960px){
  .show-sp {
    display: none;
  }

  a[href^="tel:"]  {
    pointer-events: none;
  }
}

html {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

main {
  width: 90%;
  margin-inline: auto;
  padding: 40px 0;
}

main h1 {
  font-size: 1.8rem;
  margin-bottom: 40px;
}

main p {
  font-size: 1rem;
  line-height: 1.84;
  margin-bottom: 1em;
}

.company-name {
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;;
}

.company-name img {
  margin-right: 0;
}

.company-name__logo {
  margin-bottom: 8px;
  width: 180px;
  height: auto;
}

.company-name__unit {
  font-size: 1.4rem;
}

.text-center {
  text-align: center;
}

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

.unit {
  display: block;
}

.text-right img {
  vertical-align: middle;
  display: block;
  width: 180px;
}


@media (min-width:968px) {
  main {
    width: 75%;
  }

  main h1 {
    font-size: 2.4rem;
    margin-bottom: 40px;
  }

  main p {
    font-size: 1.2rem;
    line-height: 1.84;
    margin-bottom: 1.5em;
  }

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

  .text-right img {
    margin-right: 1em;
  }

  .company-name {
    font-size: 1.6rem;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }

  .company-name img {
    margin-right: 16px;
  }

  .company-name__logo {
    margin-bottom: 8px;
    width: 180px;
    height: auto;
  }

  .company-name__unit {
    font-size: 1.4rem;
  }
}




.logo {
  text-align: center;
  margin: 56px auto;
}

.logo img {
  width: 200px;
  margin: 0 auto;
}

footer {
  font-size: 12px;
  text-align: center;
  padding-block: 1em;
}