


:root {
  /* color */
  --color-black: #000000;
  --color-white: #ffffff;

  /* font-family */
  --font-serif: "Shippori Mincho B1", "Shippori Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
  --font-en: "EB Garamond", Garamond, "Times New Roman", serif;

  /* transform */
  --to-rem: calc(1rem / 16);

  /* 本文まわりのゆらぎ */
  --clamp-20: clamp(16px, 1.562vw, 20px);

  /* space */
  --space-1: clamp(8px, 1.25vw, 16px);
  --space-2: clamp(16px, 1.875vw, 24px);
  --space-3: clamp(20px, 2.5vw, 32px);
  --space-4: clamp(24px, 3.125vw, 40px);
  --space-6: clamp(40px, 4.68vw, 60px);

  --width-inner: min(1040px, 88%);
}


/*  Reset */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
* {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul,
ol {
  list-style: none;
  padding: 0;
}


/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  display: block;
  height: auto;
}



/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition), color var(--transition);
}
a:focus,
a:hover {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.inner {
  position: relative;
  width: var(--width-inner);
  margin-inline: auto;
}




.header-wrap{
  width: 100%;
  padding: var(--space-3);
  text-align: center;
  background-color: #101D2A;
}

.header-wrap h1{
  width: 182px;
  margin-inline: auto;
}



/* ------------------
footer
------------------ */

.footer {
  font-family: var(--font-serif);
  position: relative;
  overflow: hidden;
  padding: var(--space-6) 0 var(--space-2);
  background: var(--color-black);
  color: var(--color-white);
}

.footer > * {
  position: relative;
  z-index: 1;
}

.ft-wrap{
  display: grid;
  gap: var(--space-6) var(--space-1);
}
@media screen and (min-width: 768.1px) {
  .ft-wrap{
    grid-template-areas: "menu menu" "info bnr";
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }
  .ft-menu {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
  }
}
@media screen and (max-width: 768px) {
  .ft-wrap{
    grid-template-areas: "info info" "menu bnr";
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }
}
    
.ft-nav{
  grid-area: menu;
}


.ft-menu > li:not(.ft-menu-sns) {
  flex: none;
  min-width: 3em;
}
@media screen and (max-width: 768px) {
  .ft-menu > li{
    margin-bottom: .5em;
  }
}

.ft-menu > li > a {
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.ft-menu ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  white-space: nowrap;
}
@media screen and (min-width: 768.1px) {
  .ft-menu ul {
    margin-top: 16px;
  }
}

.ft-menu-sns a{ 
  padding-top: 4px;
  width: 24px;
  display: block;
}
li:not(.ft-menu-sns) + .ft-menu-sns {
  margin-left: auto;
}
.ft-menu-sns + .ft-menu-sns{
  margin-left: -16px;
}

@media screen and (max-width: 768px) {
  .ft-menu-sns {
    display: inline-block;
  }
  .ft-menu > li.ft-menu-sns {
    margin-bottom: 0;
  }
  .ft-menu-sns + .ft-menu-sns{
    margin-left: 4px;
  }
}


.ft-info {
  grid-area: info;
}

.ft-logo {
  width: 56px;
  margin-bottom: 8px;
}

.ft-address {
  font-size: 14px;
  white-space: nowrap;
}
.ft-address span{
  display: block;
  font-size: var(--clamp-20);
}


@media screen and (max-width: 768px) {
  .ft-logo{ 
    width: 70px;
    margin-inline: auto;
  }
  .ft-address {
    width: 100%;
  }
    
  .ft-info{
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

.ft-bnr {
  grid-area: bnr;
  display: flex;
  gap: 8px;

}

@media screen and (min-width: 768.1px) {
  .ft-bnr {
    justify-content: flex-end;
    align-self: self-end;
  }
  .ft-bnr li {
    width: min(148px, calc(100% / 3));
  }
}
@media screen and (max-width: 768px) {
  .ft-bnr{
    flex-direction: column;
    align-items: flex-end;
  }
  .ft-bnr li{
    width: min(134px, 100%);
  }
}

.copyright {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-align: center;
  margin-top: var(--space-4);
}