/* -----------------------------------------------
   Webfont
----------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");

/* ----------------------------------------------- 
  Reset CSS（destyle.css ベースの軽量版） 
----------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: inherit;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  font:
    normal normal 400 20px / 150% "Montserrat",
    sans-serif !important;
}
@media screen and (max-width: 768px) {
  body {
    font:
      normal normal 400 14px / 150% "Montserrat",
      sans-serif !important;
  }
}

main {
  display: block;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
ul,
ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  border-style: none;
  max-width: 100%;
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
  margin: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* -----------------------------------------------
   Base Typography
----------------------------------------------- */
body {
  background: #ffffff;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif !important;
  color: #333;
}

a {
  color: #e70112;
  text-decoration: none;
  transition: 0.2s ease;
}
a:hover {
  opacity: 0.7;
}

h2 {
  text-align: center;
  margin-bottom: 60px!important;
  font:
    normal normal 900 70px / 110% "Montserrat",
    sans-serif !important;
  letter-spacing: 0.1em;
  color: #333;
}
h2:first-letter {
  color: #e70112 !important;
}

h3 {
  text-align: center;
  font:
    normal normal 700 22px / 150% "Montserrat",
    sans-serif !important;
  color: #333;
}

p {
  font:
    normal normal 400 20px / 150% "Montserrat",
    sans-serif !important;
}

@media screen and (max-width: 768px) {
  h2 {
    margin-bottom: 28px!important;
    font:
      normal normal 900 44px / 110% "Montserrat",
      sans-serif !important;
    letter-spacing: .075em;
  }
  h3 {
    font:
      normal normal 700 18px / 150% "Montserrat",
      sans-serif !important;
    color: #333;
  }
  p {
    font:
      normal normal 400 14px / 150% "Montserrat",
      sans-serif !important;
  }
}

/* -----------------------------------------------
   Layout
----------------------------------------------- */
#sidebar,
#content_area {
  width: 50%;
  display: none!important;
}

.iblock {
  display: inline-block;
}
.wrap {
  width: 90%;
  margin: 0 auto;
}
.col2 {
  display: flex;
  justify-content: space-between;
}

section {
  margin: 120px auto !important;
}
section:nth-of-type(2n) {
  padding: 120px 0;
  background-color: #f5f5f5;
}
section .wrap {
  max-width: 1200px;
}

.btn {
  display: inline-block;
  height: 60px;
  padding: 0 80px 0 20px;
  font:
    normal normal 700 20px / 60px "Montserrat",
    sans-serif !important;
  text-decoration: none!important;
  background: #e70112;
  color: #fff!important;
  border-radius: 8px;
  transition: 0.2s ease;
}
.btn:hover {
  opacity: .7;
}

@media screen and (min-width: 767px) {
  .under_pad{
    display: none!important;
  }
}
@media screen and (max-width: 768px) {
  .over_pad{
    display: none!important;
  }
  .col2 {
    flex-wrap: wrap;
  }
  section {
    margin: 60px auto !important;
  }
  section:nth-of-type(2n) {
    padding: 60px 0;
  }

  .btn {
    width: 100%;
    max-width: 400px;
    height: 60px;
    padding: 0 1em;
    text-align: center;
    font:
      normal normal 700 16px / 60px "Montserrat",
      sans-serif !important;
  }
}

/* -----------------------------------------------
   政策
----------------------------------------------- */
#policy .intro {
  line-height: 200% !important;
}

#policy .cont {
  counter-reset: number 0;
  margin-top: 80px;
}

#policy .cont dl {
  counter-increment: number 1;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid #dadada;
}
#policy .cont dl:last-of-type {
  border-bottom: 1px solid #dadada;
}
#policy .cont dt {
  flex: 0 0 42%;
  position: relative;
  padding: 0 1em 0 1.5em;
  font:
    normal normal 900 40px / 150% "Montserrat",
    sans-serif;
}
#policy .cont dt::before {
  content: counter(number) ".";
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 900;
  color: #e70112;
}
#policy .cont dd {
  flex: 1 1 auto;
}
#policy .cont dd ul {
  list-style: none;
}
#policy .cont dd li {
  position: relative;
  padding-left: 1.25em;
}
#policy .cont dd li:not(:last-of-type) {
  margin-bottom: .5em;
}
#policy .cont dd li::before {
  content: "";
  position: absolute;
  top: calc((1.8em - 10px) / 2);
  left: 0;
  width: 10px;
  height: 10px;
  background-color: #e70112;
  border-radius: 5px;
}

@media screen and (max-width: 768px) {
  #policy .intro {
    line-height: 180% !important;
  }
  #policy .cont {
    margin-top: 28px;
  }
  #policy .cont dl {
    flex-wrap: wrap;
    padding: 20px 0;
  }
  #policy .cont dt {
    padding: 0 0 .5em 1.25em;
    font:
      normal normal 900 20px / 150% "Montserrat",
      sans-serif;
  }
  #policy .cont dt,
  #policy .cont dd {
    flex: 0 0 100%;
  }
  #policy .cont dd li::before {
    width: 8px;
    height: 8px;
  }
}

/* -----------------------------------------------
   プロフィール
----------------------------------------------- */
#profile .col2 {
  margin-top: 80px;
}

#profile .box-img {
  flex: 0 0 40%;
}
#profile .box-img img {
  display: block;
  width: 100%;
  box-shadow: 20px 16px 0 #e70112;
}

#profile .box-cont {
  flex: 0 0 53%;
}
#profile .box-cont h3 {
  display: inline-block;
  margin-bottom: 28px;
  text-align: left;
  font:
    normal normal 700 44px / 100% "Montserrat",
    sans-serif !important;
  letter-spacing: 0.1em;
}
#profile .box-cont h3 small {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

#profile .box-cont dl {
  display: flex;
  flex-wrap: nowrap;
}
#profile .box-cont dt,
#profile .box-cont dd {
  padding: 20px 1em;
}
#profile .box-cont dt {
  flex: 0 0 200px;
  font-weight: 700;
  border-bottom: #e70112 1px solid;
}
#profile .box-cont dd {
  flex: 1 1 auto;
  border-bottom: #dadada 1px solid;
}

@media screen and (max-width: 768px) {
  #profile .col2 {
    justify-content: center;
    margin-top: 40px;
  }

  #profile .box-img {
    flex: 0 0 80%;
  }
  #profile .box-img img {
    box-shadow: 10px 6px 0 #e70112;
  }

  #profile .box-cont {
    order: 1;
    flex: 0 0 100%;
  }
  #profile .box-cont h3 {
    display: block;
    margin: 32px auto 0;
    text-align: center;
    font:
      normal normal 700 32px / 100% "Montserrat",
      sans-serif !important;
    letter-spacing: 0.1em;
  }
  #profile .box-cont h3 small {
    font-size: 12px;
  }

  #profile .box-cont dl {
    flex-wrap: wrap;
  }
  #profile .box-cont dt,
  #profile .box-cont dd {
    flex: 0 0 100%;
  }
  #profile .box-cont dt {
    padding: 20px 0 .5em 0;
    border-bottom: none;
  }
  #profile .box-cont dd {
    padding: 0 0 20px 0;
  }
}

/* -----------------------------------------------
   事務所案内
----------------------------------------------- */
#office .col2 {
  align-items: center;
  text-align: center;
}

#office .map {
  flex: 0 0 55%;
  aspect-ratio: 3/2;
}
#office .map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

#office .cont {
  flex: 0 0 40%;
}
#office .cont p {
  margin-bottom: 1em;
}
#office .cont .btnarea {
  margin: 2em 0 0;
}

@media screen and (max-width: 768px) {
  #office .map,
  #office .cont {
    flex: 0 0 100%;
  }
  #office .cont {
    margin-bottom: 48px;
  }
}

/* -----------------------------------------------
   Navigation
----------------------------------------------- */
#header {
  padding: 20px 0;
  border-bottom: 3px solid #e70112;
}
#header .wrap {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

#header h1,
#header a {
  display: block;
  margin: 0;
  white-space: nowrap;
  color: #333;
  text-align: left;
  text-decoration: none;
}

#header h1 {
  font:
    normal normal 900 40px / 100% "Montserrat",
    sans-serif !important;
  letter-spacing: 0.1em !important;
}
#header small {
  display: block;
  padding-top: 6px;
  font:
    normal normal 900 14px / 100% "Montserrat",
    sans-serif !important;
  letter-spacing: 0.075em !important;
}

#navigation {
  padding: 0;
}
#navigation ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 40px;
}
#navigation li {
  margin: 0;
  padding: 0;
}
#navigation li a {
  display: block;
  font:
    normal normal 900 20px / 100% "Montserrat",
    sans-serif !important;
  color: #333;
  transition: 0.2s ease;
}
#navigation li a:hover {
  color: #e70112;
}

@media screen and (max-width: 768px) {
  #header {
    padding: 12px 0;
  }
  #header h1 {
    font:
      normal normal 900 20px / 100% "Montserrat",
      sans-serif !important;
    letter-spacing: 0.1em !important;
  }
  #header small {
    padding-top: 2px;
    font:
      normal normal 900 10px / 100% "Montserrat",
      sans-serif !important;
    letter-spacing: 0.075em !important;
  }

  #navigation ul {
    gap: 16px;
  }
  #navigation li a {
    font:
      normal normal 900 16px / 100% "Montserrat",
      sans-serif !important;
  }
}

/* -----------------------------------------------
   Content
----------------------------------------------- */
#mv {
  width: 100%;
}
#mv img {
  display: block;
  width: 100%;
}

#content {
  width: 100%;
  padding: 20px 0;
}

/* -----------------------------------------------
   Footer
----------------------------------------------- */
#footer {
  margin-top: 40px;
  padding: 30px 0;
  background: #f5f5f5;
  text-align: center;
  color: #666;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#footer * {
  font:
    normal normal 400 12px / 100% "Montserrat",
    sans-serif !important;
}