@charset "UTF-8";

/*---------------共通---------------*/

.content1 h1,
.content2 h2,
.content3 h3 {
  text-align: center;
}
.content1 p {
  text-align: center;
  margin-top: 10px;
}
.content2 {
  background-color: #86c1ce;
  color: #333333;
}
.content3 a {
  color: #51a8ff;
}
.content3 i {
  color: #dcdcdc;
}

/*---------------PC---------------*/

@media only screen and (min-width: 900px) {
  /*----------------コンテンツ---------------*/
  .content1 {
    margin-bottom: 50px;
  }
  .content1 h1,
  .content2 h2,
  .content3 h3 {
    font-size: 26px;
    margin-bottom: 40px;
  }
  .content1_wrapper,
  #lisence {
    width: 480px;
    margin: 0 auto;
  }
  .content1-1,
  .content1-2 {
    line-height: 2em;
    font-weight: bold;
    font-size: 15px;
  }
  .content1-1 {
    float: left;
    padding-right: 25px;
    margin-right: 40px;
    border-right: 2px solid #333;
  }
  /*----------------許認可情報---------------*/
  #lisence {
    padding: 120px 0;
  }
  #lisence p {
    text-align: left;
    font-size: 24px;
    padding-bottom: 5px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ff0000;
    border-bottom: 2px dotted #ff0000;
  }
  #lisence ul li {
    line-height: 1.8em;
  }
  .metal {
    float: left;
    margin-right: 100px;
    margin-left: 20px;
  }
  .metal li:first-child,
  .scall li:first-child {
    font-weight: bold;
    font-size: 16px;
  }
  .content2_wrapper {
    width: 850px;
    padding: 50px 0;
    margin: 0 auto;
  }
  .content2-1 {
    padding-top: 10px;
  }
  .content2 ul li {
    margin-bottom: 10px;
  }
  .content2 p img {
    border: 2px solid #fff;
    box-shadow: 1px 1px 5px 0.1px;
    float: left;
    margin: 30px;
  }
  .content2 ul li:nth-child(2) {
    font-size: 18px;
    font-weight: bold;
  }
  .content2 ul li:nth-child(3) {
    line-height: 1.6em;
  }
  .content3 {
    width: 900px;
    margin: 0 auto;
    padding: 50px 0;
    background-image: url("../img/profile_dinsback.png");
    background-repeat: no-repeat;
    background-position: center;
  }
  .content3 ul li {
    line-height: 1.8em;
    font-weight: bold;
  }
  .content3_wrapper {
    width: 750px;
    padding: 30px 0;
    margin: 0 auto;
    overflow: auto;
  }
  .content3 h4,
  .content3 h5 {
    text-align: center;
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
  }
  .content3-1,
  .content3-2,
  .content3-4 {
    float: left;
    margin-right: 10px;
  }
  .content3_wrapper_2 {
    width: 700px;
    padding: 20px 0;
    margin: 0 auto;
  }
}
/*---------------タブレット---------------*/

@media only screen and (min-width: 600px) and (max-width: 899px) {
  /*----------------コンテンツ---------------*/
  .content1,
  .content2,
  .content3 {
    padding: 25px 0;
  }
  .content1 h1,
  .content2 h2,
  .content3 h3 {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .content1_wrapper,
  #lisence {
    width: 480px;
    margin: 0 auto;
  }
  .content1-1,
  .content1-2 {
    line-height: 2em;
    font-weight: bold;
    font-size: 14px;
  }
  .content1-1 {
    float: left;
    padding-right: 25px;
    margin-right: 40px;
    border-right: 1px solid #333;
  }
  /*----------------許認可情報---------------*/
  #lisence {
    padding: 80px 0;
  }
  #lisence p {
    text-align: left;
    font-size: 20px;
    padding-bottom: 5px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ff0000;
    border-bottom: 2px dotted #ff0000;
  }
  #lisence ul li {
    line-height: 1.8em;
  }
  .metal {
    float: left;
    margin-right: 100px;
    margin-left: 20px;
  }
  .metal li:first-child,
  .scall li:first-child {
    font-weight: bold;
    font-size: 16px;
  }
  .content2,
  .content3 {
    padding: 30px 0;
  }
  .content2_wrapper {
    width: 599px;
    padding-bottom: 20px;
    margin: 0 auto;
  }
  .content2-1 {
    padding-top: 10px;
  }
  .content2 ul li {
    margin-bottom: 10px;
  }
  .content2 p img {
    border: 2px solid #fff;
    box-shadow: 1px 1px 5px 0.1px;
    float: left;
    margin-right: 30px;
  }
  .content2 ul li:nth-child(2) {
    font-size: 18px;
    font-weight: bold;
  }
  .content2 ul li:nth-child(3) {
    font-size: 12px;
    line-height: 1.6em;
  }
  .content3 {
    width: 599px;
    margin: 0 auto;
    padding-bottom: 50px;
    background-image: url("../img/profile_dinsback.png");
    background-repeat: no-repeat;
    background-position: center;
  }
  .content3 ul li {
    line-height: 1.8em;
    font-weight: bold;
    font-size: 13px;
  }
  .content3_wrapper {
    width: 550px;
    padding: 20px 0;
    margin: 0 auto;
  }
  .content3 h4,
  .content3 h5 {
    text-align: center;
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
  }
  .content3-1 {
    float: left;
    margin-right: 70px;
  }
  .content3-4 {
    float: left;
    margin-right: 15px;
  }

  .content3_wrapper_2 {
    width: 560px;
    padding: 20px 0;
    margin: 0 auto;
  }
}

/*---------------スマホ---------------*/

@media only screen and (max-width: 599px) {
  /*----------------コンテンツ---------------*/
  .content1 {
    padding-bottom: 10px;
  }
  .content1 h1,
  .content2 h2,
  .content3 h3 {
    font-size: 16px;
    padding: 5px 0;
    margin-bottom: 20px;
  }
  .content1_wrapper,
  #lisence {
    width: 90%;
    height: auto;
    margin: 0 auto;
    font-size: 11px;
    padding-bottom: 20px;
  }
  .content1-1,
  .content1-2 {
    font-weight: bold;
    line-height: 1.8em;
  }
  .content1-1 {
    display: block;
    float: left;
    border-right: 1px solid #333;
    padding-right: 5px;
    margin-right: 5px;
  }
  #lisence {
    padding: 80px 0;
  }
  #lisence p {
    text-align: left;
    font-size: 16px;
    padding-bottom: 5px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ff0000;
    border-bottom: 2px dotted #ff0000;
  }
  #lisence ul li {
    line-height: 1.6em;
  }
  .metal {
    margin-right: 10px;
    margin-left: 5px;
    margin-bottom: 20px;
  }
  .metal li:first-child,
  .scall li:first-child {
    font-weight: bold;
    font-size: 16px;
  }
  .content1-2 {
    margin-left: 5px;
  }
  .content2 {
    padding: 30px 0;
  }
  .content2 img {
    display: block;
    margin: 0 auto;
    border: 2px solid #fff;
    box-shadow: 1px 1px 5px 0.1px;
  }
  .content2 ul li:first-child {
    margin-top: 10px;
    font-size: 12px;
  }
  .content2 ul li:nth-child(2) {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
  }
  .content2 ul li:nth-child(3) {
    line-height: 1.6em;
    font-size: 12px;
  }
  .content2-1 {
    width: 90%;
    margin: 0 auto;
  }
  .content2_wrapper {
    margin: 0 10px;
  }
  .content3 {
    width: 95%;
    margin: 0 auto;
    padding-top: 30px;
  }
  .content3 h4,
  .content3 h5 {
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
    font-size: 15px;
  }
  .content3_wrapper,
  .content3_wrapper_2 {
    width: 90%;
    padding: 20px 0 10px 0;
    margin: 0 auto;
  }
  .content3 ul li {
    line-height: 1.6em;
  }
}

/* フッター ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
.navbar {
  display: flex;
  justify-content: space-between; /* 両端に配置 */
  align-items: flex-start;
}

/* フッター ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーここまでーーー*/

/* NEW枠 ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/

/* 全体コンテナ（外枠・影・背景色を削除） */
.company-page-container {
  max-width: 900px;
  margin: 0 auto;
}

/* 共通セクションタイトル */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-badge {
  display: inline-block;
  background-color: #ccfbf1;
  color: #0d9488;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: #1a2b27;
}

/* ----------------------------------
       1. 代表ご挨拶エリア
    ---------------------------------- */
.greeting-container {
  display: flex;
  flex-direction: column;
  gap: 35px;
  align-items: center;
}

@media (min-width: 768px) {
  .greeting-container {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* 社長写真（写真自体にも太枠をつけず柔らかい角丸のみ） */
.president-photo-wrap {
  flex-shrink: 0;
  width: 100%;
  max-width: 250px;
  text-align: center;
}

.photo-frame {
  border-radius: 16px;
  overflow: hidden;
  background-color: #f1f5f9;
  margin-bottom: 12px;
}

.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.president-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #5bb9cd;
  margin-bottom: 2px;
}

.president-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: #1a2b27;
}

/* メッセージ本文 */
.greeting-content {
  flex: 1;
  margin: 0 10px;
}

.message-catch {
  font-size: 1.3rem;
  font-weight: 900;
  color: #1a2b27;
  line-height: 1.5;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e2e8f0;
}

.message-catch i {
  color: #5bb9cd;
  margin-right: 8px;
}

.message-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.85;
}

.message-text p {
  margin-bottom: 16px;
}

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

.signature-area {
  margin-top: 24px;
  text-align: right;
  font-weight: 700;
  color: #1a2b27;
}

/* ----------------------------------
       セクション間のゆったりとした余白区切り
    ---------------------------------- */
.section-divider {
  margin: 70px 0;
  border: 0;
  height: 1px;
  background-color: #e2e8f0; /* 薄くシンプルな直線区切り */
}

/* ----------------------------------
       2. 会社概要エリア（外枠なし）
    ---------------------------------- */
.company-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 10px 20px 10px;
}

.info-row {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  border-radius: 10px;
  background-color: #f8fafc; /* カード状の薄い背景のみ */
}

/* 1行おきに背景色を変更 */
.info-row:nth-child(even) {
  background-color: #e0f5f9;
}

@media (min-width: 640px) {
  .info-row {
    flex-direction: row;
    align-items: center;
  }
}

.info-label {
  font-weight: 900;
  color: #1a2b27;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 6px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .info-label {
    width: 180px;
    margin-bottom: 0;
  }
}

.info-label i {
  color: #5bb9cd;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.info-value {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
  flex: 1;
}

/* NEW枠 ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーここまでーーー*/
