@charset "UTF-8";
/*
  A modern CSS reset
  https: //github.com/hankchizljaw/modern-css-reset
*/
/* Box sizing rules */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul[class],
ol[class],
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}

/* 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 {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Blur images when they have no alt attribute */
img:not([alt]) {
  -webkit-filter: blur(10px);
          filter: blur(10px);
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/*
  ミックスイン
*/
/* remに変換 https://www.webcreatorbox.com/tech/sass-mixin#mixin7 */
/* Media Query */
/*
  デフォルト
  フォントやリンクの基本スタイルなど
*/
body {
  font-family: sans-serif;
}

.doc-layout {
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: left;
}

@media screen and (min-width: 769px) {
  .doc-layout {
    max-width: 980px;
    margin: auto;
  }
}

.doc-layout p {
  margin: 1.5em 0;
}

/*
  ヘルパー
  クラス名の前に_をつける、!importantする
*/
._center {
  text-align: center !important;
}

.button-square {
  display: inline-block;
  padding: 4px 24px;
  font-family: Ryumin Medium KL, serif;
  font-size: 24px;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  background: #000;
  border-radius: 3px;
}

@media screen and (min-width: 769px) {
  .button-square:hover {
    background-color: #444;
  }
}

.footer-layout {
  margin: 3rem 0 0 0;
}

.footer-box {
  padding: 0 0.5rem 1rem 0.5rem;
  font-size: 10px;
  font-size: 0.625rem;
  line-height: 1.4;
}

@media screen and (min-width: 769px) {
  .footer-box {
    max-width: 980px;
    margin: auto;
    padding: 0 0 1rem 0;
  }
}

.contactform-layout {
  background-repeat: no-repeat;
  background-image: url("/img/contact/background.png");
  background-size: 380px;
  background-position: left 0 top 0;
}

@media screen and (min-width: 769px) {
  .contactform-layout {
    background-position: right 30px center;
  }
}

.contactform-layout .content {
  width: 100%;
  max-width: 540px;
  background-color: rgba(255, 255, 255, 0.7);
}

@media screen and (min-width: 769px) {
  .contactform-layout .content {
    background-color: transparent;
  }
}

.contactform-layout table {
  width: 100%;
}

.contactform-layout th {
  display: block;
  width: 100%;
  vertical-align: top;
  padding: 0.5rem 0 0 0;
}

@media screen and (min-width: 769px) {
  .contactform-layout th {
    display: table-cell;
    width: auto;
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
  }
}

.contactform-layout td {
  display: block;
  width: 100%;
  padding: 0 0 0.5rem 0;
  border-bottom: 1px solid #eee;
}

@media screen and (min-width: 769px) {
  .contactform-layout td {
    padding: 0.5rem;
    display: table-cell;
    width: auto;
  }
}

.contactform-layout input[type="text"] {
  width: 100%;
}

.contactform-layout textarea {
  width: 100%;
  height: 200px;
}

.contactform-layout input[type="submit"] {
  margin: 1rem auto;
  padding: 0.5rem 2rem;
}

.contactform-layout .required {
  color: red;
}

.contactform-layout .en {
  margin-left: 0.5em;
  color: #666;
  font-size: 10px;
  font-size: 0.625rem;
}

@media screen and (min-width: 769px) {
  .contactform-layout .en {
    display: block;
    margin-left: 0em;
  }
}

.header-box {
  margin: 0 0 2rem 0;
}

@media screen and (min-width: 769px) {
  .navigation-box {
    max-width: 980px;
    margin: auto;
  }
}

.headernav-list .item {
  display: inline-block;
  margin: 0 0.2rem;
}

.headernav-list .link {
  width: 100px;
  text-align: center;
  display: block;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 0 0 3px 3px;
  font-family: Ryumin Medium KL, serif;
  font-size: 16px;
  font-size: 1rem;
  line-height: 2;
}

@media screen and (min-width: 769px) {
  .headernav-list .link:hover {
    background-color: #444;
  }
}

.heading-a {
  font-family: Ryumin Medium KL, serif;
}

.signature-header {
  max-width: 500px;
  background: no-repeat right center;
  background-image: url("/img/frontpage/signature.png");
  background-size: 40%;
}

@media screen and (min-width: 769px) {
  .signature-header {
    background-size: 257px;
  }
}

.signature-header .title {
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1.8;
  font-weight: normal;
}

@media screen and (min-width: 769px) {
  .signature-header .title {
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 1.8;
  }
}

.signature-header .en {
  display: block;
}

/*
  コンポーネント
  コンポーネント：、2語を-で繋ぐ
  配下のエレメント：-や_を使わず1語にして>を使用する
  バリアント：頭に-をつける
*/
.section-box {
  margin-top: 2em;
  margin-bottom: 2em;
  padding: 0 1em;
}

.image-column {
  display: -ms-grid;
  display: grid;
}

@media screen and (min-width: 769px) {
  .image-column {
    -ms-grid-rows: 46px 1fr;
        grid-template-rows: 46px 1fr;
    -ms-grid-columns: 1fr 430px;
        grid-template-columns: 1fr 430px;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }
}

@media screen and (min-width: 769px) {
  .image-column .header {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-area: 1 / 1 / 2 / 2;
  }
}

@media screen and (min-width: 769px) {
  .image-column .figure {
    -ms-grid-row: 1;
    -ms-grid-row-span: 2;
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-area: 1 / 2 / 3 / 3;
  }
}

@media screen and (min-width: 769px) {
  .image-column .text {
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-area: 2 / 1 / 3 / 2;
  }
}
