@charset "UTF-8";

/* =========================
   Base
========================= */
* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont,
    "Yu Gothic", "Hiragino Kaku Gothic ProN",
    Meiryo, sans-serif;
  color: #426579;
  line-height: 1.6;
  background: #f7f7f7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   Link
========================= */
a {
  color: #0a63fe;
  text-decoration: none;
}
a:hover {
  color: #379bc0;
}

/* =========================
   Header links
========================= */
.top-links {
  text-align: right;
  font-size: 0.85rem;
  padding: 6px 10px;
}

/* =========================
   Layout
========================= */
.main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 30px;

  /* ノート背景 */
  background-color: #fffdf6;
  background-image: url("../con/img/bg2017.gif");
  background-repeat: repeat;
  background-position: top left;
  background-size: auto 26px;

  border-left: 4px solid #e2bcbc; /* ノートの赤マージン */
}

/* =========================
   Section
========================= */
.section {
  margin-bottom: 24px;
  padding: 0;
    /*
  border-bottom: 1px dashed #ccc;
    */
}

.section-area {
  margin: 0 auto;
}

/* =========================
   Title
========================= */
h1 {
  font-size: 1.6rem;
  text-align: center;
  margin: 10px 0;
}

.team-consa {
  color: #cc0000;
}

.stdiam {
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.contents-wrap{
  background: #fff;
}
/* =========================
   Pager
========================= */
.contents-box2 {
  text-align: center;
  margin-bottom: 15px;
}
.contents-box2 img{
	margin:auto;
	padding: 2px;
	border: 1px solid #222;
	width: 90%;
}
.contents-box2 b {
  color: #c00;
}
/*
.contents-box2 a {
  background: #60b99a;
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
}
.contents-box2 a:hover {
  background: #6ebdef;
}
*/
/* ナビ */
.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin: 20px 0;
}

.page-nav__item {
  padding: 2px 18px;
  border-radius: 6px;
  background: #e0e0e0;
  text-decoration: none;
  color: #333;
}

.page-nav__item.is-current {
  background: #006666;
  color: #fff;
}

.page-nav__back {
  margin-left: auto;
  font-size: 0.85rem;
}

/* =========================
   Contents
========================= */

.contents-wrap-section {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;

  /* カード要素を撤去 */
  background: transparent;
  box-shadow: none;
  border-radius: 0;

  /* 罫線と文章のズレ調整 */
  padding: 5px 0 5px 25px;
}


.contents-img ,
.contents-img-t {
  width: 60%
}

/* 候補１
.contents-img img,
.contents-img-t img {
  background-color: #fff;  
  border-radius: 15px;
   padding: 10px; 
    
 box-shadow: 0 4px 6px rgba(0,0,0,0.15);    
}
*/
.contents-img img,
.contents-img-t img {
  background: #fff;
  padding: 8px;
  border: 1px solid #ccc;
  transform: rotate(-1deg); /* ほんの少し傾ける */
}

.contents-text {
  width: 40%;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* =========================
   Smartphone
========================= */
@media (max-width: 768px) {

  .main {
    padding: 20px 15px;
  }

  .contents-wrap-section {
    flex-direction: column;
     padding-left: 15px;
      
      /*
    border-radius: 10px;*/
  }

  .contents-img,
  .contents-img-t,
  .contents-text{
    width: 100%;
  }

  h1 {
    font-size: 1.3rem;
  }

  .top-links {
    text-align: center;
  }
/*
.contents-img img,
  .contents-img-t img {
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  }
*/
  
}

