@charset "UTF-8";

body {
  --transitionTime: 0.2s;
}

.browser-is-ff {
  --transitionTime: 0s;
}

/* Reset
ヘッダーとフッターとホームのメインコンテンツにだけ適応
----------------------------------------------------------------- */
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
l,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
table,
input,
textarea,
select,
option,
button {
  font-size: 100%;
  font-weight: 500;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section,
main {
  display: block;
}

body,
input,
textarea {
  margin: 0;
  padding: 0;
}

ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}

li::marker {
  display: none;
}

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

caption,
th {
  text-align: left;
}

img,
a img {
  border: none;
}

a {
  cursor: pointer;
}

input:not([type=checkbox]) {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Font
----------------------------------------------------------------- */

/* Base
----------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

@media only screen and (max-width: 374px ) {
  html {
    font-size: 1px;
  }
}

@media only screen and (min-width: 375px ) and (max-width: 768px ) {
    html {
        /*
        375の時に10pxな設定
        計算： ( font-size / width ) * 100 = ( 1 / 375 ) * 100 = 2.66
        */
        font-size: 0.266vw;
    }
}

@media only screen and (min-width: 769px ) and (max-width: 1920px ) {
    html {
        /*
        1920の時に1pxな設定
        計算： ( font-size / width ) * 100 = ( 1 / 1440 ) * 100 = 0.0520
        */
        font-size: 0.052vw;
    }
}

@media only screen and (min-width: 1921px ) {
    html {
        font-size: 1px;
    }
}

.top-cv-btn {
  position: fixed;
  bottom: 32rem;
  left: 50%;
  transform: translate(-50%,0);
  width: 500rem;
  display: block;
  text-decoration: none;
}

picture {
  display: block;
  width: 100%;
}

img {
  display: block;
  width: 100%;
}

.position-relative {
  position: relative;
}

.links-pc {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1024rem;
  position: absolute;
  bottom: 190rem;
  left: 50%;
  transform: translate(-50%, 0);
}


.links-sp {
  display: none;
  flex-direction: column;
  gap: 32rem;
  width: 90%;
  position: absolute;
  bottom: 70rem;
  left: 50%;
  transform: translate(-50%, 0);
}

.links-pc a {
  width: 500rem;
  text-decoration: none;
}



.contact-pc {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  width: 100%;
  max-width: 1090rem;
  top: 330rem;
}

.contact-pc .msg {
  text-align: center;
  font-size: 22rem;
}

.contact-pc .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32rem;
  margin-top: 64rem;
}

.contact-pc .content .company-info {
  width: 480rem;
}

.contact-pc .content .company-info h2 {
  font-size: 24rem;
  font-weight: bold;
  border-bottom: solid 1rem #D9D9D9;
  padding-bottom: 18rem;
}

.contact-pc .content .company-info p {
  margin-top: 38rem;
  font-size: 18rem;
}

.contact-pc .content .company-info a {
  text-decoration: none;
  background-color: #BFA972;
  color: #fff;
  font-size: 18rem;
  font-weight: bold;
  display: flex;
  gap: 10rem;
  align-items: center;
  justify-content: center;
  border-radius: 100rem;
  margin-top: 30rem;
  padding: 17rem 30rem;
  width: 320rem;
}

.contact-pc .map {
  width: 540rem;
  aspect-ratio: 16/9;
}





.contact-sp {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  width: 90%;
  top: 170rem;
  display: none;
}

.contact-sp .msg {
  text-align: center;
  font-size: 16rem;
}

.contact-sp .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 32rem;
  margin-top: 48rem;
}

.contact-sp .content .company-info {
  width: 100%;
}

.contact-sp .content .company-info h2 {
  font-size: 24rem;
  font-weight: bold;
  border-bottom: solid 1rem #D9D9D9;
  padding-bottom: 14rem;
}

.contact-sp .content .company-info p {
  margin-top: 28rem;
  font-size: 18rem;
}

.contact-sp .content .company-info a {
  text-decoration: none;
  background-color: #BFA972;
  color: #fff;
  font-size: 18rem;
  font-weight: bold;
  display: flex;
  gap: 10rem;
  align-items: center;
  justify-content: center;
  border-radius: 100rem;
  margin-top: 28rem;
  padding: 17rem 30rem;
  width: 100%;
}

.contact-sp .map {
  width: 100%;
  aspect-ratio: 5/6;
}

.sp-only {
  display: none;
}


@media only screen and (max-width: 768px ) {
  .top-cv-btn {
    width: 90%;
  }

  .links-pc {
    display: none;
  }

  .links-sp {
    display: flex;
  }

  .contact-pc {
    display: none;
  }

  .contact-sp {
    display: block;
  }

  .sp-only {
    display: block;
  }
}