/* ==========================================================================
   Main Visual
   ========================================================================== */

.main-visual-container {
  position: relative;
  width: 100%;
  z-index: 1;
}

.main-visual-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); 
  z-index: 1; 
}
.main-visual-image {
  display: block;
  width: 100%;
  height: auto;
}

.main-visual-image.pc {
    width: 100%;
    margin: 0 auto;
}

.main-visual-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  padding: 10px 20px;
  max-width: 600px;
  min-width: 320px;
  box-sizing: border-box;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  padding: 10px 5px;
  text-align: center;
  overflow: hidden;  
  font-size: clamp(24px, 3vw, 40px); 
  font-weight: bold !important;
  font-family: 'Arial', sans-serif;
  line-height: 1.2;
  z-index: 2;
}

.main-visual-text p {
  margin: 0; 
  white-space: inherit;
  overflow: inherit;
  text-align: center; 
  font-weight: bold;
}

.visual-subtitle {
  font-size: 1.3em; 
  line-height: 1.6;
}

/* ==========================================================================
   Headings & Titles
   ========================================================================== */

#ttl_col {
  box-sizing: border-box;
  padding: 0.8em 1em;
  background: #666;
  line-height: 1.4em;
}

#ttl_col h1 {
  padding: 0.5em;
  color: white;
  font-size: 2.0em;
  font-weight: bold;
  line-height: 1.3em;
  text-align: center;
}


#ttl_col h1 span {
  color: yellow;
}

@media screen and (max-width: 767px) {

  #ttl_col {
    padding: 0.8em 18px; 
  }

  #ttl_col h1 {
    text-align: left;
    padding: 0.5em 0;
  }

  #ttl_col h1 br.smp {
    display: none;
  }
}

#ttl_txt{
  background:#f6f1df;
  padding:0.9em 1.2em;
  font-size: 1.4em;
  line-height:1.8em;
}

#ttl_txt_inner{
  max-width:900px;
  margin:0 auto;
}

h2.ttl {
  font-size: 2.3em !important;
  text-align: center; 
  font-weight: bold;
  color: #333;
}

h2.ttl .heading-subline {
  display: block;
  font-weight: 600;
  font-size: 50%;
  line-height: 1em;
  padding: 0.2em 0 1em;
}

h2.ttl p {
    font-weight: 600;
    text-align: center !important;
    font-size: 50% !important;
    line-height: 1em;
    padding: 0 0 1em;
}



/* ==========================================================================
   Content Sections
   ========================================================================== */


/* main-heading-block */

.main-heading-block {
  text-align: center;
  padding: 60px 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.main-heading-block .main-block-heading-title {
  margin: 0 0 35px 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
  text-transform: none;
  font-family: inherit;
  font-size: 1.8em;
  font-weight: bold;
  color: #2c3e50;
  line-height: 1.25;
  letter-spacing: -1px;
}

@media screen and (max-width: 767px) {

  .main-heading-block .main-block-heading-title {
    text-align: left;
  }
}

.main-heading-block .heading-image-container {
  margin-bottom: 30px;
  line-height: 0;
}

.main-heading-block .heading-image-container img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.main-heading-block .heading-copy-text {
  font-size: 18px;
  font-weight: 400;
  color: #555555;
  line-height: 1.8;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
}


/* alternating-section */

.alternating-section {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}

.alternating-section .image-block {
  flex: 1.5;
  padding-right: 20px;
}

.alternating-section .image-block img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.alternating-section .text-block {
  flex: 2;
  text-align: left;
}

.alternating-section .text-block h2 {
  font-size: 1.8em;
  font-weight: bold;
  color: #333;
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.3;
}

.alternating-section .text-block h4 {
  font-size: 1.5em;
  font-weight: bold;
  color: #333;
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.3;
}

.alternating-section .text-block p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #555;
}

.alternating-section:nth-of-type(even) .image-block {
  order: 2;
  padding-right: 0;
  padding-left: 20px;
}

.alternating-section:nth-of-type(even) .text-block {
  order: 1;
}

@media (max-width: 768px) {
  .alternating-section {
    flex-direction: column;
    padding: 15px;
  }

  .alternating-section .image-block,
  .alternating-section:nth-of-type(even) .image-block {
    order: 1;
    flex-basis: auto;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 20px;
  }

  .alternating-section .text-block,
  .alternating-section:nth-of-type(even) .text-block {
    order: 2;
    flex-basis: auto;
    width: 100%;
  }

  .alternating-section .text-block h2 {
    font-size: 24px;
  }

  .alternating-section .text-block h4 {
    font-size: 24px;
    font-weight: bold;
  }

  .alternating-section .text-block p {
    font-size: 16px;
    line-height: 1.7;
  }
}


/* stacked-content */

.stacked-content-block {
  padding: 25px;
  margin-bottom: 35px;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  background-color: #f8f9fa;
}

.stacked-content-block .stacked-content-subheading {
  font-size: 24px;
  font-weight: 700;
  color: #343a40;
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
}

@media screen and (max-width: 767px) {

  .stacked-content-block .stacked-content-subheading {
    text-align: left;
  }

}

.stacked-content-block .stacked-content-image-container {
  margin-bottom: 20px;
  text-align: center;
}

.stacked-content-block .stacked-content-image-container img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.stacked-content-block .stacked-content-copy {
  font-size: 16px;
  line-height: 1.75;
  color: #495057;
  margin-bottom: 25px;
}

.stacked-content-block .stacked-content-link-container {
  text-align: right;
}

.stacked-content-block .stacked-content-link {
  display: inline-block;
  padding: 10px 18px;
  background-color: #007bff;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  font-size: 15px;
  transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.stacked-content-block .stacked-content-link:hover,
.stacked-content-block .stacked-content-link:focus {
  background-color: #0056b3;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* content-section-wrapper */

.content-section-wrapper.two-generations-promo {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  overflow: hidden;

}

/* ==========================================================================
   Components
   ========================================================================== */
   
/* Button */
.btn_detail {
  display: inline-block;
  width: 100%;
  max-width: 600px;
  margin: 0.3em;
  padding: 0.6em 0.1em;
  border: 1px solid #aaa;
  box-sizing: border-box;
  color: #333;
  font-size: 130%;
  font-weight: bold;
  line-height: 1.8em;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn_detail:hover {
  background-color: #f0f0f0; 
  color: #000;
}


/* table of contents */

.toc h3{font-size: 130%;font-weight:bold;text-align:left !important;border:solid 1px #b2b900; border-left:solid 6px #b2b900;padding:0.4em 0.4em 0.35em;margin: 0.6em 0 0.3em !important;}
.toc p{padding:0.4em !important}
.toc a {display: block;}
.toc .child {display:none;margin:0 0 -1px;padding:0.6em 0;/*background:#fff;*//*border:1px solid #9fc0d9;*/}
.toc .child .menu {background: #eaeaea;color: #000;}
.toc .child .menu:hover {background:#f3fab3;}
.toc .child > li {
  margin: 4px 0;
  padding: 4px 0 4px 12px;
  border-bottom: 1px dotted #dddddd; }
.toc .child > li:last-child {border-bottom: 0;}

.toc .menu:after {
font-family: FontAwesome;
position: absolute;
right: 10px;
margin-right:0.8em;
content: '\f054';
color:#1050af;
font-size: 1.6rem;
font-weight: bold;
-moz-transform: rotate(90deg);
-ms-transform: rotate(90deg);
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
-moz-transition: all, 0.25s, linear;
-o-transition: all, 0.25s, linear;
-webkit-transition: all, 0.25s, linear;
transition: all, 0.25s, linear; }
.toc .menu.active:after {
-moz-transform: translate(0, 50%);
-ms-transform: translate(0, 50%);
-webkit-transform: translate(0, 50%);
transform: translate(0, 50%);
-moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg); 

}

.menu,.list {display:block;position:relative;margin:1px 0 0;padding:10px;}

.toc .child > li {border-bottom:0;}
.toc .menu {text-align:center;padding:1em;font-size:130%;font-weight:bold;color:#1050af;}
.toc .menu:hover {text-decoration: none;}

ul {margin: 0;padding: 0;list-style-type: none;}

dl.toc{text-align:left;width:calc(100% - 1.8em);max-width:600px;margin:2.6em auto 1.6em;font-size:100%;border:2px solid #4e8bb8;border-radius:0.8em;padding:0.6em 0.8em;background:#f8fcfe}
dl.toc h4{font-size:120%;color:#5381b9}
dl.toc dt{margin:0.6em 0 0.2em}
dl.toc dd{margin:0.3em 0 0.1em;padding-left:1em}
dl.toc dd.dsub{margin:0.3em 0 0;padding-left:1.8em}


/* contact */
ul.contact li {
    color: #333;
    list-style: none;
    margin:0;
    position: relative;
    background:white;
	box-sizing:border-box;
	border-top:1px solid #999;
	border-bottom:1px solid #999;
}

ul.contact li img{margin:0 !important}
ul.contact li.pc_left{margin-right:2%;width:48%}
ul.contact li.pc_right{margin-left:2%;width:48%}
@media only screen and (max-width: 767px){
ul.contact li.pc_left{margin-right:0;width:100%}
ul.contact li.pc_right{margin-left:0;width:100%;border-top:none}
}
ul.contact li a:hover div{background:#e1e8f7}


/* arrow */

.arr{float:none}
.arrow-l,.arrow-r{margin-top:0.1em !important}
@media only screen and (max-width: 979px){
.h2_ttl{font-size:125%}
}
@media only screen and (max-width: 767px){
.h2_ttl{font-size:120%}
#fwd{width:48%;}
#next{width:48%;}
.arrow-l,.arrow-r{margin-top:0 !important}
}

/* icon-24 */

span.icon-24{vertical-align:0.01em !important;}
.icon{border:none;}
.icon-r {margin-left:4px;border:none;
    font-family: FontAwesome;
    -webkit-border-radius: 3px!important;
    -moz-border-radius: 3px!important;
    border-radius: 3px!important;
}
