@charset "UTF-8";

/* =========================================================
  immigration
========================================================= */

/* site layout
----------------------------------------------- */
#wrapper {
  border-bottom: 1px solid var(--mono-color-6);
  background: var(--mono-color-9);
}

#main {
  padding-top: 0 !important;
}

@media only screen and (max-width: 959px) {
  #wrapper {
    padding-top: 0;
  }

  #main {
    padding-bottom: 20px !important;
  }
}

/* CKEditor templates
----------------------------------------------- */
@media only screen and (max-width: 534px) {
  .adobeReader {
    margin: 20px 0;
  }
}

/* subsiteVisual
----------------------------------------------- */
#subsiteVisual {
  position: relative;
  z-index: 1;
}

#subsiteVisual::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  width: 100vw;
  background: url(/_themes/site/images/immigration/bg_immigration_main.jpg) center top / cover no-repeat;
}

#subsiteVisual .pieceBody h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 420px;
}

#subsiteVisual .pieceBody h1 a::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: none !important;
  transition: background 0.25s ease-in-out;
}

#subsiteVisual .pieceBody h1 a:hover::before {
  background: rgba(255, 255, 255, 0.2) !important;
}

@media only screen and (max-width: 534px) {
  #subsiteVisual .pieceBody h1 {
    height: auto;
    aspect-ratio: 2/1;
  }

  #subsiteVisual .pieceBody h1 img {
    width: 180px;
  }
}

/* body
----------------------------------------------- */
@media only screen and (max-width: 534px) {
  .cke_editable,
  .contentGpArticleDoc .body .text-beginning,
  .contentPage .body,
  .surveyForm .body {
    font-size: 0.875rem;
  }
}

/* immigration */
:is(.contentPage .body, .cke_editable) .immigration {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0 0;
  font-weight: 300;
}

:is(.contentPage .body, .cke_editable) .immigration p {
  margin-bottom: 2.5em;
  line-height: 2;
}

:is(.contentPage .body, .cke_editable) .immigration h2 {
  margin-bottom: 1em;
  padding: 0;
  border: none;
  background: none;
  font-weight: 400;
  font-family: "Noto Serif JP", serif;
  font-size: 2.25rem;
  text-align: center;
}

:is(.contentPage .body, .cke_editable) .immigration h2::before {
  display: none;
}

:is(.contentPage .body, .cke_editable) .immigration h2~h2 {
  margin-top: 2em;
}

@media only screen and (max-width: 534px) {
  :is(.contentPage .body, .cke_editable) .immigration {
    padding-top: 10px;
  }

  :is(.contentPage .body, .cke_editable) .immigration h2 {
    font-size: 1.5rem;
  }
}

/* bg-area */
:is(.contentPage .body, .cke_editable) .immigration .bg-area {
  position: relative;
  z-index: 1;
  margin: 80px 0;
  padding: 100px 0 130px;
}

:is(.contentPage .body, .cke_editable) .immigration .bg-area::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  width: 100vw;
  background: #f6f6f6;
}

@media only screen and (max-width: 767px) {
  :is(.contentPage .body, .cke_editable) .immigration .bg-area {
    padding: 30px 0;
  }
}

/* human */
:is(.contentPage .body, .cke_editable) .immigration .human {
  flex-wrap: wrap;
  gap: 3rem 12%;
}

:is(.contentPage .body, .cke_editable) .immigration .human::after {
  display: none;
}

:is(.contentPage .body, .cke_editable) .immigration .human dl {
  margin: 0;
}

:is(.contentPage .body, .cke_editable) .immigration .human dl dt {
  margin-bottom: 36px;
}

:is(.contentPage .body, .cke_editable) .immigration .human dl dt a:has(img) {
  transition: opacity 0.25s ease-in-out;
}

:is(.contentPage .body, .cke_editable) .immigration .human dl dt a:has(img):hover {
  opacity: 0.8;
}

:is(.contentPage .body, .cke_editable) .immigration .human dl dt img {
  border-radius: 60%;
}

:is(.contentPage .body, .cke_editable) .immigration .human dl dd {
  font-size: 1.125rem;
}

:is(.contentPage .body, .cke_editable) .immigration .human dl dd .name {
  font-size: 1.5rem;
}

:is(.contentPage .body, .cke_editable) .immigration .human dl dd .name small {
  font-size: 0.875rem;
}

@media only screen and (max-width: 534px) {
  :is(.contentPage .body, .cke_editable) .immigration .human dl dd .name {
    font-size: 1.25rem;
  }
}

/* txt-large */
:is(.contentPage .body, .cke_editable) .immigration .txt-large {
  font-weight: 300;
  font-size: 1.5rem;
}

@media only screen and (max-width: 534px) {
  :is(.contentPage .body, .cke_editable) .immigration .txt-large {
    font-size: 1.125rem;
  }
}

/* slide-menu */
:is(.contentPage .body, .cke_editable) .immigration .slide-menu {
  border: 1px solid transparent;
}

:is(.contentPage .body, .cke_editable) .immigration .slide-menu dt {
  padding: 23px 55px 23px 20px;
  border: none;
  background: #eff3f4;
  font-size: 1rem;
}

:is(.contentPage .body, .cke_editable) .immigration .slide-menu dt:before,
:is(.contentPage .body, .cke_editable) .immigration .slide-menu dt:after {
  display: none;
}

:is(.contentPage .body, .cke_editable) .immigration .slide-menu dt a {
  color: inherit;
}

:is(.contentPage .body, .cke_editable) .immigration .slide-menu dt a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 35px;
  transform: translateY(-50%);
  border-top: 13px solid #707070;
  border-right: 8px solid transparent !important;
  border-left: 8px solid transparent !important;
  background: none !important;
}

:is(.contentPage .body, .cke_editable) .immigration .slide-menu dt a.open::after {
  transform: translateY(-50%) rotate(180deg);
}

:is(.contentPage .body, .cke_editable) .immigration .slide-menu dd {
  padding: 0 30px 23px;
  background: #eff3f4;
}

:is(.contentPage .body, .cke_editable) .immigration .slide-menu dd p {
  margin-top: 0;
  margin-bottom: 1em;
}