@charset "UTF-8";
/*
Theme Name: LIFE-Research-Institute Study TEMPLATE
Description: LIFE-Research-Institute Study TEMPLATE
Version: 1.0.0
Author: MergeSystem
*/
/* =Reset
-------------------------------------------------------------- */

.base-footer-width,
.base-width
{
    margin:0px auto;
    max-width:1500px;
    min-width:920px;
}

/* ======================= */
/* PC対応                  */
/* ----------------------- */
.visible_p{display: block !important;}
.visible_pt{display: block !important;}
.visible_pm{display: block !important;}

.visible_m{display: none !important;}
.visible_t{display: none !important;}
.visible_tm{display: none !important;}

/* BASE STYLE ---------------------------------------*/

.editor-style h1
{
  text-align: left;
  font-size:2em;
  margin-bottom:1em;
  border-bottom: 3px solid #000;
  font-weight: bold;
}

.editor-style h2
{
  text-align: left;
  font-size:1.8em;
  padding: 0.5rem 1.5rem;
  border-left: 4px solid #000;
  margin-top: 1em;
  margin-bottom:1em;
}

.editor-style h3
{
  text-align: left;
  font-size:1.5em;
  padding: 1rem 2rem;
  border: 3px solid #000;
  margin-bottom:1em;
}

.editor-style h4
{
  text-align: left;
  font-weight: bold;
  font-size:1.3em;
  padding: 1rem 2rem;
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
  margin-bottom:1em;
}

.editor-style h5
{
  text-align: left;
  font-weight: bold;
  font-size:1.3em;
  padding: 1rem 2rem;
  background-color: #333;
  color:#fff;
  margin-bottom:1em;
}

.editor-style h6
{
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom:1em;
}
.editor-style strong{font-weight: bold;}
.editor-style em{font-style: italic;}
.editor-style del{ text-decoration: line-through;}
.editor-style hr{display: block; border-top: 1px solid #8c8b8b; margin-bottom: 1em;}


.editor-style ul li
{
  line-height: 1.5; /*文の行高*/
  padding: 0.3em 0; /*前後の文との余白*/
  list-style-type: circle;
}
.editor-style ol li
{
  line-height: 1.5; /*文の行高*/
  padding: 0.3em 0; /*前後の文との余白*/
}

.editor-style blockquote
{
  position: relative;
  padding: 30px 15px 8px 15px;
  box-sizing: border-box;
  font-style: italic;
  background: #efefef;
  color: #555;
  margin-bottom: 1em;
}

.editor-style blockquote:before
{
  display: inline-block;
  position: absolute;
  top: 13px;
  left: 15px;
  content: "\f10d";
  font-family: FontAwesome;
  color: #ddd;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}


/* BreadCrumb ----------------------------------------*/
#breadcrumb
{
  padding:10px;
  border-bottom:1px solid #eee;
  margin-bottom: 70px;
}
#breadcrumb li
{
  display: inline-block;
}
#breadcrumb li a
{
  padding: 1.2em 1.2em 1.2em 0em;
  display: block;
}
#breadcrumb li a::after
{
  margin-left:1.2em;
  color:#ddd;
  content: '>';
}
/* MGS LEFTSIDE ---------------------------------------*/

.mgs_leftside h3
{
  background:#333;
  padding:60px 10px;
  text-align:center;
  color:#fff;
  font-size:1.8em;
}
ul.mgs_leftside-menu a
{
  color:#777;
  display: block;
  padding:15px;
  border-left:1px solid #eee;
  border-right:1px solid #eee;
  border-bottom:1px solid #eee;
}
.accordion-area.close
{
  display: none;
}
.mgs_accordion-link
{
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-pack: justify;-ms-flex-pack: justify;justify-content: space-between;
  -ms-flex-wrap: wrap;flex-wrap: wrap;
}
.mgs_accordion-link .link
{
  width:80%;
}
.mgs_accordion-link .aco_btn
{
  width:20%;
  border-right:1px solid #eee;
  border-bottom:1px solid #eee;
}

.mgs_accordion-link .aco_box
{
  width: 100%;
}
/* MGS RIGHTSIDE ---------------------------------------*/
.mgs_news-midashi
{
  font-size:2em;
  margin-bottom:50px;
}

/* PAGENATION ---------------------------------------*/

#area-pagenation
{
  display: flex;
  justify-content: center;
  margin-bottom: -5px;
}
#area-pagenation span,
#area-pagenation a
{
  display: block;
  line-height: 40px;
  text-align: center;
  padding: 0 15px;
  height: 40px;
  margin:0 3px;
}

#area-pagenation span{background:#eee;}
#area-pagenation a{background:#333; color:#fff;}

#area-pagenation a.next,
#area-pagenation a.prev
{background:#555;}

/* mgs_achievements ---------------------------------------*/
.mgs_achievements section
{
  padding:1em;
}
.mgs_achievements section .sub,
.mgs_achievements section .data
{
  color: #000;
}

.mgs_achievements section .title
{
  color:#2a5caa;
}
.mgs_achievements section .location{font-weight:bold;}

.mgs_achievements section:nth-child(odd)
{
  background-color: #eee;
}

#collaborator_list li
{
  font-size:1.2em;
  margin-left: 2em;
}

#collaborator_list li:has(strong)
{
  font-weight: normal;
  font-size:1.5em;
  margin-bottom:0.3em;
}

/* FOOTER ---------------------------------------*/
footer
{
  background:#eaedf2;
}

footer .footer_content
{
  background:#eaedf2;
  padding:50px 30px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  max-width: 1030px;
  margin: 0 auto;
}

footer .footer_block
{
  color: #333;
}

footer .footer_block-left
{
  justify-self: start;
  display: flex;
  flex-direction: column;
}

footer .footer_block-center
{
  justify-self: center;
  display: flex;
  flex-direction: column;
}

footer .footer_block-right
{
  justify-self: center;
  display: flex;
  flex-direction: column;
}

footer .footer_logo
{
  margin-bottom: 20px;
}

footer .footer_logo img
{
  max-width: 100px;
  height: auto;
}

footer .footer_company-name
{
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

footer .footer_company-name-en
{
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 0;
}

footer .footer_address
{
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 5px;
}

footer .footer_address:last-child
{
  margin-bottom: 0;
}

footer .base-data
{
  padding:30px;
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-align: baseline;-ms-flex-align: baseline;align-items: baseline;

}

footer .base-data .company-data .title
{
  text-align: center;
  font-size:1.5em;
  color:#fff;
}
footer .company-data .text
{
  color:#fff;
}

footer .sitemap-data
{
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-align: baseline;-ms-flex-align: baseline;align-items: baseline;
  -webkit-box-align: stretch;-ms-flex-align: stretch;align-items: stretch;
}
footer .sitemap-data .mgs_box
{
  padding:30px;
  border-right:1px solid #444;
}
footer .sitemap-data .mgs_box li
{
  margin-bottom:5px;
}
footer .sitemap-data .mgs_box a
{
  color:#fff;
}
footer .sitemap-data .mgs_box .title{margin-bottom:1em;}
footer .sitemap-data .mgs_box .title a
{
  font-size:1.2em;
  font-weight:bold;
}
footer .footer_copyright
{
  color:#fff;
  background:#2a5caa;
  padding:15px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

footer .footer_links
{
  display: flex;
}

footer .footer_block-right .footer_links
{
  flex-direction: column;
}

footer .footer_links a
{
  color:#333;
  margin-bottom: 10px;
}

footer .footer_links a:last-child
{
  margin-bottom: 0;
}

footer .footer_links a:hover
{
  opacity: 0.7;
}

/*リンクの形状*/
/*========= ページトップのためのCSS ===============*/
/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#942D2F;
	border-radius: 5px;
	width: 60px;
	height: 60px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #777;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

.label-above .nf-field-element, .label-below .nf-field-element
{
  text-align: center;
}
.label-above .nf-field-element input, .label-below .nf-field-element input{cursor: pointer;}


.Form {

  margin-left: auto;
  margin-right: auto;
  margin-bottom:60px;
}

.mw_wp_form_complete
{
  text-align:center;
  margin-bottom:60px;
}

@media screen and (max-width: 480px) {
  .Form {
    margin-top: 40px;
  }
}
.Form-Item {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 739px) {
  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
}
.Form-Item:nth-child(5) {
  border-bottom: 1px solid #ddd;
}
.Form-Item-Label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}
@media screen and (max-width: 739px) {
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
}
.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}
@media screen and (max-width: 739px) {
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }
}
.Form-Item-Label-Required {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #2a5caa;
  color: #fff;
  font-size: 14px;
}
@media screen and (max-width: 739px) {
  .Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
}
.Form-Item-Input {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 739px) {
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding: 10px 15px;
  height: 216px;
  flex: 1;
  width: 92%;
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 739px) {
  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
    width: 100%;
  }
}
.Form-Btn {
  border-radius: 6px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 18px;
  padding-bottom: 18px;
  width: 270px;
  display: block;
  letter-spacing: 0.05em;
  background: #2a5caa;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
}
@media screen and (max-width: 480px) {
  .Form-Btn {
    margin-top: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
    width: 160px;
    font-size: 16px;
  }
}

/*========= PartnersページのNormalBlockをPHP8系に対応するためのCSS ===============*/
.white .image {
  display: none;
}

/*========= 会社情報ページのヘッダーセクション ===============*/
/* 会社情報ページのメニューを白背景・黒文字で表示 */
.page-company-menu-fixed {
    background: #fff !important;
    color: #333 !important;
}

.page-company-menu-fixed .mgs_menu ul.menu_base > li > a,
.page-company-menu-fixed .mgs_menu ul.menu_base > li li > a {
    color: #333 !important;
}

.page-company-menu-fixed .mgs_menu::before {
    opacity: 0 !important;
}

.page-company-menu-fixed .mgs_logo h1 a {
    background: url(./img/logo.png) no-repeat !important;
    background-size: contain !important;
    width: 120px !important;
    height: 35px !important;
    display: block !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
}

/* 会社情報ページで「会社情報」メニューに下線を表示 */
.page-company-menu-fixed .mgs_menu ul.menu_base > li.current-menu-item > a,
.page-company-menu-fixed .mgs_menu ul.menu_base > li.current-page-item > a {
    border-bottom: 0.5em solid #2a5caa !important;
}

.page-company-header {
    background: #2a5caa;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-company-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.page-company-title {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro', 'YuGothic', 'Yu Gothic', '游ゴシック', 'Meiryo', 'メイリオ', Helvetica, sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1;
}

/*========= 会社情報ページのコンテンツセクション ===============*/
.page-company-content {
    background: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-company-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./img/ocean.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.page-company-content > * {
    position: relative;
    z-index: 1;
}

.page-company-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-company-item {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
    align-items: flex-start;
}

.page-company-item:last-child {
    margin-bottom: 0;
}

.page-company-item-title {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro', 'YuGothic', 'Yu Gothic', '游ゴシック', 'Meiryo', 'メイリオ', Helvetica, sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    flex: 0 0 200px;
    line-height: 1.5;
}

.page-company-item-content {
    flex: 1;
}

.page-company-item-label {
    display: inline-block;
    background: #e0e0e0;
    color: #999;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.page-company-item-text {
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin: 0;
}

.page-company-item-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    counter-reset: company-item;
}

.page-company-item-list li {
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin-bottom: 12px;
    padding-left: 40px;
    position: relative;
    counter-increment: company-item;
}

.page-company-item-list li::before {
    content: counter(company-item) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    font-weight: bold;
    color: #2a5caa;
    line-height: 32px;
}

/*========= 会社情報ページのTeam Memberセクション ===============*/
.page-company-team {
    background: #666;
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-company-team::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 1100px;
    height: 800px;
    background-image: url('./img/kikagaku.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 95% 95% at right bottom, black 70%, rgba(0, 0, 0, 0.8) 85%, transparent 98%);
    -webkit-mask-image: radial-gradient(ellipse 95% 95% at right bottom, black 70%, rgba(0, 0, 0, 0.8) 85%, transparent 98%);
}

.page-company-team-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.page-company-team-title {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro', 'YuGothic', 'Yu Gothic', '游ゴシック', 'Meiryo', 'メイリオ', Helvetica, sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.page-company-team-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
}

.page-company-team-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-company-team-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.page-company-team-row:nth-child(2) {
    grid-template-columns: repeat(2, 1fr);
    max-width: calc((100% - 60px) * 2 / 3 + 30px);
}

.page-company-team-card-pc-only {
    display: block;
}

.page-company-team-card-tablet-only {
    display: none;
}

.page-company-team-row-tablet-only {
    display: none;
}

.page-company-team-card {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 20px;
    color: #fff;
}

.page-company-team-role {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.page-company-team-affiliation {
    font-size: 15px;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 12px;
}

.page-company-team-affiliation-position {
    font-size: 15px;
    line-height: 1.8;
    color: #fff;
}

.page-company-team-name {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 0;
}

.page-company-team-name-jp {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 12px;
}

.page-company-team-position {
    font-size: 16px;
    font-weight: 500;
}

/* 所属欄内の職位名も同じスタイルを適用 */
.page-company-team-affiliation .page-company-team-position {
    font-size: 16px;
    font-weight: 500;
}

/* 所属欄内の氏名も1行目と同じスタイルを適用 */
.page-company-team-affiliation .page-company-team-name-jp {
    font-size: 21px;
    font-weight: 600;
}

.page-company-team-name:empty {
    display: none;
}

/* 職位＋氏名が空の場合、所属欄を職位＋氏名と同じスタイルにする */
.page-company-team-card:has(.page-company-team-name:empty) .page-company-team-affiliation {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 0;
}

.page-company-team-name-en {
    font-size: 11px;
    line-height: 1.8;
    color: #cac8c8;
    letter-spacing: 0.05em;
}

/*========= 会社情報ページのStudyセクション ===============*/
.page-company-study {
    background: #fff;
    padding: 80px 0;
}

.page-company-study-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-company-study-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.page-company-study-text {
    flex: 1;
}

.page-company-study-title {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro', 'YuGothic', 'Yu Gothic', '游ゴシック', 'Meiryo', 'メイリオ', Helvetica, sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #333;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.page-company-study-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

.page-company-study-section {
    margin-top: 40px;
}

.page-company-study-section-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 0 30px 0;
}

.page-company-study-list {
    margin: 0;
    padding-left: 20px;
    list-style: decimal;
}

.page-company-study-list li {
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin-bottom: 20px;
}

.page-company-study-author {
    font-weight: bold;
    text-decoration: underline;
}

.page-company-study-image {
    flex: 0 0 auto;
    width: 400px;
    margin-top: 130px;
}

.page-company-study-image img {
    width: 104%;
    height: auto;
    object-fit: cover;
    padding-right: 10px;
}

/*========= お問い合わせページのヘッダーセクション ===============*/
/* お問い合わせページのメニューを白背景・黒文字で表示 */
.page-contact-menu-fixed {
    background: #fff !important;
    color: #333 !important;
}

.page-contact-menu-fixed .mgs_menu ul.menu_base > li > a,
.page-contact-menu-fixed .mgs_menu ul.menu_base > li li > a {
    color: #333 !important;
}

.page-contact-menu-fixed .mgs_menu::before {
    opacity: 0 !important;
}

.page-contact-menu-fixed .mgs_logo h1 a {
    background: url(./img/logo.png) no-repeat !important;
    background-size: contain !important;
    width: 120px !important;
    height: 35px !important;
    display: block !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
}

/* お問い合わせページで「お問い合わせ」メニューに下線を表示 */
.page-contact-menu-fixed .mgs_menu ul.menu_base > li.current-menu-item > a,
.page-contact-menu-fixed .mgs_menu ul.menu_base > li.current-page-item > a {
    border-bottom: 0.5em solid #2a5caa !important;
}

.page-contact-header {
    background: #2a5caa;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-contact-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.page-contact-title {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro', 'YuGothic', 'Yu Gothic', '游ゴシック', 'Meiryo', 'メイリオ', Helvetica, sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1;
}

/*========= お問い合わせページのコンテンツセクション ===============*/
.page-contact-content {
    background: #fff;
    padding: 80px 0;
}

.page-contact-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-contact-intro {
    text-align: center;
    margin-bottom: 60px;
}

.page-contact-intro-text {
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin: 0;
}

.page-contact-intro-text + .page-contact-intro-text {
    margin-top: 20px;
}

.page-contact-form {
    max-width: 900px;
    margin: 0 auto;
}

/* 送信完了メッセージ */
.page-contact-success {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact-success-icon {
    font-size: 80px;
    color: #28a745;
    margin-bottom: 30px;
}

.page-contact-success-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 30px 0;
}

.page-contact-success-text {
    font-size: 16px;
    line-height: 2;
    color: #666;
    margin: 0 0 40px 0;
}

.page-contact-success-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #2a5caa;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.page-contact-success-btn:hover {
    background: #1e4585;
}

/* エラーメッセージ */
.page-contact-errors {
    max-width: 900px;
    margin: 0 auto 40px auto;
    padding: 20px 30px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.page-contact-errors-icon {
    font-size: 24px;
    color: #856404;
    flex-shrink: 0;
}

.page-contact-errors-list {
    flex: 1;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-contact-errors-list li {
    font-size: 15px;
    color: #856404;
    line-height: 1.8;
    margin-bottom: 5px;
}

.page-contact-errors-list li:last-child {
    margin-bottom: 0;
}

/*========= プライバシーポリシーページ ===============*/
/* ページタイトルエリアとパンくずリストを非表示（プライバシーポリシーページ専用） */
body.page-template-privacy-security .mgs-pagetitle,
body.page-template-privacy-security .pankuzu-list,
body.page-template-privacy-security header.page02 ~ .pankuzu-list,
header.page02 .mgs-pagetitle,
header.page02 ~ .pankuzu-list {
    display: none !important;
}

/* プライバシーポリシーページのメニューエリアを白背景に */
header.page02 .mgs-area-global {
    background: #fff !important;
    color: #333 !important;
}

header.page02 .mgs_menu ul.menu_base > li > a,
header.page02 .mgs_menu ul.menu_base > li li > a {
    color: #333 !important;
}

header.page02 .mgs_menu::before {
    opacity: 0 !important;
}

/* プライバシーポリシーページのヘッダーセクション */
.page-privacy-header {
    background: #2a5caa;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-privacy-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.page-privacy-title {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro', 'YuGothic', 'Yu Gothic', '游ゴシック', 'Meiryo', 'メイリオ', Helvetica, sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1;
}

/* メインコンテンツエリアの上部マージン（プライバシーポリシーページ専用） */
body.page-template-privacy-security #contents {
    margin-top: 60px;
}

/* プライバシーポリシーページのコンテンツエリアの左右余白 */
body.page-template-privacy-security .mgs_frame-base {
    padding: 0 40px;
}

.privacy-security-section {
    margin-bottom: 60px;
    padding: 0 20px 40px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.privacy-security-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
}

.section-content h3 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    border: none;
    padding: 0;
}

.section-content h4 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 10px;
    border: none;
    padding: 0;
}

.section-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact-info {
    margin: 20px 0;
    padding: 20px;
    background-color: #f5f5f5;
    border-left: 4px solid #333;
}

.contact-info p {
    margin-bottom: 8px;
}

.enactment-date {
    margin-top: 30px;
    text-align: right;
    font-weight: bold;
}