
@import url('https://fonts.googleapis.com/css2?family=Marcellus&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;700;800&display=swap');

@font-face {
  font-family: 'MyBrandFont';
  src: url('../fonts/brand-font-regular.woff2') format('woff2'),
       url('../fonts/brand-font-regular.woff') format('woff'); /* 予備 */
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
  
@font-face {
  font-family: 'MyBrandFont';
  src: url('../fonts/brand-font-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/***************************************
 Reset
***************************************/

*,
::before,
::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  background-color: #fff;
}

body {
  margin: 0;
  background-color: #fff;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}


img, picture, video {
  width: 100%;
  height: auto;
  aspect-ratio: auto; 
}

canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

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

ol, ul, li {
  list-style: none;
}

#root, #__next {
  isolation: isolate;
}

a {
  color: #000;
  outline: 0;
  text-decoration: none;
  cursor: pointer;
}

a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
a:focus { text-decoration: none; }
a:active { text-decoration: none; }
a[href^="tel"]{ color: inherit; }

a[target="_blank"] .icon-blank {
  width: 0.6em;
  height: 0.6em;
  font-size: inherit;
  line-height: inherit;
  vertical-align: middle;
  margin-top: -0.3em;
  margin-left: 0.3em;
}


button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/***************************************
 Global
***************************************/

:root {
    --color-primary: #007aff;
    --font-main: 'Inter', sans-serif;
    --anim-speed: 200ms;
}

* {
  box-sizing: border-box;
}

@media (orientation: landscape), (min-width: 769px) {
  html {
    /*
    font-size: max(10px, 0.78125vw);
    */
    font-size: 0.78125vw;
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  html { 
    font-size: 2.666vw; 
  }
  p br,
  dt br,
  dd br {
    display: none;
  }
  br.SP {
    display: block!important;
  }
}

body {
  font-size: 1rem;
  line-height: 1.6;
  font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "Hiragino Mincho Pro",
               "游明朝", "游明朝体", "YuMincho", "Yu Mincho",
               "Noto Serif CJK JP", "HG明朝E", serif;
               font-smoothing: antialiased;
               -webkit-font-smoothing: antialiased;
               -moz-osx-font-smoothing: grayscale;
               font-feature-settings: "palt";
               -moz-font-feature-settings: "palt";
               font-variant-ligatures: no-common-ligatures;
               -webkit-text-size-adjust: 100%;
               -moz-text-size-adjust: 100%;
               -ms-text-size-adjust: 100%;
               text-size-adjust: 100%;
   position: relative;
   width: 100%;
}

p {
  font-size: 1.2rem;
}

.flex {
  display: flex;
}

.box {
  width: 100%;
  max-width: none; 
  margin: 0;
}

.sec-title {
  font-size: 1.8rem;
  color: #fff;
  background-color: #1956a6;
  display: inline-block;
  padding: 0 .6rem;
}

@media (max-width: 768px) and (orientation: portrait) {
  .sec-title {
    font-size: 1.4rem;
  } 
}

.sm {
  font-family: 'Shippori Mincho', serif;
  font-weight: bold;
  color: #505a5f;;
}

.ml {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-style: normal;
  color: #727f84;
}

@media (orientation: landscape), (min-width: 769px) and (orientation: portrait) {
  .pt-11 {
    padding-top: 11rem; 
  }
  .pl-9 {
    padding-left: 9rem;
  }
  .pr-9 {
    padding-right: 9rem;
  }
  .pl-5_6 {
    padding-left: 5.6rem;
  }
  .pr-5_6 {
    padding-right: 5.6rem;
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  .pl-2 {
    padding-left: 2rem;
  }
  .pr-2 {
    padding-right: 2rem;
  }
  .pl-4 {
    padding-left: 4rem;
  }
  .pr-4 {
    padding-right: 4rem;
  }
  .flex {
    flex-direction: column;
  }
}