@charset "utf-8";
/* CSS Document */
/* company.css */
/* 会社案内 */

.company-hero {
  position: relative;
  background: url("../images/page-header/company.jpg") no-repeat center/cover;
/*  height: 500px;*/
  display: flex;
  align-items: center; /* 縦中央 */
  justify-content: center; /* 横中央 */
  text-align: center;
  color: #fff;
}
.company-hero::before {
  /* オーバーレイ */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}
.company-hero .hero-content {
  position: relative; /* オーバーレイの上に表示 */
  z-index: 1;
  margin-top: 60px;
}
.company-hero h2 {
/*  font-size: 2.5em;
  margin-bottom: 10px;*/
	    font-size: 2rem;
    font-weight: 700;
    line-height: var(--vk-line-height-low);
    margin: 0;
}
.company-hero p {
/*  font-size: 1.2em;*/
	    display: block !important;
    font-size: 0.4em !important;
    letter-spacing: 0.3em !important;
    margin-top: 10px !important;
    opacity: 0.9 !important;
    font-family: sans-serif !important;
}
.company-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 60px 20px;
  background: #f5f5f5;
}
.company-section-ttl{
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}
.company-section-ttl h3 {
  text-align: center;
font-size: 2em;
  color: #285AB3;
  margin-bottom: 40px;
}
.company-section-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.company-item {
  position: relative; /* 追加 */
  background: #fff;
  border-radius: 8px;
/*  overflow: hidden;*/
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: left;
}

.company-item img {
  width: 100%;
  height: auto;
  display: block;
}
.company-item a{
	text-decoration: none;
}

.company-item h4 {
  font-size: 1em;
  margin: 15px 10px 10px;
  color: #285AB3;
}

.company-item p {
  font-size: 0.75em;
  padding: 0 10px;
}

@media (max-width: 1024px) {
/*  .company-section*/.company-section-list {
    grid-template-columns: repeat(2, 1fr);
  }
.company-section-ttl h3,.company-section-ttl h3 {
  text-align: center;
  font-size: 1.8em;
  color: #285AB3;
  margin-bottom: 40px;
}
	.company-section-ttl p{
		font-size: 0.9em;
	}
}

@media (max-width: 600px) {
/*  .company-section*/.company-section-list {
    grid-template-columns: 1fr;
  }
}

.solution-section {
  padding: 60px 20px;
  text-align: center;
}
.solution-section h3 {
  text-align: center;
font-size: 2em;
  color: #285AB3;
  margin-bottom: 40px;
}
.solution-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.solution-card {
  width: 280px;
  padding: 20px;
  margin: 10px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}
.solution-card i {
  font-size: 2.5em;
  color: #285AB3;
  margin-bottom: 10px;
}
.solution-card h4 {
  margin-bottom: 10px;
  color: #003366;
}

@media (max-width: 768px) {
  .solution-list {
    flex-direction: column;
    align-items: center;
  }
}

/* CEO Message Page - University Style */
.ceo-message {
    background-color: #ffffff;
    min-height: 100vh;
}
/* Hero Section with Background */
.hero-section {
    position: relative;
    height: 35rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}
/* Alternative: If using background image */
.hero-section.with-bg-image {
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #ffffff;
    padding: 2rem;
}

.page-title {
    font-size: 4.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    opacity: 0.95;
    font-family: 'Georgia', serif;
}

/* Content Section */
.content-section {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 3rem;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 30rem 1fr;
    gap: 5rem;
    background-color: #ffffff;
    padding: 5rem;
    border-radius: 0.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* CEO Info Sidebar */
.ceo-info {
    display: flex;
    flex-direction: column;
}

.ceo-photo-wrapper {
    margin-bottom: 3rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ceo-photo {
    width: 100%;
    height: auto;
    display: block;
}

.ceo-details {
    text-align: center;
}

.ceo-title {
    font-size: 1.3rem;
    color: #666666;
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.ceo-signature {
    margin: 2rem 0;
}

.signature-image {
    width: 100%;
    max-width: 20rem;
    height: auto;
}

.ceo-name-en {
    font-size: 1.4rem;
    color: #888888;
    letter-spacing: 0.1em;
    font-family: 'Georgia', serif;
    font-weight: 300;
}

/* Message Content */
.message-content {
    padding: 2rem 0;
}

.company-logo {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid #e2e8f0;
}

.company-name {
    font-size: 5rem;
    font-weight: 300;
    color: #667eea;
    letter-spacing: 0.08em;
    font-family: 'Georgia', serif;
    margin: 0;
}

.message-text {
    font-size: 1.5rem;
    line-height: 2.2;
    color: #333333;
    letter-spacing: 0.04em;
}

.message-text p {
    margin-bottom: 2.5rem;
    text-align: justify;
}

.message-text p:last-child {
    margin-bottom: 0;
}

/* Tablet Styles */
@media screen and (max-width: 1024px) {
    .hero-section {
        height: 28rem;
    }

    .page-title {
        font-size: 3.8rem;
    }

    .page-subtitle {
        font-size: 1.6rem;
    }

    .content-wrapper {
        grid-template-columns: 26rem 1fr;
        gap: 4rem;
        padding: 4rem;
    }

    .company-name {
        font-size: 4rem;
    }

    .message-text {
        font-size: 1.4rem;
        line-height: 2.1;
    }
}

/* Mobile Styles */
@media screen and (max-width: 767px) {
    .hero-section {
        height: 22rem;
    }

    .page-title {
        font-size: 3rem;
    }

    .page-subtitle {
        font-size: 1.4rem;
    }

    .content-section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 2rem;
    }

    .ceo-info {
        order: 2;
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        padding-top: 3rem;
        border-top: 2px solid #e2e8f0;
    }

    .ceo-photo-wrapper {
        flex: 0 0 12rem;
        margin-bottom: 0;
    }

    .ceo-details {
        flex: 1;
        text-align: left;
    }

    .signature-image {
        width: 16rem;
        height: 6.5rem;
        max-width: 100%;
    }

    .message-content {
        order: 1;
        padding: 0;
    }

    .company-logo {
        margin-bottom: 3rem;
        padding-bottom: 2rem;
    }

    .company-name {
        font-size: 3.5rem;
    }

    .message-text {
        font-size: 1.4rem;
        line-height: 2;
    }

    .message-text p {
        margin-bottom: 2rem;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .hero-section {
        height: 18rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.2rem;
    }

    .content-wrapper {
        padding: 2rem 1.5rem;
    }

    .ceo-info {
        flex-direction: column;
        text-align: center;
    }

    .ceo-photo-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 20rem;
        margin: 0 auto 2rem;
    }

    .ceo-details {
        text-align: center;
    }

    .company-name {
        font-size: 3rem;
    }

    .message-text {
        font-size: 1.3rem;
        line-height: 1.95;
    }
}






/*//////////////////////////////////////////////////////////////////
会社沿革
/////////////////////////////////////////////////////////////////////*/
.history-section {
      max-width: 1200px;
      margin: 0 auto;
      background-color: white;
      padding: 20px;
/*      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
    }
.history-section ul {
  list-style: disc;
  padding: 0 0 0 25px;
  margin: 0;
}
.history-section ul li {
  padding: 0px 0;
}
.history-section ul li a {
  color: #3371CB;
  text-decoration: none;
}
.history-section ul li a:hover {
  text-decoration: underline;
}
.company-history {
  /*list-style: none;*/
	  list-style: none /*!important*/;
	  padding-left: 0 /*!important*/;
}
.company-history > li {
  margin-bottom: 60px;
/*	  list-style: none !important;*/
	  list-style: disc;
  margin-left: 25px;
}
/* 年月日が空の項目は上のマージンを減らし、箇条書き記号を消す */
.company-history > li.no-date {
  margin-top: -40px;
 /* margin-bottom: 60px;*/
  list-style: none;
  margin-left: 0;
}
@media (max-width: 640px) {
.history-section ul {
    list-style: disc;
    padding: 0 0 0 0px;
    margin: 0;
}
.company-history > li {
  margin-bottom: 38px;
/*	  list-style: none !important;*/
	  list-style: disc;
  margin-left: 25px;
}
	.company-history > li.no-date {
padding-left: 25px;

  }
}
/* for Desktop */
@media ( min-width : 640px ){
  .company-history > li {
    overflow: hidden;
    margin: 0;
    position: relative;
    list-style: none;
    margin-left: 0;
  }
  
  /* デスクトップでは通常のマージンに戻す */
  .company-history > li.no-date {
    margin-top: 0;

  }
  
  .history-date {
    width: 120px;
    float: left;
    margin-top: 10px;
    text-align: right;
    padding-right: 20px;
  }
  .history-content {
    width: 75%;
    float: left;
    border-left: 3px #e5e5d1 solid;
    padding-left: 30px;
    padding-top: 10px;
  }
  .company-history > li:first-child .history-content {
    border-left: none;
  }
  
  .company-history > li:first-child .history-content:after {
    content: '';
    position: absolute;
    left: 120px;
    top: 24px;
    bottom: -60px;
    width: 3px;
    background: #e5e5d1;
  }
  
  .history-content:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #3371CB;
    position: absolute;
    left: 116px;
    top: 16px;
    border-radius: 100%;
    z-index: 1;
  }
}



/*////////////////////採択実績（adoption.html）//////////////////////////*/
.adoption-wrapper{
	    max-width: 1400px;
    margin: 0 auto;
    padding: 0px 20px;
    /*display: grid;
	grid-template-columns: minmax(300px, 1fr) 280px;
    gap: 40px;
    align-items: start;*/
}
.adoption h4 {
    font-size: 2.2rem;
	font-weight: 800;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 3px solid #3371CB;
    padding-bottom: 10px;
}
.adoption ul{
	list-style: disc;
	margin-left: 40px;
	margin-bottom: 40px;
}

/* ================================================================================
	#awards section
================================================================================ */

.awards-section {
  position: relative;
/*  padding-top: 80px; *//* 上の余白 */
/*  height: 800px;*/
  width: 100%;
	padding-bottom: 80px; /* フッターとの距離。好みで調整 */
}
/* 中のボタンがfloatの場合に、高さが潰れて余白が効かなくなるのを防ぐ */
.awards-section::after {
    content: "";
    display: block;
    clear: both;
}

@media (max-width: 768px) {
    .awards-section {
        padding-bottom: 48px;
    }
}
#awards {
  position: relative; /* absoluteを解除 */
  margin: 0 auto;
  width: 80%;
  background: #fff;
  padding: 40px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
/*	top:70%;
	left:45%;*/
}
#awards h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}
#awards .nat_tag {
    width: auto;
    margin-right: 10px;
	font-size: 0.85rem;
}

#awards .post-categories a {
    display: inline-block;
    background: #8D6E63;
    color: #fff;
    padding: 6px 14px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 700;
}
#awards_and_topics dl{
    display:flex;
    align-items:center;
}

#awards_and_topics dt{
    flex:0 0 130px;
}

#awards_and_topics .nat_tag{
    flex:0 0 auto;
    float:none;
    width:auto;
    margin-right:20px;
}

#awards_and_topics .indent01{
    flex:1;
}
/*#news ul {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 20px;
}

#news li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}*/

/*#news a{
	text-decoration: none;
	color:#000;
}*/
.awards-content img {
  border: 1px solid #CCC;
  border-radius: 15px;
  margin-bottom: 15px;
  max-width: 100%;
  /*width: 250px;*/
  height: 250px;
  object-fit: cover;
}
.awards-content a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}
.entry-date {
  font-size: 1.2rem;
  font-weight: bold;
}
#awards_and_topics {
  width: 100%;
  margin: 25px auto;
	clear: both;
}
#awards_and_topics dl {
  border-bottom: 1px #CCCCCC dotted;
  padding: 10px 0px;
  position: relative;
  top: 0;
  left: 0em;
  width: 100%;
  height: auto;
  line-height: 1.5em;
  margin-bottom: 5px;
}
#awards_and_topics dt {
  text-align: left;
  padding-right: 5px;
  height: auto;
  width: 9em;
  float: left;
}
#awards_and_topics dd {
  text-align: left;
  padding-right: 5px;
  height: auto;
  font-weight: bold;
}
	#awards_and_topics dd a {
  /*color: #000;*/
  text-decoration: none;
white-space: normal; /* nowrapを解除して折り返し可能に */
  transition: color 0.3s;
	  position: relative;
  color: inherit;
}
#awards_and_topics dd a::after {
  border-bottom: solid 1px #3371CB;
  bottom: 0;
  content: "";
  display: block;
  position: absolute;
  right: 0;
/*  transition: all .3s ease;
  -webkit-transition: all .3s ease;*/
	-webkit-transition: 0.3s cubic-bezier(0.18, -0.01, 0.3, 1);
  transition: 0.3s cubic-bezier(0.18, -0.01, 0.3, 1);
  width: 0;
}
#awards_and_topics dd a:hover::after {
  width: 100%;         /* 横幅いっぱいに伸ばす */
  left: 0;             /* 左端まで伸びる */
  right: auto;         /* rightリセット */
}

#awards_and_topics dd a:hover {
  color: #3371CB;
  text-decoration: none; /* 下線は疑似要素で作るので元は消す */
}

#awards_and_topics dd.indent01 {
  text-indent: 0em;
  /*padding-left: 16em;*/
}
.nat_tag {
  -webkit-border-radius: 2px;
  border-radius: 2px;
  width: 100px;
  margin-right: 10px;
  text-align: center!important;
  float: left;
  color: #FFF;
  padding: 0 10px;
  font-size: 1.2rem;
}
.newsIN{text-align: right;}
.backnumber{font-weight: 700;}
/*////////////////////アクセス（access.html）//////////////////////////*/
.office-section h4 {
    font-size: 2.2rem;
	font-weight: 800;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 3px solid #3371CB;
    padding-bottom: 10px;
	background: #fff;
}


.office-info {
  margin-bottom: 30px;
}

.postal-code {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.address {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.8;
}

/* Access Info */
.access-info {
  margin: 30px 0;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 6px;
/*  border-left: 4px solid #0066cc;*/
}

.access-info h4 {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
}

.access-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.access-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  background: #fff;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
}

/*.access-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
}
*/
.access-text {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

.access-text strong {
  color: #0066cc;
  font-weight: 600;
}

.parking-info {
  border: 1px dashed #0066cc;
  background: #e8f4ff !important;
}

.access-text {
		  color: #333;

}
.parking-info {
  color: #0066cc;

}
/* Map Container */
.map-container {
  position: relative;
  width: 100%;
  height: 350px;
  background: #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 45px;
}

.map-container iframe {
  display: block;
}

.map-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 30px;
  border-radius: 4px;
  font-size: 18px;
  color: #666;
  pointer-events: none;
}


/* 社長挨拶：rem基準に依存しない指定 */
.content-section .content-wrapper {
    grid-template-columns: 300px 1fr;
    gap: 50px;
    padding: 50px;
}
.content-section .message-text {
    font-size: 15px;
    line-height: 2.2;
}
.content-section .signature-image {
    max-width: 200px;
}

@media screen and (max-width: 1024px) {
    .content-section .content-wrapper {
        grid-template-columns: 260px 1fr;
        gap: 40px;
        padding: 40px;
    }
}

@media screen and (max-width: 767px) {
    .content-section .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    .content-section .message-text {
        font-size: 14px;
        line-height: 2;
    }
}
/* 自動挿入された空の p を無効化し、列を固定 */
.content-section .content-wrapper > p {
    display: none;
}
.content-section .ceo-info {
    grid-column: 1;
}
.content-section .message-content {
    grid-column: 2;
}

@media screen and (max-width: 767px) {
    .content-section .ceo-info,
    .content-section .message-content {
        grid-column: 1;
    }
}
/* 写真の枠を画像の高さにぴったり合わせる */
.content-section .ceo-photo-wrapper {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    flex: none !important;
    margin-bottom: 20px;
}
.content-section .ceo-photo-wrapper .ceo-photo {
    display: block;
    width: 100%;
    height: auto;
}