/* OPN */
div#online-privacy-notice {
    margin-bottom: 30px;
    font-size: 14px;
    /*border: 1px solid #E5E6E6;*/
    padding: 4px;
    background-color: #FFFFFF;
}

span._opn_node_header,
span.policy_explain_header {
    display: block;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    margin-top: 2rem;
}

div._opn_node_inner,
div.policy_explain_inner {
    margin: 0;
    padding-bottom: 20px;
}

p._opn_node_inner_desc {
    font-size: 12px;
}

div._opn_node {
    padding-bottom: 0;
    margin-bottom: 0;
    /*display: flex;*/
    justify-content: space-evenly;
    align-items: center;
}

div._opn_node_title {
    padding-bottom: 0;
    margin-bottom: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

p._opn_type_name {
    /*font-size: 17px;*/
    font-weight: 600;
    margin-top: 1rem;
}

div._opn_node:last-child {
    border-bottom: none;
}

a._opn_node_items {
    display: inline-block;
    margin-top: 0;
    flex: 0 1 25%;
    font-size: 12px;
    padding: .5em 0 .5em .5em;
    min-height: 2em;
    /*border-bottom: 1px solid #CCC;
    border-right: 1px solid #CCC;*/
    text-decoration: none;
    color: #3273dc;
}

a._opn_node_items:hover {
    text-decoration: underline;
}

span._opn_node_items {
    display: inline-block;
    margin-top: 0;
    flex: 1 1 25%;
    font-size: 12px;
    padding: .5em 0 .5em .5em;
    min-height: 2em;
    background-color: #EEE;
    /*border-right: 1px solid #CCC;*/
    border-bottom: 1px solid #CCC;
    border-top: 1px solid #CCC;
}

a._opn_node_items.no_href {
    text-decoration: none;
    color: #EEE;
    cursor: default;
}

a._opn_node_items.name.no_href {
    text-decoration: none;
    color: inherit;
    cursor: default;
}

a._opn_node_items.name {
    display: inline;
    flex: 1 1 25%;
    /*border-left: 1px solid #CCC;*/
}

span._opn_node_items.name {
    display: inline;
    flex: 1 1 25%;
    border-left: 1px solid #CCC;
}

a._opn_node_items.name:after {
    content: "\A";
    white-space: pre;
}

div#opn_policy {
    background-color: #FDFDFD;
    padding: 1em 2em;
    margin: 1em 0;
}

@media screen and (max-width: 600px) {

    div._opn_node {
        display: block;
        margin-bottom: 1em;
    }

    span._opn_node_header,
    span.policy_explain_header {
        border-bottom: 1px solid #FFF;
    }

    span.policy_explain_header:last-of-type {
        border-bottom: none;
    }

    div._opn_node_inner_wrap {
        display: flex;
    }

    span._opn_node_thead {
        flex: 0 1 45%;
        padding: 10px 5px;
        font-size: 11px;
        background-color: #EEE;
        border-left: 1px solid #CCC;
        border-right: 1px solid #CCC;
        border-top: 1px solid #CCC;
        align-items: center;
        display: flex;
    }

    div._opn_node_inner_wrap.optout {
        border-bottom: 1px solid #CCC;
    }

    a._opn_node_items.name,
    a._opn_node_items {
        flex: 1 1 25%;
        padding: 10px 5px;
        font-size: 11px;
        border-top: 1px solid #CCC;
        border-right: 1px solid #CCC;
        border-bottom: none;
        border-left: none;
        align-items: center;
        display: flex;
        word-break: break-word;
    }

    div.content {
        padding-bottom: 20px;
    }

    div#opn_policy {
        background-color: #FFF;
        margin-bottom: 0;
    }
}

#online-privacy-notice {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}

/* 見出し部分（クリック可能エリア） */
._opn_type_name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  background: linear-gradient(135deg, #4f2c19, #8b7a73);
  color: #ffffff;
  cursor: pointer;
  padding: 15px 20px;
  margin: 0;
  transition: background 0.3s, color 0.3s, transform 0.3s;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ホバーしたときの効果 */
._opn_type_name:hover {
  background: linear-gradient(135deg, #4f2c19, #8b7a73);
}

/* 開いている状態 */
._opn_type_name.open {
  background: linear-gradient(135deg, #4f2c19, #8b7a73);
  color: #ffffff;
  /*transform: translateX(5px);*/
}

/* プラスマイナスのアイコン（疑似要素で追加） */
/*._opn_type_name::after {
  content: '+';
  font-size: 24px;
  font-weight: bold;*/
  /*transition: transform 0.3s, content 0.3s;*/
/*}*/

/* 開いているときはマイナス表示に */
/*._opn_type_name.open::after {
  content: '-';
  transform: rotate(180deg);
}*/

/* コンテンツ部分 */
._opn_node_inner {
  /*display: none;*/ /* 初期状態で非表示 */
  background-color: #f7f7f7;
  padding: 15px 20px;
  border-left: 4px solid #4f2c19;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

._opn_node_inner a {
  display: block;
  color: #007bff;
  text-decoration: none;
  margin: 5px 0;
  transition: color 0.3s;
}

._opn_node_inner a:hover {
  color: #0056b3;
}



/* コンテナのスタイル */
._opn_node {
  background-color: #ffffff;
  padding: 15px;
  border-radius: 8px;
  margin: 10px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* コンテナにマウスを乗せたときの効果 */
._opn_node:hover {
  transform: translateY(-5px); /* 少し浮き上がる */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* シャドウの強調 */
}

/* リンクのスタイル */
._opn_node_items {
  display: block;
  color: #2575fc;
  text-decoration: none;
  font-size: 16px;
  margin: 5px 0;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}
span._opn_node_items.discription {
    color:#555;
    width: 100%;
}

/* リンクにマウスを乗せたとき */
._opn_node_items:hover {
 /* color: #0d5cb6;
  text-decoration: underline;*/
}

/* サービス名リンクに特別なスタイル */
._opn_node_items.name {
  font-weight: bold;
  font-size: 16px;
}

/* 提供元のリンク */
._opn_node_items.provider {
  color: #555;
  font-size: 14px;
}

a._opn_node_items.provider {
    text-decoration: underline;
    padding: 0;
}

/* サービスサイトリンク */
._opn_node_items.service_name {
  font-size: 14px;
  color: #6c757d;
}

a._opn_node_items.service_name {
    float: left;
    margin-right: 10px;
    text-decoration: underline;
}

/* プライバシーポリシーリンク */
._opn_node_items.policy {
  font-size: 14px;
  color: #6c757d;
}

a._opn_node_items.policy {
    float: left;
    margin-right: 20px;
    text-decoration: underline;
}

/* オプトアウトリンク */
._opn_node_items.optout {
  font-size: 14px;
  color: #6c757d;
}

a._opn_node_items.optout {
    border-right: unset;
    margin-right: 10px;
    text-decoration: underline;
}