@charset "utf-8";
/* 
Theme Name:mrp-child 
Template:mrp 
Version: 1.0.0 
*/
/* 
DesignCode CSS: ver 0.01 
*/
/*------------------------------------------------------ 
Theme Material ------------------------------------------------------*/

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap");

:root {
  /*------â–¼åŸºæœ¬è¨¬å®šâ–¼------*/
  --color-background: #fff;
  --color-background01: #f5f5f5;
  --color-font: #333;
  --color-primary: #1488db;
  --color-primary-tint: #eebd38;
  --color-secondary: #cfb97e;
  --color-arw: #003fa4;
  --color-table-border: #ccc;
  --body-font-size: min(calc(1.6rem + (1vw - 19.2px) * 0.1294), 1.6rem); /* 1.6-1.4rem (1920-375) */
  --body-font-family: "Noto Sans JP", sans-serif;
  --content-max-width: 1100px;
  /*------â–¼ãƒ˜ãƒƒãƒ€ãƒ¼è¨¬å®šâ–¼------*/
  --header-background: #fff;
  --header-color-font: #333;
  --header-color-primary: #1488db;
  /*------â–¼ãƒ•ãƒƒã‚¿ãƒ¼è¨¬å®šâ–¼------*/
  --footer-background: #f5f5f5;
  --footer-color-font: #333;
  --footer-color-primary: #333;
  /*------â–¼ãƒ•ã‚©ãƒ³ãƒˆè¨¬å®šâ–¼------*/
  --font-family01: "Noto Sans JP", sans-serif;
  --font-family02: "Noto Sans JP", sans-serif;
  --font-family03: "Montserrat", "Noto Sans JP", sans-serif;
  --font-family04: "Oswald", "Noto Sans JP", sans-serif;

  --arw-with: clamp(150px, calc(40rem + ((1vw - 19.2px) * 16.1812)), 400px);
  /*------â–¼pxãƒãƒªã‚¨ãƒ¼ã‚·ãƒ§ãƒ³â–¼------*/
  --px300: min(calc(300px + (1vw - 19.2px) * 10.356), 300px); /*300px-80px (1920-375)*/
  --px240: min(calc(240px + (1vw - 19.2px) * 10.356), 240px); /*240px-80px (1920-375)*/
  --px200: min(calc(200px + (1vw - 19.2px) * 6.4725), 200px); /*200px-100px (1920-375)*/
  --px180: min(calc(180px + (1vw - 19.2px) * 3.8835), 180px); /*180-120px (1920-375) */
  --px170: min(calc(170px + (1vw - 19.2px) * 6.4725), 170px); /*160px-60px (1920-375)*/
  --px160w: min(calc(160px + (1vw - 19.2px) * 5.178), 160px); /*160px-80px (1920-375)*/
  --px160: min(calc(160px + (1vw - 19.2px) * 6.4725), 160px); /*160px-60px (1920-375)*/
  --px150: min(calc(150px + (1vw - 19.2px) * 3.2362), 150px); /*150-100px (1920-375) */
  --px140: min(calc(140px + (1vw - 19.2px) * 6.4725), 140px); /*140px-40px (1920-375)*/
  --px130: min(calc(130px + (1vw - 19.2px) * 2.589), 130px); /*130px-90px (1920-375)*/
  --px120: min(calc(120px + (1vw - 19.2px) * 2.589), 120px); /*120px-80px (1920-375)*/
  --px120s: clamp(40px, calc(7.5rem + ((1vw - 19.2px) * 8.9286)), 120px); /*120px-40px (1920-375)*/
  --px100w: min(calc(100px + (1vw - 19.2px) * 3.2362), 100px); /*100px-50px (1920-375)*/
  --px100: min(calc(100px + (1vw - 19.2px) * 3.8835), 100px); /*100px-40px (1920-375)*/
  --px100s: clamp(30px, calc(10rem + ((1vw - 19.2px) * 7.8125)), 100px);
  --px96: min(calc(96px + (1vw - 19.2px) * 3.1068), 96px); /*96px-48px (1920-375)*/
  --px90: min(calc(90px + (1vw - 19.2px) * 3.8835), 90px); /*90px-30px (1920-375)*/
  --px80w: min(calc(80px + (1vw - 19.2px) * 1.2945), 80px); /*80px-60px (1920-375)*/
  --px80: min(calc(80px + (1vw - 19.2px) * 2.589), 80px); /*80px-40px (1920-375)*/
  --px70: min(calc(70px + (1vw - 19.2px) * 1.9417), 70px); /*60px-30px (1920-375)*/
  --px80s: min(calc(80px + (1vw - 19.2px) * 3.8835), 80px); /*80px-20px (1920-375)x*/
  --px60w: min(calc(60px + (1vw - 19.2px) * 1.2945), 60px); /*60px-40px (1920-375)*/
  --px60: min(calc(60px + (1vw - 19.2px) * 1.9417), 60px); /*60px-30px (1920-375)*/
  --px50: min(calc(50px + (1vw - 19.2px) * 1.2945), 50px); /*50px-30px (1920-375)*/
  --px40w: min(calc(40px + (1vw - 19.2px) * 0.6472), 40px); /*40px-30px (1920-375)*/
  --px40: min(calc(40px + (1vw - 19.2px) * 1.2945), 40px); /*40px-20px (1920-375)*/
  --px35: min(calc(35px + (1vw - 19.2px) * 1.2945), 35px); /*35px-15px (1920-375)*/
  --px30w: min(calc(30px + (1vw - 19.2px) * 0.6472), 30px); /*30px-20px (1920-375)*/
  --px30: min(calc(30px + (1vw - 19.2px) * 0.9709), 30px); /*30px-15px (1920-375)*/
  --px24: min(calc(24px + (1vw - 19.2px) * 0.6472), 24px); /*24px-14px (1920-375)*/
  --px20: min(calc(20px + (1vw - 19.2px) * 0.6472), 20px); /*20px-10px (1920-375)*/
  --px18: min(calc(18px + (1vw - 19.2px) * 0.2589), 18px); /*18px-14px (1920-375)*/
  --px16: min(calc(16px + (1vw - 19.2px) * 0.1294), 16px); /*16px-14px (1920-375)*/
  --px14: min(calc(14px + (1vw - 19.2px) * 0.1294), 14px); /*14px-12px (1920-375)*/
  --px12: min(calc(12px + (1vw - 19.2px) * 0.0647), 12px); /*12px-11px (1920-375)*/
  /*------â–¼remãƒãƒªã‚¨ãƒ¼ã‚·ãƒ§ãƒ³â–¼------*/
  --rem120: min(calc(12rem + (1vw - 1.92rem) * 3.8835), 12rem); /*12rem-6rem (1920-375)*/
  --rem84: clamp(30px, calc(8.4rem + ((1vw - 19.2px) * 3.4951)), 84px);
  --rem80w: min(calc(8rem + (1vw - 1.92rem) * 1.2945), 8rem); /*8rem-6rem (1920-375)*/
  --rem80: min(calc(8rem + (1vw - 1.92rem) * 2.589), 8rem); /*8rem-4rem (1920-375)x*/
  --rem72: min(calc(7.2rem + (1vw - 1.92rem) * 1.9417), 7.2rem); /*7.2rem-4.2rem (1920-375)*/
  --rem70: min(calc(7rem + (1vw - 1.92rem) * 2.588), 7rem); /*7rem-4rem (1920-375)*/
  --rem60: min(calc(6rem + (1vw - 1.92rem) * 1.5534), 6rem); /*6rem-3.6rem (1920-375)*/
  --rem56: min(calc(5.6rem + (1vw - 1.92rem) * 1.5534), 5.6rem); /*5.6rem-3.2rem (1920-375)*/
  --rem50: min(calc(5rem + (1vw - 1.92rem) * 1.2945), 5rem); /*5rem-3rem (1920-375)*/
  --rem48w: min(calc(4.8rem + (1vw - 1.92rem) * 0.6472), 4.8rem); /*4.8rem-3.8rem*/
  --rem48: min(calc(4.8rem + (1vw - 1.92rem) * 1.5534), 4.8rem); /*4.8rem-2.4rem (1920-375)*/
  --rem46w: min(calc(4.6rem + (1vw - 1.92rem) * 1.0356), 4.6rem); /*4.6rem-3rem (1920-375)*/
  --rem46: min(calc(4.6rem + (1vw - 1.92rem) * 1.5533), 4.6rem); /*4.6rem-2.2rem (1920-375)*/
  --rem42w: clamp(30px, calc(4.2rem + ((1vw - 19.2px) * 0.7767)), 42px); /*4.2rem-3rem (1920-375)*/
  --rem42: min(calc(4.2rem + (1vw - 1.92rem) * 1.165), 4.2rem); /*4.2rem-2.4rem (1920-375)*/
  --rem42s: min(calc(4.2rem + (1vw - 1.92rem) * 1.4887), 4.2rem); /*4.2rem-1.9rem (1920-375)*/
  --rem40w: min(calc(4rem + (1vw - 1.92rem) * 0.6472), 4rem); /*4rem-3rem (1920-375)*/
  --rem40: min(calc(4rem + (1vw - 1.92rem) * 1.2945), 4rem); /*4rem-2rem (1920-375)*/
  --rem36: min(calc(3.6rem + (1vw - 1.92rem) * 0.7767), 3.6rem); /*3.6rem-2.4rem (1920-375)*/
  --rem30w: min(calc(3rem + (1vw - 1.92rem) * 0.3883), 3rem); /*3rem-2.4rem (1920-375)*/
  --rem30: min(calc(3rem + (1vw - 1.92rem) * 0.6472), 3rem); /*3rem-2rem (1920-375)*/
  --rem30s: min(calc(3rem + (1vw - 1.92rem) * 0.9709), 3rem); /*3rem-1.5rem (1920-375)*/
  --rem28w: clamp(20px, calc(2.8rem + ((1vw - 19.2px) * 0.5178)), 28px); /*2.8rem-2rem (1920-375)*/
  --rem28: min(calc(2.8rem + (1vw - 1.92rem) * 0.6472), 2.8rem); /*2.8rem-1.8rem (1920-375)*/
  --rem26w: min(calc(2.6rem + (1vw - 1.92rem) * 0.3883), 2.6rem); /*2.6rem-1.8rem (1920-375)*/
  --rem24w: min(calc(2.4rem + (1vw - 1.92rem) * 0.3883), 2.4rem); /*2.4rem-1.8rem (1920-375)*/
  --rem24: min(calc(2.4rem + (1vw - 1.92rem) * 0.6472), 2.4rem); /*2.4rem-1.4rem (1920-375)*/
  --rem22w: min(calc(2.2rem + (1vw - 1.92rem) * 0.3883), 2.2rem); /*2.2rem-1.6rem (1920-375)*/
  --rem20w: min(calc(2rem + (1vw - 1.92rem) * 0.2589), 2rem); /*2rem-1.6rem (1920-375)*/
  --rem20: min(calc(2rem + (1vw - 1.92rem) * 0.3883), 2rem); /*2rem-1.4rem (1920-375)*/
  --rem18: min(calc(1.8rem + (1vw - 1.92rem) * 0.2589), 1.8rem); /*1.8rem-1.4rem (1920-375)*/
  --rem16: min(calc(1.6rem + (1vw - 1.92rem) * 0.1294), 1.6rem); /*1.6rem-1.4rem (1920-375)*/
  --rem14: min(calc(1.4rem + (1vw - 1.92rem) * 0.1294), 1.4rem); /*1.4rem-1.2rem (1920-375)*/
  --rem12: min(calc(1.2rem + (1vw - 1.92rem) * 0.0647), 1.2rem); /*1.2rem-1.1rem (1920-375)*/
}

html {
  scroll-behavior: smooth;
}

body.home #contact-bottom {
  display: none;
}

.cta02 .cta02_wrap h1 {
  text-align: center;
}

.anchor_link::before {
  content: "";
  display: block;
  padding-top: 150px;
  margin-top: -150px;
}

.text-normal {
  font-size: var(--rem16);
  line-height: 2;
}

.home-content_max {
  max-width: 1240px;
  width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.clr-note {
  color: #ff0000;
}

.content_max_width {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
}

.content_max_1600 {
  max-width: 1600px;
  width: 90%;
  margin: 0 auto;
}

.bg-basic {
  background: var(--color-background01);
}

.clr-fff {
  color: var(--color-background) !important;
}

.clr-primary {
  color: var(--color-primary) !important;
}

.clr-primary-tint {
  color: var(--color-primary-tint) !important;
}

.bg-primary2 {
  background: #1488db33;
}

.fw-500 {
  font-weight: 500;
}

.fw-bold {
  font-weight: bold;
}

.dp-none {
  display: none !important;
}

@media print, screen and (min-width: 700px) {
  .sm_center {
    text-align: center;
  }
}

.fs-20 {
  font-size: var(--rem20) !important;
}

@media print, screen and (min-width: 768px) {
  .flexbox-sp {
    display: flex;
  }

  .flexbox-sp .w50 {
    width: 50%;
  }
}

@media print, screen and (min-width: 1024px) {
  .pc_left {
    text-align: left !important;
  }
  .pc_right {
    text-align: right !important;
  }
}

.widearea {
  margin-right: calc(((100vw - 100%) / 2) * -1);
  margin-left: calc(((100vw - 100%) / 2) * -1);
}

.py-120 {
  padding: var(--px120) 0;
}

/* ----------- style h1 ----------------- */
h1.title.main-ttl,
h1.title.bottom-loop {
  font-size: var(--rem46w);
  font-weight: bold;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  position: relative;
  margin-bottom: var(--px50);
  padding-bottom: var(--px20);
}

h1.title.main-ttl::after {
  content: "";
  position: absolute;
  width: var(--px80);
  height: 2px;
  background: var(--color-primary);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

h1.title.main-ttl.txt-l {
  text-align: left;
}

h1.title.main-ttl.txt-l::after {
  left: 0;
  transform: translateX(0);
}

h1.title.main-ttl span {
  display: block;
  font-size: var(--rem30w);
  color: var(--color-primary);
  letter-spacing: 0em;
  font-weight: 600;
  font-family: var(--font-family03);
  line-height: 1.4;
  text-transform: uppercase;
}

h1.title.main-ttl.clr-fff,
h1.title.main-ttl.clr-fff span {
  color: var(--color-background);
}

h1.title.main-ttl.clr-fff::after {
  background: var(--color-background);
}

h1.title.main-ttl.clr-font {
  color: var(--color-font);
}

h1.title.main-ttl.clr-font::after,
h1.title.main-ttl.fs-small::after {
  background: var(--color-font);
}

h1.title.main-ttl p {
  display: inline-block;
}

h1.title.main-ttl.fs-small {
  font-size: var(--rem40w);
  font-weight: normal;
  color: var(--color-font);
}

h1.title.main-ttl.fs-small span {
  font-size: var(--rem24w);
  color: var(--color-primary-tint);
  font-weight: bold;
}

/* ----------- end style h1 ----------------- */

/* ----------- style h2 ----------------- */
body:not(.home) .post h2 {
  font-size: var(--rem24w);
  font-weight: bold;
  letter-spacing: 0em;
  color: var(--color-primary);
  position: relative;
  margin-bottom: var(--px20);
  border-bottom: 2px solid var(--color-primary);
  border-top: 2px solid var(--color-primary);
  padding: 4px;
  text-align: left;
}

body:not(.home) .post h2::after {
  content: none;
}
/* ----------- end style h2 ----------------- */

/* ----------- style h3 ----------------- */
body:not(.home) .post h3 {
  font-size: var(--rem20w);
  font-weight: bold;
  letter-spacing: 0em;
  margin-bottom: var(--px20);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--px20);
}

body:not(.home) .post h3::before {
  content: "";
  position: relative;
  width: 14px;
  aspect-ratio: 1 / 1;
  transform: rotate(45deg);
  background: var(--color-primary);
  top: 2px;
}
/* ----------- end style h3 ----------------- */

/* ----------- style table ----------------- */
table.responsive {
  border: none;
  border-collapse: separate;
  border-spacing: 0 3px;
}

table.responsive th {
  font-size: var(--rem16);
  color: var(--color-font);
  padding: var(--px20) var(--px30);
  background: #1488db33;
  vertical-align: middle;
  border: 1px solid var(--color-table-border);
  border-right: none;
}

table.responsive td {
  font-size: var(--rem16);
  color: var(--color-font);
  line-height: 2;
  padding: var(--px20) var(--px30);
  border: 1px solid var(--color-table-border);
  border-left: none;
}
/* ----------- end style table ----------------- */

/* ------- style button --------------- */
.linkBtn,
.post .linkBtn,
a.linkBtn,
.post .subimitarea .linkBtn input[type="submit"] {
  position: relative;
  display: inline-block;
  width: 100%;
  width: 240px;
  min-width: fit-content;
  font-size: var(--rem18);
  letter-spacing: 0.06em;
  color: var(--color-background);
  line-height: 1.8;
  text-align: center;
  background: var(--color-primary);
  font-weight: 500;
  padding: var(--rem14) 20px;
  margin: var(--px40) auto 0;
  border: 2px solid var(--color-primary);
  border-radius: 0;
  transition: all 0.3s;
}
.post .linkBtn::after,
.linkBtn::after,
a.linkBtn::after {
  position: relative;
  display: inline-block;
  border-color: var(--color-background);
  border-width: 2px;
  right: -10px;
  top: -2px;
}

.post .subimitarea .linkBtn::after { 
	right: 30px;

}
.post .linkBtn:hover,
.linkBtn:hover,
a.linkBtn:hover,
.post .subimitarea .linkBtn input[type="submit"]:hover {
  color: var(--color-primary);
  background: var(--color-background);
  border-color: var(--color-primary);
}
.post .linkBtn:hover::after,
.linkBtn:hover::after,
a.linkBtn:hover::after {
  border-color: var(--color-primary);
}
.subimitarea > .linkBtn {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}
.post .subimitarea .linkBtn input[type="submit"] {
  margin-top: 0;
}
/* ------- style button --------------- */

/* ------------- HEADER --------------- */

#thumbImg::before,
header#h1Header::before {
  opacity: 0;
}
header#h1Header h1.title {
  color: var(--color-background);
}
@media print, screen and (min-width: 1024px) {
	#header a.head_btn.tel_btn {
		background: transparent;
	}
  nav#mainNav ul li.pc_none {
    display: none;
  }

  #header {
    height: 100px;
  }

  #header .logo img {
    max-width: 400px;
    max-height: 90px;
    width: 100%;
    height: auto;
    min-width: 90px;
  }

  .sticky-header #header-layout {
    height: 100px;
  }

  nav#mainNav ul li a {
    padding: var(--px20);
  }

  nav#mainNav ul li a b {
    font-size: var(--rem20);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.06em;
    color: var(--header-color-font);
  }

  nav#mainNav ul li a span {
    font-size: var(--rem14);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.06em;
    color: var(--header-color-primary);
  }

  nav#mainNav ul li.current-menu-item a span,
  nav#mainNav ul li a:hover span {
    color: var(--header-color-primary);
  }

  #header .head_btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--header-color-primary);
    color: #fff;
    font-size: calc(1.6rem + (1vw - 1.92rem) * 0.2232);
    font-weight: 600;
    line-height: 1.4;
    padding: min(calc(10px + (1vw - 19.2px) * 0.2232), 10px) min(calc(20px + (1vw - 19.2px) * 0.558), 20px);
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }

  #header ul.header__contact li {
    display: flex;
    align-items: center;
  }

  #header .head_btn.tel_btn::before {
    display: none;
  }
  #header .head_btn.tel_btn {
    color: var(--header-color-font);
    background: var(--color-background);
    width: 240px;
    height: 60px;
    border-left: 1px solid var(--color-font);
    align-items: flex-start;
  }

  .note,
  .note b {
    font-weight: 500;
  }

  #header .head_btn.tel_btn .tel_icon {
    font-size: var(--rem24);
    font-weight: 500;
  }

  #header .head_btn.tel_btn .tel_icon a {
    color: var(--color-font);
  }
  #header .head_btn.tel_btn .tel_icon::before {
    content: "\f095";
    font-family: "FontAwesome";
    font-size: .75em;
    font-weight: 400;
    line-height: 1;
    margin-top: 4px;
    margin-right: 8px;
    color: var(--header-color-font);
  }

  #header .head_btn.tel_btn:hover {
    background: var(--header-color-primary);
    color: var(--header-background);
    height: 100%;
  }

  #header .head_btn.tel_btn:hover .tel_icon a {
    color: var(--color-background);
  }

  #header .head_btn.tel_btn:hover .tel_icon::before {
    color: var(--header-background);
  }

  #header a.head_btn.mail_btn {
    width: 140px;
    background: var(--color-primary-tint);
    color: var(--header-color-font);
    font-size: var(--rem16);
    font-weight: bold;
  }
  #header a.head_btn.mail_btn::before {
    content: "\f003";
  }

  #header a.head_btn.mail_btn:hover {
    color: var(--header-color-primary);
    background: var(--header-background);
  }

  .tel_text-container {
    width: 100%;
    text-align: center;
  }
}

@media print, screen and (max-width: 1700px) and (min-width: 1024px) {
  #header .head_btn.tel_btn,
  #header a.head_btn.mail_btn {
    width: fit-content;
  }

  nav#mainNav ul li a b {
    font-size: var(--rem16);
  }
}
@media print, screen and (max-width: 1430px) and (min-width: 1024px) {
  nav#mainNav ul li a {
    padding: var(--px20) 5px;
  }

  nav#mainNav ul li a b {
    font-size: clamp(10px, calc(2rem + ((1vw - 19.2px) * 1.1161)), 20px);
  }
  nav#mainNav ul li a span
	{
    font-size: clamp(10px, calc(1.4rem + ((1vw - 19.2px) * 0.4464)), 14px);
  }
	#header .head_btn.tel_btn .tel_icon a,
	#header .head_btn.tel_btn .tel_icon{
		font-size: clamp(14px, calc(2.4rem + ((1vw - 19.2px) * 1.5625)), 24px);
	}
  #header .head_btn,#header a.head_btn.mail_btn {
    padding: 5px;
  }

  #header a.head_btn.mail_btn {
    font-size: clamp(10px, calc(1.6rem + ((1vw - 19.2px) * 0.6696)), 16px);
  }

  .note {
    font-size: clamp(10px, calc(1.2rem + ((1vw - 19.2px) * 0.2232)), 12px);
  }
}

@media print, screen and (max-width: 1023px) {
  nav#mainNav ul li.current-menu-item a,
  nav#mainNav ul li a:hover {
    background: var(--color-primary) !important;
    color: var(--color-background);
  }

  nav#mainNav ul li li.current-menu-item a {
    background: var(--color-primary);
    color: var(--color-background);
  }
}
/* ------------- END  HEADER --------------- */

/* -------------  HOME --------------- */
/* home 1 */
#home-1 {
  padding: var(--px130) 0;
  background: url(/wp-content/uploads/top-1.png) no-repeat center/cover;
}

#home-1 .home-content_max {
  background: #ffffffe6;
}

.home-1-inner {
  padding: var(--px100) 0;
  max-width: 840px;
  width: 90%;
  margin: 0 auto;
}

#home-1 h1.title.main-ttl {
  font-size: var(--rem36);
}

.txt-18 {
  font-size: var(--rem18);
  line-height: 1.8;
}
/* home 1 */

/* home visa */
#home-visa {
  padding: var(--px100) 0 var(--px150);
  background: var(--color-primary);
  position: relative;
}

#home-visa::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  background: var(--color-primary);
  bottom: calc(-1 * ((var(--arw-with) * 90 / 400)) + 1px);
  width: var(--arw-with);
  aspect-ratio: 400 / 90;
}

.col4-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--px40);
}

.col4-list li {
  width: calc((100% - var(--px40) * 3) / 4);
}

.home-visa-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(-45deg, #000147 50%, #004678 50%);
  position: relative;
  overflow: hidden;
}

.home-visa-txt {
  font-size: var(--rem30);
  font-weight: 900;
  line-height: 1.5;
  color: var(--color-primary-tint);
  text-align: center;
  position: relative;
  z-index: 2;
}
/* home visa */

/* home 3 */
#home-3 {
  padding: calc(var(--px100) + var(--px60)) 0 var(--px120);
}

.col2-list {
  display: flex;
  flex-wrap: wrap;
}

.home-3-list {
  gap: var(--px24);
  row-gap: var(--px30);
}

.home-3-list li {
  width: calc((100% - var(--px24)) / 2);
  background: var(--color-background);
  border-radius: 20px;
  padding: var(--px40) var(--px30);
}

.home-3-txt {
  font-size: var(--rem18);
  font-weight: 500;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: var(--px30);
}

.home-3-txt::before {
  content: url(/wp-content/uploads/icon-check.png);
  position: relative;
  top: 4px;
}

.home-3-txt span {
  font-weight: bold;
  line-height: 1.6;
  font-size: var(--rem22w);
  display: block;
  color: var(--color-primary);
  margin-bottom: 6px;
}
/* home 3 */

/* home reason */
#home-reason {
  padding: var(--px120) 0;
  background: url(/wp-content/uploads/top-2.png) no-repeat center/cover;
}

#home-reason .text-normal {
  letter-spacing: 0.02em;
}
/*------------------------------------------------------------
 ナンバリング01
------------------------------------------------------------*/
.num_list01 {
  counter-reset: number; /*数字をリセット*/
  list-style-type: none !important; /*数字を一旦消す*/
  gap: var(--px80);
  row-gap: var(--px100);
}
.num_list01 .imgarea {
  position: relative;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.num_list01 .imgarea img {
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  width: 100%;
}
.num_list01 .imgarea:before {
  /* 以下数字をつける */

  position: absolute;
  content: "";
  display: inline-block;
  background: var(--color-background);
  border-radius: 50%;
  left: 50%;
  width: calc(var(--px100w) + 2px);
  height: calc(var(--px100w) + 2px);
  text-align: center;
  top: calc(-1 * (var(--px100w) / 2));
  transform: translateX(-50%);
}

.num_list01 .imgarea:after {
  position: absolute;
  line-height: 1.4;
  counter-increment: number;
  content: "0" counter(number);
  top: calc((-1 * (var(--rem50) * 1.4) / 2) - 0.6rem);
  color: var(--color-font);
  font-family: var(--font-family04);
  font-weight: normal;
  font-size: var(--rem50);
  left: 50%;
  transform: translateX(-50%);
  border-bottom: 3px solid var(--color-primary-tint);
}

.num_list01 .num_listttl {
  text-align: center;
  font-weight: bold;
  font-size: var(--rem22w);
  padding: var(--px20) 0 var(--px12);
  line-height: 1.4;
  letter-spacing: 0.02em;
  position: relative;
  color: var(--color-primary);
}

.num_list01 .txtarea {
  padding: 0 var(--px30) var(--px60);
}

/*---------col2-----------*/
.num_list01 li {
  width: calc((100% - var(--px80)) / 2);
  background: var(--color-background);
  border-radius: 14px;
  background: var(--color-background);
}
@media print, screen and (max-width: 768px) {
  .num_list01 {
    gap: var(--px50);
    row-gap: var(--px100);
  }
}
@media print, screen and (max-width: 414px) {
  .post .col4_list > li {
    width: 100%;
  }
  .post .col4_list > li:last-child {
    margin-bottom: 0;
  }
}
/* home reason */

/* home support */
#home-support .text-normal {
  max-width: 900px;
  margin: 0 auto;
  width: 90%;
}
/* home support */

/* home column */
#home-column .txtarea {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--px30) 0;
  background: var(--color-background);
}
#home-column .txtarea .txtinner {
  max-width: 690px;
  margin: 0 auto;
  width: 90%;
}

#home-column .imgarea {
  overflow: hidden;
}

#home-column .imgarea img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* home column */

/* home price */
#home-price {
  padding: var(--px130) 0;
  position: relative;
}

#home-price .flexbox {
  position: relative;
  z-index: 2;
}

#home-price::after {
  content: "";
  position: absolute;
  background: url(/wp-content/uploads/top-13.png) no-repeat center/cover;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50%;
}
#home-price .txtarea {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--px30) 0;
  background: var(--color-background);
}
#home-price .txtarea .txtinner {
  max-width: 600px;
  margin: 0 auto;
  width: 90%;
}

#home-price .imgarea {
  overflow: hidden;
  margin-bottom: 0;
}

#home-price .imgarea img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* home price */

@media print, screen and (max-width: 1920px) and (min-width: 1024px) {
  .home-visa-txt {
    font-size: clamp(18px, calc(3rem + ((1vw - 19.2px) * 1.3393)), 30px);
  }
}

@media print, screen and (max-width: 1023px) {
  .col4-list li {
    width: calc((100% - var(--px40) * 1) / 2);
  }

  .home-3-list li {
    width: 100%;
  }

  #home-visa .content_max_1600 {
    width: 70%;
  }
}

@media print, screen and (max-width: 600px) {
  .col4-list li {
    width: 100%;
  }
  .home-3-txt::before {
    scale: 0.7;
    width: 15%;
  }

  .num_list01 li {
    width: 100%;
  }
}
/* ------------- END  HOME --------------- */

body:not(.home) p {
  line-height: 2;
}
/* -------------  WORK --------------- */
.col-flex .imgarea {
  overflow: hidden;
}

.col-flex .imgarea img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-sub1-item {
  margin-top: var(--px90);
}

.content-box {
  border: 2px solid var(--color-primary);
}

.content-box .content-box-ttl {
  font-size: var(--rem24);
}

.content-box-ttl {
  text-align: center;
  font-size: var(--rem20w);
  background: var(--color-primary);
  color: var(--color-background);
  padding: var(--px12);
  font-weight: bold;
  margin-bottom: var(--px20);
}

.content-box-inner {
  max-width: 950px;
  width: 90%;
  margin: var(--px40) auto var(--px60);
}

.text-mark {
  display: inline;
  background: linear-gradient(transparent 60%, var(--color-primary-tint) 60%);
  padding: 0 6px;
}

.ol-text {
  line-height: 2;
  margin-left: -1.2em;
}

.content-2 ol li:not(:first-child) {
  margin-top: var(--px30);
}

.content-2 ol li {
  font-weight: bold;
  color: var(--color-primary);
}

.content-2 {
  line-height: 2;
}

/* ------------- END  WORK --------------- */

/* -------------  CITIZEN --------------- */
ul.list-flow {
  list-style-type: none;
  counter-reset: item;
  display: flex;
  flex-wrap: wrap;
  gap: var(--px70);
  row-gap: 8px;
}
ul.list-flow li {
  position: relative;
  margin-top: var(--px12);
  display: flex;
  align-items: center;
  counter-increment: item;
  gap: 12px;
  background: var(--color-primary);
  padding: 12px var(--px20);
  font-weight: bold;
  font-size: var(--rem20);
  color: var(--color-background);
}
ul.list-flow li::before {
  content: counter(item);
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-background);
  color: var(--color-primary);
}

ul.list-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  border-left: var(--px30) solid transparent;
  border-right: var(--px30) solid var(--color-arw);
  border-top: var(--px30) solid transparent;
  transform: rotate(-45deg);
  top: 46%;
  right: calc(-1 * (var(--px30) + 4px));
}
/* ------------- END  CITIZEN --------------- */

/* -------------  SOPOUSE --------------- */
.spouse .content-sub1 ul li + li {
  margin-top: var(--px20);
}

ul.list-number-circle {
  list-style-type: none;
  counter-reset: item;
}
ul.list-number-circle li {
  position: relative;
  margin-top: var(--px12);
  display: flex;
  align-items: center;
  counter-increment: item;
  gap: 6px;
}
ul.list-number-circle li::before {
  content: counter(item);
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid var(--color-font);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spouse ul.list-number-circle li {
  font-weight: bold;
}

.content-bg-primary {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
}
/* ------------- END  SOPOUSE --------------- */

/* -------------  MARRIAGE --------------- */
.list-marriage li {
  font-weight: bold;
  font-size: var(--rem20);
}

.list-marriage li:not(:last-child) {
  margin-top: var(--px20);
}

p.span-block {
  display: flex;
  align-items: center;
  gap: var(--px20);
  margin-bottom: var(--px16);
  margin-top: 6px;
}
p.span-block span {
  display: inline-block;
  font-weight: bold;
  padding: 4px 10px;
  text-align: center;
  min-width: 100px;
}

p.span-block span.bg-arw {
  background: var(--color-arw);
  color: var(--color-background);
  min-width: 120px;
}

p.span-block span.bg-secondary {
  background: var(--color-secondary);
}
/* ------------- END  MARRIAGE --------------- */

/* -------------  FEES --------------- */
.content-box-second {
  border: 3px solid var(--color-secondary);
}

.text-under {
  text-decoration: underline;
}


table.table-primary-tint th {
  background: #eebd3833;
  font-weight: bold;
  text-align: left;
  font-size: var(--rem20);
  padding: var(--px30) var(--px40);
  vertical-align: middle;
}

table.table-primary-tint td {
  line-height: 2;
  font-size: var(--rem20);
  padding: var(--px30) var(--px40);
  vertical-align: middle;
}

table.table-primary-tint td span {
  font-weight: bold;
  color: var(--color-arw);
}

table.table-primary th {
  background: #1488db33;
  font-weight: bold;
  text-align: center;
  padding: var(--px30);
  vertical-align: middle;
}

table.table-primary thead th:first-child {
  width: 68%;
}

table.table-primary td {
  line-height: 2;
  padding: var(--px30) var(--px20);
  vertical-align: middle;
}

table ul.list-number-circle li {
  margin-top: 0;
}

table.table-primary tbody td:last-child {
  font-weight: bold;
  color: var(--color-primary);
}

table.table-primary tbody td.fw-normal {
  font-weight: normal;
  color: var(--color-font);
}

.fees-4 p.span-block span {
  background: var(--color-primary);
  color: var(--color-background);
  min-width: 150px;
}

.fees-4 .bg-primary2 {
  padding: 10px;
}

.fees-4 .bg-primary2 span {
  display: inline-block;
  min-width: 6em;
}

.fees-4-item {
  font-weight: 900;
  line-height: 2;
}

@media print, screen and (max-width: 430px) {
	.table-container {
	overflow: auto;
    }
	
	table.table-primary-tint,
	table.table-primary {
		width: 500px;
	}
}
/* ------------- END  FEES --------------- */

/* ---------- CONTACT --------------- */
/*-----------------------------
cta02_col2_max1240
------------------------------*/
.cta02 {
  position: relative;
  padding: var(--px120) 0;
  z-index: 0;
  background: url(/wp-content/uploads/cta-bg.png) no-repeat center/cover;
}

.cta02 .cta02_wrap {
  max-width: 1600px;
  width: 90%;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  position: relative;
  z-index: 1;
}

.cta02 .cta02_wrap > p {
  font-size: var(--rem24);
  color: var(--color-background);
  letter-spacing: 0.1em;
  line-height: 2;
}
.cta02 .ctabtnlist {
  justify-content: space-between;
  margin: var(--px50) auto 0 auto;
  max-width: 960px;
}
.cta02 .ctabtnlist li {
  width: 50%;
  margin: 0;
  padding: 0;
  line-height: 1;
  display: flex;
}
.cta02 .item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--px30);
  text-align: center;
  box-sizing: border-box;
  border-radius: 0;
  transition: all ease 0.15s;
}
.cta02 .item:hover {
  opacity: 0.8;
}

@media print, screen and (max-width: 768px) {
  .cta02 .ctabtnlist li,
  .cta02 .ctabtnlist .item {
    width: 100%;
  }
  .cta02 .ctabtnlist li + li {
    margin-top: 1rem;
  }
}

/*ボタン共通パーツ*/

.cta02 .infotxt {
  font-size: var(--rem16);
  font-weight: bold;
}
.cta02 .btnttl {
  display: block;
  font-weight: bold;
  margin-bottom: 00.7rem;
  line-height: 1.4;
  font-size: var(--rem26w);
}

.cta02 .telarea .btnttl {
  font-size: var(--rem16);
}

.tel-number {
  text-align: left;
}
.tel-number a {
  display: block;
}

/*電話ボタン*/

.cta02 .telnum {
  font-size: var(--rem36);
}
.cta02 .telarea.item {
  background: var(--color-primary);
  color: var(--color-background);
}

.cta02 a.telbtn {
  font-size: var(--rem36);
  color: var(--color-background);
  font-weight: bold;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
}

.cta02 a.telbtn:last-child {
  margin-bottom: 0.7rem;
}

/*メールボタン*/

.cta02 a.mailbtn {
  background: var(--color-background);
  color: var(--color-primary);
}

/*ボタンアイコン*/

.cta02 a.mailbtn .btnttl::before,
.cta02 .telbtn::before {
  content: "";
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 1rem;
}
.cta02 .telbtn::before {
  content: "\f095";
  font-size: var(--rem24w);
}
.cta02 a.mailbtn .btnttl::before {
  content: "\f0e0";
}

.wpcf7-form .must { 
background: #ff0000; 
}
/* ---------- CONTACT --------------- */

/* ---------- NEWS --------------- */
#front_bottom_content {
  background: var(--color-background);
}
.postlist .post_text {
  padding: var(--px30) 0;
}

.postlist li:first-child {
  border-top: 1px solid var(--color-table-border);
}

.postlist li {
  border-bottom: 1px solid var(--color-table-border);
}

.postlist .time {
  background: var(--color-primary);
}

.postlist .ttls a {
  color: #111;
  line-height: 2;
  font-size: var(--rem16);
}

.postlist .date {
  color: #000;
  line-height: 2;
  font-size: var(--rem16);
}
/* ---------- END NEWS --------------- */

/* ------------- FOOTER ------------- */
#footer {
  padding: var(--px80) 0 var(--px60);
}
#footer .footer__logo:not(:last-child) {
  margin-top: 20px;
}

#footer .footer__logo img {
  max-width: 400px;
  max-height: 80px;
  width: 90%;
}

#footer ul li a {
  font-weight: 500;
}

/* ------------- FOOTER ------------- */

@media screen and (min-width: 1024px) {
	 #header .vertical-tel {
		height: 100%
	}
	#header .vertical-tel a.head_btn.tel_btn {
height: 50%;
		padding: 5px clamp(15px, calc(3rem + ((1vw - 19.2px) * 1.6741)), 30px);
		width: 100%;
		min-width: fit-content;
		border: 0;
	}
	#header ul.header__contact .header__inner {
		position: relative;
	}
	#header ul.header__contact .header__inner::before {
        content: "";
        background: var(--header-color-font);
        height: 60px;
        width: 1px;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        position: absolute;
    }

}

.cta01 .cta01_wrap h2 {
  text-align: center;
}
.cta02 .cta02_wrap h2 {
  text-align: center;
}

.main-ttl.white-ttl {
  color: var(--color-font-white);
}
.main-ttl.white-ttl .eng-ttl {
  color: var(--color-font-white);
}
.cta01 p {
  color: var(--color-font-white);
  font-size: var(--rem24w);
  letter-spacing: 0.1em;
  line-height: 2;
}
.cta01 {
  position: relative;
  padding: var(--px120) 0 var(--px60);
  z-index: 0;
  background: url(/wp-content/uploads/cta-bg.png) no-repeat center/cover;
}
.cta01 .cta01_wrap {
  max-width: 1600px;
  width: 90%;
  margin: 0 auto;
  background: transparent;
  padding: var(--px50) 0 var(--px40);
}
.cta01 .ctabtnlist {
  justify-content: space-between;
  max-width: 1434px;
  margin: var(--px50) auto 0 auto;
}
.cta01 .ctabtnlist li {
  width: 50%;
  margin: 0;
  padding: 0;
  line-height: 1;
  display: flex;
  background: var(--color-background);
}
.cta01 a.item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--px40) 0;
  text-align: center;
  box-sizing: border-box;
  color: #111;
  border-radius: 0;
  transition: all ease 0.15s;
  font-weight: bold;
}
.cta01 a.item:hover {
  opacity: 0.8;
}
@media print, screen and (max-width: 768px) {
  .cta01 .ctabtnlist li,
  .cta01 .ctabtnlist a.item {
    width: 100%;
  }
  .cta01 .ctabtnlist li + li {
    margin-top: 1rem;
  }
  .cta01 .cta01_wrap {
    padding: var(--px50) 2rem var(--px40);
  }
}

/*ボタン共通パーツ*/

.cta01 .btnttl {
  display: block;
  margin-bottom: 1rem;
}
.cta01 .infotxt {
  font-size: var(--rem16);
}
/*電話ボタン*/

.cta01 .telnum {
  font-size: var(--rem36);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}
.cta01 a.telbtn {
  background: #0088FF;
  color: var(--color-background);
}

/*メールボタン*/

.cta01 .mailbtn .btnttl {
  font-size: calc(var(--rem28) - 2px);
}
.cta01 a.mailbtn {
  background: var(--color-background);
 
	color: #0088FF;
}

/*LINEボタン*/

.cta01 a.fax {
  background: var(--color-primary-tint);
  color: var(--color-font);
}

/*ボタンアイコン*/

.cta01 .telnum::before,
.cta01 .mailbtn .btnttl::before,
.cta01 .linebtn .btnttl::before {
  content: "";
  display: inline-block;
  font-family: "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  margin-right: 1rem;
}
.cta01 .telnum::before {
  content: "\f095";
  font-size: var(--rem24w);
  margin-top: 4px;
}
.cta01 .mailbtn .btnttl::before {
  content: "\f0e0";
}