@charset "utf-8";

/* |||||||||||||||||||||||||

        CSS RESET

|||||||||||||||||||||||||| */

html {
  font-size: calc(100% + 0.17vw);
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

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

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
div,
ul,
ol,
li,
dl,
dt,
dd,
table,
tr,
th,
td,
figure {
  margin: 0;
  padding: 0;
}

body {
  -webkit-text-size-adjust: 100%;
}

ol,
ul {
  list-style: none;
}

img {
  border: none;
  vertical-align: middle;
}

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

a {
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* スマホのハイライトを無効 */
}

/* |||||||||||||||||||||||||||||||||

        BASE CSS

|||||||||||||||||||||||||||||||||| */

/* ------------------------------

            root/body

------------------------------ */

body {
  font: 500 1rem/1.8 dnp-shuei-mgothic-std, -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", "Segoe UI", "游ゴシック体", YuGothic, "游ゴシック",
    "Yu Gothic", "メイリオ", Meiryo, sans-serif;
  color: #444;
  letter-spacing: 3px;
  font-variant-ligatures: no-common-ligatures;
  font-feature-settings: "palt" 1, "liga" 0, "clig" 0;
  text-rendering: optimizeLegibility;
  font-weight: 400;
  background-color: #2378c9;
}

body::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url("../img/eyecatch-top.jpg") no-repeat right bottom/cover;
  z-index: -1;
}

::selection {
  background: #b3e5fc;
}

/* ------------------------------

              tag

------------------------------ */

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

p,
dl,
aside {
  text-align: justify;
}

/* link */

a {
  position: relative;
  display: inline;
  padding: 0 0 3px 3px;
  border-bottom: 1px dotted transparent;
  color: #27ae60;
  transition: 0.3s;
}

a:hover {
  border-bottom-color: #27ae60;
}

/* ------------------------------

            parts

------------------------------ */

.markerThin {
  padding: 0 0.1em 0.2em;
  background: linear-gradient(transparent 50%, #fff799 50%);
}

/* ------------------------------

            section

------------------------------ */

header,
main,
footer {
  max-width: 35em;
}

.wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1em;
  margin-bottom: 1em;
  width: 100vw;
  min-height: 100vh;
}

.inner {
  padding: 3vmax 5vmax;
  max-width: 90%;
  min-height: 90%;
  background: #fff;
}

h1 {
  color: #3498db;
  font-size: 300%;
  line-height: 1.3;
  font-family: calibri, dnp-shuei-mgothic-std, "TsukuARdGothic-Regular",
    "Calibri", -apple-system, BlinkMacSystemFont, sans-serif;
}

h1::after {
  content: "";
  display: block;
  margin-top: 0.5em;
  width: 1em;
  border-bottom: 3px solid #3498db;
}

h1 small {
  display: block;
  font-size: 50%;
}

.text p {
  margin-top: 1em;
}

.text p:first-of-type {
  margin-top: 2em;
}

.contact {
  margin-top: 1em;
  padding: 1.5em;
  background: #f6f6f6;
  font-size: 90%;
}

.copyright {
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px dotted #aaa;
  text-align: center;
}

/* |||||||||||||||||||||||||

          for IE

|||||||||||||||||||||||||| */

.forIE {
  display: none;
}

_:lang(x)::-ms-backdrop,
html {
  font-size: 62.5%;
}

_:lang(x)::-ms-backdrop,
body {
  font-size: 1.6rem;
  font-family: "メイリオ", Meiryo, sans-serif;
  overflow: hidden;
}

_:lang(x)::-ms-backdrop, .forIE
/*.forIE*/ {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  padding-top: calc(50vh - 8em);
  width: 100vw;
  height: 100vh;
  background-color: rgba(41, 128, 185, 0.85);
  color: #fff;
  font-size: 120%;
  z-index: 1;
}

.forIE::before {
  content: "";
  display: block;
  position: absolute;
  top: 2.5%;
  left: 2.5%;
  width: 95%;
  height: 95%;
  background: #34495e;
  opacity: 0.3;
  z-index: -1;
}

.forIE p {
  text-align: center;
}

.forIE p + p {
  margin-top: 1em;
  padding-top: 0;
}

.forIE .underlineDot {
  color: #fff;
  transition: 0;
}

.forIE .underlineDot:hover {
  border-bottom-style: solid;
  font-weight: bold;
}

.forIE p:last-of-type {
  margin-top: 2em;
}

.historyBack {
  position: relative;
  padding: 0.5em 0.7em 0.5em 1.5em;
  font-size: 90%;
  background: #fff;
  color: #2980b9;
}

.historyBack::before,
.historyBack:after {
  content: "";
}

.historyBack::before {
  position: absolute;
  display: block;
  top: 50%;
  left: 0.7em;
  margin-top: -7px;
  border: 7px solid transparent;
  border-left-color: #2980b9;
}

.historyBack:after {
  position: absolute;
  left: 0.7em;
  bottom: 3px;
  width: 0;
  border-bottom: 1px solid #2980b9;
}

.historyBack:hover::before {
  transform: translateX(2px);
}

.historyBack:hover:after {
  width: 92%;
}

/* |||||||||||||||||||||||||||||||||

        DEVICE SETTING 

|||||||||||||||||||||||||||||||||| */

@media (max-width: 414px) {
  body {
    font-size: 0.9rem;
  }

  .inner {
    padding: 3vmax 4vmax;
  }

  h1 {
    font-size: 250%;
  }

  .contact p:first-of-type span {
    display: block;
  }
}
